Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-02 23:59:03.213756
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
  port_id : 19362608
  datou_current_id : 2457541
in upload_from_sqlite, uploading in 19362608
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012025/23/57/image_02012025_23_57_03_149037_0003.jpg', '/home/pi/Desktop/images/02012025/23/58/image_02012025_23_58_02_349460_0000.jpg', '/home/pi/Desktop/images/02012025/23/58/image_02012025_23_58_02_349460_0001.jpg', '/home/pi/Desktop/images/02012025/23/58/image_02012025_23_58_02_349460_0002.jpg', '/home/pi/Desktop/images/02012025/23/58/image_02012025_23_58_02_349460_0003.jpg', '/home/pi/Desktop/images/02012025/23/59/image_02012025_23_59_02_438899_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2457541&datou=0
/home/pi/Desktop/images/02012025/23/57/image_02012025_23_57_03_149037_0003.jpg
/home/pi/Desktop/images/02012025/23/58/image_02012025_23_58_02_349460_0000.jpg
/home/pi/Desktop/images/02012025/23/58/image_02012025_23_58_02_349460_0001.jpg
/home/pi/Desktop/images/02012025/23/58/image_02012025_23_58_02_349460_0002.jpg
/home/pi/Desktop/images/02012025/23/58/image_02012025_23_58_02_349460_0003.jpg
/home/pi/Desktop/images/02012025/23/59/image_02012025_23_59_02_438899_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":["1325654772","1325654763","1325654765","1325654762","1325654770","1325654758"],"photo_ids_order":["1325654758","1325654762","1325654763","1325654765","1325654770","1325654772"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/12b4bfca4f18d7fbcfcc8c56422b05ec.jpg","text":"TemporaryFile(/tmp/multipartBody7501477174990756910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735858819332,"filename":"image_02012025_23_59_02_438899_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/77849c3622c608039a4626883ec0473f.jpg","text":"TemporaryFile(/tmp/multipartBody830145762869778981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735858819332,"filename":"image_02012025_23_58_02_349460_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9499077a62e0712dccd5c93cee0ec218.jpg","text":"TemporaryFile(/tmp/multipartBody1759335720708460166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735858819332,"filename":"image_02012025_23_58_02_349460_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b7a7baa062913d5111ecd15b7c5948ac.jpg","text":"TemporaryFile(/tmp/multipartBody5378009730828016085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735858819332,"filename":"image_02012025_23_58_02_349460_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/57b2f4490685bd3b4711693e8d07f822.jpg","text":"TemporaryFile(/tmp/multipartBody7050915823272705687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735858819332,"filename":"image_02012025_23_58_02_349460_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ed545593936b19c6fe8ebf98bb8f5768.jpg","text":"TemporaryFile(/tmp/multipartBody9016435285117221154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735858819332,"filename":"image_02012025_23_57_03_149037_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325654763","file1":"1325654762","file0":"1325654758","file4":"1325654770","file5":"1325654772","file3":"1325654765"},"map_files_photo_id_array":[{"photo_id":"1325654772","filename":"file5"},{"photo_id":"1325654763","filename":"file2"},{"photo_id":"1325654770","filename":"file4"},{"photo_id":"1325654762","filename":"file1"},{"photo_id":"1325654758","filename":"file0"},{"photo_id":"1325654765","filename":"file3"}],"portfolio_id":19362608,"hashtag_by_photo_ids":[{"1325654772":["hashtag1","hashtag2"]},{"1325654763":["hashtag1","hashtag2"]},{"1325654765":["hashtag1","hashtag2"]},{"1325654762":["hashtag1","hashtag2"]},{"1325654770":["hashtag1","hashtag2"]},{"1325654758":["hashtag1","hashtag2"]}],"comms":"Portfolio 19362608 used, photo_id : ArrayBuffer(1325654772, 1325654763, 1325654765, 1325654762, 1325654770, 1325654758)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.268757343292236 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 00:00:02.800383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
  port_id : 19362608
  datou_current_id : 2457541
in upload_from_sqlite, uploading in 19362608
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012025/23/59/image_02012025_23_59_02_438899_0001.jpg', '/home/pi/Desktop/images/02012025/23/59/image_02012025_23_59_02_438899_0002.jpg', '/home/pi/Desktop/images/02012025/23/59/image_02012025_23_59_02_438899_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2457541&datou=0
/home/pi/Desktop/images/02012025/23/59/image_02012025_23_59_02_438899_0001.jpg
/home/pi/Desktop/images/02012025/23/59/image_02012025_23_59_02_438899_0002.jpg
/home/pi/Desktop/images/02012025/23/59/image_02012025_23_59_02_438899_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325654815","1325654814","1325654813"],"photo_ids_order":["1325654813","1325654814","1325654815"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/bb3bc014c09beef0fce43e9e8f7842ba.jpg","text":"TemporaryFile(/tmp/multipartBody7229926086943583304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735858871583,"filename":"image_02012025_23_59_02_438899_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/977c2a874eecf267c06fa2ca62ecea49.jpg","text":"TemporaryFile(/tmp/multipartBody2542096671160704218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735858871583,"filename":"image_02012025_23_59_02_438899_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/bfa386038a346dd7f93af3dd04bc93ef.jpg","text":"TemporaryFile(/tmp/multipartBody2802220591452008880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735858871583,"filename":"image_02012025_23_59_02_438899_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325654815","file1":"1325654814","file0":"1325654813"},"map_files_photo_id_array":[{"photo_id":"1325654815","filename":"file2"},{"photo_id":"1325654814","filename":"file1"},{"photo_id":"1325654813","filename":"file0"}],"portfolio_id":19362608,"hashtag_by_photo_ids":[{"1325654815":["hashtag1","hashtag2"]},{"1325654814":["hashtag1","hashtag2"]},{"1325654813":["hashtag1","hashtag2"]}],"comms":"Portfolio 19362608 used, photo_id : ArrayBuffer(1325654815, 1325654814, 1325654813)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.601459741592407 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-03 00:00:52.480869
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 00:01:03.215824
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 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_03012025
 fc.token : 832f9dd9be82d72b547808d5fcaa9529
True
{'portfolio_id': 19381866, 'actiontaken': ['Created new portfolio'], 'error': 'Photos id not exist !', 'updated_at': 1735858924000}
533
2460006
533
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/00/00/image_03012025_00_00_02_561065_0000.jpg', '/home/pi/Desktop/images/03012025/00/00/image_03012025_00_00_02_561065_0001.jpg', '/home/pi/Desktop/images/03012025/00/00/image_03012025_00_00_02_561065_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/00/00/image_03012025_00_00_02_561065_0000.jpg
/home/pi/Desktop/images/03012025/00/00/image_03012025_00_00_02_561065_0001.jpg
/home/pi/Desktop/images/03012025/00/00/image_03012025_00_00_02_561065_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325654932","1325654929","1325654928"],"photo_ids_order":["1325654928","1325654929","1325654932"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4b96f7c8fd5229d387c382361ebcbaaa.jpg","text":"TemporaryFile(/tmp/multipartBody1769704370843368502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735858934090,"filename":"image_03012025_00_00_02_561065_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1af704757c14509c72395520295cd61a.jpg","text":"TemporaryFile(/tmp/multipartBody6016528884783129501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735858934090,"filename":"image_03012025_00_00_02_561065_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f95e4134c2ac113f443d1c72f1d2670c.jpg","text":"TemporaryFile(/tmp/multipartBody3177632646760507933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735858934090,"filename":"image_03012025_00_00_02_561065_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325654932","file1":"1325654929","file0":"1325654928"},"map_files_photo_id_array":[{"photo_id":"1325654932","filename":"file2"},{"photo_id":"1325654929","filename":"file1"},{"photo_id":"1325654928","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325654932":["hashtag1","hashtag2"]},{"1325654929":["hashtag1","hashtag2"]},{"1325654928":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325654932, 1325654929, 1325654928)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 36.038182973861694 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-03 00:01:52.716349
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 00:02:02.313311
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/00/00/image_03012025_00_00_02_561065_0003.jpg', '/home/pi/Desktop/images/03012025/00/01/image_03012025_00_01_02_725935_0000.jpg', '/home/pi/Desktop/images/03012025/00/01/image_03012025_00_01_02_725935_0001.jpg', '/home/pi/Desktop/images/03012025/00/01/image_03012025_00_01_02_725935_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/00/00/image_03012025_00_00_02_561065_0003.jpg
/home/pi/Desktop/images/03012025/00/01/image_03012025_00_01_02_725935_0000.jpg
/home/pi/Desktop/images/03012025/00/01/image_03012025_00_01_02_725935_0001.jpg
/home/pi/Desktop/images/03012025/00/01/image_03012025_00_01_02_725935_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325654979","1325654973","1325654976","1325654969"],"photo_ids_order":["1325654969","1325654973","1325654976","1325654979"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c8a80cb995ec3e2b19a4013916855606.jpg","text":"TemporaryFile(/tmp/multipartBody4792493671263190582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735858992523,"filename":"image_03012025_00_01_02_725935_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d6ae3cd1c8ce1d65abc31db8c2e9c9b5.jpg","text":"TemporaryFile(/tmp/multipartBody8485138157003230322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735858992523,"filename":"image_03012025_00_01_02_725935_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/92cd39e738626232ca57537583483329.jpg","text":"TemporaryFile(/tmp/multipartBody4323760274046045170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735858992523,"filename":"image_03012025_00_01_02_725935_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f145493d295973f9f4d4def1c7f2d56c.jpg","text":"TemporaryFile(/tmp/multipartBody7291860067688771355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735858992523,"filename":"image_03012025_00_00_02_561065_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325654976","file1":"1325654973","file0":"1325654969","file3":"1325654979"},"map_files_photo_id_array":[{"photo_id":"1325654976","filename":"file2"},{"photo_id":"1325654973","filename":"file1"},{"photo_id":"1325654969","filename":"file0"},{"photo_id":"1325654979","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325654979":["hashtag1","hashtag2"]},{"1325654973":["hashtag1","hashtag2"]},{"1325654976":["hashtag1","hashtag2"]},{"1325654969":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325654979, 1325654973, 1325654976, 1325654969)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.91516184806824 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-03 00:02:52.012027
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 00:03:02.823968
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/00/01/image_03012025_00_01_02_725935_0003.jpg', '/home/pi/Desktop/images/03012025/00/02/image_03012025_00_02_03_025401_0000.jpg', '/home/pi/Desktop/images/03012025/00/02/image_03012025_00_02_03_025401_0001.jpg', '/home/pi/Desktop/images/03012025/00/02/image_03012025_00_02_03_025401_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/00/01/image_03012025_00_01_02_725935_0003.jpg
/home/pi/Desktop/images/03012025/00/02/image_03012025_00_02_03_025401_0000.jpg
/home/pi/Desktop/images/03012025/00/02/image_03012025_00_02_03_025401_0001.jpg
/home/pi/Desktop/images/03012025/00/02/image_03012025_00_02_03_025401_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.8678297996521 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 00:03:22.185290
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/00/01/image_03012025_00_01_02_725935_0003.jpg', '/home/pi/Desktop/images/03012025/00/02/image_03012025_00_02_03_025401_0000.jpg', '/home/pi/Desktop/images/03012025/00/02/image_03012025_00_02_03_025401_0001.jpg', '/home/pi/Desktop/images/03012025/00/02/image_03012025_00_02_03_025401_0002.jpg', '/home/pi/Desktop/images/03012025/00/02/image_03012025_00_02_03_025401_0003.jpg', '/home/pi/Desktop/images/03012025/00/03/image_03012025_00_03_02_264795_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/00/01/image_03012025_00_01_02_725935_0003.jpg
/home/pi/Desktop/images/03012025/00/02/image_03012025_00_02_03_025401_0000.jpg
/home/pi/Desktop/images/03012025/00/02/image_03012025_00_02_03_025401_0001.jpg
/home/pi/Desktop/images/03012025/00/02/image_03012025_00_02_03_025401_0002.jpg
/home/pi/Desktop/images/03012025/00/02/image_03012025_00_02_03_025401_0003.jpg
/home/pi/Desktop/images/03012025/00/03/image_03012025_00_03_02_264795_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":["1325655147","1325655143","1325655110","1325655140","1325655122","1325655116"],"photo_ids_order":["1325655110","1325655116","1325655122","1325655140","1325655143","1325655147"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0c0892252ecfd7fd91ccd4533696bd71.jpg","text":"TemporaryFile(/tmp/multipartBody8903600423014781148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735859077188,"filename":"image_03012025_00_03_02_264795_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/dc2c2def2d6313826f31dd9ac2ee17bc.jpg","text":"TemporaryFile(/tmp/multipartBody5859874552780164578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735859077188,"filename":"image_03012025_00_02_03_025401_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5c53e7ecd70e9ce1521a0d804e67cb79.jpg","text":"TemporaryFile(/tmp/multipartBody8735797454797567753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735859077188,"filename":"image_03012025_00_01_02_725935_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7d63a2424646c02580b522d1176a6859.jpg","text":"TemporaryFile(/tmp/multipartBody10056121074824505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735859077188,"filename":"image_03012025_00_02_03_025401_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/12bfba206ac842745636ec199ce7d419.jpg","text":"TemporaryFile(/tmp/multipartBody2344768181141588514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735859077188,"filename":"image_03012025_00_02_03_025401_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/dcfc897118e97cdc133801306910ca2d.jpg","text":"TemporaryFile(/tmp/multipartBody3051050853217062412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735859077188,"filename":"image_03012025_00_02_03_025401_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325655122","file1":"1325655116","file0":"1325655110","file4":"1325655143","file5":"1325655147","file3":"1325655140"},"map_files_photo_id_array":[{"photo_id":"1325655147","filename":"file5"},{"photo_id":"1325655122","filename":"file2"},{"photo_id":"1325655143","filename":"file4"},{"photo_id":"1325655116","filename":"file1"},{"photo_id":"1325655110","filename":"file0"},{"photo_id":"1325655140","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325655147":["hashtag1","hashtag2"]},{"1325655143":["hashtag1","hashtag2"]},{"1325655110":["hashtag1","hashtag2"]},{"1325655140":["hashtag1","hashtag2"]},{"1325655122":["hashtag1","hashtag2"]},{"1325655116":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325655147, 1325655143, 1325655110, 1325655140, 1325655122, 1325655116)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.84472465515137 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 00:04:22.384682
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/00/03/image_03012025_00_03_02_264795_0001.jpg', '/home/pi/Desktop/images/03012025/00/03/image_03012025_00_03_02_264795_0002.jpg', '/home/pi/Desktop/images/03012025/00/03/image_03012025_00_03_02_264795_0003.jpg', '/home/pi/Desktop/images/03012025/00/04/image_03012025_00_04_02_602120_0000.jpg', '/home/pi/Desktop/images/03012025/00/04/image_03012025_00_04_02_602120_0001.jpg', '/home/pi/Desktop/images/03012025/00/04/image_03012025_00_04_02_602120_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/00/03/image_03012025_00_03_02_264795_0001.jpg
/home/pi/Desktop/images/03012025/00/03/image_03012025_00_03_02_264795_0002.jpg
/home/pi/Desktop/images/03012025/00/03/image_03012025_00_03_02_264795_0003.jpg
/home/pi/Desktop/images/03012025/00/04/image_03012025_00_04_02_602120_0000.jpg
/home/pi/Desktop/images/03012025/00/04/image_03012025_00_04_02_602120_0001.jpg
/home/pi/Desktop/images/03012025/00/04/image_03012025_00_04_02_602120_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":["1325655180","1325655345","1325655153","1325655251","1325655347","1325655349"],"photo_ids_order":["1325655153","1325655180","1325655251","1325655345","1325655347","1325655349"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/540e6bbec4897f1dc649d6f210628708.jpg","text":"TemporaryFile(/tmp/multipartBody7746047529742938536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735859137319,"filename":"image_03012025_00_03_02_264795_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f9f3a5d0a6dc13fbe44f03b650b13742.jpg","text":"TemporaryFile(/tmp/multipartBody1582774022029805732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735859137319,"filename":"image_03012025_00_04_02_602120_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/30ffffbb20ce2363e8f9345200f09740.jpg","text":"TemporaryFile(/tmp/multipartBody5447713899824588961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735859137319,"filename":"image_03012025_00_03_02_264795_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ff77a98556c097f3222145878979656d.jpg","text":"TemporaryFile(/tmp/multipartBody5508202012771752017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735859137319,"filename":"image_03012025_00_03_02_264795_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e34d84443e8076587dc6a0f567a5e741.jpg","text":"TemporaryFile(/tmp/multipartBody918357393564989070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735859137319,"filename":"image_03012025_00_04_02_602120_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9210514676147dfd0fcdfebae0af4435.jpg","text":"TemporaryFile(/tmp/multipartBody7449961766968589014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735859137319,"filename":"image_03012025_00_04_02_602120_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325655251","file1":"1325655180","file0":"1325655153","file4":"1325655347","file5":"1325655349","file3":"1325655345"},"map_files_photo_id_array":[{"photo_id":"1325655349","filename":"file5"},{"photo_id":"1325655251","filename":"file2"},{"photo_id":"1325655347","filename":"file4"},{"photo_id":"1325655180","filename":"file1"},{"photo_id":"1325655153","filename":"file0"},{"photo_id":"1325655345","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325655180":["hashtag1","hashtag2"]},{"1325655345":["hashtag1","hashtag2"]},{"1325655153":["hashtag1","hashtag2"]},{"1325655251":["hashtag1","hashtag2"]},{"1325655347":["hashtag1","hashtag2"]},{"1325655349":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325655180, 1325655345, 1325655153, 1325655251, 1325655347, 1325655349)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.43719673156738 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 00:05:22.526493
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/00/04/image_03012025_00_04_02_602120_0003.jpg', '/home/pi/Desktop/images/03012025/00/05/image_03012025_00_05_02_720726_0000.jpg', '/home/pi/Desktop/images/03012025/00/05/image_03012025_00_05_02_720726_0001.jpg', '/home/pi/Desktop/images/03012025/00/05/image_03012025_00_05_02_720726_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/00/04/image_03012025_00_04_02_602120_0003.jpg
/home/pi/Desktop/images/03012025/00/05/image_03012025_00_05_02_720726_0000.jpg
/home/pi/Desktop/images/03012025/00/05/image_03012025_00_05_02_720726_0001.jpg
/home/pi/Desktop/images/03012025/00/05/image_03012025_00_05_02_720726_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325655729","1325655728","1325655499","1325655541"],"photo_ids_order":["1325655499","1325655541","1325655728","1325655729"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/495c5ffada0bdcf95e8c42e2708ff031.jpg","text":"TemporaryFile(/tmp/multipartBody2921239831325004083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735859192779,"filename":"image_03012025_00_05_02_720726_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8bc98ebf136b7228a16c7c17e59ad825.jpg","text":"TemporaryFile(/tmp/multipartBody1940168199305632903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735859192779,"filename":"image_03012025_00_05_02_720726_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/42f1dddec7844045bcc48dd1af51af50.jpg","text":"TemporaryFile(/tmp/multipartBody2076097926744353017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735859192779,"filename":"image_03012025_00_04_02_602120_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/370142e1657a02429fad2630041bfee0.jpg","text":"TemporaryFile(/tmp/multipartBody3616880069928515138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735859192779,"filename":"image_03012025_00_05_02_720726_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325655728","file1":"1325655541","file0":"1325655499","file3":"1325655729"},"map_files_photo_id_array":[{"photo_id":"1325655728","filename":"file2"},{"photo_id":"1325655541","filename":"file1"},{"photo_id":"1325655499","filename":"file0"},{"photo_id":"1325655729","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325655729":["hashtag1","hashtag2"]},{"1325655728":["hashtag1","hashtag2"]},{"1325655499":["hashtag1","hashtag2"]},{"1325655541":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325655729, 1325655728, 1325655499, 1325655541)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.54688215255737 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 00:06:03.302289
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 00:06:22.770452
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/00/05/image_03012025_00_05_02_720726_0003.jpg', '/home/pi/Desktop/images/03012025/00/06/image_03012025_00_06_02_900305_0000.jpg', '/home/pi/Desktop/images/03012025/00/06/image_03012025_00_06_02_900305_0001.jpg', '/home/pi/Desktop/images/03012025/00/06/image_03012025_00_06_02_900305_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/00/05/image_03012025_00_05_02_720726_0003.jpg
/home/pi/Desktop/images/03012025/00/06/image_03012025_00_06_02_900305_0000.jpg
/home/pi/Desktop/images/03012025/00/06/image_03012025_00_06_02_900305_0001.jpg
/home/pi/Desktop/images/03012025/00/06/image_03012025_00_06_02_900305_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":["1325656011","1325656013","1325655935","1325656006"],"photo_ids_order":["1325655935","1325656006","1325656011","1325656013"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5a509fff62ca771e8153fd6ad72c31a6.jpg","text":"TemporaryFile(/tmp/multipartBody7812653893006870312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735859252845,"filename":"image_03012025_00_06_02_900305_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/89881c602689a982b1bb6f4afdee5239.jpg","text":"TemporaryFile(/tmp/multipartBody1643252816741907974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735859252845,"filename":"image_03012025_00_06_02_900305_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ff988e7db2b82e6de6f8de1a5870787c.jpg","text":"TemporaryFile(/tmp/multipartBody4517080129449480624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735859252845,"filename":"image_03012025_00_05_02_720726_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4341059a222b93054a64b6a3b5539d42.jpg","text":"TemporaryFile(/tmp/multipartBody8450878881761577851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735859252845,"filename":"image_03012025_00_06_02_900305_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325656011","file1":"1325656006","file0":"1325655935","file3":"1325656013"},"map_files_photo_id_array":[{"photo_id":"1325656011","filename":"file2"},{"photo_id":"1325656006","filename":"file1"},{"photo_id":"1325655935","filename":"file0"},{"photo_id":"1325656013","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325656011":["hashtag1","hashtag2"]},{"1325656013":["hashtag1","hashtag2"]},{"1325655935":["hashtag1","hashtag2"]},{"1325656006":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325656011, 1325656013, 1325655935, 1325656006)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.052897930145264 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 00:07:21.907759
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/00/06/image_03012025_00_06_02_900305_0003.jpg', '/home/pi/Desktop/images/03012025/00/07/image_03012025_00_07_03_123449_0000.jpg', '/home/pi/Desktop/images/03012025/00/07/image_03012025_00_07_03_123449_0001.jpg', '/home/pi/Desktop/images/03012025/00/07/image_03012025_00_07_03_123449_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/00/06/image_03012025_00_06_02_900305_0003.jpg
/home/pi/Desktop/images/03012025/00/07/image_03012025_00_07_03_123449_0000.jpg
/home/pi/Desktop/images/03012025/00/07/image_03012025_00_07_03_123449_0001.jpg
/home/pi/Desktop/images/03012025/00/07/image_03012025_00_07_03_123449_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":["1325656422","1325656032","1325656162","1325656036"],"photo_ids_order":["1325656032","1325656036","1325656162","1325656422"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/74b60cc7a74e680fab1697b57fe634b1.jpg","text":"TemporaryFile(/tmp/multipartBody776060415977842399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735859312060,"filename":"image_03012025_00_07_03_123449_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/99fe65fdfc6df53e2b6edea69ff5dd48.jpg","text":"TemporaryFile(/tmp/multipartBody7149551721057933345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735859312060,"filename":"image_03012025_00_06_02_900305_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0ce23dad05d37f1efdeb8ec2f0a997d0.jpg","text":"TemporaryFile(/tmp/multipartBody8756542720741720953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735859312060,"filename":"image_03012025_00_07_03_123449_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/dc130a37fe833f8790f55aaeb8c4ba44.jpg","text":"TemporaryFile(/tmp/multipartBody5655736951661991451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735859312060,"filename":"image_03012025_00_07_03_123449_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325656162","file1":"1325656036","file0":"1325656032","file3":"1325656422"},"map_files_photo_id_array":[{"photo_id":"1325656162","filename":"file2"},{"photo_id":"1325656036","filename":"file1"},{"photo_id":"1325656032","filename":"file0"},{"photo_id":"1325656422","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325656422":["hashtag1","hashtag2"]},{"1325656032":["hashtag1","hashtag2"]},{"1325656162":["hashtag1","hashtag2"]},{"1325656036":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325656422, 1325656032, 1325656162, 1325656036)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.43102049827576 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 00:08:22.164858
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/00/07/image_03012025_00_07_03_123449_0003.jpg', '/home/pi/Desktop/images/03012025/00/08/image_03012025_00_08_02_293394_0000.jpg', '/home/pi/Desktop/images/03012025/00/08/image_03012025_00_08_02_293394_0001.jpg', '/home/pi/Desktop/images/03012025/00/08/image_03012025_00_08_02_293394_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/00/07/image_03012025_00_07_03_123449_0003.jpg
/home/pi/Desktop/images/03012025/00/08/image_03012025_00_08_02_293394_0000.jpg
/home/pi/Desktop/images/03012025/00/08/image_03012025_00_08_02_293394_0001.jpg
/home/pi/Desktop/images/03012025/00/08/image_03012025_00_08_02_293394_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":["1325657135","1325656967","1325657023","1325657022"],"photo_ids_order":["1325656967","1325657022","1325657023","1325657135"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e4b6d442359bc9c8f2ff7a58904e02d8.jpg","text":"TemporaryFile(/tmp/multipartBody3389778149544588116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735859372500,"filename":"image_03012025_00_08_02_293394_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0d89715ed5e437bffb2d17de1633818b.jpg","text":"TemporaryFile(/tmp/multipartBody5472947997017647097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735859372500,"filename":"image_03012025_00_07_03_123449_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5a7e8ca8e98fa3f3670f890bd496d7b1.jpg","text":"TemporaryFile(/tmp/multipartBody1359872491818264715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735859372500,"filename":"image_03012025_00_08_02_293394_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f6c45e327a4c0f4f2feb88b5f9e36450.jpg","text":"TemporaryFile(/tmp/multipartBody1610653313389274444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735859372500,"filename":"image_03012025_00_08_02_293394_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325657023","file1":"1325657022","file0":"1325656967","file3":"1325657135"},"map_files_photo_id_array":[{"photo_id":"1325657023","filename":"file2"},{"photo_id":"1325657022","filename":"file1"},{"photo_id":"1325656967","filename":"file0"},{"photo_id":"1325657135","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325657135":["hashtag1","hashtag2"]},{"1325656967":["hashtag1","hashtag2"]},{"1325657023":["hashtag1","hashtag2"]},{"1325657022":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325657135, 1325656967, 1325657023, 1325657022)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.867281913757324 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 00:09:22.271958
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/00/08/image_03012025_00_08_02_293394_0003.jpg', '/home/pi/Desktop/images/03012025/00/09/image_03012025_00_09_02_485038_0000.jpg', '/home/pi/Desktop/images/03012025/00/09/image_03012025_00_09_02_485038_0001.jpg', '/home/pi/Desktop/images/03012025/00/09/image_03012025_00_09_02_485038_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/00/08/image_03012025_00_08_02_293394_0003.jpg
/home/pi/Desktop/images/03012025/00/09/image_03012025_00_09_02_485038_0000.jpg
/home/pi/Desktop/images/03012025/00/09/image_03012025_00_09_02_485038_0001.jpg
/home/pi/Desktop/images/03012025/00/09/image_03012025_00_09_02_485038_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":["1325657558","1325657485","1325657377","1325657421"],"photo_ids_order":["1325657377","1325657421","1325657485","1325657558"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/028beb6cb40b62348d8ec43ce8bf042f.jpg","text":"TemporaryFile(/tmp/multipartBody5365858915181822849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735859432614,"filename":"image_03012025_00_09_02_485038_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/64ae3e9fe86d60ada5d75513ab2c960a.jpg","text":"TemporaryFile(/tmp/multipartBody2145992633989452637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735859432614,"filename":"image_03012025_00_09_02_485038_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c474924869b04bc57d52076219c5a95a.jpg","text":"TemporaryFile(/tmp/multipartBody6689210356647525586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735859432614,"filename":"image_03012025_00_08_02_293394_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/889144a317c1d3694d9cde7fe2a1473e.jpg","text":"TemporaryFile(/tmp/multipartBody2446643190360144369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735859432614,"filename":"image_03012025_00_09_02_485038_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325657485","file1":"1325657421","file0":"1325657377","file3":"1325657558"},"map_files_photo_id_array":[{"photo_id":"1325657485","filename":"file2"},{"photo_id":"1325657421","filename":"file1"},{"photo_id":"1325657377","filename":"file0"},{"photo_id":"1325657558","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325657558":["hashtag1","hashtag2"]},{"1325657485":["hashtag1","hashtag2"]},{"1325657377":["hashtag1","hashtag2"]},{"1325657421":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325657558, 1325657485, 1325657377, 1325657421)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.980719804763794 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 00:10:22.467912
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/00/09/image_03012025_00_09_02_485038_0003.jpg', '/home/pi/Desktop/images/03012025/00/10/image_03012025_00_10_02_667615_0000.jpg', '/home/pi/Desktop/images/03012025/00/10/image_03012025_00_10_02_667615_0001.jpg', '/home/pi/Desktop/images/03012025/00/10/image_03012025_00_10_02_667615_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/00/09/image_03012025_00_09_02_485038_0003.jpg
/home/pi/Desktop/images/03012025/00/10/image_03012025_00_10_02_667615_0000.jpg
/home/pi/Desktop/images/03012025/00/10/image_03012025_00_10_02_667615_0001.jpg
/home/pi/Desktop/images/03012025/00/10/image_03012025_00_10_02_667615_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.785116910934448 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-03 00:10:52.476973
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 00:11:03.335755
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/00/09/image_03012025_00_09_02_485038_0003.jpg', '/home/pi/Desktop/images/03012025/00/10/image_03012025_00_10_02_667615_0000.jpg', '/home/pi/Desktop/images/03012025/00/10/image_03012025_00_10_02_667615_0001.jpg', '/home/pi/Desktop/images/03012025/00/10/image_03012025_00_10_02_667615_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/00/09/image_03012025_00_09_02_485038_0003.jpg
/home/pi/Desktop/images/03012025/00/10/image_03012025_00_10_02_667615_0000.jpg
/home/pi/Desktop/images/03012025/00/10/image_03012025_00_10_02_667615_0001.jpg
/home/pi/Desktop/images/03012025/00/10/image_03012025_00_10_02_667615_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325658047","1325658086","1325658080","1325658083"],"photo_ids_order":["1325658047","1325658080","1325658083","1325658086"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/eed38bce1b1a9586e481e75540134b3d.jpg","text":"TemporaryFile(/tmp/multipartBody2159903322790026928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735859533539,"filename":"image_03012025_00_09_02_485038_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a89e775a9256c18b954e3bc4ad7a6e34.jpg","text":"TemporaryFile(/tmp/multipartBody3009670540159491575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735859533539,"filename":"image_03012025_00_10_02_667615_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b46ecd49b390a66f0e72f6cf8c712162.jpg","text":"TemporaryFile(/tmp/multipartBody5027659466234698157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735859533539,"filename":"image_03012025_00_10_02_667615_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/cee0ff3e372248a1cfc6e9f3aa8d5996.jpg","text":"TemporaryFile(/tmp/multipartBody4737953846279081909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735859533539,"filename":"image_03012025_00_10_02_667615_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325658083","file1":"1325658080","file0":"1325658047","file3":"1325658086"},"map_files_photo_id_array":[{"photo_id":"1325658083","filename":"file2"},{"photo_id":"1325658080","filename":"file1"},{"photo_id":"1325658047","filename":"file0"},{"photo_id":"1325658086","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325658047":["hashtag1","hashtag2"]},{"1325658086":["hashtag1","hashtag2"]},{"1325658080":["hashtag1","hashtag2"]},{"1325658083":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325658047, 1325658086, 1325658080, 1325658083)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.80405592918396 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-03 00:11:52.712569
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 00:12:02.356621
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/00/10/image_03012025_00_10_02_667615_0003.jpg', '/home/pi/Desktop/images/03012025/00/11/image_03012025_00_11_02_861649_0000.jpg', '/home/pi/Desktop/images/03012025/00/11/image_03012025_00_11_02_861649_0001.jpg', '/home/pi/Desktop/images/03012025/00/11/image_03012025_00_11_02_861649_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/00/10/image_03012025_00_10_02_667615_0003.jpg
/home/pi/Desktop/images/03012025/00/11/image_03012025_00_11_02_861649_0000.jpg
/home/pi/Desktop/images/03012025/00/11/image_03012025_00_11_02_861649_0001.jpg
/home/pi/Desktop/images/03012025/00/11/image_03012025_00_11_02_861649_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325658103","1325658099","1325658092","1325658095"],"photo_ids_order":["1325658092","1325658095","1325658099","1325658103"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2f2f070a12167db093c58af36df02e21.jpg","text":"TemporaryFile(/tmp/multipartBody4392816028422749236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735859592642,"filename":"image_03012025_00_11_02_861649_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b4ddf37bb67ec456467336ef6ca176a0.jpg","text":"TemporaryFile(/tmp/multipartBody1842774567288284516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735859592642,"filename":"image_03012025_00_11_02_861649_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/11e9c3ea282f3270bc57b71f7ac5f681.jpg","text":"TemporaryFile(/tmp/multipartBody5408625926524098258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735859592642,"filename":"image_03012025_00_10_02_667615_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3806f04bdbb4dc3e4f75145cba82de41.jpg","text":"TemporaryFile(/tmp/multipartBody2725743323045289211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735859592642,"filename":"image_03012025_00_11_02_861649_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325658099","file1":"1325658095","file0":"1325658092","file3":"1325658103"},"map_files_photo_id_array":[{"photo_id":"1325658099","filename":"file2"},{"photo_id":"1325658095","filename":"file1"},{"photo_id":"1325658092","filename":"file0"},{"photo_id":"1325658103","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325658103":["hashtag1","hashtag2"]},{"1325658099":["hashtag1","hashtag2"]},{"1325658092":["hashtag1","hashtag2"]},{"1325658095":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325658103, 1325658099, 1325658092, 1325658095)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.074883460998535 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-03 00:12:51.889421
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 00:13:02.680139
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/00/11/image_03012025_00_11_02_861649_0003.jpg', '/home/pi/Desktop/images/03012025/00/12/image_03012025_00_12_03_025485_0000.jpg', '/home/pi/Desktop/images/03012025/00/12/image_03012025_00_12_03_025485_0001.jpg', '/home/pi/Desktop/images/03012025/00/12/image_03012025_00_12_03_025485_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/00/11/image_03012025_00_11_02_861649_0003.jpg
/home/pi/Desktop/images/03012025/00/12/image_03012025_00_12_03_025485_0000.jpg
/home/pi/Desktop/images/03012025/00/12/image_03012025_00_12_03_025485_0001.jpg
/home/pi/Desktop/images/03012025/00/12/image_03012025_00_12_03_025485_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325658490","1325658181","1325658310","1325658494"],"photo_ids_order":["1325658181","1325658310","1325658490","1325658494"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/36ddeca30dbb38cd1ba90784d8f096f5.jpg","text":"TemporaryFile(/tmp/multipartBody8014666228482549718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735859652720,"filename":"image_03012025_00_12_03_025485_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1b028890798ec1053556066e9d15fd65.jpg","text":"TemporaryFile(/tmp/multipartBody6848891174717649928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735859652720,"filename":"image_03012025_00_11_02_861649_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/cf65fa8d60414bb17bf742baee2f60f7.jpg","text":"TemporaryFile(/tmp/multipartBody6769334025723438875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735859652720,"filename":"image_03012025_00_12_03_025485_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/906b932ae91f792a5c2cc1fb61ab1120.jpg","text":"TemporaryFile(/tmp/multipartBody8777491628240840844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735859652720,"filename":"image_03012025_00_12_03_025485_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325658490","file1":"1325658310","file0":"1325658181","file3":"1325658494"},"map_files_photo_id_array":[{"photo_id":"1325658490","filename":"file2"},{"photo_id":"1325658310","filename":"file1"},{"photo_id":"1325658181","filename":"file0"},{"photo_id":"1325658494","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325658490":["hashtag1","hashtag2"]},{"1325658181":["hashtag1","hashtag2"]},{"1325658310":["hashtag1","hashtag2"]},{"1325658494":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325658490, 1325658181, 1325658310, 1325658494)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.836684703826904 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-03 00:13:52.070201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 00:14:02.643408
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/00/12/image_03012025_00_12_03_025485_0003.jpg', '/home/pi/Desktop/images/03012025/00/13/image_03012025_00_13_02_288306_0000.jpg', '/home/pi/Desktop/images/03012025/00/13/image_03012025_00_13_02_288306_0001.jpg', '/home/pi/Desktop/images/03012025/00/13/image_03012025_00_13_02_288306_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/00/12/image_03012025_00_12_03_025485_0003.jpg
/home/pi/Desktop/images/03012025/00/13/image_03012025_00_13_02_288306_0000.jpg
/home/pi/Desktop/images/03012025/00/13/image_03012025_00_13_02_288306_0001.jpg
/home/pi/Desktop/images/03012025/00/13/image_03012025_00_13_02_288306_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325658704","1325658961","1325658813","1325658909"],"photo_ids_order":["1325658704","1325658813","1325658909","1325658961"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3e5edb250e6263fb83da776930166482.jpg","text":"TemporaryFile(/tmp/multipartBody5570542216395130473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735859712670,"filename":"image_03012025_00_12_03_025485_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7d138c70d557b5c326bd915b63fe793d.jpg","text":"TemporaryFile(/tmp/multipartBody3631944559389700450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735859712670,"filename":"image_03012025_00_13_02_288306_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/da5f072933cc84ccfc02c9a9a5825818.jpg","text":"TemporaryFile(/tmp/multipartBody7084869644478939231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735859712670,"filename":"image_03012025_00_13_02_288306_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ec9e6aee6a8eb884c94586a0db1bab53.jpg","text":"TemporaryFile(/tmp/multipartBody919782501775101941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735859712670,"filename":"image_03012025_00_13_02_288306_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325658909","file1":"1325658813","file0":"1325658704","file3":"1325658961"},"map_files_photo_id_array":[{"photo_id":"1325658909","filename":"file2"},{"photo_id":"1325658813","filename":"file1"},{"photo_id":"1325658704","filename":"file0"},{"photo_id":"1325658961","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325658704":["hashtag1","hashtag2"]},{"1325658961":["hashtag1","hashtag2"]},{"1325658813":["hashtag1","hashtag2"]},{"1325658909":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325658704, 1325658961, 1325658813, 1325658909)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.79765462875366 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-03 00:14:52.223225
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 00:15:03.015405
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/00/13/image_03012025_00_13_02_288306_0003.jpg', '/home/pi/Desktop/images/03012025/00/14/image_03012025_00_14_02_415473_0000.jpg', '/home/pi/Desktop/images/03012025/00/14/image_03012025_00_14_02_415473_0001.jpg', '/home/pi/Desktop/images/03012025/00/14/image_03012025_00_14_02_415473_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/00/13/image_03012025_00_13_02_288306_0003.jpg
/home/pi/Desktop/images/03012025/00/14/image_03012025_00_14_02_415473_0000.jpg
/home/pi/Desktop/images/03012025/00/14/image_03012025_00_14_02_415473_0001.jpg
/home/pi/Desktop/images/03012025/00/14/image_03012025_00_14_02_415473_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325659045","1325659033","1325659042","1325659037"],"photo_ids_order":["1325659033","1325659037","1325659042","1325659045"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/18172858a43b4e44cca0c28183f33bb3.jpg","text":"TemporaryFile(/tmp/multipartBody5611114580056567544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735859773153,"filename":"image_03012025_00_14_02_415473_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4537aa87df7621d9fded7aff94c28808.jpg","text":"TemporaryFile(/tmp/multipartBody3867014852434331495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735859773153,"filename":"image_03012025_00_13_02_288306_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e7cea95801cb4bb529fb77371aaa33c3.jpg","text":"TemporaryFile(/tmp/multipartBody4870565828910228947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735859773153,"filename":"image_03012025_00_14_02_415473_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/af12e003b86e1449a195b4c7ab03665e.jpg","text":"TemporaryFile(/tmp/multipartBody3228875830908231780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735859773153,"filename":"image_03012025_00_14_02_415473_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325659042","file1":"1325659037","file0":"1325659033","file3":"1325659045"},"map_files_photo_id_array":[{"photo_id":"1325659042","filename":"file2"},{"photo_id":"1325659037","filename":"file1"},{"photo_id":"1325659033","filename":"file0"},{"photo_id":"1325659045","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325659045":["hashtag1","hashtag2"]},{"1325659033":["hashtag1","hashtag2"]},{"1325659042":["hashtag1","hashtag2"]},{"1325659037":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325659045, 1325659033, 1325659042, 1325659037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.94563293457031 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-03 00:15:52.476601
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 00:16:03.080909
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/00/14/image_03012025_00_14_02_415473_0003.jpg', '/home/pi/Desktop/images/03012025/00/15/image_03012025_00_15_02_602748_0000.jpg', '/home/pi/Desktop/images/03012025/00/15/image_03012025_00_15_02_602748_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/00/14/image_03012025_00_14_02_415473_0003.jpg
/home/pi/Desktop/images/03012025/00/15/image_03012025_00_15_02_602748_0000.jpg
/home/pi/Desktop/images/03012025/00/15/image_03012025_00_15_02_602748_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325659090","1325659098","1325659094"],"photo_ids_order":["1325659090","1325659094","1325659098"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/747684a7f098ef4641bc6b77c4a97e3a.jpg","text":"TemporaryFile(/tmp/multipartBody8326165684845761196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735859830770,"filename":"image_03012025_00_14_02_415473_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/495783dade5221105758533d29db37f1.jpg","text":"TemporaryFile(/tmp/multipartBody2672070880136366384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735859830770,"filename":"image_03012025_00_15_02_602748_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c38ab8983f771f3473311cf64e7d5ff2.jpg","text":"TemporaryFile(/tmp/multipartBody5934223662357367389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735859830770,"filename":"image_03012025_00_15_02_602748_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325659098","file1":"1325659094","file0":"1325659090"},"map_files_photo_id_array":[{"photo_id":"1325659098","filename":"file2"},{"photo_id":"1325659094","filename":"file1"},{"photo_id":"1325659090","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325659090":["hashtag1","hashtag2"]},{"1325659098":["hashtag1","hashtag2"]},{"1325659094":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325659090, 1325659098, 1325659094)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.9661545753479 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-03 00:16:52.625148
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 00:17:02.453073
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/00/15/image_03012025_00_15_02_602748_0003.jpg', '/home/pi/Desktop/images/03012025/00/16/image_03012025_00_16_02_840824_0000.jpg', '/home/pi/Desktop/images/03012025/00/16/image_03012025_00_16_02_840824_0001.jpg', '/home/pi/Desktop/images/03012025/00/16/image_03012025_00_16_02_840824_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/00/15/image_03012025_00_15_02_602748_0003.jpg
/home/pi/Desktop/images/03012025/00/16/image_03012025_00_16_02_840824_0000.jpg
/home/pi/Desktop/images/03012025/00/16/image_03012025_00_16_02_840824_0001.jpg
/home/pi/Desktop/images/03012025/00/16/image_03012025_00_16_02_840824_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325659126","1325659120","1325659123","1325659130"],"photo_ids_order":["1325659120","1325659123","1325659126","1325659130"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2807ac5305c7f5513d22f0c2cf1fd92d.jpg","text":"TemporaryFile(/tmp/multipartBody2366762054148721189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735859892857,"filename":"image_03012025_00_16_02_840824_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5ea5359f981443933828f1d670cfd3ba.jpg","text":"TemporaryFile(/tmp/multipartBody2209372690566901753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735859892857,"filename":"image_03012025_00_15_02_602748_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/dc018aedb7fa4d1f4697d2f869a32b5a.jpg","text":"TemporaryFile(/tmp/multipartBody8783045955948742926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735859892857,"filename":"image_03012025_00_16_02_840824_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4001a46e9b4ce96c8748c1cae86d7394.jpg","text":"TemporaryFile(/tmp/multipartBody276995523079072356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735859892857,"filename":"image_03012025_00_16_02_840824_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325659126","file1":"1325659123","file0":"1325659120","file3":"1325659130"},"map_files_photo_id_array":[{"photo_id":"1325659126","filename":"file2"},{"photo_id":"1325659123","filename":"file1"},{"photo_id":"1325659120","filename":"file0"},{"photo_id":"1325659130","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325659126":["hashtag1","hashtag2"]},{"1325659120":["hashtag1","hashtag2"]},{"1325659123":["hashtag1","hashtag2"]},{"1325659130":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325659126, 1325659120, 1325659123, 1325659130)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.12084650993347 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-03 00:17:51.847819
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 00:18:02.516696
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/00/16/image_03012025_00_16_02_840824_0003.jpg', '/home/pi/Desktop/images/03012025/00/17/image_03012025_00_17_03_009480_0000.jpg', '/home/pi/Desktop/images/03012025/00/17/image_03012025_00_17_03_009480_0001.jpg', '/home/pi/Desktop/images/03012025/00/17/image_03012025_00_17_03_009480_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/00/16/image_03012025_00_16_02_840824_0003.jpg
/home/pi/Desktop/images/03012025/00/17/image_03012025_00_17_03_009480_0000.jpg
/home/pi/Desktop/images/03012025/00/17/image_03012025_00_17_03_009480_0001.jpg
/home/pi/Desktop/images/03012025/00/17/image_03012025_00_17_03_009480_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325659144","1325659141","1325659135","1325659137"],"photo_ids_order":["1325659135","1325659137","1325659141","1325659144"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/30bdb34c301e71cc00ca37c4190b8a69.jpg","text":"TemporaryFile(/tmp/multipartBody3432691344874537098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735859952752,"filename":"image_03012025_00_17_03_009480_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6446ffddfe50e47a2de9742f91836f2d.jpg","text":"TemporaryFile(/tmp/multipartBody6479821286008546018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735859952752,"filename":"image_03012025_00_17_03_009480_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e79cdeb15dabba68778098242f35b31f.jpg","text":"TemporaryFile(/tmp/multipartBody248857410175053814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735859952752,"filename":"image_03012025_00_16_02_840824_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/004e1bd3e3d12aa75ea4163a08dc6458.jpg","text":"TemporaryFile(/tmp/multipartBody3343820736451742936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735859952752,"filename":"image_03012025_00_17_03_009480_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325659141","file1":"1325659137","file0":"1325659135","file3":"1325659144"},"map_files_photo_id_array":[{"photo_id":"1325659141","filename":"file2"},{"photo_id":"1325659137","filename":"file1"},{"photo_id":"1325659135","filename":"file0"},{"photo_id":"1325659144","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325659144":["hashtag1","hashtag2"]},{"1325659141":["hashtag1","hashtag2"]},{"1325659135":["hashtag1","hashtag2"]},{"1325659137":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325659144, 1325659141, 1325659135, 1325659137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.48496389389038 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-03 00:18:52.004756
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 00:19:02.786793
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/00/17/image_03012025_00_17_03_009480_0003.jpg', '/home/pi/Desktop/images/03012025/00/18/image_03012025_00_18_02_179998_0000.jpg', '/home/pi/Desktop/images/03012025/00/18/image_03012025_00_18_02_179998_0001.jpg', '/home/pi/Desktop/images/03012025/00/18/image_03012025_00_18_02_179998_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/00/17/image_03012025_00_17_03_009480_0003.jpg
/home/pi/Desktop/images/03012025/00/18/image_03012025_00_18_02_179998_0000.jpg
/home/pi/Desktop/images/03012025/00/18/image_03012025_00_18_02_179998_0001.jpg
/home/pi/Desktop/images/03012025/00/18/image_03012025_00_18_02_179998_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325659195","1325659189","1325659198","1325659191"],"photo_ids_order":["1325659189","1325659191","1325659195","1325659198"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5bf561a8e63409a364be82816aff26bf.jpg","text":"TemporaryFile(/tmp/multipartBody6856505565920335381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735860013039,"filename":"image_03012025_00_18_02_179998_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2e35419a7eb6daa4639c3f19ea80b0ab.jpg","text":"TemporaryFile(/tmp/multipartBody5998421259467525360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735860013039,"filename":"image_03012025_00_17_03_009480_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8e0b51a35526bb79b52b2d2f217ba45f.jpg","text":"TemporaryFile(/tmp/multipartBody6179318755025580290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735860013039,"filename":"image_03012025_00_18_02_179998_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1cece181a7a1c3c210fe45b2925c403c.jpg","text":"TemporaryFile(/tmp/multipartBody3622292034407196308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735860013039,"filename":"image_03012025_00_18_02_179998_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325659195","file1":"1325659191","file0":"1325659189","file3":"1325659198"},"map_files_photo_id_array":[{"photo_id":"1325659195","filename":"file2"},{"photo_id":"1325659191","filename":"file1"},{"photo_id":"1325659189","filename":"file0"},{"photo_id":"1325659198","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325659195":["hashtag1","hashtag2"]},{"1325659189":["hashtag1","hashtag2"]},{"1325659198":["hashtag1","hashtag2"]},{"1325659191":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325659195, 1325659189, 1325659198, 1325659191)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.89507699012756 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-03 00:19:52.166626
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 00:20:02.869615
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/00/18/image_03012025_00_18_02_179998_0003.jpg', '/home/pi/Desktop/images/03012025/00/19/image_03012025_00_19_02_401076_0000.jpg', '/home/pi/Desktop/images/03012025/00/19/image_03012025_00_19_02_401076_0001.jpg', '/home/pi/Desktop/images/03012025/00/19/image_03012025_00_19_02_401076_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/00/18/image_03012025_00_18_02_179998_0003.jpg
/home/pi/Desktop/images/03012025/00/19/image_03012025_00_19_02_401076_0000.jpg
/home/pi/Desktop/images/03012025/00/19/image_03012025_00_19_02_401076_0001.jpg
/home/pi/Desktop/images/03012025/00/19/image_03012025_00_19_02_401076_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325659222","1325659230","1325659224","1325659227"],"photo_ids_order":["1325659222","1325659224","1325659227","1325659230"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0847d26bae28deaeba10890c1abb8253.jpg","text":"TemporaryFile(/tmp/multipartBody5739574312639052311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735860073027,"filename":"image_03012025_00_18_02_179998_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9c48a4ee976c59fb2e71ba151df30b0a.jpg","text":"TemporaryFile(/tmp/multipartBody2734656865416296581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735860073027,"filename":"image_03012025_00_19_02_401076_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2c5d64707fdd6c1c9e7c0ab1731b6bd4.jpg","text":"TemporaryFile(/tmp/multipartBody3113775113965462317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735860073027,"filename":"image_03012025_00_19_02_401076_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d38574ed195fbe41377b6eedb2d06aa3.jpg","text":"TemporaryFile(/tmp/multipartBody4786152470317488990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735860073027,"filename":"image_03012025_00_19_02_401076_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325659227","file1":"1325659224","file0":"1325659222","file3":"1325659230"},"map_files_photo_id_array":[{"photo_id":"1325659227","filename":"file2"},{"photo_id":"1325659224","filename":"file1"},{"photo_id":"1325659222","filename":"file0"},{"photo_id":"1325659230","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325659222":["hashtag1","hashtag2"]},{"1325659230":["hashtag1","hashtag2"]},{"1325659224":["hashtag1","hashtag2"]},{"1325659227":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325659222, 1325659230, 1325659224, 1325659227)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.858142375946045 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-03 00:20:52.347855
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 00:21:03.141556
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/00/19/image_03012025_00_19_02_401076_0003.jpg', '/home/pi/Desktop/images/03012025/00/20/image_03012025_00_20_02_589351_0000.jpg', '/home/pi/Desktop/images/03012025/00/20/image_03012025_00_20_02_589351_0001.jpg', '/home/pi/Desktop/images/03012025/00/20/image_03012025_00_20_02_589351_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/00/19/image_03012025_00_19_02_401076_0003.jpg
/home/pi/Desktop/images/03012025/00/20/image_03012025_00_20_02_589351_0000.jpg
/home/pi/Desktop/images/03012025/00/20/image_03012025_00_20_02_589351_0001.jpg
/home/pi/Desktop/images/03012025/00/20/image_03012025_00_20_02_589351_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325659248","1325659239","1325659241","1325659244"],"photo_ids_order":["1325659239","1325659241","1325659244","1325659248"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3c48f4d0312281f41541393735d1931f.jpg","text":"TemporaryFile(/tmp/multipartBody75318115872360313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735860133184,"filename":"image_03012025_00_20_02_589351_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c5d8f5cf55c292642c3925c56bd0558a.jpg","text":"TemporaryFile(/tmp/multipartBody4757312574005249600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735860133184,"filename":"image_03012025_00_19_02_401076_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3506f610c0d232cd7f05c60bf025f34a.jpg","text":"TemporaryFile(/tmp/multipartBody5164710888923223366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735860133184,"filename":"image_03012025_00_20_02_589351_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d41f4e6ceef1610cd800c5aabd6b1eca.jpg","text":"TemporaryFile(/tmp/multipartBody456916590359032870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735860133184,"filename":"image_03012025_00_20_02_589351_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325659244","file1":"1325659241","file0":"1325659239","file3":"1325659248"},"map_files_photo_id_array":[{"photo_id":"1325659244","filename":"file2"},{"photo_id":"1325659241","filename":"file1"},{"photo_id":"1325659239","filename":"file0"},{"photo_id":"1325659248","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325659248":["hashtag1","hashtag2"]},{"1325659239":["hashtag1","hashtag2"]},{"1325659241":["hashtag1","hashtag2"]},{"1325659244":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325659248, 1325659239, 1325659241, 1325659244)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.274962425231934 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-03 00:21:52.515163
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 00:22:03.102103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/00/20/image_03012025_00_20_02_589351_0003.jpg', '/home/pi/Desktop/images/03012025/00/21/image_03012025_00_21_02_750339_0000.jpg', '/home/pi/Desktop/images/03012025/00/21/image_03012025_00_21_02_750339_0001.jpg', '/home/pi/Desktop/images/03012025/00/21/image_03012025_00_21_02_750339_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/00/20/image_03012025_00_20_02_589351_0003.jpg
/home/pi/Desktop/images/03012025/00/21/image_03012025_00_21_02_750339_0000.jpg
/home/pi/Desktop/images/03012025/00/21/image_03012025_00_21_02_750339_0001.jpg
/home/pi/Desktop/images/03012025/00/21/image_03012025_00_21_02_750339_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325659288","1325659282","1325659284","1325659280"],"photo_ids_order":["1325659280","1325659282","1325659284","1325659288"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/83ab68e4191a84471fa2b9a6d9e4a9e0.jpg","text":"TemporaryFile(/tmp/multipartBody6546705897625231036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735860193324,"filename":"image_03012025_00_21_02_750339_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ce687cd6b58975036d06ade3446fefbf.jpg","text":"TemporaryFile(/tmp/multipartBody4180013548891755939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735860193324,"filename":"image_03012025_00_21_02_750339_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d8b0f76d9cadae306dc2d8f5989b97cc.jpg","text":"TemporaryFile(/tmp/multipartBody4962399822466464657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735860193324,"filename":"image_03012025_00_21_02_750339_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a7302fe36b6eba6be90548f7da883b4a.jpg","text":"TemporaryFile(/tmp/multipartBody5480990639718956149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735860193324,"filename":"image_03012025_00_20_02_589351_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325659284","file1":"1325659282","file0":"1325659280","file3":"1325659288"},"map_files_photo_id_array":[{"photo_id":"1325659284","filename":"file2"},{"photo_id":"1325659282","filename":"file1"},{"photo_id":"1325659280","filename":"file0"},{"photo_id":"1325659288","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325659288":["hashtag1","hashtag2"]},{"1325659282":["hashtag1","hashtag2"]},{"1325659284":["hashtag1","hashtag2"]},{"1325659280":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325659288, 1325659282, 1325659284, 1325659280)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.94971489906311 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-03 00:22:52.682629
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 00:23:02.488073
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/00/21/image_03012025_00_21_02_750339_0003.jpg', '/home/pi/Desktop/images/03012025/00/22/image_03012025_00_22_02_926082_0000.jpg', '/home/pi/Desktop/images/03012025/00/22/image_03012025_00_22_02_926082_0001.jpg', '/home/pi/Desktop/images/03012025/00/22/image_03012025_00_22_02_926082_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/00/21/image_03012025_00_21_02_750339_0003.jpg
/home/pi/Desktop/images/03012025/00/22/image_03012025_00_22_02_926082_0000.jpg
/home/pi/Desktop/images/03012025/00/22/image_03012025_00_22_02_926082_0001.jpg
/home/pi/Desktop/images/03012025/00/22/image_03012025_00_22_02_926082_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.864338159561157 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 00:23:21.932238
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/00/21/image_03012025_00_21_02_750339_0003.jpg', '/home/pi/Desktop/images/03012025/00/22/image_03012025_00_22_02_926082_0000.jpg', '/home/pi/Desktop/images/03012025/00/22/image_03012025_00_22_02_926082_0001.jpg', '/home/pi/Desktop/images/03012025/00/22/image_03012025_00_22_02_926082_0002.jpg', '/home/pi/Desktop/images/03012025/00/22/image_03012025_00_22_02_926082_0003.jpg', '/home/pi/Desktop/images/03012025/00/23/image_03012025_00_23_03_069824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/00/21/image_03012025_00_21_02_750339_0003.jpg
/home/pi/Desktop/images/03012025/00/22/image_03012025_00_22_02_926082_0000.jpg
/home/pi/Desktop/images/03012025/00/22/image_03012025_00_22_02_926082_0001.jpg
/home/pi/Desktop/images/03012025/00/22/image_03012025_00_22_02_926082_0002.jpg
/home/pi/Desktop/images/03012025/00/22/image_03012025_00_22_02_926082_0003.jpg
/home/pi/Desktop/images/03012025/00/23/image_03012025_00_23_03_069824_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":["1325659435","1325659429","1325659309","1325659437","1325659424","1325659307"],"photo_ids_order":["1325659307","1325659309","1325659424","1325659429","1325659435","1325659437"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9b68b1633624b8cdcd12420d8d7eb57a.jpg","text":"TemporaryFile(/tmp/multipartBody2937817914316990994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735860276792,"filename":"image_03012025_00_22_02_926082_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/10d8b2e48a54bd0f1aa3e065abd21b6e.jpg","text":"TemporaryFile(/tmp/multipartBody1801986774989781819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735860276792,"filename":"image_03012025_00_22_02_926082_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/dca1bd204bd5ff9ca4b590f86f6f60d4.jpg","text":"TemporaryFile(/tmp/multipartBody4288649157199152916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735860276792,"filename":"image_03012025_00_22_02_926082_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a1a2dcaa68596347d2f194540b66bfb7.jpg","text":"TemporaryFile(/tmp/multipartBody7087198238046340809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735860276792,"filename":"image_03012025_00_23_03_069824_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/62758ebc506ad51ea442bc4a3f4164be.jpg","text":"TemporaryFile(/tmp/multipartBody5644207079228396672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735860276792,"filename":"image_03012025_00_22_02_926082_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ee0ee4853b54a301bac6824bb0957e26.jpg","text":"TemporaryFile(/tmp/multipartBody1256869683457494524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735860276792,"filename":"image_03012025_00_21_02_750339_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325659424","file1":"1325659309","file0":"1325659307","file4":"1325659435","file5":"1325659437","file3":"1325659429"},"map_files_photo_id_array":[{"photo_id":"1325659437","filename":"file5"},{"photo_id":"1325659424","filename":"file2"},{"photo_id":"1325659435","filename":"file4"},{"photo_id":"1325659309","filename":"file1"},{"photo_id":"1325659307","filename":"file0"},{"photo_id":"1325659429","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325659435":["hashtag1","hashtag2"]},{"1325659429":["hashtag1","hashtag2"]},{"1325659309":["hashtag1","hashtag2"]},{"1325659437":["hashtag1","hashtag2"]},{"1325659424":["hashtag1","hashtag2"]},{"1325659307":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325659435, 1325659429, 1325659309, 1325659437, 1325659424, 1325659307)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.426663398742676 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 00:24:22.011124
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/00/23/image_03012025_00_23_03_069824_0001.jpg', '/home/pi/Desktop/images/03012025/00/23/image_03012025_00_23_03_069824_0002.jpg', '/home/pi/Desktop/images/03012025/00/23/image_03012025_00_23_03_069824_0003.jpg', '/home/pi/Desktop/images/03012025/00/24/image_03012025_00_24_02_246060_0000.jpg', '/home/pi/Desktop/images/03012025/00/24/image_03012025_00_24_02_246060_0001.jpg', '/home/pi/Desktop/images/03012025/00/24/image_03012025_00_24_02_246060_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/00/23/image_03012025_00_23_03_069824_0001.jpg
/home/pi/Desktop/images/03012025/00/23/image_03012025_00_23_03_069824_0002.jpg
/home/pi/Desktop/images/03012025/00/23/image_03012025_00_23_03_069824_0003.jpg
/home/pi/Desktop/images/03012025/00/24/image_03012025_00_24_02_246060_0000.jpg
/home/pi/Desktop/images/03012025/00/24/image_03012025_00_24_02_246060_0001.jpg
/home/pi/Desktop/images/03012025/00/24/image_03012025_00_24_02_246060_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.361876010894775 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-03 00:24:52.096466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 00:25:02.907682
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/00/23/image_03012025_00_23_03_069824_0001.jpg', '/home/pi/Desktop/images/03012025/00/23/image_03012025_00_23_03_069824_0002.jpg', '/home/pi/Desktop/images/03012025/00/23/image_03012025_00_23_03_069824_0003.jpg', '/home/pi/Desktop/images/03012025/00/24/image_03012025_00_24_02_246060_0000.jpg', '/home/pi/Desktop/images/03012025/00/24/image_03012025_00_24_02_246060_0001.jpg', '/home/pi/Desktop/images/03012025/00/24/image_03012025_00_24_02_246060_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/00/23/image_03012025_00_23_03_069824_0001.jpg
/home/pi/Desktop/images/03012025/00/23/image_03012025_00_23_03_069824_0002.jpg
/home/pi/Desktop/images/03012025/00/23/image_03012025_00_23_03_069824_0003.jpg
/home/pi/Desktop/images/03012025/00/24/image_03012025_00_24_02_246060_0000.jpg
/home/pi/Desktop/images/03012025/00/24/image_03012025_00_24_02_246060_0001.jpg
/home/pi/Desktop/images/03012025/00/24/image_03012025_00_24_02_246060_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":["1325659494","1325659497","1325659485","1325659488","1325659496","1325659490"],"photo_ids_order":["1325659485","1325659488","1325659490","1325659494","1325659496","1325659497"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ec4af4bf45a046baf9d31fceb51b782f.jpg","text":"TemporaryFile(/tmp/multipartBody3606337236092807998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735860377729,"filename":"image_03012025_00_24_02_246060_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/17ee1c454ab80dac5b2288cf492bfe44.jpg","text":"TemporaryFile(/tmp/multipartBody3424967472743379944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735860377729,"filename":"image_03012025_00_24_02_246060_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8b4dc6890cf3e04e7913a91251ef65ad.jpg","text":"TemporaryFile(/tmp/multipartBody3147681703383449388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735860377729,"filename":"image_03012025_00_23_03_069824_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/866c460423abc075b395c271b2c8c3df.jpg","text":"TemporaryFile(/tmp/multipartBody3374516119812576374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735860377729,"filename":"image_03012025_00_23_03_069824_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7290fbeb7d7f8ae58b8f241cceb1b584.jpg","text":"TemporaryFile(/tmp/multipartBody4483048141763714072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735860377729,"filename":"image_03012025_00_24_02_246060_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/95714ae8c8c16e3de91a0f9f3baa98ce.jpg","text":"TemporaryFile(/tmp/multipartBody8060179637934503343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735860377729,"filename":"image_03012025_00_23_03_069824_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325659490","file1":"1325659488","file0":"1325659485","file4":"1325659496","file5":"1325659497","file3":"1325659494"},"map_files_photo_id_array":[{"photo_id":"1325659497","filename":"file5"},{"photo_id":"1325659490","filename":"file2"},{"photo_id":"1325659496","filename":"file4"},{"photo_id":"1325659488","filename":"file1"},{"photo_id":"1325659485","filename":"file0"},{"photo_id":"1325659494","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325659494":["hashtag1","hashtag2"]},{"1325659497":["hashtag1","hashtag2"]},{"1325659485":["hashtag1","hashtag2"]},{"1325659488":["hashtag1","hashtag2"]},{"1325659496":["hashtag1","hashtag2"]},{"1325659490":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325659494, 1325659497, 1325659485, 1325659488, 1325659496, 1325659490)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.568268060684204 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 00:26:02.822447
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/00/24/image_03012025_00_24_02_246060_0003.jpg', '/home/pi/Desktop/images/03012025/00/25/image_03012025_00_25_02_430452_0000.jpg', '/home/pi/Desktop/images/03012025/00/25/image_03012025_00_25_02_430452_0001.jpg', '/home/pi/Desktop/images/03012025/00/25/image_03012025_00_25_02_430452_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/00/24/image_03012025_00_24_02_246060_0003.jpg
/home/pi/Desktop/images/03012025/00/25/image_03012025_00_25_02_430452_0000.jpg
/home/pi/Desktop/images/03012025/00/25/image_03012025_00_25_02_430452_0001.jpg
/home/pi/Desktop/images/03012025/00/25/image_03012025_00_25_02_430452_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325659502","1325659510","1325659506","1325659499"],"photo_ids_order":["1325659499","1325659502","1325659506","1325659510"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/473209591e026ec36c7c3c34c95d1691.jpg","text":"TemporaryFile(/tmp/multipartBody7305943264959365696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735860432883,"filename":"image_03012025_00_25_02_430452_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/eb073fca34045836379b0a3d18d34b8b.jpg","text":"TemporaryFile(/tmp/multipartBody972283108105202119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735860432883,"filename":"image_03012025_00_25_02_430452_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/18422b1b5141b9861b7127b1deabcc2d.jpg","text":"TemporaryFile(/tmp/multipartBody7101304438036191363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735860432883,"filename":"image_03012025_00_25_02_430452_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/fa72d2944750c9990f446b869c2faa25.jpg","text":"TemporaryFile(/tmp/multipartBody8989174179459461378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735860432883,"filename":"image_03012025_00_24_02_246060_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325659506","file1":"1325659502","file0":"1325659499","file3":"1325659510"},"map_files_photo_id_array":[{"photo_id":"1325659506","filename":"file2"},{"photo_id":"1325659502","filename":"file1"},{"photo_id":"1325659499","filename":"file0"},{"photo_id":"1325659510","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325659502":["hashtag1","hashtag2"]},{"1325659510":["hashtag1","hashtag2"]},{"1325659506":["hashtag1","hashtag2"]},{"1325659499":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325659502, 1325659510, 1325659506, 1325659499)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 47.20272612571716 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-03 00:26:52.430205
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 00:27:03.238265
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/00/25/image_03012025_00_25_02_430452_0003.jpg', '/home/pi/Desktop/images/03012025/00/26/image_03012025_00_26_02_634765_0000.jpg', '/home/pi/Desktop/images/03012025/00/26/image_03012025_00_26_02_634765_0001.jpg', '/home/pi/Desktop/images/03012025/00/26/image_03012025_00_26_02_634765_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/00/25/image_03012025_00_25_02_430452_0003.jpg
/home/pi/Desktop/images/03012025/00/26/image_03012025_00_26_02_634765_0000.jpg
/home/pi/Desktop/images/03012025/00/26/image_03012025_00_26_02_634765_0001.jpg
/home/pi/Desktop/images/03012025/00/26/image_03012025_00_26_02_634765_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325659531","1325659527","1325659523","1325659520"],"photo_ids_order":["1325659520","1325659523","1325659527","1325659531"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8db12d4f8c7770fdeb4d970c11d1bf57.jpg","text":"TemporaryFile(/tmp/multipartBody4921076064963628577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735860493261,"filename":"image_03012025_00_26_02_634765_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b790eeceb4a406b601d2b691719fe5d8.jpg","text":"TemporaryFile(/tmp/multipartBody5082791242065479247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735860493261,"filename":"image_03012025_00_26_02_634765_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ee0699f1808149bb756f450163cd2df5.jpg","text":"TemporaryFile(/tmp/multipartBody4569598410959530127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735860493261,"filename":"image_03012025_00_26_02_634765_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/97faba49cb780e71109ee314b46f78a4.jpg","text":"TemporaryFile(/tmp/multipartBody7016526891193865966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735860493261,"filename":"image_03012025_00_25_02_430452_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325659527","file1":"1325659523","file0":"1325659520","file3":"1325659531"},"map_files_photo_id_array":[{"photo_id":"1325659527","filename":"file2"},{"photo_id":"1325659523","filename":"file1"},{"photo_id":"1325659520","filename":"file0"},{"photo_id":"1325659531","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325659531":["hashtag1","hashtag2"]},{"1325659527":["hashtag1","hashtag2"]},{"1325659523":["hashtag1","hashtag2"]},{"1325659520":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325659531, 1325659527, 1325659523, 1325659520)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.59634804725647 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-03 00:27:52.650251
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 00:28:02.266474
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/00/26/image_03012025_00_26_02_634765_0003.jpg', '/home/pi/Desktop/images/03012025/00/27/image_03012025_00_27_02_867123_0000.jpg', '/home/pi/Desktop/images/03012025/00/27/image_03012025_00_27_02_867123_0001.jpg', '/home/pi/Desktop/images/03012025/00/27/image_03012025_00_27_02_867123_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/00/26/image_03012025_00_26_02_634765_0003.jpg
/home/pi/Desktop/images/03012025/00/27/image_03012025_00_27_02_867123_0000.jpg
/home/pi/Desktop/images/03012025/00/27/image_03012025_00_27_02_867123_0001.jpg
/home/pi/Desktop/images/03012025/00/27/image_03012025_00_27_02_867123_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325659588","1325659593","1325659595","1325659598"],"photo_ids_order":["1325659588","1325659593","1325659595","1325659598"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8573fcbdfbfbda06b8bcefb8cf68244f.jpg","text":"TemporaryFile(/tmp/multipartBody8731033509002852917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735860552383,"filename":"image_03012025_00_26_02_634765_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f53371539fd977ae2d5f01e07726b973.jpg","text":"TemporaryFile(/tmp/multipartBody6446868935618296712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735860552383,"filename":"image_03012025_00_27_02_867123_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5a795e10e77cd1cd61e6f84cd7181d78.jpg","text":"TemporaryFile(/tmp/multipartBody6256306242112740307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735860552383,"filename":"image_03012025_00_27_02_867123_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/17179477aa35394e48fa7db944379143.jpg","text":"TemporaryFile(/tmp/multipartBody2169587598851812545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735860552383,"filename":"image_03012025_00_27_02_867123_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325659595","file1":"1325659593","file0":"1325659588","file3":"1325659598"},"map_files_photo_id_array":[{"photo_id":"1325659595","filename":"file2"},{"photo_id":"1325659593","filename":"file1"},{"photo_id":"1325659588","filename":"file0"},{"photo_id":"1325659598","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325659588":["hashtag1","hashtag2"]},{"1325659593":["hashtag1","hashtag2"]},{"1325659595":["hashtag1","hashtag2"]},{"1325659598":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325659588, 1325659593, 1325659595, 1325659598)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.826521158218384 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-03 00:28:51.857005
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 00:29:02.779767
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/00/27/image_03012025_00_27_02_867123_0003.jpg', '/home/pi/Desktop/images/03012025/00/28/image_03012025_00_28_03_030114_0000.jpg', '/home/pi/Desktop/images/03012025/00/28/image_03012025_00_28_03_030114_0001.jpg', '/home/pi/Desktop/images/03012025/00/28/image_03012025_00_28_03_030114_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/00/27/image_03012025_00_27_02_867123_0003.jpg
/home/pi/Desktop/images/03012025/00/28/image_03012025_00_28_03_030114_0000.jpg
/home/pi/Desktop/images/03012025/00/28/image_03012025_00_28_03_030114_0001.jpg
/home/pi/Desktop/images/03012025/00/28/image_03012025_00_28_03_030114_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325659685","1325659694","1325659688","1325659697"],"photo_ids_order":["1325659685","1325659688","1325659694","1325659697"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/09b2b079bb4c2520c5862d4d2def9b72.jpg","text":"TemporaryFile(/tmp/multipartBody3309740531738140207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735860612725,"filename":"image_03012025_00_27_02_867123_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/26e872dc328668c38222baac294a8575.jpg","text":"TemporaryFile(/tmp/multipartBody680259328844431207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735860612725,"filename":"image_03012025_00_28_03_030114_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/76d59eb47cc573ef4d6a231cb4896dc2.jpg","text":"TemporaryFile(/tmp/multipartBody3038985945718046248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735860612725,"filename":"image_03012025_00_28_03_030114_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b3e0f94f217f6df6a045444ec43c257e.jpg","text":"TemporaryFile(/tmp/multipartBody9165645972686999650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735860612725,"filename":"image_03012025_00_28_03_030114_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325659694","file1":"1325659688","file0":"1325659685","file3":"1325659697"},"map_files_photo_id_array":[{"photo_id":"1325659694","filename":"file2"},{"photo_id":"1325659688","filename":"file1"},{"photo_id":"1325659685","filename":"file0"},{"photo_id":"1325659697","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325659685":["hashtag1","hashtag2"]},{"1325659694":["hashtag1","hashtag2"]},{"1325659688":["hashtag1","hashtag2"]},{"1325659697":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325659685, 1325659694, 1325659688, 1325659697)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.48617124557495 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-03 00:29:52.052361
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 00:30:02.748568
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/00/28/image_03012025_00_28_03_030114_0003.jpg', '/home/pi/Desktop/images/03012025/00/29/image_03012025_00_29_02_210458_0000.jpg', '/home/pi/Desktop/images/03012025/00/29/image_03012025_00_29_02_210458_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/00/28/image_03012025_00_28_03_030114_0003.jpg
/home/pi/Desktop/images/03012025/00/29/image_03012025_00_29_02_210458_0000.jpg
/home/pi/Desktop/images/03012025/00/29/image_03012025_00_29_02_210458_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325659709","1325659711","1325659706"],"photo_ids_order":["1325659706","1325659709","1325659711"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/cbfac6cd998f3c990e66115e9f1f424b.jpg","text":"TemporaryFile(/tmp/multipartBody8188369359528703194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735860670351,"filename":"image_03012025_00_29_02_210458_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9b2850334b75ee62929859ad59dcb8cc.jpg","text":"TemporaryFile(/tmp/multipartBody885552091815450282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735860670351,"filename":"image_03012025_00_29_02_210458_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c8c6fec59f8da45e4bc78382f04033cc.jpg","text":"TemporaryFile(/tmp/multipartBody8093149541419392132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735860670351,"filename":"image_03012025_00_28_03_030114_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325659711","file1":"1325659709","file0":"1325659706"},"map_files_photo_id_array":[{"photo_id":"1325659711","filename":"file2"},{"photo_id":"1325659709","filename":"file1"},{"photo_id":"1325659706","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325659709":["hashtag1","hashtag2"]},{"1325659711":["hashtag1","hashtag2"]},{"1325659706":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325659709, 1325659711, 1325659706)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.943458557128906 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-03 00:30:52.298017
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 00:31:03.035792
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/00/29/image_03012025_00_29_02_210458_0002.jpg', '/home/pi/Desktop/images/03012025/00/30/image_03012025_00_30_02_503477_0000.jpg', '/home/pi/Desktop/images/03012025/00/30/image_03012025_00_30_02_503477_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/00/29/image_03012025_00_29_02_210458_0002.jpg
/home/pi/Desktop/images/03012025/00/30/image_03012025_00_30_02_503477_0000.jpg
/home/pi/Desktop/images/03012025/00/30/image_03012025_00_30_02_503477_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325659744","1325659741","1325659739"],"photo_ids_order":["1325659739","1325659741","1325659744"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f2cf8116f8164e0093ec6fee3bfc0944.jpg","text":"TemporaryFile(/tmp/multipartBody4218154687901864914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735860730713,"filename":"image_03012025_00_30_02_503477_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c4f0e6fdae796db4715777a22b42a86a.jpg","text":"TemporaryFile(/tmp/multipartBody8946035612036072849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735860730713,"filename":"image_03012025_00_30_02_503477_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0e4436cc1a0e3a67b82263ad53c76b9b.jpg","text":"TemporaryFile(/tmp/multipartBody4513608876690665781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735860730713,"filename":"image_03012025_00_29_02_210458_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325659744","file1":"1325659741","file0":"1325659739"},"map_files_photo_id_array":[{"photo_id":"1325659744","filename":"file2"},{"photo_id":"1325659741","filename":"file1"},{"photo_id":"1325659739","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325659744":["hashtag1","hashtag2"]},{"1325659741":["hashtag1","hashtag2"]},{"1325659739":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325659744, 1325659741, 1325659739)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 33.46315813064575 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-03 00:31:52.447976
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 00:32:03.082942
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/00/30/image_03012025_00_30_02_503477_0002.jpg', '/home/pi/Desktop/images/03012025/00/31/image_03012025_00_31_02_633985_0000.jpg', '/home/pi/Desktop/images/03012025/00/31/image_03012025_00_31_02_633985_0001.jpg', '/home/pi/Desktop/images/03012025/00/31/image_03012025_00_31_02_633985_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/00/30/image_03012025_00_30_02_503477_0002.jpg
/home/pi/Desktop/images/03012025/00/31/image_03012025_00_31_02_633985_0000.jpg
/home/pi/Desktop/images/03012025/00/31/image_03012025_00_31_02_633985_0001.jpg
/home/pi/Desktop/images/03012025/00/31/image_03012025_00_31_02_633985_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325659762","1325659813","1325659815","1325659760"],"photo_ids_order":["1325659760","1325659762","1325659813","1325659815"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/be47f8f2b24ff2d8cc515e7b703706fb.jpg","text":"TemporaryFile(/tmp/multipartBody8280272063127804867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735860793137,"filename":"image_03012025_00_31_02_633985_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8f7c49f25cc7c6a349a3007429c89d3d.jpg","text":"TemporaryFile(/tmp/multipartBody4434648246976789546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735860793137,"filename":"image_03012025_00_31_02_633985_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/74b2f4e7edafc39817136732969ceb7e.jpg","text":"TemporaryFile(/tmp/multipartBody8859362640162612214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735860793137,"filename":"image_03012025_00_31_02_633985_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c1e7a0ecc5975dd5dbf80dc7a849ff79.jpg","text":"TemporaryFile(/tmp/multipartBody2037799555146370127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735860793137,"filename":"image_03012025_00_30_02_503477_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325659813","file1":"1325659762","file0":"1325659760","file3":"1325659815"},"map_files_photo_id_array":[{"photo_id":"1325659813","filename":"file2"},{"photo_id":"1325659762","filename":"file1"},{"photo_id":"1325659760","filename":"file0"},{"photo_id":"1325659815","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325659762":["hashtag1","hashtag2"]},{"1325659813":["hashtag1","hashtag2"]},{"1325659815":["hashtag1","hashtag2"]},{"1325659760":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325659762, 1325659813, 1325659815, 1325659760)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.0331871509552 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-03 00:32:52.616672
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 00:33:02.599756
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/00/31/image_03012025_00_31_02_633985_0003.jpg', '/home/pi/Desktop/images/03012025/00/32/image_03012025_00_32_02_904268_0000.jpg', '/home/pi/Desktop/images/03012025/00/32/image_03012025_00_32_02_904268_0001.jpg', '/home/pi/Desktop/images/03012025/00/32/image_03012025_00_32_02_904268_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/00/31/image_03012025_00_31_02_633985_0003.jpg
/home/pi/Desktop/images/03012025/00/32/image_03012025_00_32_02_904268_0000.jpg
/home/pi/Desktop/images/03012025/00/32/image_03012025_00_32_02_904268_0001.jpg
/home/pi/Desktop/images/03012025/00/32/image_03012025_00_32_02_904268_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.12598705291748 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 00:33:21.720932
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/00/31/image_03012025_00_31_02_633985_0003.jpg', '/home/pi/Desktop/images/03012025/00/32/image_03012025_00_32_02_904268_0000.jpg', '/home/pi/Desktop/images/03012025/00/32/image_03012025_00_32_02_904268_0001.jpg', '/home/pi/Desktop/images/03012025/00/32/image_03012025_00_32_02_904268_0002.jpg', '/home/pi/Desktop/images/03012025/00/32/image_03012025_00_32_02_904268_0003.jpg', '/home/pi/Desktop/images/03012025/00/33/image_03012025_00_33_03_023457_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/00/31/image_03012025_00_31_02_633985_0003.jpg
/home/pi/Desktop/images/03012025/00/32/image_03012025_00_32_02_904268_0000.jpg
/home/pi/Desktop/images/03012025/00/32/image_03012025_00_32_02_904268_0001.jpg
/home/pi/Desktop/images/03012025/00/32/image_03012025_00_32_02_904268_0002.jpg
/home/pi/Desktop/images/03012025/00/32/image_03012025_00_32_02_904268_0003.jpg
/home/pi/Desktop/images/03012025/00/33/image_03012025_00_33_03_023457_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":["1325659855","1325659840","1325659857","1325659833","1325659859","1325659856"],"photo_ids_order":["1325659833","1325659840","1325659855","1325659856","1325659857","1325659859"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a9d835a193e4f6a23612760958e2e83c.jpg","text":"TemporaryFile(/tmp/multipartBody1598533869874904981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735860876970,"filename":"image_03012025_00_32_02_904268_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a1b08675b81ffab6e6f434dd595f3a1c.jpg","text":"TemporaryFile(/tmp/multipartBody8874877636132489008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735860876970,"filename":"image_03012025_00_32_02_904268_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6fae99a7380c9cc950a0a844dad4f3fd.jpg","text":"TemporaryFile(/tmp/multipartBody3359916518072913131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735860876970,"filename":"image_03012025_00_32_02_904268_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0b1209f3fa6ad02b717b43dc10b6a804.jpg","text":"TemporaryFile(/tmp/multipartBody5878103809894728025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735860876970,"filename":"image_03012025_00_31_02_633985_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1cfab4b6d679d9e56977627d1951bfa1.jpg","text":"TemporaryFile(/tmp/multipartBody21241730455190240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735860876970,"filename":"image_03012025_00_33_03_023457_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/88a05b1e38897b08d24ccab98b2ccdd7.jpg","text":"TemporaryFile(/tmp/multipartBody3294532482573871437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735860876970,"filename":"image_03012025_00_32_02_904268_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325659855","file1":"1325659840","file0":"1325659833","file4":"1325659857","file5":"1325659859","file3":"1325659856"},"map_files_photo_id_array":[{"photo_id":"1325659859","filename":"file5"},{"photo_id":"1325659855","filename":"file2"},{"photo_id":"1325659857","filename":"file4"},{"photo_id":"1325659840","filename":"file1"},{"photo_id":"1325659833","filename":"file0"},{"photo_id":"1325659856","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325659855":["hashtag1","hashtag2"]},{"1325659840":["hashtag1","hashtag2"]},{"1325659857":["hashtag1","hashtag2"]},{"1325659833":["hashtag1","hashtag2"]},{"1325659859":["hashtag1","hashtag2"]},{"1325659856":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325659855, 1325659840, 1325659857, 1325659833, 1325659859, 1325659856)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.74321913719177 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 00:34:22.037765
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/00/33/image_03012025_00_33_03_023457_0001.jpg', '/home/pi/Desktop/images/03012025/00/33/image_03012025_00_33_03_023457_0002.jpg', '/home/pi/Desktop/images/03012025/00/33/image_03012025_00_33_03_023457_0003.jpg', '/home/pi/Desktop/images/03012025/00/34/image_03012025_00_34_02_130375_0000.jpg', '/home/pi/Desktop/images/03012025/00/34/image_03012025_00_34_02_130375_0001.jpg', '/home/pi/Desktop/images/03012025/00/34/image_03012025_00_34_02_130375_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/00/33/image_03012025_00_33_03_023457_0001.jpg
/home/pi/Desktop/images/03012025/00/33/image_03012025_00_33_03_023457_0002.jpg
/home/pi/Desktop/images/03012025/00/33/image_03012025_00_33_03_023457_0003.jpg
/home/pi/Desktop/images/03012025/00/34/image_03012025_00_34_02_130375_0000.jpg
/home/pi/Desktop/images/03012025/00/34/image_03012025_00_34_02_130375_0001.jpg
/home/pi/Desktop/images/03012025/00/34/image_03012025_00_34_02_130375_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.992522716522217 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-03 00:34:51.951923
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 00:35:02.624275
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/00/33/image_03012025_00_33_03_023457_0001.jpg', '/home/pi/Desktop/images/03012025/00/33/image_03012025_00_33_03_023457_0002.jpg', '/home/pi/Desktop/images/03012025/00/33/image_03012025_00_33_03_023457_0003.jpg', '/home/pi/Desktop/images/03012025/00/34/image_03012025_00_34_02_130375_0000.jpg', '/home/pi/Desktop/images/03012025/00/34/image_03012025_00_34_02_130375_0001.jpg', '/home/pi/Desktop/images/03012025/00/34/image_03012025_00_34_02_130375_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/00/33/image_03012025_00_33_03_023457_0001.jpg
/home/pi/Desktop/images/03012025/00/33/image_03012025_00_33_03_023457_0002.jpg
/home/pi/Desktop/images/03012025/00/33/image_03012025_00_33_03_023457_0003.jpg
/home/pi/Desktop/images/03012025/00/34/image_03012025_00_34_02_130375_0000.jpg
/home/pi/Desktop/images/03012025/00/34/image_03012025_00_34_02_130375_0001.jpg
/home/pi/Desktop/images/03012025/00/34/image_03012025_00_34_02_130375_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":["1325659885","1325659939","1325659918","1325659941","1325659878","1325659943"],"photo_ids_order":["1325659878","1325659885","1325659918","1325659939","1325659941","1325659943"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/80d93f5ff14dadd98e64e1c5b72025fa.jpg","text":"TemporaryFile(/tmp/multipartBody3665331556821812155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735860978147,"filename":"image_03012025_00_33_03_023457_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/57d04a726e2feca62d4142d855864155.jpg","text":"TemporaryFile(/tmp/multipartBody7830795415257559056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735860978147,"filename":"image_03012025_00_34_02_130375_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ce47d56e76efda946c992403a4f6f943.jpg","text":"TemporaryFile(/tmp/multipartBody1884327689298599198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735860978147,"filename":"image_03012025_00_33_03_023457_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2bf7497bc054312f4400fd64eeb1044d.jpg","text":"TemporaryFile(/tmp/multipartBody894923438735691376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735860978147,"filename":"image_03012025_00_34_02_130375_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9e47af002f733fe22ac705fca4975d4d.jpg","text":"TemporaryFile(/tmp/multipartBody5091772335201491035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735860978147,"filename":"image_03012025_00_33_03_023457_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/592fe8d2971a52748cc2bb84478d2c5a.jpg","text":"TemporaryFile(/tmp/multipartBody4536513417796682418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735860978147,"filename":"image_03012025_00_34_02_130375_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325659918","file1":"1325659885","file0":"1325659878","file4":"1325659941","file5":"1325659943","file3":"1325659939"},"map_files_photo_id_array":[{"photo_id":"1325659943","filename":"file5"},{"photo_id":"1325659918","filename":"file2"},{"photo_id":"1325659941","filename":"file4"},{"photo_id":"1325659885","filename":"file1"},{"photo_id":"1325659878","filename":"file0"},{"photo_id":"1325659939","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325659885":["hashtag1","hashtag2"]},{"1325659939":["hashtag1","hashtag2"]},{"1325659918":["hashtag1","hashtag2"]},{"1325659941":["hashtag1","hashtag2"]},{"1325659878":["hashtag1","hashtag2"]},{"1325659943":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325659885, 1325659939, 1325659918, 1325659941, 1325659878, 1325659943)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.08377504348755 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 00:36:02.659694
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/00/34/image_03012025_00_34_02_130375_0003.jpg', '/home/pi/Desktop/images/03012025/00/35/image_03012025_00_35_02_295311_0000.jpg', '/home/pi/Desktop/images/03012025/00/35/image_03012025_00_35_02_295311_0001.jpg', '/home/pi/Desktop/images/03012025/00/35/image_03012025_00_35_02_295311_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/00/34/image_03012025_00_34_02_130375_0003.jpg
/home/pi/Desktop/images/03012025/00/35/image_03012025_00_35_02_295311_0000.jpg
/home/pi/Desktop/images/03012025/00/35/image_03012025_00_35_02_295311_0001.jpg
/home/pi/Desktop/images/03012025/00/35/image_03012025_00_35_02_295311_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325659959","1325659976","1325659970","1325659973"],"photo_ids_order":["1325659959","1325659970","1325659973","1325659976"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0694186060aef79ba5687b5cb34fca9c.jpg","text":"TemporaryFile(/tmp/multipartBody5840910916822603779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735861033228,"filename":"image_03012025_00_34_02_130375_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5db5bc397e40d7c29d76163263b1bcd3.jpg","text":"TemporaryFile(/tmp/multipartBody7150764032321497048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735861033228,"filename":"image_03012025_00_35_02_295311_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3ef406daeb9aea25f420a903512fe040.jpg","text":"TemporaryFile(/tmp/multipartBody4755586054911368430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735861033228,"filename":"image_03012025_00_35_02_295311_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/45ed3a98aa98ac3d2092c3818c22a57c.jpg","text":"TemporaryFile(/tmp/multipartBody9166702774701366945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735861033228,"filename":"image_03012025_00_35_02_295311_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325659973","file1":"1325659970","file0":"1325659959","file3":"1325659976"},"map_files_photo_id_array":[{"photo_id":"1325659973","filename":"file2"},{"photo_id":"1325659970","filename":"file1"},{"photo_id":"1325659959","filename":"file0"},{"photo_id":"1325659976","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325659959":["hashtag1","hashtag2"]},{"1325659976":["hashtag1","hashtag2"]},{"1325659970":["hashtag1","hashtag2"]},{"1325659973":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325659959, 1325659976, 1325659970, 1325659973)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.751384019851685 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-03 00:36:52.409221
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 00:37:03.281349
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/00/35/image_03012025_00_35_02_295311_0003.jpg', '/home/pi/Desktop/images/03012025/00/36/image_03012025_00_36_02_460295_0000.jpg', '/home/pi/Desktop/images/03012025/00/36/image_03012025_00_36_02_460295_0001.jpg', '/home/pi/Desktop/images/03012025/00/36/image_03012025_00_36_02_460295_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/00/35/image_03012025_00_35_02_295311_0003.jpg
/home/pi/Desktop/images/03012025/00/36/image_03012025_00_36_02_460295_0000.jpg
/home/pi/Desktop/images/03012025/00/36/image_03012025_00_36_02_460295_0001.jpg
/home/pi/Desktop/images/03012025/00/36/image_03012025_00_36_02_460295_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325660095","1325660097","1325660103","1325660100"],"photo_ids_order":["1325660095","1325660097","1325660100","1325660103"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/bb0e0163117be35487aed5c749cc5c1e.jpg","text":"TemporaryFile(/tmp/multipartBody2726387346368598472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735861093478,"filename":"image_03012025_00_35_02_295311_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ce7aa1693d1282db209a4e2345a2317d.jpg","text":"TemporaryFile(/tmp/multipartBody695894621632489558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735861093478,"filename":"image_03012025_00_36_02_460295_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a1a37a13a149132652e7907edaff562e.jpg","text":"TemporaryFile(/tmp/multipartBody4166084904461806002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735861093478,"filename":"image_03012025_00_36_02_460295_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e8b75d4c36291e2d25ebf1e77d7e5f09.jpg","text":"TemporaryFile(/tmp/multipartBody953266534387244464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735861093478,"filename":"image_03012025_00_36_02_460295_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325660100","file1":"1325660097","file0":"1325660095","file3":"1325660103"},"map_files_photo_id_array":[{"photo_id":"1325660100","filename":"file2"},{"photo_id":"1325660097","filename":"file1"},{"photo_id":"1325660095","filename":"file0"},{"photo_id":"1325660103","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325660095":["hashtag1","hashtag2"]},{"1325660097":["hashtag1","hashtag2"]},{"1325660103":["hashtag1","hashtag2"]},{"1325660100":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325660095, 1325660097, 1325660103, 1325660100)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.89653944969177 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-03 00:37:52.571948
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 00:38:03.206007
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/00/36/image_03012025_00_36_02_460295_0003.jpg', '/home/pi/Desktop/images/03012025/00/37/image_03012025_00_37_02_695111_0000.jpg', '/home/pi/Desktop/images/03012025/00/37/image_03012025_00_37_02_695111_0001.jpg', '/home/pi/Desktop/images/03012025/00/37/image_03012025_00_37_02_695111_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/00/36/image_03012025_00_36_02_460295_0003.jpg
/home/pi/Desktop/images/03012025/00/37/image_03012025_00_37_02_695111_0000.jpg
/home/pi/Desktop/images/03012025/00/37/image_03012025_00_37_02_695111_0001.jpg
/home/pi/Desktop/images/03012025/00/37/image_03012025_00_37_02_695111_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325660108","1325660115","1325660112","1325660109"],"photo_ids_order":["1325660108","1325660109","1325660112","1325660115"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/bd7d8061e4ac5429236c38359573d40e.jpg","text":"TemporaryFile(/tmp/multipartBody6436219752186431852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735861153414,"filename":"image_03012025_00_36_02_460295_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/59ec26b2ffddfba6ae8bc86d8d8dc601.jpg","text":"TemporaryFile(/tmp/multipartBody4793241542092021582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735861153414,"filename":"image_03012025_00_37_02_695111_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6e3e17b051e180e939237a962f06bed7.jpg","text":"TemporaryFile(/tmp/multipartBody5990671666732387830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735861153414,"filename":"image_03012025_00_37_02_695111_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3309d180e93e10022a01838a1730282f.jpg","text":"TemporaryFile(/tmp/multipartBody905395061420768753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735861153414,"filename":"image_03012025_00_37_02_695111_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325660112","file1":"1325660109","file0":"1325660108","file3":"1325660115"},"map_files_photo_id_array":[{"photo_id":"1325660112","filename":"file2"},{"photo_id":"1325660109","filename":"file1"},{"photo_id":"1325660108","filename":"file0"},{"photo_id":"1325660115","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325660108":["hashtag1","hashtag2"]},{"1325660115":["hashtag1","hashtag2"]},{"1325660112":["hashtag1","hashtag2"]},{"1325660109":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325660108, 1325660115, 1325660112, 1325660109)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.73722290992737 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-03 00:38:52.753771
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 00:39:02.488080
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/00/37/image_03012025_00_37_02_695111_0003.jpg', '/home/pi/Desktop/images/03012025/00/38/image_03012025_00_38_02_976573_0000.jpg', '/home/pi/Desktop/images/03012025/00/38/image_03012025_00_38_02_976573_0001.jpg', '/home/pi/Desktop/images/03012025/00/38/image_03012025_00_38_02_976573_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/00/37/image_03012025_00_37_02_695111_0003.jpg
/home/pi/Desktop/images/03012025/00/38/image_03012025_00_38_02_976573_0000.jpg
/home/pi/Desktop/images/03012025/00/38/image_03012025_00_38_02_976573_0001.jpg
/home/pi/Desktop/images/03012025/00/38/image_03012025_00_38_02_976573_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325660134","1325660142","1325660136","1325660139"],"photo_ids_order":["1325660134","1325660136","1325660139","1325660142"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3c754eb7a742429a16736de89835cb89.jpg","text":"TemporaryFile(/tmp/multipartBody2024516700385326146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735861212788,"filename":"image_03012025_00_37_02_695111_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/20b3dbb0ab6a0dcce303c75fcac8bc93.jpg","text":"TemporaryFile(/tmp/multipartBody8521437433466477695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735861212788,"filename":"image_03012025_00_38_02_976573_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d7c5d40c1fea43f9b1460a09b56309fb.jpg","text":"TemporaryFile(/tmp/multipartBody8025011592136490349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735861212788,"filename":"image_03012025_00_38_02_976573_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/cf3b8f81ae8cb2cd7a1ca7918dbb39c7.jpg","text":"TemporaryFile(/tmp/multipartBody7890296292020738872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735861212788,"filename":"image_03012025_00_38_02_976573_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325660139","file1":"1325660136","file0":"1325660134","file3":"1325660142"},"map_files_photo_id_array":[{"photo_id":"1325660139","filename":"file2"},{"photo_id":"1325660136","filename":"file1"},{"photo_id":"1325660134","filename":"file0"},{"photo_id":"1325660142","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325660134":["hashtag1","hashtag2"]},{"1325660142":["hashtag1","hashtag2"]},{"1325660136":["hashtag1","hashtag2"]},{"1325660139":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325660134, 1325660142, 1325660136, 1325660139)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.08540153503418 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-03 00:39:51.946745
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 00:40:02.542299
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/00/38/image_03012025_00_38_02_976573_0003.jpg', '/home/pi/Desktop/images/03012025/00/39/image_03012025_00_39_03_090879_0000.jpg', '/home/pi/Desktop/images/03012025/00/39/image_03012025_00_39_03_090879_0001.jpg', '/home/pi/Desktop/images/03012025/00/39/image_03012025_00_39_03_090879_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/00/38/image_03012025_00_38_02_976573_0003.jpg
/home/pi/Desktop/images/03012025/00/39/image_03012025_00_39_03_090879_0000.jpg
/home/pi/Desktop/images/03012025/00/39/image_03012025_00_39_03_090879_0001.jpg
/home/pi/Desktop/images/03012025/00/39/image_03012025_00_39_03_090879_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325660182","1325660184","1325660187","1325660189"],"photo_ids_order":["1325660182","1325660184","1325660187","1325660189"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/402f4ea706b15c0c135015f464c727e1.jpg","text":"TemporaryFile(/tmp/multipartBody8487320933802448174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735861272741,"filename":"image_03012025_00_38_02_976573_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d50ef3a5b1397239ea7380568762a9b4.jpg","text":"TemporaryFile(/tmp/multipartBody5507734325071373915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735861272741,"filename":"image_03012025_00_39_03_090879_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a056ef1a2b1f175b4578493b3c9326a2.jpg","text":"TemporaryFile(/tmp/multipartBody8297983116269718046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735861272741,"filename":"image_03012025_00_39_03_090879_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a09f7a9747bc1c9bd7edeec88016fdda.jpg","text":"TemporaryFile(/tmp/multipartBody3899035658479406519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735861272741,"filename":"image_03012025_00_39_03_090879_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325660187","file1":"1325660184","file0":"1325660182","file3":"1325660189"},"map_files_photo_id_array":[{"photo_id":"1325660187","filename":"file2"},{"photo_id":"1325660184","filename":"file1"},{"photo_id":"1325660182","filename":"file0"},{"photo_id":"1325660189","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325660182":["hashtag1","hashtag2"]},{"1325660184":["hashtag1","hashtag2"]},{"1325660187":["hashtag1","hashtag2"]},{"1325660189":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325660182, 1325660184, 1325660187, 1325660189)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.53862380981445 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-03 00:40:52.154339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 00:41:03.139385
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/00/39/image_03012025_00_39_03_090879_0003.jpg', '/home/pi/Desktop/images/03012025/00/40/image_03012025_00_40_02_288111_0000.jpg', '/home/pi/Desktop/images/03012025/00/40/image_03012025_00_40_02_288111_0001.jpg', '/home/pi/Desktop/images/03012025/00/40/image_03012025_00_40_02_288111_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/00/39/image_03012025_00_39_03_090879_0003.jpg
/home/pi/Desktop/images/03012025/00/40/image_03012025_00_40_02_288111_0000.jpg
/home/pi/Desktop/images/03012025/00/40/image_03012025_00_40_02_288111_0001.jpg
/home/pi/Desktop/images/03012025/00/40/image_03012025_00_40_02_288111_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325660309","1325660300","1325660305","1325660193"],"photo_ids_order":["1325660193","1325660300","1325660305","1325660309"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/10e8d13c1f5e1cc9c1a809d5b6b0eae9.jpg","text":"TemporaryFile(/tmp/multipartBody935041459576338892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735861333376,"filename":"image_03012025_00_40_02_288111_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/50abcd84b42206f1a881c4a315b1542d.jpg","text":"TemporaryFile(/tmp/multipartBody1773389694783829934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735861333376,"filename":"image_03012025_00_40_02_288111_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/21cac279e98dd6f8ac300e610f26fea5.jpg","text":"TemporaryFile(/tmp/multipartBody444028471089318347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735861333376,"filename":"image_03012025_00_40_02_288111_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ca7cedc3dff9c5abd35fd960768b4984.jpg","text":"TemporaryFile(/tmp/multipartBody8331127007866895978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735861333376,"filename":"image_03012025_00_39_03_090879_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325660305","file1":"1325660300","file0":"1325660193","file3":"1325660309"},"map_files_photo_id_array":[{"photo_id":"1325660305","filename":"file2"},{"photo_id":"1325660300","filename":"file1"},{"photo_id":"1325660193","filename":"file0"},{"photo_id":"1325660309","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325660309":["hashtag1","hashtag2"]},{"1325660300":["hashtag1","hashtag2"]},{"1325660305":["hashtag1","hashtag2"]},{"1325660193":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325660309, 1325660300, 1325660305, 1325660193)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.529022455215454 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-03 00:41:52.348230
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 00:42:03.006702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/00/40/image_03012025_00_40_02_288111_0003.jpg', '/home/pi/Desktop/images/03012025/00/41/image_03012025_00_41_02_510794_0001.jpg', '/home/pi/Desktop/images/03012025/00/41/image_03012025_00_41_02_510794_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/00/40/image_03012025_00_40_02_288111_0003.jpg
/home/pi/Desktop/images/03012025/00/41/image_03012025_00_41_02_510794_0001.jpg
/home/pi/Desktop/images/03012025/00/41/image_03012025_00_41_02_510794_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325660330","1325660333","1325660328"],"photo_ids_order":["1325660328","1325660330","1325660333"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5da8d93dfb89badd1f77a8c8ad7c49a7.jpg","text":"TemporaryFile(/tmp/multipartBody5114752249228058342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735861390944,"filename":"image_03012025_00_41_02_510794_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/fba5d4f0c80be9c8c434696b5489a0ea.jpg","text":"TemporaryFile(/tmp/multipartBody669764047879194489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735861390944,"filename":"image_03012025_00_41_02_510794_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c64ad6d27fa8866d40e23e7f6b55942f.jpg","text":"TemporaryFile(/tmp/multipartBody6824878605230884158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735861390944,"filename":"image_03012025_00_40_02_288111_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325660333","file1":"1325660330","file0":"1325660328"},"map_files_photo_id_array":[{"photo_id":"1325660333","filename":"file2"},{"photo_id":"1325660330","filename":"file1"},{"photo_id":"1325660328","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325660330":["hashtag1","hashtag2"]},{"1325660333":["hashtag1","hashtag2"]},{"1325660328":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325660330, 1325660333, 1325660328)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 33.55579495429993 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-03 00:42:52.535510
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 00:43:03.354868
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/00/41/image_03012025_00_41_02_510794_0003.jpg', '/home/pi/Desktop/images/03012025/00/42/image_03012025_00_42_02_666695_0000.jpg', '/home/pi/Desktop/images/03012025/00/42/image_03012025_00_42_02_666695_0001.jpg', '/home/pi/Desktop/images/03012025/00/42/image_03012025_00_42_02_666695_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/00/41/image_03012025_00_41_02_510794_0003.jpg
/home/pi/Desktop/images/03012025/00/42/image_03012025_00_42_02_666695_0000.jpg
/home/pi/Desktop/images/03012025/00/42/image_03012025_00_42_02_666695_0001.jpg
/home/pi/Desktop/images/03012025/00/42/image_03012025_00_42_02_666695_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325660383","1325660386","1325660380","1325660378"],"photo_ids_order":["1325660378","1325660380","1325660383","1325660386"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/43098721e578fafaef172e9f1fd9c9ff.jpg","text":"TemporaryFile(/tmp/multipartBody5865029776528398259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735861453714,"filename":"image_03012025_00_42_02_666695_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4a93189aa0f0f4198f2b9ea14a807184.jpg","text":"TemporaryFile(/tmp/multipartBody3803298164647244915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735861453714,"filename":"image_03012025_00_42_02_666695_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3a0f346ce207be1d835ac5fcacc9dda2.jpg","text":"TemporaryFile(/tmp/multipartBody1928143910653967973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735861453714,"filename":"image_03012025_00_42_02_666695_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/168a06cc7ade4dde3f5d16f158a627d9.jpg","text":"TemporaryFile(/tmp/multipartBody8022629717536334700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735861453714,"filename":"image_03012025_00_41_02_510794_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325660383","file1":"1325660380","file0":"1325660378","file3":"1325660386"},"map_files_photo_id_array":[{"photo_id":"1325660383","filename":"file2"},{"photo_id":"1325660380","filename":"file1"},{"photo_id":"1325660378","filename":"file0"},{"photo_id":"1325660386","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325660383":["hashtag1","hashtag2"]},{"1325660386":["hashtag1","hashtag2"]},{"1325660380":["hashtag1","hashtag2"]},{"1325660378":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325660383, 1325660386, 1325660380, 1325660378)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.54514122009277 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-03 00:43:52.689174
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 00:44:02.380566
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/00/42/image_03012025_00_42_02_666695_0003.jpg', '/home/pi/Desktop/images/03012025/00/43/image_03012025_00_43_02_901683_0000.jpg', '/home/pi/Desktop/images/03012025/00/43/image_03012025_00_43_02_901683_0001.jpg', '/home/pi/Desktop/images/03012025/00/43/image_03012025_00_43_02_901683_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/00/42/image_03012025_00_42_02_666695_0003.jpg
/home/pi/Desktop/images/03012025/00/43/image_03012025_00_43_02_901683_0000.jpg
/home/pi/Desktop/images/03012025/00/43/image_03012025_00_43_02_901683_0001.jpg
/home/pi/Desktop/images/03012025/00/43/image_03012025_00_43_02_901683_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325660426","1325660494","1325660500","1325660421"],"photo_ids_order":["1325660421","1325660426","1325660494","1325660500"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/35359be55b7a40d6fa2c5d74d19ae922.jpg","text":"TemporaryFile(/tmp/multipartBody3940541104718950809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735861512618,"filename":"image_03012025_00_43_02_901683_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/93b9cbd2b52935155750acf568d55f10.jpg","text":"TemporaryFile(/tmp/multipartBody5292760144079646339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735861512618,"filename":"image_03012025_00_43_02_901683_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7f0fd81f3806ae542c9dba3d6006df33.jpg","text":"TemporaryFile(/tmp/multipartBody4982438695753281101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735861512618,"filename":"image_03012025_00_43_02_901683_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/65f2c90ca1a940551dad96ef500a999d.jpg","text":"TemporaryFile(/tmp/multipartBody3203512150695350382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735861512618,"filename":"image_03012025_00_42_02_666695_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325660494","file1":"1325660426","file0":"1325660421","file3":"1325660500"},"map_files_photo_id_array":[{"photo_id":"1325660494","filename":"file2"},{"photo_id":"1325660426","filename":"file1"},{"photo_id":"1325660421","filename":"file0"},{"photo_id":"1325660500","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325660426":["hashtag1","hashtag2"]},{"1325660494":["hashtag1","hashtag2"]},{"1325660500":["hashtag1","hashtag2"]},{"1325660421":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325660426, 1325660494, 1325660500, 1325660421)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.1934974193573 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-03 00:44:51.856657
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 00:45:02.655442
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/00/43/image_03012025_00_43_02_901683_0003.jpg', '/home/pi/Desktop/images/03012025/00/44/image_03012025_00_44_03_171871_0000.jpg', '/home/pi/Desktop/images/03012025/00/44/image_03012025_00_44_03_171871_0001.jpg', '/home/pi/Desktop/images/03012025/00/44/image_03012025_00_44_03_171871_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/00/43/image_03012025_00_43_02_901683_0003.jpg
/home/pi/Desktop/images/03012025/00/44/image_03012025_00_44_03_171871_0000.jpg
/home/pi/Desktop/images/03012025/00/44/image_03012025_00_44_03_171871_0001.jpg
/home/pi/Desktop/images/03012025/00/44/image_03012025_00_44_03_171871_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325660515","1325660518","1325660512","1325660523"],"photo_ids_order":["1325660512","1325660515","1325660518","1325660523"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2ea51cc5f07ab231f1fc9cd7af8ccafb.jpg","text":"TemporaryFile(/tmp/multipartBody2323520397273161527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735861572909,"filename":"image_03012025_00_44_03_171871_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/69333b5c9ea1cf36a8ee4ec4faa12663.jpg","text":"TemporaryFile(/tmp/multipartBody789951672566379937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735861572909,"filename":"image_03012025_00_44_03_171871_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/69c0ac9f717d014e1cbafb6b58f94c86.jpg","text":"TemporaryFile(/tmp/multipartBody4856131173336562471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735861572909,"filename":"image_03012025_00_43_02_901683_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4177ec7ff0f9f444d30277272ac91c61.jpg","text":"TemporaryFile(/tmp/multipartBody3960303560187402722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735861572909,"filename":"image_03012025_00_44_03_171871_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325660518","file1":"1325660515","file0":"1325660512","file3":"1325660523"},"map_files_photo_id_array":[{"photo_id":"1325660518","filename":"file2"},{"photo_id":"1325660515","filename":"file1"},{"photo_id":"1325660512","filename":"file0"},{"photo_id":"1325660523","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325660515":["hashtag1","hashtag2"]},{"1325660518":["hashtag1","hashtag2"]},{"1325660512":["hashtag1","hashtag2"]},{"1325660523":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325660515, 1325660518, 1325660512, 1325660523)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.14921975135803 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-03 00:45:52.036375
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 00:46:02.612878
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/00/44/image_03012025_00_44_03_171871_0003.jpg', '/home/pi/Desktop/images/03012025/00/45/image_03012025_00_45_02_229088_0000.jpg', '/home/pi/Desktop/images/03012025/00/45/image_03012025_00_45_02_229088_0001.jpg', '/home/pi/Desktop/images/03012025/00/45/image_03012025_00_45_02_229088_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/00/44/image_03012025_00_44_03_171871_0003.jpg
/home/pi/Desktop/images/03012025/00/45/image_03012025_00_45_02_229088_0000.jpg
/home/pi/Desktop/images/03012025/00/45/image_03012025_00_45_02_229088_0001.jpg
/home/pi/Desktop/images/03012025/00/45/image_03012025_00_45_02_229088_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325660587","1325660591","1325660585","1325660594"],"photo_ids_order":["1325660585","1325660587","1325660591","1325660594"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/bc91be8f8c38f59c08a05b6cef8225db.jpg","text":"TemporaryFile(/tmp/multipartBody3119286487483102643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735861632691,"filename":"image_03012025_00_45_02_229088_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2a03a8150338be47952e20dce0960985.jpg","text":"TemporaryFile(/tmp/multipartBody1821736348428340836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735861632691,"filename":"image_03012025_00_45_02_229088_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a0494f653901cdcee2e0b78951286465.jpg","text":"TemporaryFile(/tmp/multipartBody1339517815509380264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735861632691,"filename":"image_03012025_00_44_03_171871_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2e78ecde0ae6c7d4bd6f3483031541e3.jpg","text":"TemporaryFile(/tmp/multipartBody9170980501638186134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735861632691,"filename":"image_03012025_00_45_02_229088_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325660591","file1":"1325660587","file0":"1325660585","file3":"1325660594"},"map_files_photo_id_array":[{"photo_id":"1325660591","filename":"file2"},{"photo_id":"1325660587","filename":"file1"},{"photo_id":"1325660585","filename":"file0"},{"photo_id":"1325660594","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325660587":["hashtag1","hashtag2"]},{"1325660591":["hashtag1","hashtag2"]},{"1325660585":["hashtag1","hashtag2"]},{"1325660594":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325660587, 1325660591, 1325660585, 1325660594)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.514880657196045 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-03 00:46:52.193417
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 00:47:02.943455
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/00/45/image_03012025_00_45_02_229088_0003.jpg', '/home/pi/Desktop/images/03012025/00/46/image_03012025_00_46_02_429812_0000.jpg', '/home/pi/Desktop/images/03012025/00/46/image_03012025_00_46_02_429812_0001.jpg', '/home/pi/Desktop/images/03012025/00/46/image_03012025_00_46_02_429812_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/00/45/image_03012025_00_45_02_229088_0003.jpg
/home/pi/Desktop/images/03012025/00/46/image_03012025_00_46_02_429812_0000.jpg
/home/pi/Desktop/images/03012025/00/46/image_03012025_00_46_02_429812_0001.jpg
/home/pi/Desktop/images/03012025/00/46/image_03012025_00_46_02_429812_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325660612","1325660606","1325660609","1325660604"],"photo_ids_order":["1325660604","1325660606","1325660609","1325660612"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7966173e4cec35a3912244df01b28499.jpg","text":"TemporaryFile(/tmp/multipartBody2825449955202008110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735861693146,"filename":"image_03012025_00_46_02_429812_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ef9c874587442aba178b5443615e8f7b.jpg","text":"TemporaryFile(/tmp/multipartBody6240942149707100568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735861693146,"filename":"image_03012025_00_46_02_429812_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/52b83399ffefe35e57457169a9ecf440.jpg","text":"TemporaryFile(/tmp/multipartBody7569270066691855084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735861693146,"filename":"image_03012025_00_46_02_429812_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f617bbbd0bffc5ffa0bf7e574cfdfa45.jpg","text":"TemporaryFile(/tmp/multipartBody6572974675411492574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735861693146,"filename":"image_03012025_00_45_02_229088_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325660609","file1":"1325660606","file0":"1325660604","file3":"1325660612"},"map_files_photo_id_array":[{"photo_id":"1325660609","filename":"file2"},{"photo_id":"1325660606","filename":"file1"},{"photo_id":"1325660604","filename":"file0"},{"photo_id":"1325660612","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325660612":["hashtag1","hashtag2"]},{"1325660606":["hashtag1","hashtag2"]},{"1325660609":["hashtag1","hashtag2"]},{"1325660604":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325660612, 1325660606, 1325660609, 1325660604)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.16079330444336 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-03 00:47:52.399824
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 00:48:03.063779
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/00/46/image_03012025_00_46_02_429812_0003.jpg', '/home/pi/Desktop/images/03012025/00/47/image_03012025_00_47_02_601732_0000.jpg', '/home/pi/Desktop/images/03012025/00/47/image_03012025_00_47_02_601732_0001.jpg', '/home/pi/Desktop/images/03012025/00/47/image_03012025_00_47_02_601732_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/00/46/image_03012025_00_46_02_429812_0003.jpg
/home/pi/Desktop/images/03012025/00/47/image_03012025_00_47_02_601732_0000.jpg
/home/pi/Desktop/images/03012025/00/47/image_03012025_00_47_02_601732_0001.jpg
/home/pi/Desktop/images/03012025/00/47/image_03012025_00_47_02_601732_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325660632","1325660637","1325660640","1325660634"],"photo_ids_order":["1325660632","1325660634","1325660637","1325660640"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a45a0cf42eb5b6ce868224ce0052d9c0.jpg","text":"TemporaryFile(/tmp/multipartBody5239719168686846203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735861753205,"filename":"image_03012025_00_46_02_429812_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/45eb2fd2903c80af85257c9dd25f096e.jpg","text":"TemporaryFile(/tmp/multipartBody8003161233361617056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735861753205,"filename":"image_03012025_00_47_02_601732_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/143e470f835f5dde91005fae828b4a6f.jpg","text":"TemporaryFile(/tmp/multipartBody1719443357768126566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735861753205,"filename":"image_03012025_00_47_02_601732_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e5ff1db8bf9507dce1633f2e6f2df039.jpg","text":"TemporaryFile(/tmp/multipartBody7587491415610813542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735861753205,"filename":"image_03012025_00_47_02_601732_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325660637","file1":"1325660634","file0":"1325660632","file3":"1325660640"},"map_files_photo_id_array":[{"photo_id":"1325660637","filename":"file2"},{"photo_id":"1325660634","filename":"file1"},{"photo_id":"1325660632","filename":"file0"},{"photo_id":"1325660640","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325660632":["hashtag1","hashtag2"]},{"1325660637":["hashtag1","hashtag2"]},{"1325660640":["hashtag1","hashtag2"]},{"1325660634":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325660632, 1325660637, 1325660640, 1325660634)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.736804485321045 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-03 00:48:52.566271
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 00:49:03.412208
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/00/47/image_03012025_00_47_02_601732_0003.jpg', '/home/pi/Desktop/images/03012025/00/48/image_03012025_00_48_02_757098_0000.jpg', '/home/pi/Desktop/images/03012025/00/48/image_03012025_00_48_02_757098_0001.jpg', '/home/pi/Desktop/images/03012025/00/48/image_03012025_00_48_02_757098_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/00/47/image_03012025_00_47_02_601732_0003.jpg
/home/pi/Desktop/images/03012025/00/48/image_03012025_00_48_02_757098_0000.jpg
/home/pi/Desktop/images/03012025/00/48/image_03012025_00_48_02_757098_0001.jpg
/home/pi/Desktop/images/03012025/00/48/image_03012025_00_48_02_757098_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.037299394607544 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 00:49:22.707631
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/00/47/image_03012025_00_47_02_601732_0003.jpg', '/home/pi/Desktop/images/03012025/00/48/image_03012025_00_48_02_757098_0000.jpg', '/home/pi/Desktop/images/03012025/00/48/image_03012025_00_48_02_757098_0001.jpg', '/home/pi/Desktop/images/03012025/00/48/image_03012025_00_48_02_757098_0002.jpg', '/home/pi/Desktop/images/03012025/00/48/image_03012025_00_48_02_757098_0003.jpg', '/home/pi/Desktop/images/03012025/00/49/image_03012025_00_49_02_931958_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/00/47/image_03012025_00_47_02_601732_0003.jpg
/home/pi/Desktop/images/03012025/00/48/image_03012025_00_48_02_757098_0000.jpg
/home/pi/Desktop/images/03012025/00/48/image_03012025_00_48_02_757098_0001.jpg
/home/pi/Desktop/images/03012025/00/48/image_03012025_00_48_02_757098_0002.jpg
/home/pi/Desktop/images/03012025/00/48/image_03012025_00_48_02_757098_0003.jpg
/home/pi/Desktop/images/03012025/00/49/image_03012025_00_49_02_931958_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":["1325660689","1325660713","1325660688","1325660700","1325660690","1325660687"],"photo_ids_order":["1325660687","1325660688","1325660689","1325660690","1325660700","1325660713"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1da2fba2affa806f598010badc629b04.jpg","text":"TemporaryFile(/tmp/multipartBody7711741935548609574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735861837904,"filename":"image_03012025_00_48_02_757098_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1713fa627aea9f253ebdb1238dae4b14.jpg","text":"TemporaryFile(/tmp/multipartBody3932884922496656788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735861837904,"filename":"image_03012025_00_49_02_931958_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/120645f3a440f88a8b8931bed2c85ccc.jpg","text":"TemporaryFile(/tmp/multipartBody581314317195192565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735861837904,"filename":"image_03012025_00_48_02_757098_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/68a3a588df42f992925559c2f0ee3cb2.jpg","text":"TemporaryFile(/tmp/multipartBody8305973882057376993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735861837904,"filename":"image_03012025_00_48_02_757098_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/eb3bcb876e890c953b336a2cdd304a64.jpg","text":"TemporaryFile(/tmp/multipartBody776316174788943850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735861837904,"filename":"image_03012025_00_48_02_757098_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/958b521f41e9edefb56003674a0c42b2.jpg","text":"TemporaryFile(/tmp/multipartBody4163910398101151019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735861837904,"filename":"image_03012025_00_47_02_601732_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325660689","file1":"1325660688","file0":"1325660687","file4":"1325660700","file5":"1325660713","file3":"1325660690"},"map_files_photo_id_array":[{"photo_id":"1325660713","filename":"file5"},{"photo_id":"1325660689","filename":"file2"},{"photo_id":"1325660700","filename":"file4"},{"photo_id":"1325660688","filename":"file1"},{"photo_id":"1325660687","filename":"file0"},{"photo_id":"1325660690","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325660689":["hashtag1","hashtag2"]},{"1325660713":["hashtag1","hashtag2"]},{"1325660688":["hashtag1","hashtag2"]},{"1325660700":["hashtag1","hashtag2"]},{"1325660690":["hashtag1","hashtag2"]},{"1325660687":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325660689, 1325660713, 1325660688, 1325660700, 1325660690, 1325660687)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.549643993377686 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 00:50:21.982565
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/00/49/image_03012025_00_49_02_931958_0001.jpg', '/home/pi/Desktop/images/03012025/00/49/image_03012025_00_49_02_931958_0002.jpg', '/home/pi/Desktop/images/03012025/00/49/image_03012025_00_49_02_931958_0003.jpg', '/home/pi/Desktop/images/03012025/00/50/image_03012025_00_50_03_092522_0000.jpg', '/home/pi/Desktop/images/03012025/00/50/image_03012025_00_50_03_092522_0001.jpg', '/home/pi/Desktop/images/03012025/00/50/image_03012025_00_50_03_092522_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/00/49/image_03012025_00_49_02_931958_0001.jpg
/home/pi/Desktop/images/03012025/00/49/image_03012025_00_49_02_931958_0002.jpg
/home/pi/Desktop/images/03012025/00/49/image_03012025_00_49_02_931958_0003.jpg
/home/pi/Desktop/images/03012025/00/50/image_03012025_00_50_03_092522_0000.jpg
/home/pi/Desktop/images/03012025/00/50/image_03012025_00_50_03_092522_0001.jpg
/home/pi/Desktop/images/03012025/00/50/image_03012025_00_50_03_092522_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":["1325660729","1325660723","1325660726","1325660725","1325660724","1325660727"],"photo_ids_order":["1325660723","1325660724","1325660725","1325660726","1325660727","1325660729"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7feb7897ad6a444d17e8bd3f991b3c99.jpg","text":"TemporaryFile(/tmp/multipartBody6726184010053654310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735861897109,"filename":"image_03012025_00_50_03_092522_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f886c92b221959280a185fa4893bfb5e.jpg","text":"TemporaryFile(/tmp/multipartBody5061410428826739367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735861897109,"filename":"image_03012025_00_49_02_931958_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/fbf39bc753c5e53ac1b2e8b2279f78e5.jpg","text":"TemporaryFile(/tmp/multipartBody2528759051928134436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735861897109,"filename":"image_03012025_00_50_03_092522_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/20a1cab5bd2993d6e7e54a4ddac44ea1.jpg","text":"TemporaryFile(/tmp/multipartBody4669148019439807388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735861897109,"filename":"image_03012025_00_49_02_931958_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/35abb818467ccc75aa41177fa397312e.jpg","text":"TemporaryFile(/tmp/multipartBody5957947123818251100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735861897109,"filename":"image_03012025_00_49_02_931958_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/22537f9d2fad8a2f5095ab43059431e9.jpg","text":"TemporaryFile(/tmp/multipartBody7101434652642058403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735861897109,"filename":"image_03012025_00_50_03_092522_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325660725","file1":"1325660724","file0":"1325660723","file4":"1325660727","file5":"1325660729","file3":"1325660726"},"map_files_photo_id_array":[{"photo_id":"1325660729","filename":"file5"},{"photo_id":"1325660725","filename":"file2"},{"photo_id":"1325660727","filename":"file4"},{"photo_id":"1325660724","filename":"file1"},{"photo_id":"1325660723","filename":"file0"},{"photo_id":"1325660726","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325660729":["hashtag1","hashtag2"]},{"1325660723":["hashtag1","hashtag2"]},{"1325660726":["hashtag1","hashtag2"]},{"1325660725":["hashtag1","hashtag2"]},{"1325660724":["hashtag1","hashtag2"]},{"1325660727":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325660729, 1325660723, 1325660726, 1325660725, 1325660724, 1325660727)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.37710213661194 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 00:51:22.108633
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/00/50/image_03012025_00_50_03_092522_0003.jpg', '/home/pi/Desktop/images/03012025/00/51/image_03012025_00_51_02_279101_0000.jpg', '/home/pi/Desktop/images/03012025/00/51/image_03012025_00_51_02_279101_0001.jpg', '/home/pi/Desktop/images/03012025/00/51/image_03012025_00_51_02_279101_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/00/50/image_03012025_00_50_03_092522_0003.jpg
/home/pi/Desktop/images/03012025/00/51/image_03012025_00_51_02_279101_0000.jpg
/home/pi/Desktop/images/03012025/00/51/image_03012025_00_51_02_279101_0001.jpg
/home/pi/Desktop/images/03012025/00/51/image_03012025_00_51_02_279101_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325660828","1325660830","1325660829","1325660826"],"photo_ids_order":["1325660826","1325660828","1325660829","1325660830"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f890edb62beb5dad1df7a8517653d372.jpg","text":"TemporaryFile(/tmp/multipartBody1363626383019306290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735861952497,"filename":"image_03012025_00_51_02_279101_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/138b43917f111f78f88e0fa2ead43c3c.jpg","text":"TemporaryFile(/tmp/multipartBody2458627839104256798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735861952497,"filename":"image_03012025_00_51_02_279101_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7787becd82527f168b7c947f0f548b05.jpg","text":"TemporaryFile(/tmp/multipartBody1517240128542077686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735861952497,"filename":"image_03012025_00_51_02_279101_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4c436908e568959be56536d6ec27b082.jpg","text":"TemporaryFile(/tmp/multipartBody2546146060616183158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735861952497,"filename":"image_03012025_00_50_03_092522_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325660829","file1":"1325660828","file0":"1325660826","file3":"1325660830"},"map_files_photo_id_array":[{"photo_id":"1325660829","filename":"file2"},{"photo_id":"1325660828","filename":"file1"},{"photo_id":"1325660826","filename":"file0"},{"photo_id":"1325660830","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325660828":["hashtag1","hashtag2"]},{"1325660830":["hashtag1","hashtag2"]},{"1325660829":["hashtag1","hashtag2"]},{"1325660826":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325660828, 1325660830, 1325660829, 1325660826)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.848235845565796 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 00:52:02.687546
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 00:52:22.237867
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/00/51/image_03012025_00_51_02_279101_0003.jpg', '/home/pi/Desktop/images/03012025/00/52/image_03012025_00_52_02_494171_0000.jpg', '/home/pi/Desktop/images/03012025/00/52/image_03012025_00_52_02_494171_0001.jpg', '/home/pi/Desktop/images/03012025/00/52/image_03012025_00_52_02_494171_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/00/51/image_03012025_00_51_02_279101_0003.jpg
/home/pi/Desktop/images/03012025/00/52/image_03012025_00_52_02_494171_0000.jpg
/home/pi/Desktop/images/03012025/00/52/image_03012025_00_52_02_494171_0001.jpg
/home/pi/Desktop/images/03012025/00/52/image_03012025_00_52_02_494171_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.945565938949585 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-03 00:52:52.264322
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 00:53:03.147276
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/00/51/image_03012025_00_51_02_279101_0003.jpg', '/home/pi/Desktop/images/03012025/00/52/image_03012025_00_52_02_494171_0000.jpg', '/home/pi/Desktop/images/03012025/00/52/image_03012025_00_52_02_494171_0001.jpg', '/home/pi/Desktop/images/03012025/00/52/image_03012025_00_52_02_494171_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/00/51/image_03012025_00_51_02_279101_0003.jpg
/home/pi/Desktop/images/03012025/00/52/image_03012025_00_52_02_494171_0000.jpg
/home/pi/Desktop/images/03012025/00/52/image_03012025_00_52_02_494171_0001.jpg
/home/pi/Desktop/images/03012025/00/52/image_03012025_00_52_02_494171_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325661002","1325661005","1325660997","1325660999"],"photo_ids_order":["1325660997","1325660999","1325661002","1325661005"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a75deff53cdc10bd368a907f3abe9a55.jpg","text":"TemporaryFile(/tmp/multipartBody7941286211494309381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735862053580,"filename":"image_03012025_00_52_02_494171_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6ecdb7d6f86a7e2ee53713d8e25af1ca.jpg","text":"TemporaryFile(/tmp/multipartBody8951167006735048018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735862053580,"filename":"image_03012025_00_52_02_494171_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3a0d17421f5a5ca361de3aa3c1e613aa.jpg","text":"TemporaryFile(/tmp/multipartBody5028178920363982565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735862053580,"filename":"image_03012025_00_51_02_279101_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6c8f4bf0787afd26b8dbecea732e2e94.jpg","text":"TemporaryFile(/tmp/multipartBody8772811940191350384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735862053580,"filename":"image_03012025_00_52_02_494171_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325661002","file1":"1325660999","file0":"1325660997","file3":"1325661005"},"map_files_photo_id_array":[{"photo_id":"1325661002","filename":"file2"},{"photo_id":"1325660999","filename":"file1"},{"photo_id":"1325660997","filename":"file0"},{"photo_id":"1325661005","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325661002":["hashtag1","hashtag2"]},{"1325661005":["hashtag1","hashtag2"]},{"1325660997":["hashtag1","hashtag2"]},{"1325660999":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325661002, 1325661005, 1325660997, 1325660999)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.66933608055115 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-03 00:53:52.417266
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 00:54:02.982851
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/00/52/image_03012025_00_52_02_494171_0003.jpg', '/home/pi/Desktop/images/03012025/00/53/image_03012025_00_53_02_643051_0000.jpg', '/home/pi/Desktop/images/03012025/00/53/image_03012025_00_53_02_643051_0001.jpg', '/home/pi/Desktop/images/03012025/00/53/image_03012025_00_53_02_643051_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/00/52/image_03012025_00_52_02_494171_0003.jpg
/home/pi/Desktop/images/03012025/00/53/image_03012025_00_53_02_643051_0000.jpg
/home/pi/Desktop/images/03012025/00/53/image_03012025_00_53_02_643051_0001.jpg
/home/pi/Desktop/images/03012025/00/53/image_03012025_00_53_02_643051_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325661082","1325661013","1325661015","1325661011"],"photo_ids_order":["1325661011","1325661013","1325661015","1325661082"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/bd8bf0a32546b3b6ae63f2836a23d37c.jpg","text":"TemporaryFile(/tmp/multipartBody2604709143136658381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735862113305,"filename":"image_03012025_00_53_02_643051_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1423fc7b17bad580d786d045cdf96321.jpg","text":"TemporaryFile(/tmp/multipartBody5420273986480140265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735862113305,"filename":"image_03012025_00_53_02_643051_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f6d1629716c98365e79c6beeed9520a1.jpg","text":"TemporaryFile(/tmp/multipartBody9056043168237852002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735862113305,"filename":"image_03012025_00_53_02_643051_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7b6b05af748a509d2ae2fbc1c60eeadd.jpg","text":"TemporaryFile(/tmp/multipartBody3384433476378936973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735862113305,"filename":"image_03012025_00_52_02_494171_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325661015","file1":"1325661013","file0":"1325661011","file3":"1325661082"},"map_files_photo_id_array":[{"photo_id":"1325661015","filename":"file2"},{"photo_id":"1325661013","filename":"file1"},{"photo_id":"1325661011","filename":"file0"},{"photo_id":"1325661082","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325661082":["hashtag1","hashtag2"]},{"1325661013":["hashtag1","hashtag2"]},{"1325661015":["hashtag1","hashtag2"]},{"1325661011":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325661082, 1325661013, 1325661015, 1325661011)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.470932722091675 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-03 00:54:52.614173
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 00:55:02.310332
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/00/53/image_03012025_00_53_02_643051_0003.jpg', '/home/pi/Desktop/images/03012025/00/54/image_03012025_00_54_02_797148_0000.jpg', '/home/pi/Desktop/images/03012025/00/54/image_03012025_00_54_02_797148_0001.jpg', '/home/pi/Desktop/images/03012025/00/54/image_03012025_00_54_02_797148_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/00/53/image_03012025_00_53_02_643051_0003.jpg
/home/pi/Desktop/images/03012025/00/54/image_03012025_00_54_02_797148_0000.jpg
/home/pi/Desktop/images/03012025/00/54/image_03012025_00_54_02_797148_0001.jpg
/home/pi/Desktop/images/03012025/00/54/image_03012025_00_54_02_797148_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325661229","1325661223","1325661226","1325661221"],"photo_ids_order":["1325661221","1325661223","1325661226","1325661229"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/56072e27c98058ed88ac71a156dc4418.jpg","text":"TemporaryFile(/tmp/multipartBody2506824864901143416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735862172638,"filename":"image_03012025_00_54_02_797148_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/024fca35174808796734a01171cfd509.jpg","text":"TemporaryFile(/tmp/multipartBody9001542112224050483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735862172638,"filename":"image_03012025_00_54_02_797148_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f8507236cc44fdf5b3969d75a91f9102.jpg","text":"TemporaryFile(/tmp/multipartBody5018582507949250696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735862172638,"filename":"image_03012025_00_54_02_797148_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6fae22459e58b21f1085b87d47bcd03b.jpg","text":"TemporaryFile(/tmp/multipartBody3988241224568142044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735862172638,"filename":"image_03012025_00_53_02_643051_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325661226","file1":"1325661223","file0":"1325661221","file3":"1325661229"},"map_files_photo_id_array":[{"photo_id":"1325661226","filename":"file2"},{"photo_id":"1325661223","filename":"file1"},{"photo_id":"1325661221","filename":"file0"},{"photo_id":"1325661229","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325661229":["hashtag1","hashtag2"]},{"1325661223":["hashtag1","hashtag2"]},{"1325661226":["hashtag1","hashtag2"]},{"1325661221":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325661229, 1325661223, 1325661226, 1325661221)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.37487292289734 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-03 00:55:51.803193
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 00:56:02.401758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/00/54/image_03012025_00_54_02_797148_0003.jpg', '/home/pi/Desktop/images/03012025/00/55/image_03012025_00_55_02_936391_0000.jpg', '/home/pi/Desktop/images/03012025/00/55/image_03012025_00_55_02_936391_0001.jpg', '/home/pi/Desktop/images/03012025/00/55/image_03012025_00_55_02_936391_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/00/54/image_03012025_00_54_02_797148_0003.jpg
/home/pi/Desktop/images/03012025/00/55/image_03012025_00_55_02_936391_0000.jpg
/home/pi/Desktop/images/03012025/00/55/image_03012025_00_55_02_936391_0001.jpg
/home/pi/Desktop/images/03012025/00/55/image_03012025_00_55_02_936391_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325661555","1325661558","1325661566","1325661326"],"photo_ids_order":["1325661326","1325661555","1325661558","1325661566"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f05f956501f486c5e654f798fb4d2a29.jpg","text":"TemporaryFile(/tmp/multipartBody3485534968507195616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735862232724,"filename":"image_03012025_00_55_02_936391_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/bda7bef28f1cb17be2515abe94193649.jpg","text":"TemporaryFile(/tmp/multipartBody8603351525204906880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735862232724,"filename":"image_03012025_00_55_02_936391_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c91fa61b18fd985e0897291506900361.jpg","text":"TemporaryFile(/tmp/multipartBody6971044013996459256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735862232724,"filename":"image_03012025_00_55_02_936391_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/128916205fcb9f751e7cb9f8194ecb24.jpg","text":"TemporaryFile(/tmp/multipartBody7465895757228235762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735862232724,"filename":"image_03012025_00_54_02_797148_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325661558","file1":"1325661555","file0":"1325661326","file3":"1325661566"},"map_files_photo_id_array":[{"photo_id":"1325661558","filename":"file2"},{"photo_id":"1325661555","filename":"file1"},{"photo_id":"1325661326","filename":"file0"},{"photo_id":"1325661566","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325661555":["hashtag1","hashtag2"]},{"1325661558":["hashtag1","hashtag2"]},{"1325661566":["hashtag1","hashtag2"]},{"1325661326":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325661555, 1325661558, 1325661566, 1325661326)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.0081512928009 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-03 00:56:52.014558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 00:57:02.763420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/00/55/image_03012025_00_55_02_936391_0003.jpg', '/home/pi/Desktop/images/03012025/00/56/image_03012025_00_56_02_132394_0000.jpg', '/home/pi/Desktop/images/03012025/00/56/image_03012025_00_56_02_132394_0001.jpg', '/home/pi/Desktop/images/03012025/00/56/image_03012025_00_56_02_132394_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/00/55/image_03012025_00_55_02_936391_0003.jpg
/home/pi/Desktop/images/03012025/00/56/image_03012025_00_56_02_132394_0000.jpg
/home/pi/Desktop/images/03012025/00/56/image_03012025_00_56_02_132394_0001.jpg
/home/pi/Desktop/images/03012025/00/56/image_03012025_00_56_02_132394_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325662126","1325662102","1325661652","1325661869"],"photo_ids_order":["1325661652","1325661869","1325662102","1325662126"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4b220fb1fc6ed9a78c575c8d48a28949.jpg","text":"TemporaryFile(/tmp/multipartBody8685095256283064941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735862292987,"filename":"image_03012025_00_56_02_132394_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0fac8447f761ce0893c0c74d2c5511ca.jpg","text":"TemporaryFile(/tmp/multipartBody7287166902045747567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735862292987,"filename":"image_03012025_00_56_02_132394_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4a20aa72d0899389d5dc08527ba8a9da.jpg","text":"TemporaryFile(/tmp/multipartBody2385266904392006939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735862292987,"filename":"image_03012025_00_55_02_936391_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c0763440ff496032722fb88c0b761d95.jpg","text":"TemporaryFile(/tmp/multipartBody848265890270425632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735862292987,"filename":"image_03012025_00_56_02_132394_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325662102","file1":"1325661869","file0":"1325661652","file3":"1325662126"},"map_files_photo_id_array":[{"photo_id":"1325662102","filename":"file2"},{"photo_id":"1325661869","filename":"file1"},{"photo_id":"1325661652","filename":"file0"},{"photo_id":"1325662126","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325662126":["hashtag1","hashtag2"]},{"1325662102":["hashtag1","hashtag2"]},{"1325661652":["hashtag1","hashtag2"]},{"1325661869":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325662126, 1325662102, 1325661652, 1325661869)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.696619510650635 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-03 00:57:52.172309
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 00:59:03.199815
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/00/56/image_03012025_00_56_02_132394_0003.jpg', '/home/pi/Desktop/images/03012025/00/57/image_03012025_00_57_02_339039_0000.jpg', '/home/pi/Desktop/images/03012025/00/57/image_03012025_00_57_02_339039_0001.jpg', '/home/pi/Desktop/images/03012025/00/57/image_03012025_00_57_02_339039_0002.jpg', '/home/pi/Desktop/images/03012025/00/57/image_03012025_00_57_02_339039_0003.jpg', '/home/pi/Desktop/images/03012025/00/58/image_03012025_00_58_02_526419_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/00/56/image_03012025_00_56_02_132394_0003.jpg
/home/pi/Desktop/images/03012025/00/57/image_03012025_00_57_02_339039_0000.jpg
/home/pi/Desktop/images/03012025/00/57/image_03012025_00_57_02_339039_0001.jpg
/home/pi/Desktop/images/03012025/00/57/image_03012025_00_57_02_339039_0002.jpg
/home/pi/Desktop/images/03012025/00/57/image_03012025_00_57_02_339039_0003.jpg
/home/pi/Desktop/images/03012025/00/58/image_03012025_00_58_02_526419_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325662339","1325662323","1325662331","1325662328","1325662337","1325662336"],"photo_ids_order":["1325662323","1325662328","1325662331","1325662336","1325662337","1325662339"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1cb6dc45f0765525ec694e23ca35acc9.jpg","text":"TemporaryFile(/tmp/multipartBody7501987900733537516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735862418196,"filename":"image_03012025_00_58_02_526419_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c2b9ce53d31376af4d6f6ba77c249f09.jpg","text":"TemporaryFile(/tmp/multipartBody2622751151489612872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735862418196,"filename":"image_03012025_00_56_02_132394_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1a37d651cc325ffd710e0ee7874fb117.jpg","text":"TemporaryFile(/tmp/multipartBody4735419347242447643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735862418196,"filename":"image_03012025_00_57_02_339039_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0a63a5079b12b1fe456a794c292ee6d5.jpg","text":"TemporaryFile(/tmp/multipartBody2636163191448999696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735862418196,"filename":"image_03012025_00_57_02_339039_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2d730a6b4728f81770196624dd2facec.jpg","text":"TemporaryFile(/tmp/multipartBody741709718124781747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735862418196,"filename":"image_03012025_00_57_02_339039_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/30ff4222d3a7f531e4b0ac9a211d7d15.jpg","text":"TemporaryFile(/tmp/multipartBody3753433430868817786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735862418196,"filename":"image_03012025_00_57_02_339039_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325662331","file1":"1325662328","file0":"1325662323","file4":"1325662337","file5":"1325662339","file3":"1325662336"},"map_files_photo_id_array":[{"photo_id":"1325662339","filename":"file5"},{"photo_id":"1325662331","filename":"file2"},{"photo_id":"1325662337","filename":"file4"},{"photo_id":"1325662328","filename":"file1"},{"photo_id":"1325662323","filename":"file0"},{"photo_id":"1325662336","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325662339":["hashtag1","hashtag2"]},{"1325662323":["hashtag1","hashtag2"]},{"1325662331":["hashtag1","hashtag2"]},{"1325662328":["hashtag1","hashtag2"]},{"1325662337":["hashtag1","hashtag2"]},{"1325662336":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325662339, 1325662323, 1325662331, 1325662328, 1325662337, 1325662336)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.76935434341431 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 01:00:02.663062
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/00/58/image_03012025_00_58_02_526419_0001.jpg', '/home/pi/Desktop/images/03012025/00/58/image_03012025_00_58_02_526419_0002.jpg', '/home/pi/Desktop/images/03012025/00/58/image_03012025_00_58_02_526419_0003.jpg', '/home/pi/Desktop/images/03012025/00/59/image_03012025_00_59_02_792881_0000.jpg', '/home/pi/Desktop/images/03012025/00/59/image_03012025_00_59_02_792881_0001.jpg', '/home/pi/Desktop/images/03012025/00/59/image_03012025_00_59_02_792881_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/00/58/image_03012025_00_58_02_526419_0001.jpg
/home/pi/Desktop/images/03012025/00/58/image_03012025_00_58_02_526419_0002.jpg
/home/pi/Desktop/images/03012025/00/58/image_03012025_00_58_02_526419_0003.jpg
/home/pi/Desktop/images/03012025/00/59/image_03012025_00_59_02_792881_0000.jpg
/home/pi/Desktop/images/03012025/00/59/image_03012025_00_59_02_792881_0001.jpg
/home/pi/Desktop/images/03012025/00/59/image_03012025_00_59_02_792881_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.574953556060791 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 01:00:22.204171
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/00/58/image_03012025_00_58_02_526419_0001.jpg', '/home/pi/Desktop/images/03012025/00/58/image_03012025_00_58_02_526419_0002.jpg', '/home/pi/Desktop/images/03012025/00/58/image_03012025_00_58_02_526419_0003.jpg', '/home/pi/Desktop/images/03012025/00/59/image_03012025_00_59_02_792881_0000.jpg', '/home/pi/Desktop/images/03012025/00/59/image_03012025_00_59_02_792881_0001.jpg', '/home/pi/Desktop/images/03012025/00/59/image_03012025_00_59_02_792881_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/00/58/image_03012025_00_58_02_526419_0001.jpg
/home/pi/Desktop/images/03012025/00/58/image_03012025_00_58_02_526419_0002.jpg
/home/pi/Desktop/images/03012025/00/58/image_03012025_00_58_02_526419_0003.jpg
/home/pi/Desktop/images/03012025/00/59/image_03012025_00_59_02_792881_0000.jpg
/home/pi/Desktop/images/03012025/00/59/image_03012025_00_59_02_792881_0001.jpg
/home/pi/Desktop/images/03012025/00/59/image_03012025_00_59_02_792881_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325662708","1325662710","1325662713","1325662571","1325662715","1325662681"],"photo_ids_order":["1325662571","1325662681","1325662708","1325662710","1325662713","1325662715"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/71334433a6ba4ed30b4608eb3bbf625e.jpg","text":"TemporaryFile(/tmp/multipartBody2050247603807781664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735862497137,"filename":"image_03012025_00_58_02_526419_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/fd233178330f81d8a9e68e0d39547684.jpg","text":"TemporaryFile(/tmp/multipartBody229379060360269435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735862497137,"filename":"image_03012025_00_59_02_792881_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c0345cec0653da3bfd4122b56d824486.jpg","text":"TemporaryFile(/tmp/multipartBody7951199906180919097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735862497137,"filename":"image_03012025_00_59_02_792881_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/fad0aee0160a480a1088bc6e787cdc22.jpg","text":"TemporaryFile(/tmp/multipartBody3240252750716846570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735862497137,"filename":"image_03012025_00_58_02_526419_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/48497958abd1d86eccb3ec9be8173375.jpg","text":"TemporaryFile(/tmp/multipartBody8666768958395710005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735862497137,"filename":"image_03012025_00_59_02_792881_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b1b2917bdbb90046885fbfe3e3df4336.jpg","text":"TemporaryFile(/tmp/multipartBody5737419822937121524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735862497137,"filename":"image_03012025_00_58_02_526419_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325662708","file1":"1325662681","file0":"1325662571","file4":"1325662713","file5":"1325662715","file3":"1325662710"},"map_files_photo_id_array":[{"photo_id":"1325662715","filename":"file5"},{"photo_id":"1325662708","filename":"file2"},{"photo_id":"1325662713","filename":"file4"},{"photo_id":"1325662681","filename":"file1"},{"photo_id":"1325662571","filename":"file0"},{"photo_id":"1325662710","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325662708":["hashtag1","hashtag2"]},{"1325662710":["hashtag1","hashtag2"]},{"1325662713":["hashtag1","hashtag2"]},{"1325662571":["hashtag1","hashtag2"]},{"1325662715":["hashtag1","hashtag2"]},{"1325662681":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325662708, 1325662710, 1325662713, 1325662571, 1325662715, 1325662681)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.160635471343994 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 01:01:22.713426
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/00/59/image_03012025_00_59_02_792881_0003.jpg', '/home/pi/Desktop/images/03012025/01/00/image_03012025_01_00_02_935187_0000.jpg', '/home/pi/Desktop/images/03012025/01/00/image_03012025_01_00_02_935187_0002.jpg', '/home/pi/Desktop/images/03012025/01/00/image_03012025_01_00_02_935187_0003.jpg', '/home/pi/Desktop/images/03012025/01/01/image_03012025_01_01_02_569321_0000.jpg', '/home/pi/Desktop/images/03012025/01/01/image_03012025_01_01_02_569321_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/00/59/image_03012025_00_59_02_792881_0003.jpg
/home/pi/Desktop/images/03012025/01/00/image_03012025_01_00_02_935187_0000.jpg
/home/pi/Desktop/images/03012025/01/00/image_03012025_01_00_02_935187_0002.jpg
/home/pi/Desktop/images/03012025/01/00/image_03012025_01_00_02_935187_0003.jpg
/home/pi/Desktop/images/03012025/01/01/image_03012025_01_01_02_569321_0000.jpg
/home/pi/Desktop/images/03012025/01/01/image_03012025_01_01_02_569321_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":["1325662729","1325662731","1325662722","1325662724","1325662733","1325662727"],"photo_ids_order":["1325662722","1325662724","1325662727","1325662729","1325662731","1325662733"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/cda74b1d27186affc0ec1970d00734bb.jpg","text":"TemporaryFile(/tmp/multipartBody6713860346471408392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735862557821,"filename":"image_03012025_01_00_02_935187_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a26921be1c4f6d44e9cccc52a8b6d2bf.jpg","text":"TemporaryFile(/tmp/multipartBody8663873162571598307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735862557821,"filename":"image_03012025_01_01_02_569321_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/353b7ec3a9de9daf76ebb2d1b0681bab.jpg","text":"TemporaryFile(/tmp/multipartBody3438520992776010345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735862557821,"filename":"image_03012025_00_59_02_792881_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/66a5122de80e793e796805575db34468.jpg","text":"TemporaryFile(/tmp/multipartBody8974128099991349240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735862557821,"filename":"image_03012025_01_00_02_935187_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8035cc50b785e2d1ac7ad60a334a1796.jpg","text":"TemporaryFile(/tmp/multipartBody8264461502717051982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735862557821,"filename":"image_03012025_01_01_02_569321_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b8a119035aa656b034dcdc9fc315545c.jpg","text":"TemporaryFile(/tmp/multipartBody3327515387306767923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735862557821,"filename":"image_03012025_01_00_02_935187_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325662727","file1":"1325662724","file0":"1325662722","file4":"1325662731","file5":"1325662733","file3":"1325662729"},"map_files_photo_id_array":[{"photo_id":"1325662733","filename":"file5"},{"photo_id":"1325662727","filename":"file2"},{"photo_id":"1325662731","filename":"file4"},{"photo_id":"1325662724","filename":"file1"},{"photo_id":"1325662722","filename":"file0"},{"photo_id":"1325662729","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325662729":["hashtag1","hashtag2"]},{"1325662731":["hashtag1","hashtag2"]},{"1325662722":["hashtag1","hashtag2"]},{"1325662724":["hashtag1","hashtag2"]},{"1325662733":["hashtag1","hashtag2"]},{"1325662727":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325662729, 1325662731, 1325662722, 1325662724, 1325662733, 1325662727)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.98067235946655 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 01:03:03.489926
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/01/01/image_03012025_01_01_02_569321_0002.jpg', '/home/pi/Desktop/images/03012025/01/01/image_03012025_01_01_02_569321_0003.jpg', '/home/pi/Desktop/images/03012025/01/02/image_03012025_01_02_03_063583_0000.jpg', '/home/pi/Desktop/images/03012025/01/02/image_03012025_01_02_03_063583_0001.jpg', '/home/pi/Desktop/images/03012025/01/02/image_03012025_01_02_03_063583_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/01/01/image_03012025_01_01_02_569321_0002.jpg
/home/pi/Desktop/images/03012025/01/01/image_03012025_01_01_02_569321_0003.jpg
/home/pi/Desktop/images/03012025/01/02/image_03012025_01_02_03_063583_0000.jpg
/home/pi/Desktop/images/03012025/01/02/image_03012025_01_02_03_063583_0001.jpg
/home/pi/Desktop/images/03012025/01/02/image_03012025_01_02_03_063583_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 12.338766098022461 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 01:03:22.745249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/01/01/image_03012025_01_01_02_569321_0002.jpg', '/home/pi/Desktop/images/03012025/01/01/image_03012025_01_01_02_569321_0003.jpg', '/home/pi/Desktop/images/03012025/01/02/image_03012025_01_02_03_063583_0000.jpg', '/home/pi/Desktop/images/03012025/01/02/image_03012025_01_02_03_063583_0001.jpg', '/home/pi/Desktop/images/03012025/01/02/image_03012025_01_02_03_063583_0002.jpg', '/home/pi/Desktop/images/03012025/01/02/image_03012025_01_02_03_063583_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/01/01/image_03012025_01_01_02_569321_0002.jpg
/home/pi/Desktop/images/03012025/01/01/image_03012025_01_01_02_569321_0003.jpg
/home/pi/Desktop/images/03012025/01/02/image_03012025_01_02_03_063583_0000.jpg
/home/pi/Desktop/images/03012025/01/02/image_03012025_01_02_03_063583_0001.jpg
/home/pi/Desktop/images/03012025/01/02/image_03012025_01_02_03_063583_0002.jpg
/home/pi/Desktop/images/03012025/01/02/image_03012025_01_02_03_063583_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325662788","1325662782","1325662784","1325662760","1325662786","1325662765"],"photo_ids_order":["1325662760","1325662765","1325662782","1325662784","1325662786","1325662788"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c4f2d070736b42857c3bde5f0cdf8e3b.jpg","text":"TemporaryFile(/tmp/multipartBody5584371414164888984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735862677846,"filename":"image_03012025_01_02_03_063583_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8038f8e32f048eaf121481e4edef2b73.jpg","text":"TemporaryFile(/tmp/multipartBody6058168104694445211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735862677846,"filename":"image_03012025_01_02_03_063583_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4cc73f759eb9bb9cf1e57b6970b10298.jpg","text":"TemporaryFile(/tmp/multipartBody6412978537800583605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735862677846,"filename":"image_03012025_01_02_03_063583_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/69c25fc05283dfc3ad495349cb7cde1c.jpg","text":"TemporaryFile(/tmp/multipartBody3123059887174622500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735862677846,"filename":"image_03012025_01_01_02_569321_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/124ec541269382e4ea5da405f7ec4514.jpg","text":"TemporaryFile(/tmp/multipartBody6644494384197886272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735862677846,"filename":"image_03012025_01_02_03_063583_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/40b7f288fcc1110529e4431a6d3d12bb.jpg","text":"TemporaryFile(/tmp/multipartBody8489647494714359194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735862677846,"filename":"image_03012025_01_01_02_569321_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325662782","file1":"1325662765","file0":"1325662760","file4":"1325662786","file5":"1325662788","file3":"1325662784"},"map_files_photo_id_array":[{"photo_id":"1325662788","filename":"file5"},{"photo_id":"1325662782","filename":"file2"},{"photo_id":"1325662786","filename":"file4"},{"photo_id":"1325662765","filename":"file1"},{"photo_id":"1325662760","filename":"file0"},{"photo_id":"1325662784","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325662788":["hashtag1","hashtag2"]},{"1325662782":["hashtag1","hashtag2"]},{"1325662784":["hashtag1","hashtag2"]},{"1325662760":["hashtag1","hashtag2"]},{"1325662786":["hashtag1","hashtag2"]},{"1325662765":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325662788, 1325662782, 1325662784, 1325662760, 1325662786, 1325662765)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.83442950248718 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 01:04:22.297373
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/01/03/image_03012025_01_03_02_586964_0000.jpg', '/home/pi/Desktop/images/03012025/01/03/image_03012025_01_03_02_586964_0001.jpg', '/home/pi/Desktop/images/03012025/01/03/image_03012025_01_03_02_586964_0002.jpg', '/home/pi/Desktop/images/03012025/01/03/image_03012025_01_03_02_586964_0003.jpg', '/home/pi/Desktop/images/03012025/01/04/image_03012025_01_04_03_076633_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/01/03/image_03012025_01_03_02_586964_0000.jpg
/home/pi/Desktop/images/03012025/01/03/image_03012025_01_03_02_586964_0001.jpg
/home/pi/Desktop/images/03012025/01/03/image_03012025_01_03_02_586964_0002.jpg
/home/pi/Desktop/images/03012025/01/03/image_03012025_01_03_02_586964_0003.jpg
/home/pi/Desktop/images/03012025/01/04/image_03012025_01_04_03_076633_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325662791","1325662804","1325662794","1325662800","1325662808"],"photo_ids_order":["1325662791","1325662794","1325662800","1325662804","1325662808"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/be771f235fdb89f39cf34f08ab9012d5.jpg","text":"TemporaryFile(/tmp/multipartBody6173769524809783775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735862735017,"filename":"image_03012025_01_03_02_586964_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/592c801fa02c0c7c9c390e0380384eec.jpg","text":"TemporaryFile(/tmp/multipartBody1163474388242395874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735862735017,"filename":"image_03012025_01_03_02_586964_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7b6a14763c30776d4c02e8d3c3476c47.jpg","text":"TemporaryFile(/tmp/multipartBody1286002646066895364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735862735017,"filename":"image_03012025_01_03_02_586964_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/bc9a20fac77fa8408995f155260cc527.jpg","text":"TemporaryFile(/tmp/multipartBody2669317946156087820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735862735017,"filename":"image_03012025_01_03_02_586964_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a6ee052a653be8c8833c92b7e7452d40.jpg","text":"TemporaryFile(/tmp/multipartBody379280799075438342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735862735017,"filename":"image_03012025_01_04_03_076633_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325662800","file1":"1325662794","file0":"1325662791","file4":"1325662808","file3":"1325662804"},"map_files_photo_id_array":[{"photo_id":"1325662800","filename":"file2"},{"photo_id":"1325662808","filename":"file4"},{"photo_id":"1325662794","filename":"file1"},{"photo_id":"1325662791","filename":"file0"},{"photo_id":"1325662804","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325662791":["hashtag1","hashtag2"]},{"1325662804":["hashtag1","hashtag2"]},{"1325662794":["hashtag1","hashtag2"]},{"1325662800":["hashtag1","hashtag2"]},{"1325662808":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325662791, 1325662804, 1325662794, 1325662800, 1325662808)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 47.543002128601074 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 01:05:21.827714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/01/04/image_03012025_01_04_03_076633_0003.jpg', '/home/pi/Desktop/images/03012025/01/05/image_03012025_01_05_02_686631_0000.jpg', '/home/pi/Desktop/images/03012025/01/05/image_03012025_01_05_02_686631_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/01/04/image_03012025_01_04_03_076633_0003.jpg
/home/pi/Desktop/images/03012025/01/05/image_03012025_01_05_02_686631_0000.jpg
/home/pi/Desktop/images/03012025/01/05/image_03012025_01_05_02_686631_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325662816","1325662819","1325662821"],"photo_ids_order":["1325662816","1325662819","1325662821"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5c6cf4092c4263369d31b0fb215f842d.jpg","text":"TemporaryFile(/tmp/multipartBody1991619471578182233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735862789723,"filename":"image_03012025_01_04_03_076633_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a07c1082c403cd66d268a0b66c80f9db.jpg","text":"TemporaryFile(/tmp/multipartBody2783981463568981117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735862789723,"filename":"image_03012025_01_05_02_686631_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e8c74ef2100cd3c646e1f9b8bf8ed59d.jpg","text":"TemporaryFile(/tmp/multipartBody7676142126162010085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735862789723,"filename":"image_03012025_01_05_02_686631_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325662821","file1":"1325662819","file0":"1325662816"},"map_files_photo_id_array":[{"photo_id":"1325662821","filename":"file2"},{"photo_id":"1325662819","filename":"file1"},{"photo_id":"1325662816","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325662816":["hashtag1","hashtag2"]},{"1325662819":["hashtag1","hashtag2"]},{"1325662821":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325662816, 1325662819, 1325662821)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 33.23595690727234 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 01:06:02.920558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 01:06:22.398053
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/01/05/image_03012025_01_05_02_686631_0003.jpg', '/home/pi/Desktop/images/03012025/01/06/image_03012025_01_06_02_228516_0000.jpg', '/home/pi/Desktop/images/03012025/01/06/image_03012025_01_06_02_228516_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/01/05/image_03012025_01_05_02_686631_0003.jpg
/home/pi/Desktop/images/03012025/01/06/image_03012025_01_06_02_228516_0000.jpg
/home/pi/Desktop/images/03012025/01/06/image_03012025_01_06_02_228516_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325662828","1325662836","1325662830"],"photo_ids_order":["1325662828","1325662830","1325662836"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/431c7249caf94e6840b0c6585f41a113.jpg","text":"TemporaryFile(/tmp/multipartBody2944854057111357073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735862850275,"filename":"image_03012025_01_05_02_686631_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5412718b74efa369007c1c627c8e9568.jpg","text":"TemporaryFile(/tmp/multipartBody6541300463799361559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735862850275,"filename":"image_03012025_01_06_02_228516_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d610342e20d648a752c3e779d6f19662.jpg","text":"TemporaryFile(/tmp/multipartBody4143220039324832618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735862850275,"filename":"image_03012025_01_06_02_228516_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325662836","file1":"1325662830","file0":"1325662828"},"map_files_photo_id_array":[{"photo_id":"1325662836","filename":"file2"},{"photo_id":"1325662830","filename":"file1"},{"photo_id":"1325662828","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325662828":["hashtag1","hashtag2"]},{"1325662836":["hashtag1","hashtag2"]},{"1325662830":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325662828, 1325662836, 1325662830)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.730223894119263 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 01:07:02.493086
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 01:07:22.048030
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/01/06/image_03012025_01_06_02_228516_0003.jpg', '/home/pi/Desktop/images/03012025/01/07/image_03012025_01_07_02_751773_0000.jpg', '/home/pi/Desktop/images/03012025/01/07/image_03012025_01_07_02_751773_0001.jpg', '/home/pi/Desktop/images/03012025/01/07/image_03012025_01_07_02_751773_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/01/06/image_03012025_01_06_02_228516_0003.jpg
/home/pi/Desktop/images/03012025/01/07/image_03012025_01_07_02_751773_0000.jpg
/home/pi/Desktop/images/03012025/01/07/image_03012025_01_07_02_751773_0001.jpg
/home/pi/Desktop/images/03012025/01/07/image_03012025_01_07_02_751773_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325662872","1325662865","1325662868","1325662870"],"photo_ids_order":["1325662865","1325662868","1325662870","1325662872"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b8b97baf937856a7884a3bd081720fd2.jpg","text":"TemporaryFile(/tmp/multipartBody7601670056749708790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735862912336,"filename":"image_03012025_01_07_02_751773_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f17a9ad511c812a36918a62fbe550d7b.jpg","text":"TemporaryFile(/tmp/multipartBody2238593698711589987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735862912336,"filename":"image_03012025_01_06_02_228516_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7ebbd7b3a8debc7a6b6530ce240307e2.jpg","text":"TemporaryFile(/tmp/multipartBody2933077584515573990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735862912336,"filename":"image_03012025_01_07_02_751773_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/65cda403f2e4e9e2a52c2729745ca386.jpg","text":"TemporaryFile(/tmp/multipartBody8658606288537036068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735862912336,"filename":"image_03012025_01_07_02_751773_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325662870","file1":"1325662868","file0":"1325662865","file3":"1325662872"},"map_files_photo_id_array":[{"photo_id":"1325662870","filename":"file2"},{"photo_id":"1325662868","filename":"file1"},{"photo_id":"1325662865","filename":"file0"},{"photo_id":"1325662872","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325662872":["hashtag1","hashtag2"]},{"1325662865":["hashtag1","hashtag2"]},{"1325662868":["hashtag1","hashtag2"]},{"1325662870":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325662872, 1325662865, 1325662868, 1325662870)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.64663815498352 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 01:08:03.112575
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 01:08:22.628557
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/01/07/image_03012025_01_07_02_751773_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/01/07/image_03012025_01_07_02_751773_0003.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.6813387870788574 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 01:09:02.701725
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/01/07/image_03012025_01_07_02_751773_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/01/07/image_03012025_01_07_02_751773_0003.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325662903"],"photo_id":"1325662903","photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c3d1fdafdcc13ac568c7714f2ee616f7.jpg","text":"TemporaryFile(/tmp/multipartBody2912520615937634479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735863005833,"filename":"image_03012025_01_07_02_751773_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file0":"1325662903"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1325662903"}],"hashtags":[],"portfolio_id":"19381866","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.872345209121704 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 01:09:22.082369
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/01/08/image_03012025_01_08_02_315092_0002.jpg', '/home/pi/Desktop/images/03012025/01/09/image_03012025_01_09_02_986429_0000.jpg', '/home/pi/Desktop/images/03012025/01/09/image_03012025_01_09_02_986429_0001.jpg', '/home/pi/Desktop/images/03012025/01/09/image_03012025_01_09_02_986429_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/01/08/image_03012025_01_08_02_315092_0002.jpg
/home/pi/Desktop/images/03012025/01/09/image_03012025_01_09_02_986429_0000.jpg
/home/pi/Desktop/images/03012025/01/09/image_03012025_01_09_02_986429_0001.jpg
/home/pi/Desktop/images/03012025/01/09/image_03012025_01_09_02_986429_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325662934","1325662937","1325662913","1325662907"],"photo_ids_order":["1325662907","1325662913","1325662934","1325662937"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d41df4090b3877c7805f45eb975ee776.jpg","text":"TemporaryFile(/tmp/multipartBody3385373943835637215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735863032387,"filename":"image_03012025_01_09_02_986429_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e7bdb3c49af6aecaed70a041daed044b.jpg","text":"TemporaryFile(/tmp/multipartBody6871532399208347853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735863032387,"filename":"image_03012025_01_09_02_986429_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a14b4a83d0f47023b8d531d174430d7e.jpg","text":"TemporaryFile(/tmp/multipartBody1733813745513046904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735863032387,"filename":"image_03012025_01_09_02_986429_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/fa13b4d4e18e25a7a7b81d57789f0749.jpg","text":"TemporaryFile(/tmp/multipartBody1846533826729684652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735863032387,"filename":"image_03012025_01_08_02_315092_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325662934","file1":"1325662913","file0":"1325662907","file3":"1325662937"},"map_files_photo_id_array":[{"photo_id":"1325662934","filename":"file2"},{"photo_id":"1325662913","filename":"file1"},{"photo_id":"1325662907","filename":"file0"},{"photo_id":"1325662937","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325662934":["hashtag1","hashtag2"]},{"1325662937":["hashtag1","hashtag2"]},{"1325662913":["hashtag1","hashtag2"]},{"1325662907":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325662934, 1325662937, 1325662913, 1325662907)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.536696434020996 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 01:10:03.194851
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 01:10:22.747791
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/01/09/image_03012025_01_09_02_986429_0003.jpg', '/home/pi/Desktop/images/03012025/01/10/image_03012025_01_10_02_495081_0000.jpg', '/home/pi/Desktop/images/03012025/01/10/image_03012025_01_10_02_495081_0001.jpg', '/home/pi/Desktop/images/03012025/01/10/image_03012025_01_10_02_495081_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/01/09/image_03012025_01_09_02_986429_0003.jpg
/home/pi/Desktop/images/03012025/01/10/image_03012025_01_10_02_495081_0000.jpg
/home/pi/Desktop/images/03012025/01/10/image_03012025_01_10_02_495081_0001.jpg
/home/pi/Desktop/images/03012025/01/10/image_03012025_01_10_02_495081_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.90502119064331 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 01:11:02.970680
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/01/09/image_03012025_01_09_02_986429_0003.jpg', '/home/pi/Desktop/images/03012025/01/10/image_03012025_01_10_02_495081_0000.jpg', '/home/pi/Desktop/images/03012025/01/10/image_03012025_01_10_02_495081_0001.jpg', '/home/pi/Desktop/images/03012025/01/10/image_03012025_01_10_02_495081_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/01/09/image_03012025_01_09_02_986429_0003.jpg
/home/pi/Desktop/images/03012025/01/10/image_03012025_01_10_02_495081_0000.jpg
/home/pi/Desktop/images/03012025/01/10/image_03012025_01_10_02_495081_0001.jpg
/home/pi/Desktop/images/03012025/01/10/image_03012025_01_10_02_495081_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325662953","1325662958","1325662955","1325662957"],"photo_ids_order":["1325662953","1325662955","1325662957","1325662958"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7db49fe46f325c3a2d74c3b61ad95cf8.jpg","text":"TemporaryFile(/tmp/multipartBody7528510692448206211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735863133502,"filename":"image_03012025_01_09_02_986429_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7188199b4c965a5819b32af2fbcceef0.jpg","text":"TemporaryFile(/tmp/multipartBody4593501802697147223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735863133502,"filename":"image_03012025_01_10_02_495081_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/334af9d4a1ea485225660f506899631d.jpg","text":"TemporaryFile(/tmp/multipartBody9064191384411983828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735863133502,"filename":"image_03012025_01_10_02_495081_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/dc455068f26ff43675348cae8ac560df.jpg","text":"TemporaryFile(/tmp/multipartBody7259336580513984300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735863133502,"filename":"image_03012025_01_10_02_495081_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325662957","file1":"1325662955","file0":"1325662953","file3":"1325662958"},"map_files_photo_id_array":[{"photo_id":"1325662957","filename":"file2"},{"photo_id":"1325662955","filename":"file1"},{"photo_id":"1325662953","filename":"file0"},{"photo_id":"1325662958","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325662953":["hashtag1","hashtag2"]},{"1325662958":["hashtag1","hashtag2"]},{"1325662955":["hashtag1","hashtag2"]},{"1325662957":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325662953, 1325662958, 1325662955, 1325662957)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.02527832984924 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 01:12:02.400487
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/01/10/image_03012025_01_10_02_495081_0003.jpg', '/home/pi/Desktop/images/03012025/01/11/image_03012025_01_11_03_138655_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/01/10/image_03012025_01_10_02_495081_0003.jpg
/home/pi/Desktop/images/03012025/01/11/image_03012025_01_11_03_138655_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.1169867515563965 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 01:12:21.948887
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/01/10/image_03012025_01_10_02_495081_0003.jpg', '/home/pi/Desktop/images/03012025/01/11/image_03012025_01_11_03_138655_0000.jpg', '/home/pi/Desktop/images/03012025/01/11/image_03012025_01_11_03_138655_0001.jpg', '/home/pi/Desktop/images/03012025/01/12/image_03012025_01_12_02_704078_0000.jpg', '/home/pi/Desktop/images/03012025/01/12/image_03012025_01_12_02_704078_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/01/10/image_03012025_01_10_02_495081_0003.jpg
/home/pi/Desktop/images/03012025/01/11/image_03012025_01_11_03_138655_0000.jpg
/home/pi/Desktop/images/03012025/01/11/image_03012025_01_11_03_138655_0001.jpg
/home/pi/Desktop/images/03012025/01/12/image_03012025_01_12_02_704078_0000.jpg
/home/pi/Desktop/images/03012025/01/12/image_03012025_01_12_02_704078_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325662998","1325662992","1325662995","1325662989","1325662973"],"photo_ids_order":["1325662973","1325662989","1325662992","1325662995","1325662998"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f9c51b3bd7687353d83ff8798464877f.jpg","text":"TemporaryFile(/tmp/multipartBody3135893166844884460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735863214661,"filename":"image_03012025_01_12_02_704078_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6a59ac643cb1ac78ea8b052a2cd9e2e5.jpg","text":"TemporaryFile(/tmp/multipartBody7637038711269709009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735863214661,"filename":"image_03012025_01_11_03_138655_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f7c59bd1642d3c618cb867ac6de7570a.jpg","text":"TemporaryFile(/tmp/multipartBody6211530104891783447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735863214661,"filename":"image_03012025_01_12_02_704078_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/956113f4419f428f5f59f9f1122b124e.jpg","text":"TemporaryFile(/tmp/multipartBody5454573746507805769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735863214661,"filename":"image_03012025_01_11_03_138655_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/976afb8db021f5515215bab8f34f7c46.jpg","text":"TemporaryFile(/tmp/multipartBody8656851399361993255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735863214661,"filename":"image_03012025_01_10_02_495081_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325662992","file1":"1325662989","file0":"1325662973","file4":"1325662998","file3":"1325662995"},"map_files_photo_id_array":[{"photo_id":"1325662992","filename":"file2"},{"photo_id":"1325662998","filename":"file4"},{"photo_id":"1325662989","filename":"file1"},{"photo_id":"1325662973","filename":"file0"},{"photo_id":"1325662995","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325662998":["hashtag1","hashtag2"]},{"1325662992":["hashtag1","hashtag2"]},{"1325662995":["hashtag1","hashtag2"]},{"1325662989":["hashtag1","hashtag2"]},{"1325662973":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325662998, 1325662992, 1325662995, 1325662989, 1325662973)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 47.31823468208313 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 01:13:22.548645
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/01/12/image_03012025_01_12_02_704078_0003.jpg', '/home/pi/Desktop/images/03012025/01/13/image_03012025_01_13_02_351351_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/01/12/image_03012025_01_12_02_704078_0003.jpg
/home/pi/Desktop/images/03012025/01/13/image_03012025_01_13_02_351351_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325663002","1325663007"],"photo_ids_order":["1325663002","1325663007"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ea68448d2dad5e5c249a1fd15b6e72d1.jpg","text":"TemporaryFile(/tmp/multipartBody6373476636364323279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735863268027,"filename":"image_03012025_01_12_02_704078_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2290698d27457cfc2066fcd933286f5d.jpg","text":"TemporaryFile(/tmp/multipartBody6332774163726167454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735863268027,"filename":"image_03012025_01_13_02_351351_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1325663007","file0":"1325663002"},"map_files_photo_id_array":[{"photo_id":"1325663007","filename":"file1"},{"photo_id":"1325663002","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325663002":["hashtag1","hashtag2"]},{"1325663007":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325663002, 1325663007)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.372775554656982 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 01:14:02.404834
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 01:14:21.991209
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/01/13/image_03012025_01_13_02_351351_0003.jpg', '/home/pi/Desktop/images/03012025/01/14/image_03012025_01_14_02_879452_0000.jpg', '/home/pi/Desktop/images/03012025/01/14/image_03012025_01_14_02_879452_0001.jpg', '/home/pi/Desktop/images/03012025/01/14/image_03012025_01_14_02_879452_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/01/13/image_03012025_01_13_02_351351_0003.jpg
/home/pi/Desktop/images/03012025/01/14/image_03012025_01_14_02_879452_0000.jpg
/home/pi/Desktop/images/03012025/01/14/image_03012025_01_14_02_879452_0001.jpg
/home/pi/Desktop/images/03012025/01/14/image_03012025_01_14_02_879452_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325663025","1325663028","1325663033","1325663030"],"photo_ids_order":["1325663025","1325663028","1325663030","1325663033"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/04f0fbe976686d4050a40066d5dd73b4.jpg","text":"TemporaryFile(/tmp/multipartBody5112798044583249240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735863332313,"filename":"image_03012025_01_13_02_351351_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0aa84a3d939c65c8c31aafa72d050890.jpg","text":"TemporaryFile(/tmp/multipartBody1391215733089519034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735863332313,"filename":"image_03012025_01_14_02_879452_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3ea7e5f280e8e1cf3b2c4b8ca0c4aa78.jpg","text":"TemporaryFile(/tmp/multipartBody7828610613494221967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735863332313,"filename":"image_03012025_01_14_02_879452_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/94f870dfbd0b7276c6c52c6f4f6d2283.jpg","text":"TemporaryFile(/tmp/multipartBody7370872087192726818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735863332313,"filename":"image_03012025_01_14_02_879452_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325663030","file1":"1325663028","file0":"1325663025","file3":"1325663033"},"map_files_photo_id_array":[{"photo_id":"1325663030","filename":"file2"},{"photo_id":"1325663028","filename":"file1"},{"photo_id":"1325663025","filename":"file0"},{"photo_id":"1325663033","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325663025":["hashtag1","hashtag2"]},{"1325663028":["hashtag1","hashtag2"]},{"1325663033":["hashtag1","hashtag2"]},{"1325663030":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325663025, 1325663028, 1325663033, 1325663030)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.8443706035614 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 01:15:22.528799
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/01/14/image_03012025_01_14_02_879452_0003.jpg', '/home/pi/Desktop/images/03012025/01/15/image_03012025_01_15_02_397104_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/01/14/image_03012025_01_14_02_879452_0003.jpg
/home/pi/Desktop/images/03012025/01/15/image_03012025_01_15_02_397104_0000.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325663052","1325663043"],"photo_ids_order":["1325663043","1325663052"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/cc8dab785e977c221df31ae065baade8.jpg","text":"TemporaryFile(/tmp/multipartBody6018234900687611441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735863387998,"filename":"image_03012025_01_15_02_397104_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3e16aa1b3d98552588481872105d5b19.jpg","text":"TemporaryFile(/tmp/multipartBody3420132739014949780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735863387998,"filename":"image_03012025_01_14_02_879452_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1325663052","file0":"1325663043"},"map_files_photo_id_array":[{"photo_id":"1325663052","filename":"file1"},{"photo_id":"1325663043","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325663052":["hashtag1","hashtag2"]},{"1325663043":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325663052, 1325663043)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.842382669448853 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 01:16:02.529528
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 01:16:22.018575
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/01/15/image_03012025_01_15_02_397104_0001.jpg', '/home/pi/Desktop/images/03012025/01/16/image_03012025_01_16_02_894982_0000.jpg', '/home/pi/Desktop/images/03012025/01/16/image_03012025_01_16_02_894982_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/01/15/image_03012025_01_15_02_397104_0001.jpg
/home/pi/Desktop/images/03012025/01/16/image_03012025_01_16_02_894982_0000.jpg
/home/pi/Desktop/images/03012025/01/16/image_03012025_01_16_02_894982_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325663100","1325663108","1325663105"],"photo_ids_order":["1325663100","1325663105","1325663108"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/164fadc21660df1eb405e533b72a786d.jpg","text":"TemporaryFile(/tmp/multipartBody5219543052747590883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735863449940,"filename":"image_03012025_01_15_02_397104_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c1cab2a329939ce34de34b63a1c090ae.jpg","text":"TemporaryFile(/tmp/multipartBody3077993739258916988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735863449940,"filename":"image_03012025_01_16_02_894982_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9c7cdfa7e2cda0a375f716970fd40494.jpg","text":"TemporaryFile(/tmp/multipartBody7842151301372915945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735863449940,"filename":"image_03012025_01_16_02_894982_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325663108","file1":"1325663105","file0":"1325663100"},"map_files_photo_id_array":[{"photo_id":"1325663108","filename":"file2"},{"photo_id":"1325663105","filename":"file1"},{"photo_id":"1325663100","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325663100":["hashtag1","hashtag2"]},{"1325663108":["hashtag1","hashtag2"]},{"1325663105":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325663100, 1325663108, 1325663105)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.097127199172974 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 01:17:03.106681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 01:17:22.617255
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/01/16/image_03012025_01_16_02_894982_0003.jpg', '/home/pi/Desktop/images/03012025/01/17/image_03012025_01_17_02_442454_0000.jpg', '/home/pi/Desktop/images/03012025/01/17/image_03012025_01_17_02_442454_0001.jpg', '/home/pi/Desktop/images/03012025/01/17/image_03012025_01_17_02_442454_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/01/16/image_03012025_01_16_02_894982_0003.jpg
/home/pi/Desktop/images/03012025/01/17/image_03012025_01_17_02_442454_0000.jpg
/home/pi/Desktop/images/03012025/01/17/image_03012025_01_17_02_442454_0001.jpg
/home/pi/Desktop/images/03012025/01/17/image_03012025_01_17_02_442454_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325663121","1325663123","1325663125","1325663119"],"photo_ids_order":["1325663119","1325663121","1325663123","1325663125"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/fd6774e09b5e07743deae83179960f62.jpg","text":"TemporaryFile(/tmp/multipartBody1846816885137459871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735863512934,"filename":"image_03012025_01_17_02_442454_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/eb0caf7a1ddb47a80ad17ea25f417cf9.jpg","text":"TemporaryFile(/tmp/multipartBody8106351647030473467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735863512934,"filename":"image_03012025_01_17_02_442454_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/05c2371ac300891813bc8ab7bc00d71e.jpg","text":"TemporaryFile(/tmp/multipartBody3121080248662714515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735863512934,"filename":"image_03012025_01_17_02_442454_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/007f132f89d38fadb4a7db434526d70f.jpg","text":"TemporaryFile(/tmp/multipartBody5527884103641982673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735863512934,"filename":"image_03012025_01_16_02_894982_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325663123","file1":"1325663121","file0":"1325663119","file3":"1325663125"},"map_files_photo_id_array":[{"photo_id":"1325663123","filename":"file2"},{"photo_id":"1325663121","filename":"file1"},{"photo_id":"1325663119","filename":"file0"},{"photo_id":"1325663125","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325663121":["hashtag1","hashtag2"]},{"1325663123":["hashtag1","hashtag2"]},{"1325663125":["hashtag1","hashtag2"]},{"1325663119":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325663121, 1325663123, 1325663125, 1325663119)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.027867555618286 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 01:18:02.691889
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 01:18:22.318919
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/01/17/image_03012025_01_17_02_442454_0003.jpg', '/home/pi/Desktop/images/03012025/01/18/image_03012025_01_18_03_009269_0000.jpg', '/home/pi/Desktop/images/03012025/01/18/image_03012025_01_18_03_009269_0001.jpg', '/home/pi/Desktop/images/03012025/01/18/image_03012025_01_18_03_009269_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/01/17/image_03012025_01_17_02_442454_0003.jpg
/home/pi/Desktop/images/03012025/01/18/image_03012025_01_18_03_009269_0000.jpg
/home/pi/Desktop/images/03012025/01/18/image_03012025_01_18_03_009269_0001.jpg
/home/pi/Desktop/images/03012025/01/18/image_03012025_01_18_03_009269_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325663139","1325663156","1325663132","1325663164"],"photo_ids_order":["1325663132","1325663139","1325663156","1325663164"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6a16c3905fd7d5f1f5ba2989edb6887e.jpg","text":"TemporaryFile(/tmp/multipartBody6265652134103107547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735863572598,"filename":"image_03012025_01_18_03_009269_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a0b34c8576cb19366ce93cd4d08f3b87.jpg","text":"TemporaryFile(/tmp/multipartBody8720025910779476519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735863572598,"filename":"image_03012025_01_18_03_009269_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b55c445d539cb82a6dcc3e578bc9021a.jpg","text":"TemporaryFile(/tmp/multipartBody5851473313779299608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735863572598,"filename":"image_03012025_01_17_02_442454_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9b4fb0de46f15449e20922814300f0cd.jpg","text":"TemporaryFile(/tmp/multipartBody7771557041919980758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735863572598,"filename":"image_03012025_01_18_03_009269_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325663156","file1":"1325663139","file0":"1325663132","file3":"1325663164"},"map_files_photo_id_array":[{"photo_id":"1325663156","filename":"file2"},{"photo_id":"1325663139","filename":"file1"},{"photo_id":"1325663132","filename":"file0"},{"photo_id":"1325663164","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325663139":["hashtag1","hashtag2"]},{"1325663156":["hashtag1","hashtag2"]},{"1325663132":["hashtag1","hashtag2"]},{"1325663164":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325663139, 1325663156, 1325663132, 1325663164)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.63355374336243 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 01:19:02.199246
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 01:19:21.794131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/01/18/image_03012025_01_18_03_009269_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/01/18/image_03012025_01_18_03_009269_0003.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325663173"],"photo_id":"1325663173","photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2611527e6e305d7022bfdd3e58ce710e.jpg","text":"TemporaryFile(/tmp/multipartBody2366353046452682738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735863624884,"filename":"image_03012025_01_18_03_009269_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file0":"1325663173"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1325663173"}],"hashtags":[],"portfolio_id":"19381866","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.545589923858643 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 01:20:02.961467
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 01:20:22.469401
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/01/19/image_03012025_01_19_02_700413_0001.jpg', '/home/pi/Desktop/images/03012025/01/20/image_03012025_01_20_02_184986_0000.jpg', '/home/pi/Desktop/images/03012025/01/20/image_03012025_01_20_02_184986_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/01/19/image_03012025_01_19_02_700413_0001.jpg
/home/pi/Desktop/images/03012025/01/20/image_03012025_01_20_02_184986_0000.jpg
/home/pi/Desktop/images/03012025/01/20/image_03012025_01_20_02_184986_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.4919445514678955 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 01:21:02.686234
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/01/19/image_03012025_01_19_02_700413_0001.jpg', '/home/pi/Desktop/images/03012025/01/20/image_03012025_01_20_02_184986_0000.jpg', '/home/pi/Desktop/images/03012025/01/20/image_03012025_01_20_02_184986_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/01/19/image_03012025_01_19_02_700413_0001.jpg
/home/pi/Desktop/images/03012025/01/20/image_03012025_01_20_02_184986_0000.jpg
/home/pi/Desktop/images/03012025/01/20/image_03012025_01_20_02_184986_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325663200","1325663199","1325663201"],"photo_ids_order":["1325663199","1325663200","1325663201"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/81aa49e9eafdbab44f47841293cbfaa0.jpg","text":"TemporaryFile(/tmp/multipartBody5200826185364476466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735863730656,"filename":"image_03012025_01_20_02_184986_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/26da3c2c3cc3beeda6440758166fcc71.jpg","text":"TemporaryFile(/tmp/multipartBody4875834800520841108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735863730656,"filename":"image_03012025_01_19_02_700413_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e54978ac986eed736db4740ec0c739fb.jpg","text":"TemporaryFile(/tmp/multipartBody8784492927337200293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735863730656,"filename":"image_03012025_01_20_02_184986_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325663201","file1":"1325663200","file0":"1325663199"},"map_files_photo_id_array":[{"photo_id":"1325663201","filename":"file2"},{"photo_id":"1325663200","filename":"file1"},{"photo_id":"1325663199","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325663200":["hashtag1","hashtag2"]},{"1325663199":["hashtag1","hashtag2"]},{"1325663201":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325663200, 1325663199, 1325663201)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.371240615844727 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 01:22:03.019842
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/01/20/image_03012025_01_20_02_184986_0002.jpg', '/home/pi/Desktop/images/03012025/01/21/image_03012025_01_21_02_824612_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/01/20/image_03012025_01_20_02_184986_0002.jpg
/home/pi/Desktop/images/03012025/01/21/image_03012025_01_21_02_824612_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.089536905288696 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 01:22:22.641245
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/01/20/image_03012025_01_20_02_184986_0002.jpg', '/home/pi/Desktop/images/03012025/01/21/image_03012025_01_21_02_824612_0002.jpg', '/home/pi/Desktop/images/03012025/01/21/image_03012025_01_21_02_824612_0003.jpg', '/home/pi/Desktop/images/03012025/01/22/image_03012025_01_22_02_424985_0001.jpg', '/home/pi/Desktop/images/03012025/01/22/image_03012025_01_22_02_424985_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/01/20/image_03012025_01_20_02_184986_0002.jpg
/home/pi/Desktop/images/03012025/01/21/image_03012025_01_21_02_824612_0002.jpg
/home/pi/Desktop/images/03012025/01/21/image_03012025_01_21_02_824612_0003.jpg
/home/pi/Desktop/images/03012025/01/22/image_03012025_01_22_02_424985_0001.jpg
/home/pi/Desktop/images/03012025/01/22/image_03012025_01_22_02_424985_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325663241","1325663243","1325663236","1325663245","1325663239"],"photo_ids_order":["1325663236","1325663239","1325663241","1325663243","1325663245"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/98b9807b5210e737fbe08ac384e3e526.jpg","text":"TemporaryFile(/tmp/multipartBody8268027026461595324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735863815347,"filename":"image_03012025_01_21_02_824612_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/882a63582b305297ea2cc889d3c667c0.jpg","text":"TemporaryFile(/tmp/multipartBody2606598544166922668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735863815347,"filename":"image_03012025_01_22_02_424985_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/195435859ef74568e575ca2f6d04c949.jpg","text":"TemporaryFile(/tmp/multipartBody7071747895980310676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735863815347,"filename":"image_03012025_01_20_02_184986_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b937444e2175db3f0e06cea644c81cb9.jpg","text":"TemporaryFile(/tmp/multipartBody8974222110133013655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735863815347,"filename":"image_03012025_01_22_02_424985_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8ab8390488c9441f8e97c62b569965e4.jpg","text":"TemporaryFile(/tmp/multipartBody5737873112796920031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735863815347,"filename":"image_03012025_01_21_02_824612_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325663241","file1":"1325663239","file0":"1325663236","file4":"1325663245","file3":"1325663243"},"map_files_photo_id_array":[{"photo_id":"1325663241","filename":"file2"},{"photo_id":"1325663245","filename":"file4"},{"photo_id":"1325663239","filename":"file1"},{"photo_id":"1325663236","filename":"file0"},{"photo_id":"1325663243","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325663241":["hashtag1","hashtag2"]},{"1325663243":["hashtag1","hashtag2"]},{"1325663236":["hashtag1","hashtag2"]},{"1325663245":["hashtag1","hashtag2"]},{"1325663239":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325663241, 1325663243, 1325663236, 1325663245, 1325663239)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 48.32705855369568 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 01:23:22.142296
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/01/22/image_03012025_01_22_02_424985_0003.jpg', '/home/pi/Desktop/images/03012025/01/23/image_03012025_01_23_03_019900_0000.jpg', '/home/pi/Desktop/images/03012025/01/23/image_03012025_01_23_03_019900_0001.jpg', '/home/pi/Desktop/images/03012025/01/23/image_03012025_01_23_03_019900_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/01/22/image_03012025_01_22_02_424985_0003.jpg
/home/pi/Desktop/images/03012025/01/23/image_03012025_01_23_03_019900_0000.jpg
/home/pi/Desktop/images/03012025/01/23/image_03012025_01_23_03_019900_0001.jpg
/home/pi/Desktop/images/03012025/01/23/image_03012025_01_23_03_019900_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325663250","1325663255","1325663252","1325663257"],"photo_ids_order":["1325663250","1325663252","1325663255","1325663257"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2960300f6c4e186a2d97f9afdc245b8b.jpg","text":"TemporaryFile(/tmp/multipartBody8002392776924302101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735863872414,"filename":"image_03012025_01_22_02_424985_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3cdc93037ae9693801e4bf48e7909f7e.jpg","text":"TemporaryFile(/tmp/multipartBody3581388634611172478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735863872414,"filename":"image_03012025_01_23_03_019900_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/842f455348a1eecc9498934db25687ca.jpg","text":"TemporaryFile(/tmp/multipartBody6448779288747069105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735863872414,"filename":"image_03012025_01_23_03_019900_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2af7f7d9f128772cca0c7a3340245365.jpg","text":"TemporaryFile(/tmp/multipartBody9034944994586759899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735863872414,"filename":"image_03012025_01_23_03_019900_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325663255","file1":"1325663252","file0":"1325663250","file3":"1325663257"},"map_files_photo_id_array":[{"photo_id":"1325663255","filename":"file2"},{"photo_id":"1325663252","filename":"file1"},{"photo_id":"1325663250","filename":"file0"},{"photo_id":"1325663257","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325663250":["hashtag1","hashtag2"]},{"1325663255":["hashtag1","hashtag2"]},{"1325663252":["hashtag1","hashtag2"]},{"1325663257":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325663250, 1325663255, 1325663252, 1325663257)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.32479500770569 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 01:24:22.668675
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/01/23/image_03012025_01_23_03_019900_0003.jpg', '/home/pi/Desktop/images/03012025/01/24/image_03012025_01_24_02_526813_0000.jpg', '/home/pi/Desktop/images/03012025/01/24/image_03012025_01_24_02_526813_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/01/23/image_03012025_01_23_03_019900_0003.jpg
/home/pi/Desktop/images/03012025/01/24/image_03012025_01_24_02_526813_0000.jpg
/home/pi/Desktop/images/03012025/01/24/image_03012025_01_24_02_526813_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325663294","1325663282","1325663284"],"photo_ids_order":["1325663282","1325663284","1325663294"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c15510dcaf1229f733f8cc3a51324e5c.jpg","text":"TemporaryFile(/tmp/multipartBody5848278687120095822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735863930580,"filename":"image_03012025_01_24_02_526813_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/025e48f15aa1216ec474dcf11a086db1.jpg","text":"TemporaryFile(/tmp/multipartBody7913116340100268028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735863930580,"filename":"image_03012025_01_23_03_019900_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/170e5fb492c57991fb3af28dff1393e6.jpg","text":"TemporaryFile(/tmp/multipartBody7301000927787088106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735863930580,"filename":"image_03012025_01_24_02_526813_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325663294","file1":"1325663284","file0":"1325663282"},"map_files_photo_id_array":[{"photo_id":"1325663294","filename":"file2"},{"photo_id":"1325663284","filename":"file1"},{"photo_id":"1325663282","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325663294":["hashtag1","hashtag2"]},{"1325663282":["hashtag1","hashtag2"]},{"1325663284":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325663294, 1325663282, 1325663284)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.145946264266968 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 01:25:02.910387
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 01:25:22.273060
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/01/24/image_03012025_01_24_02_526813_0003.jpg', '/home/pi/Desktop/images/03012025/01/25/image_03012025_01_25_03_090312_0000.jpg', '/home/pi/Desktop/images/03012025/01/25/image_03012025_01_25_03_090312_0001.jpg', '/home/pi/Desktop/images/03012025/01/25/image_03012025_01_25_03_090312_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/01/24/image_03012025_01_24_02_526813_0003.jpg
/home/pi/Desktop/images/03012025/01/25/image_03012025_01_25_03_090312_0000.jpg
/home/pi/Desktop/images/03012025/01/25/image_03012025_01_25_03_090312_0001.jpg
/home/pi/Desktop/images/03012025/01/25/image_03012025_01_25_03_090312_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325663340","1325663334","1325663329","1325663332"],"photo_ids_order":["1325663329","1325663332","1325663334","1325663340"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1fe2954023832d33ba0a3c6f3fd3f288.jpg","text":"TemporaryFile(/tmp/multipartBody79696216075547312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735863992493,"filename":"image_03012025_01_25_03_090312_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e664927e7ca8b4fb0e7b86cd5ccc272f.jpg","text":"TemporaryFile(/tmp/multipartBody7141283530314314210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735863992493,"filename":"image_03012025_01_25_03_090312_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b43207fe4176a09a4b4f83937b8f737a.jpg","text":"TemporaryFile(/tmp/multipartBody914571887625195989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735863992493,"filename":"image_03012025_01_24_02_526813_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/463506d8b668ce053258cb13ec8e78fb.jpg","text":"TemporaryFile(/tmp/multipartBody1019978397518173804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735863992493,"filename":"image_03012025_01_25_03_090312_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325663334","file1":"1325663332","file0":"1325663329","file3":"1325663340"},"map_files_photo_id_array":[{"photo_id":"1325663334","filename":"file2"},{"photo_id":"1325663332","filename":"file1"},{"photo_id":"1325663329","filename":"file0"},{"photo_id":"1325663340","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325663340":["hashtag1","hashtag2"]},{"1325663334":["hashtag1","hashtag2"]},{"1325663329":["hashtag1","hashtag2"]},{"1325663332":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325663340, 1325663334, 1325663329, 1325663332)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.402650356292725 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 01:26:02.259755
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 01:26:21.845658
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/01/25/image_03012025_01_25_03_090312_0003.jpg', '/home/pi/Desktop/images/03012025/01/26/image_03012025_01_26_02_654892_0000.jpg', '/home/pi/Desktop/images/03012025/01/26/image_03012025_01_26_02_654892_0001.jpg', '/home/pi/Desktop/images/03012025/01/26/image_03012025_01_26_02_654892_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/01/25/image_03012025_01_25_03_090312_0003.jpg
/home/pi/Desktop/images/03012025/01/26/image_03012025_01_26_02_654892_0000.jpg
/home/pi/Desktop/images/03012025/01/26/image_03012025_01_26_02_654892_0001.jpg
/home/pi/Desktop/images/03012025/01/26/image_03012025_01_26_02_654892_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325663506","1325663508","1325663510","1325663504"],"photo_ids_order":["1325663504","1325663506","1325663508","1325663510"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b19a1fbb4e2f5a280135a756d22734e1.jpg","text":"TemporaryFile(/tmp/multipartBody843081487156623628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735864052182,"filename":"image_03012025_01_26_02_654892_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/33844df76a02dc3ed7c09243d5195f5c.jpg","text":"TemporaryFile(/tmp/multipartBody5345118954696178373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735864052182,"filename":"image_03012025_01_26_02_654892_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d6c425e23e94021aff39fd281ca6cd2a.jpg","text":"TemporaryFile(/tmp/multipartBody6064596374995650401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735864052182,"filename":"image_03012025_01_26_02_654892_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b7ea7c6b5f407976427c1b427ab9984d.jpg","text":"TemporaryFile(/tmp/multipartBody2568472552204354621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735864052182,"filename":"image_03012025_01_25_03_090312_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325663508","file1":"1325663506","file0":"1325663504","file3":"1325663510"},"map_files_photo_id_array":[{"photo_id":"1325663508","filename":"file2"},{"photo_id":"1325663506","filename":"file1"},{"photo_id":"1325663504","filename":"file0"},{"photo_id":"1325663510","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325663506":["hashtag1","hashtag2"]},{"1325663508":["hashtag1","hashtag2"]},{"1325663510":["hashtag1","hashtag2"]},{"1325663504":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325663506, 1325663508, 1325663510, 1325663504)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.063148975372314 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 01:27:22.308741
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/01/26/image_03012025_01_26_02_654892_0003.jpg', '/home/pi/Desktop/images/03012025/01/27/image_03012025_01_27_02_189800_0000.jpg', '/home/pi/Desktop/images/03012025/01/27/image_03012025_01_27_02_189800_0001.jpg', '/home/pi/Desktop/images/03012025/01/27/image_03012025_01_27_02_189800_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/01/26/image_03012025_01_26_02_654892_0003.jpg
/home/pi/Desktop/images/03012025/01/27/image_03012025_01_27_02_189800_0000.jpg
/home/pi/Desktop/images/03012025/01/27/image_03012025_01_27_02_189800_0001.jpg
/home/pi/Desktop/images/03012025/01/27/image_03012025_01_27_02_189800_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325663520","1325663516","1325663524","1325663518"],"photo_ids_order":["1325663516","1325663518","1325663520","1325663524"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a89ffb28b126efb016c2bb268cc34e04.jpg","text":"TemporaryFile(/tmp/multipartBody1914414387607676546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735864112163,"filename":"image_03012025_01_27_02_189800_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/bc0030357098dfa13dd63fc04904f9ac.jpg","text":"TemporaryFile(/tmp/multipartBody4468071672358956691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735864112163,"filename":"image_03012025_01_26_02_654892_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/006a5a42aa388fb962dbc21f2b2b9563.jpg","text":"TemporaryFile(/tmp/multipartBody7286157320943830637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735864112163,"filename":"image_03012025_01_27_02_189800_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7ab091df3fced4577e38ad52b22fd508.jpg","text":"TemporaryFile(/tmp/multipartBody4466483022662655221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735864112163,"filename":"image_03012025_01_27_02_189800_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325663520","file1":"1325663518","file0":"1325663516","file3":"1325663524"},"map_files_photo_id_array":[{"photo_id":"1325663520","filename":"file2"},{"photo_id":"1325663518","filename":"file1"},{"photo_id":"1325663516","filename":"file0"},{"photo_id":"1325663524","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325663520":["hashtag1","hashtag2"]},{"1325663516":["hashtag1","hashtag2"]},{"1325663524":["hashtag1","hashtag2"]},{"1325663518":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325663520, 1325663516, 1325663524, 1325663518)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.0410521030426 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 01:28:21.828540
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/01/27/image_03012025_01_27_02_189800_0003.jpg', '/home/pi/Desktop/images/03012025/01/28/image_03012025_01_28_02_676328_0000.jpg', '/home/pi/Desktop/images/03012025/01/28/image_03012025_01_28_02_676328_0001.jpg', '/home/pi/Desktop/images/03012025/01/28/image_03012025_01_28_02_676328_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/01/27/image_03012025_01_27_02_189800_0003.jpg
/home/pi/Desktop/images/03012025/01/28/image_03012025_01_28_02_676328_0000.jpg
/home/pi/Desktop/images/03012025/01/28/image_03012025_01_28_02_676328_0001.jpg
/home/pi/Desktop/images/03012025/01/28/image_03012025_01_28_02_676328_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325663540","1325663537","1325663531","1325663533"],"photo_ids_order":["1325663531","1325663533","1325663537","1325663540"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3777a74d8de5c3a6920611a7070433ea.jpg","text":"TemporaryFile(/tmp/multipartBody4672284147710905129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735864171927,"filename":"image_03012025_01_28_02_676328_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/07fdd82fe3c00635afef7930c322678c.jpg","text":"TemporaryFile(/tmp/multipartBody6640696534046047805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735864171927,"filename":"image_03012025_01_28_02_676328_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/97c2a9444dec9536ad895fadd2210972.jpg","text":"TemporaryFile(/tmp/multipartBody1662649250111872856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735864171927,"filename":"image_03012025_01_27_02_189800_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/287777518489161d10824a0fd8c8e6e3.jpg","text":"TemporaryFile(/tmp/multipartBody2486623283193657479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735864171927,"filename":"image_03012025_01_28_02_676328_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325663537","file1":"1325663533","file0":"1325663531","file3":"1325663540"},"map_files_photo_id_array":[{"photo_id":"1325663537","filename":"file2"},{"photo_id":"1325663533","filename":"file1"},{"photo_id":"1325663531","filename":"file0"},{"photo_id":"1325663540","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325663540":["hashtag1","hashtag2"]},{"1325663537":["hashtag1","hashtag2"]},{"1325663531":["hashtag1","hashtag2"]},{"1325663533":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325663540, 1325663537, 1325663531, 1325663533)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.88283658027649 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 01:29:22.307843
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/01/28/image_03012025_01_28_02_676328_0003.jpg', '/home/pi/Desktop/images/03012025/01/29/image_03012025_01_29_02_195969_0000.jpg', '/home/pi/Desktop/images/03012025/01/29/image_03012025_01_29_02_195969_0001.jpg', '/home/pi/Desktop/images/03012025/01/29/image_03012025_01_29_02_195969_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/01/28/image_03012025_01_28_02_676328_0003.jpg
/home/pi/Desktop/images/03012025/01/29/image_03012025_01_29_02_195969_0000.jpg
/home/pi/Desktop/images/03012025/01/29/image_03012025_01_29_02_195969_0001.jpg
/home/pi/Desktop/images/03012025/01/29/image_03012025_01_29_02_195969_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.737364530563354 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 01:30:02.320987
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/01/28/image_03012025_01_28_02_676328_0003.jpg', '/home/pi/Desktop/images/03012025/01/29/image_03012025_01_29_02_195969_0000.jpg', '/home/pi/Desktop/images/03012025/01/29/image_03012025_01_29_02_195969_0001.jpg', '/home/pi/Desktop/images/03012025/01/29/image_03012025_01_29_02_195969_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/01/28/image_03012025_01_28_02_676328_0003.jpg
/home/pi/Desktop/images/03012025/01/29/image_03012025_01_29_02_195969_0000.jpg
/home/pi/Desktop/images/03012025/01/29/image_03012025_01_29_02_195969_0001.jpg
/home/pi/Desktop/images/03012025/01/29/image_03012025_01_29_02_195969_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325663568","1325663570","1325663567","1325663572"],"photo_ids_order":["1325663567","1325663568","1325663570","1325663572"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8ce334d649bd1f53a302cb75714ab175.jpg","text":"TemporaryFile(/tmp/multipartBody853900930462691212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735864272472,"filename":"image_03012025_01_29_02_195969_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5c1a6e557f64c4deb65fb9bb198fdfb5.jpg","text":"TemporaryFile(/tmp/multipartBody7243887769755437935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735864272472,"filename":"image_03012025_01_29_02_195969_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b1a4eaa13a610fdf64b36b4ffd3fae6a.jpg","text":"TemporaryFile(/tmp/multipartBody3456680243193892297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735864272472,"filename":"image_03012025_01_28_02_676328_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/db943959e99825dc6758d7a6e3b49bc1.jpg","text":"TemporaryFile(/tmp/multipartBody8429361393758308482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735864272472,"filename":"image_03012025_01_29_02_195969_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325663570","file1":"1325663568","file0":"1325663567","file3":"1325663572"},"map_files_photo_id_array":[{"photo_id":"1325663570","filename":"file2"},{"photo_id":"1325663568","filename":"file1"},{"photo_id":"1325663567","filename":"file0"},{"photo_id":"1325663572","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325663568":["hashtag1","hashtag2"]},{"1325663570":["hashtag1","hashtag2"]},{"1325663567":["hashtag1","hashtag2"]},{"1325663572":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325663568, 1325663570, 1325663567, 1325663572)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.89653468132019 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 01:31:02.888388
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/01/29/image_03012025_01_29_02_195969_0003.jpg', '/home/pi/Desktop/images/03012025/01/30/image_03012025_01_30_02_691712_0000.jpg', '/home/pi/Desktop/images/03012025/01/30/image_03012025_01_30_02_691712_0001.jpg', '/home/pi/Desktop/images/03012025/01/30/image_03012025_01_30_02_691712_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/01/29/image_03012025_01_29_02_195969_0003.jpg
/home/pi/Desktop/images/03012025/01/30/image_03012025_01_30_02_691712_0000.jpg
/home/pi/Desktop/images/03012025/01/30/image_03012025_01_30_02_691712_0001.jpg
/home/pi/Desktop/images/03012025/01/30/image_03012025_01_30_02_691712_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.779285669326782 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 01:31:22.340247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/01/29/image_03012025_01_29_02_195969_0003.jpg', '/home/pi/Desktop/images/03012025/01/30/image_03012025_01_30_02_691712_0000.jpg', '/home/pi/Desktop/images/03012025/01/30/image_03012025_01_30_02_691712_0001.jpg', '/home/pi/Desktop/images/03012025/01/30/image_03012025_01_30_02_691712_0002.jpg', '/home/pi/Desktop/images/03012025/01/30/image_03012025_01_30_02_691712_0003.jpg', '/home/pi/Desktop/images/03012025/01/31/image_03012025_01_31_02_193205_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/01/29/image_03012025_01_29_02_195969_0003.jpg
/home/pi/Desktop/images/03012025/01/30/image_03012025_01_30_02_691712_0000.jpg
/home/pi/Desktop/images/03012025/01/30/image_03012025_01_30_02_691712_0001.jpg
/home/pi/Desktop/images/03012025/01/30/image_03012025_01_30_02_691712_0002.jpg
/home/pi/Desktop/images/03012025/01/30/image_03012025_01_30_02_691712_0003.jpg
/home/pi/Desktop/images/03012025/01/31/image_03012025_01_31_02_193205_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325663595","1325663589","1325663597","1325663591","1325663593","1325663599"],"photo_ids_order":["1325663589","1325663591","1325663593","1325663595","1325663597","1325663599"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7d0fe71092bd6b52ab6d192253fb9295.jpg","text":"TemporaryFile(/tmp/multipartBody2565777924018473218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735864357205,"filename":"image_03012025_01_30_02_691712_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9d9f262d23b78cc20e6c07a14fc6101c.jpg","text":"TemporaryFile(/tmp/multipartBody3141869282736544141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735864357205,"filename":"image_03012025_01_29_02_195969_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/756ef6b34cc49d7b3825626dd0490dc7.jpg","text":"TemporaryFile(/tmp/multipartBody2127961397498230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735864357205,"filename":"image_03012025_01_30_02_691712_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/eedcad642acac08397d5aa720e1be170.jpg","text":"TemporaryFile(/tmp/multipartBody486418268331298938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735864357205,"filename":"image_03012025_01_30_02_691712_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/de5047dff8e5aee688d1d8dd0bbb3ac3.jpg","text":"TemporaryFile(/tmp/multipartBody3865762049834186250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735864357205,"filename":"image_03012025_01_30_02_691712_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a0d8c771eb9292355e10647773f6f8fa.jpg","text":"TemporaryFile(/tmp/multipartBody3011127640699772832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735864357205,"filename":"image_03012025_01_31_02_193205_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325663593","file1":"1325663591","file0":"1325663589","file4":"1325663597","file5":"1325663599","file3":"1325663595"},"map_files_photo_id_array":[{"photo_id":"1325663599","filename":"file5"},{"photo_id":"1325663593","filename":"file2"},{"photo_id":"1325663597","filename":"file4"},{"photo_id":"1325663591","filename":"file1"},{"photo_id":"1325663589","filename":"file0"},{"photo_id":"1325663595","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325663595":["hashtag1","hashtag2"]},{"1325663589":["hashtag1","hashtag2"]},{"1325663597":["hashtag1","hashtag2"]},{"1325663591":["hashtag1","hashtag2"]},{"1325663593":["hashtag1","hashtag2"]},{"1325663599":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325663595, 1325663589, 1325663597, 1325663591, 1325663593, 1325663599)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.514319896698 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 01:32:22.042165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/01/31/image_03012025_01_31_02_193205_0001.jpg', '/home/pi/Desktop/images/03012025/01/31/image_03012025_01_31_02_193205_0002.jpg', '/home/pi/Desktop/images/03012025/01/31/image_03012025_01_31_02_193205_0003.jpg', '/home/pi/Desktop/images/03012025/01/32/image_03012025_01_32_02_776987_0000.jpg', '/home/pi/Desktop/images/03012025/01/32/image_03012025_01_32_02_776987_0001.jpg', '/home/pi/Desktop/images/03012025/01/32/image_03012025_01_32_02_776987_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/01/31/image_03012025_01_31_02_193205_0001.jpg
/home/pi/Desktop/images/03012025/01/31/image_03012025_01_31_02_193205_0002.jpg
/home/pi/Desktop/images/03012025/01/31/image_03012025_01_31_02_193205_0003.jpg
/home/pi/Desktop/images/03012025/01/32/image_03012025_01_32_02_776987_0000.jpg
/home/pi/Desktop/images/03012025/01/32/image_03012025_01_32_02_776987_0001.jpg
/home/pi/Desktop/images/03012025/01/32/image_03012025_01_32_02_776987_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325663661","1325663619","1325663610","1325663615","1325663659","1325663623"],"photo_ids_order":["1325663610","1325663615","1325663619","1325663623","1325663659","1325663661"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/adde8e896647c7804b5684540aeff73c.jpg","text":"TemporaryFile(/tmp/multipartBody4202814011517871735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735864417030,"filename":"image_03012025_01_32_02_776987_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0b68dc12d92a89e9fe13fe7d249da400.jpg","text":"TemporaryFile(/tmp/multipartBody6237402752967141169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735864417030,"filename":"image_03012025_01_31_02_193205_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/34ae7e6b287a5348f7b492ad4889ddca.jpg","text":"TemporaryFile(/tmp/multipartBody1840402778329949018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735864417030,"filename":"image_03012025_01_31_02_193205_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a8e31bdfb78878df3e3ac4394d15176d.jpg","text":"TemporaryFile(/tmp/multipartBody7431966728306657515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735864417030,"filename":"image_03012025_01_31_02_193205_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e18702b68891d5dc1993233e91ff8a3a.jpg","text":"TemporaryFile(/tmp/multipartBody1534815877300793588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735864417030,"filename":"image_03012025_01_32_02_776987_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7184bce1d1f07e95ddd9f768dd79de63.jpg","text":"TemporaryFile(/tmp/multipartBody1189367870126685120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735864417030,"filename":"image_03012025_01_32_02_776987_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325663619","file1":"1325663615","file0":"1325663610","file4":"1325663659","file5":"1325663661","file3":"1325663623"},"map_files_photo_id_array":[{"photo_id":"1325663661","filename":"file5"},{"photo_id":"1325663619","filename":"file2"},{"photo_id":"1325663659","filename":"file4"},{"photo_id":"1325663615","filename":"file1"},{"photo_id":"1325663610","filename":"file0"},{"photo_id":"1325663623","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325663661":["hashtag1","hashtag2"]},{"1325663619":["hashtag1","hashtag2"]},{"1325663610":["hashtag1","hashtag2"]},{"1325663615":["hashtag1","hashtag2"]},{"1325663659":["hashtag1","hashtag2"]},{"1325663623":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325663661, 1325663619, 1325663610, 1325663615, 1325663659, 1325663623)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.37143802642822 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 01:33:22.551490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/01/32/image_03012025_01_32_02_776987_0003.jpg', '/home/pi/Desktop/images/03012025/01/33/image_03012025_01_33_02_396125_0000.jpg', '/home/pi/Desktop/images/03012025/01/33/image_03012025_01_33_02_396125_0001.jpg', '/home/pi/Desktop/images/03012025/01/33/image_03012025_01_33_02_396125_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/01/32/image_03012025_01_32_02_776987_0003.jpg
/home/pi/Desktop/images/03012025/01/33/image_03012025_01_33_02_396125_0000.jpg
/home/pi/Desktop/images/03012025/01/33/image_03012025_01_33_02_396125_0001.jpg
/home/pi/Desktop/images/03012025/01/33/image_03012025_01_33_02_396125_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325663687","1325663695","1325663697","1325663691"],"photo_ids_order":["1325663687","1325663691","1325663695","1325663697"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8ec60fcc885209b4c19c0f1d6df66980.jpg","text":"TemporaryFile(/tmp/multipartBody3096036161617519701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735864472758,"filename":"image_03012025_01_32_02_776987_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7a5f9c5711960d4e932d6caeda41d69b.jpg","text":"TemporaryFile(/tmp/multipartBody4473643464071442850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735864472758,"filename":"image_03012025_01_33_02_396125_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7e3afe9f46f6c0116cfb938c8b6478e2.jpg","text":"TemporaryFile(/tmp/multipartBody952804645274565537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735864472758,"filename":"image_03012025_01_33_02_396125_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/afd1cb23c9a66f42c532ede872b0cc53.jpg","text":"TemporaryFile(/tmp/multipartBody6081846618228215739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735864472758,"filename":"image_03012025_01_33_02_396125_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325663695","file1":"1325663691","file0":"1325663687","file3":"1325663697"},"map_files_photo_id_array":[{"photo_id":"1325663695","filename":"file2"},{"photo_id":"1325663691","filename":"file1"},{"photo_id":"1325663687","filename":"file0"},{"photo_id":"1325663697","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325663687":["hashtag1","hashtag2"]},{"1325663695":["hashtag1","hashtag2"]},{"1325663697":["hashtag1","hashtag2"]},{"1325663691":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325663687, 1325663695, 1325663697, 1325663691)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.15980911254883 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 01:34:22.066411
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/01/33/image_03012025_01_33_02_396125_0003.jpg', '/home/pi/Desktop/images/03012025/01/34/image_03012025_01_34_02_947930_0000.jpg', '/home/pi/Desktop/images/03012025/01/34/image_03012025_01_34_02_947930_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/01/33/image_03012025_01_33_02_396125_0003.jpg
/home/pi/Desktop/images/03012025/01/34/image_03012025_01_34_02_947930_0000.jpg
/home/pi/Desktop/images/03012025/01/34/image_03012025_01_34_02_947930_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325663704","1325663702","1325663707"],"photo_ids_order":["1325663702","1325663704","1325663707"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c4b0ae0501c031b0eda77b9a1e2a3317.jpg","text":"TemporaryFile(/tmp/multipartBody9024135891466950556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735864529821,"filename":"image_03012025_01_34_02_947930_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/eae361d53f4a1fe9df4e9205ad80b414.jpg","text":"TemporaryFile(/tmp/multipartBody9145164970673748827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735864529821,"filename":"image_03012025_01_33_02_396125_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/09eae9217218afb07a52668b4656be07.jpg","text":"TemporaryFile(/tmp/multipartBody7641607530765926367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735864529821,"filename":"image_03012025_01_34_02_947930_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325663707","file1":"1325663704","file0":"1325663702"},"map_files_photo_id_array":[{"photo_id":"1325663707","filename":"file2"},{"photo_id":"1325663704","filename":"file1"},{"photo_id":"1325663702","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325663704":["hashtag1","hashtag2"]},{"1325663702":["hashtag1","hashtag2"]},{"1325663707":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325663704, 1325663702, 1325663707)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.70993423461914 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 01:35:03.125426
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 01:35:22.543976
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/01/34/image_03012025_01_34_02_947930_0002.jpg', '/home/pi/Desktop/images/03012025/01/35/image_03012025_01_35_02_419866_0000.jpg', '/home/pi/Desktop/images/03012025/01/35/image_03012025_01_35_02_419866_0001.jpg', '/home/pi/Desktop/images/03012025/01/35/image_03012025_01_35_02_419866_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/01/34/image_03012025_01_34_02_947930_0002.jpg
/home/pi/Desktop/images/03012025/01/35/image_03012025_01_35_02_419866_0000.jpg
/home/pi/Desktop/images/03012025/01/35/image_03012025_01_35_02_419866_0001.jpg
/home/pi/Desktop/images/03012025/01/35/image_03012025_01_35_02_419866_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325663774","1325663782","1325663776","1325663779"],"photo_ids_order":["1325663774","1325663776","1325663779","1325663782"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/10ef520077e98d13d057fbaf196310c4.jpg","text":"TemporaryFile(/tmp/multipartBody4702621561434592157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735864592687,"filename":"image_03012025_01_34_02_947930_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/86f1c2658810210ee80ab0d149a38e02.jpg","text":"TemporaryFile(/tmp/multipartBody7758331585594667795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735864592687,"filename":"image_03012025_01_35_02_419866_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c5b72a2738ba47fec264da7c319ed473.jpg","text":"TemporaryFile(/tmp/multipartBody7471940988227007820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735864592687,"filename":"image_03012025_01_35_02_419866_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/fc4ebd0a7b1a9a6e4550a9f23d12e17f.jpg","text":"TemporaryFile(/tmp/multipartBody8394966779323672444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735864592687,"filename":"image_03012025_01_35_02_419866_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325663779","file1":"1325663776","file0":"1325663774","file3":"1325663782"},"map_files_photo_id_array":[{"photo_id":"1325663779","filename":"file2"},{"photo_id":"1325663776","filename":"file1"},{"photo_id":"1325663774","filename":"file0"},{"photo_id":"1325663782","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325663774":["hashtag1","hashtag2"]},{"1325663782":["hashtag1","hashtag2"]},{"1325663776":["hashtag1","hashtag2"]},{"1325663779":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325663774, 1325663782, 1325663776, 1325663779)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.832581758499146 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 01:36:22.232577
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/01/35/image_03012025_01_35_02_419866_0003.jpg', '/home/pi/Desktop/images/03012025/01/36/image_03012025_01_36_02_949010_0000.jpg', '/home/pi/Desktop/images/03012025/01/36/image_03012025_01_36_02_949010_0001.jpg', '/home/pi/Desktop/images/03012025/01/36/image_03012025_01_36_02_949010_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/01/35/image_03012025_01_35_02_419866_0003.jpg
/home/pi/Desktop/images/03012025/01/36/image_03012025_01_36_02_949010_0000.jpg
/home/pi/Desktop/images/03012025/01/36/image_03012025_01_36_02_949010_0001.jpg
/home/pi/Desktop/images/03012025/01/36/image_03012025_01_36_02_949010_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325663841","1325663811","1325663837","1325663839"],"photo_ids_order":["1325663811","1325663837","1325663839","1325663841"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/541bd5ec6a61118f61a245e9b613d1eb.jpg","text":"TemporaryFile(/tmp/multipartBody3023452999882584802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735864652479,"filename":"image_03012025_01_36_02_949010_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ef96c1e8e8a1f24954dc9334d8080ceb.jpg","text":"TemporaryFile(/tmp/multipartBody2285035105855974730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735864652479,"filename":"image_03012025_01_35_02_419866_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4f45e4d8399888fbbafe04066b512c52.jpg","text":"TemporaryFile(/tmp/multipartBody8379062266093504731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735864652479,"filename":"image_03012025_01_36_02_949010_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b7fdb2c9175cd7f317b3b1fe927a3d31.jpg","text":"TemporaryFile(/tmp/multipartBody1465339118659987232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735864652479,"filename":"image_03012025_01_36_02_949010_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325663839","file1":"1325663837","file0":"1325663811","file3":"1325663841"},"map_files_photo_id_array":[{"photo_id":"1325663839","filename":"file2"},{"photo_id":"1325663837","filename":"file1"},{"photo_id":"1325663811","filename":"file0"},{"photo_id":"1325663841","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325663841":["hashtag1","hashtag2"]},{"1325663811":["hashtag1","hashtag2"]},{"1325663837":["hashtag1","hashtag2"]},{"1325663839":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325663841, 1325663811, 1325663837, 1325663839)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.5233108997345 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 01:37:21.726115
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/01/36/image_03012025_01_36_02_949010_0003.jpg', '/home/pi/Desktop/images/03012025/01/37/image_03012025_01_37_02_621550_0000.jpg', '/home/pi/Desktop/images/03012025/01/37/image_03012025_01_37_02_621550_0001.jpg', '/home/pi/Desktop/images/03012025/01/37/image_03012025_01_37_02_621550_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/01/36/image_03012025_01_36_02_949010_0003.jpg
/home/pi/Desktop/images/03012025/01/37/image_03012025_01_37_02_621550_0000.jpg
/home/pi/Desktop/images/03012025/01/37/image_03012025_01_37_02_621550_0001.jpg
/home/pi/Desktop/images/03012025/01/37/image_03012025_01_37_02_621550_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325663910","1325663947","1325663950","1325663944"],"photo_ids_order":["1325663910","1325663944","1325663947","1325663950"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e9c2f243539ff4022c2f4919b303a72f.jpg","text":"TemporaryFile(/tmp/multipartBody6902733175782031530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735864711833,"filename":"image_03012025_01_36_02_949010_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/555b25ec4ee1a09ee740e6339d9568c1.jpg","text":"TemporaryFile(/tmp/multipartBody1571996267608514010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735864711833,"filename":"image_03012025_01_37_02_621550_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b147776028bc1ec3a0242acb8655253d.jpg","text":"TemporaryFile(/tmp/multipartBody1693212121812978064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735864711833,"filename":"image_03012025_01_37_02_621550_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/31682b9a3149a83369ed09a676d593e6.jpg","text":"TemporaryFile(/tmp/multipartBody1219413434607258622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735864711833,"filename":"image_03012025_01_37_02_621550_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325663947","file1":"1325663944","file0":"1325663910","file3":"1325663950"},"map_files_photo_id_array":[{"photo_id":"1325663947","filename":"file2"},{"photo_id":"1325663944","filename":"file1"},{"photo_id":"1325663910","filename":"file0"},{"photo_id":"1325663950","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325663910":["hashtag1","hashtag2"]},{"1325663947":["hashtag1","hashtag2"]},{"1325663950":["hashtag1","hashtag2"]},{"1325663944":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325663910, 1325663947, 1325663950, 1325663944)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.28307914733887 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 01:38:02.725116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 01:38:22.212812
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/01/37/image_03012025_01_37_02_621550_0003.jpg', '/home/pi/Desktop/images/03012025/01/38/image_03012025_01_38_02_106975_0000.jpg', '/home/pi/Desktop/images/03012025/01/38/image_03012025_01_38_02_106975_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/01/37/image_03012025_01_37_02_621550_0003.jpg
/home/pi/Desktop/images/03012025/01/38/image_03012025_01_38_02_106975_0000.jpg
/home/pi/Desktop/images/03012025/01/38/image_03012025_01_38_02_106975_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325663967","1325663969","1325663971"],"photo_ids_order":["1325663967","1325663969","1325663971"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/cf270693ee87a960f4b7367f1ebc84a0.jpg","text":"TemporaryFile(/tmp/multipartBody1307300711388211908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735864770076,"filename":"image_03012025_01_37_02_621550_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9f4a5a7d24ddebc905d1e432e3730842.jpg","text":"TemporaryFile(/tmp/multipartBody5109185165621890566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735864770076,"filename":"image_03012025_01_38_02_106975_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/fd514188e7f1461704c325318060b980.jpg","text":"TemporaryFile(/tmp/multipartBody5528230992492039358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735864770076,"filename":"image_03012025_01_38_02_106975_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325663971","file1":"1325663969","file0":"1325663967"},"map_files_photo_id_array":[{"photo_id":"1325663971","filename":"file2"},{"photo_id":"1325663969","filename":"file1"},{"photo_id":"1325663967","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325663967":["hashtag1","hashtag2"]},{"1325663969":["hashtag1","hashtag2"]},{"1325663971":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325663967, 1325663969, 1325663971)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.872310161590576 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 01:39:02.304984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 01:39:21.787066
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/01/38/image_03012025_01_38_02_106975_0003.jpg', '/home/pi/Desktop/images/03012025/01/39/image_03012025_01_39_02_631346_0000.jpg', '/home/pi/Desktop/images/03012025/01/39/image_03012025_01_39_02_631346_0001.jpg', '/home/pi/Desktop/images/03012025/01/39/image_03012025_01_39_02_631346_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/01/38/image_03012025_01_38_02_106975_0003.jpg
/home/pi/Desktop/images/03012025/01/39/image_03012025_01_39_02_631346_0000.jpg
/home/pi/Desktop/images/03012025/01/39/image_03012025_01_39_02_631346_0001.jpg
/home/pi/Desktop/images/03012025/01/39/image_03012025_01_39_02_631346_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325664018","1325664016","1325664010","1325664013"],"photo_ids_order":["1325664010","1325664013","1325664016","1325664018"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/bf9dbd32e9fbe0c7b5b8ca01b929a80f.jpg","text":"TemporaryFile(/tmp/multipartBody3670761669811838430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735864832153,"filename":"image_03012025_01_39_02_631346_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/91158a5c9f0ce08bfb1536dad2ad1e3b.jpg","text":"TemporaryFile(/tmp/multipartBody9163878137094523484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735864832153,"filename":"image_03012025_01_39_02_631346_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/670f476b13c3485e42b751ab6e12eeaf.jpg","text":"TemporaryFile(/tmp/multipartBody2269021817892781039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735864832153,"filename":"image_03012025_01_38_02_106975_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/050d9c40ed369c7cfce458629903e465.jpg","text":"TemporaryFile(/tmp/multipartBody9074921929295975675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735864832153,"filename":"image_03012025_01_39_02_631346_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325664016","file1":"1325664013","file0":"1325664010","file3":"1325664018"},"map_files_photo_id_array":[{"photo_id":"1325664016","filename":"file2"},{"photo_id":"1325664013","filename":"file1"},{"photo_id":"1325664010","filename":"file0"},{"photo_id":"1325664018","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325664018":["hashtag1","hashtag2"]},{"1325664016":["hashtag1","hashtag2"]},{"1325664010":["hashtag1","hashtag2"]},{"1325664013":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325664018, 1325664016, 1325664010, 1325664013)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.61552309989929 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 01:40:02.780701
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 01:40:22.345429
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/01/39/image_03012025_01_39_02_631346_0003.jpg', '/home/pi/Desktop/images/03012025/01/40/image_03012025_01_40_02_140814_0000.jpg', '/home/pi/Desktop/images/03012025/01/40/image_03012025_01_40_02_140814_0001.jpg', '/home/pi/Desktop/images/03012025/01/40/image_03012025_01_40_02_140814_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/01/39/image_03012025_01_39_02_631346_0003.jpg
/home/pi/Desktop/images/03012025/01/40/image_03012025_01_40_02_140814_0000.jpg
/home/pi/Desktop/images/03012025/01/40/image_03012025_01_40_02_140814_0001.jpg
/home/pi/Desktop/images/03012025/01/40/image_03012025_01_40_02_140814_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.920310258865356 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 01:41:02.532313
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/01/39/image_03012025_01_39_02_631346_0003.jpg', '/home/pi/Desktop/images/03012025/01/40/image_03012025_01_40_02_140814_0000.jpg', '/home/pi/Desktop/images/03012025/01/40/image_03012025_01_40_02_140814_0001.jpg', '/home/pi/Desktop/images/03012025/01/40/image_03012025_01_40_02_140814_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/01/39/image_03012025_01_39_02_631346_0003.jpg
/home/pi/Desktop/images/03012025/01/40/image_03012025_01_40_02_140814_0000.jpg
/home/pi/Desktop/images/03012025/01/40/image_03012025_01_40_02_140814_0001.jpg
/home/pi/Desktop/images/03012025/01/40/image_03012025_01_40_02_140814_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325664048","1325664077","1325664035","1325664051"],"photo_ids_order":["1325664035","1325664048","1325664051","1325664077"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c1e0d921575d9259b108d5e5060b7818.jpg","text":"TemporaryFile(/tmp/multipartBody7152884054108070411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735864932966,"filename":"image_03012025_01_40_02_140814_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/23c61c9d6ae1e660abbc46c108cb4f06.jpg","text":"TemporaryFile(/tmp/multipartBody9047940551964382900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735864932966,"filename":"image_03012025_01_40_02_140814_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ce8b805fc7e4d272b49fde4f5bb9f8c4.jpg","text":"TemporaryFile(/tmp/multipartBody3931827032812175934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735864932966,"filename":"image_03012025_01_39_02_631346_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/697919424b59c527c0b751f1619908f6.jpg","text":"TemporaryFile(/tmp/multipartBody1703224477554017193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735864932966,"filename":"image_03012025_01_40_02_140814_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325664051","file1":"1325664048","file0":"1325664035","file3":"1325664077"},"map_files_photo_id_array":[{"photo_id":"1325664051","filename":"file2"},{"photo_id":"1325664048","filename":"file1"},{"photo_id":"1325664035","filename":"file0"},{"photo_id":"1325664077","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325664048":["hashtag1","hashtag2"]},{"1325664077":["hashtag1","hashtag2"]},{"1325664035":["hashtag1","hashtag2"]},{"1325664051":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325664048, 1325664077, 1325664035, 1325664051)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.731802463531494 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 01:42:02.958734
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/01/40/image_03012025_01_40_02_140814_0003.jpg', '/home/pi/Desktop/images/03012025/01/41/image_03012025_01_41_02_799685_0000.jpg', '/home/pi/Desktop/images/03012025/01/41/image_03012025_01_41_02_799685_0001.jpg', '/home/pi/Desktop/images/03012025/01/41/image_03012025_01_41_02_799685_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/01/40/image_03012025_01_40_02_140814_0003.jpg
/home/pi/Desktop/images/03012025/01/41/image_03012025_01_41_02_799685_0000.jpg
/home/pi/Desktop/images/03012025/01/41/image_03012025_01_41_02_799685_0001.jpg
/home/pi/Desktop/images/03012025/01/41/image_03012025_01_41_02_799685_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325664086","1325664089","1325664091","1325664087"],"photo_ids_order":["1325664086","1325664087","1325664089","1325664091"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/09046c551551e2a43469f8b0320300e5.jpg","text":"TemporaryFile(/tmp/multipartBody3007128011069894880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735864993171,"filename":"image_03012025_01_40_02_140814_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/23eb30b989333bd8be1d0d37fe6b4ea9.jpg","text":"TemporaryFile(/tmp/multipartBody1762255240692169364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735864993171,"filename":"image_03012025_01_41_02_799685_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/147f1a5ecae58bab550400176435e743.jpg","text":"TemporaryFile(/tmp/multipartBody228737716566294003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735864993171,"filename":"image_03012025_01_41_02_799685_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/945b467aa1632072bdadaf44fdeddfa9.jpg","text":"TemporaryFile(/tmp/multipartBody8861034293560366381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735864993171,"filename":"image_03012025_01_41_02_799685_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325664089","file1":"1325664087","file0":"1325664086","file3":"1325664091"},"map_files_photo_id_array":[{"photo_id":"1325664089","filename":"file2"},{"photo_id":"1325664087","filename":"file1"},{"photo_id":"1325664086","filename":"file0"},{"photo_id":"1325664091","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325664086":["hashtag1","hashtag2"]},{"1325664089":["hashtag1","hashtag2"]},{"1325664091":["hashtag1","hashtag2"]},{"1325664087":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325664086, 1325664089, 1325664091, 1325664087)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.8707115650177 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 01:43:02.744592
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/01/41/image_03012025_01_41_02_799685_0003.jpg', '/home/pi/Desktop/images/03012025/01/42/image_03012025_01_42_02_297725_0000.jpg', '/home/pi/Desktop/images/03012025/01/42/image_03012025_01_42_02_297725_0001.jpg', '/home/pi/Desktop/images/03012025/01/42/image_03012025_01_42_02_297725_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/01/41/image_03012025_01_41_02_799685_0003.jpg
/home/pi/Desktop/images/03012025/01/42/image_03012025_01_42_02_297725_0000.jpg
/home/pi/Desktop/images/03012025/01/42/image_03012025_01_42_02_297725_0001.jpg
/home/pi/Desktop/images/03012025/01/42/image_03012025_01_42_02_297725_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325664120","1325664122","1325664124","1325664118"],"photo_ids_order":["1325664118","1325664120","1325664122","1325664124"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a8e54f1c696e602f6a9aacba8664880d.jpg","text":"TemporaryFile(/tmp/multipartBody1142220681787720858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735865053448,"filename":"image_03012025_01_42_02_297725_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d9d9875f8bac49b9eeeced55dd94aafe.jpg","text":"TemporaryFile(/tmp/multipartBody2528477646843879783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735865053448,"filename":"image_03012025_01_42_02_297725_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0078ac957103978eda715fb5f2f4945e.jpg","text":"TemporaryFile(/tmp/multipartBody1899847655947930434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735865053448,"filename":"image_03012025_01_42_02_297725_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f6cd87e56701f1a5bf48b599c4ba9c46.jpg","text":"TemporaryFile(/tmp/multipartBody4912214187794127390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735865053448,"filename":"image_03012025_01_41_02_799685_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325664122","file1":"1325664120","file0":"1325664118","file3":"1325664124"},"map_files_photo_id_array":[{"photo_id":"1325664122","filename":"file2"},{"photo_id":"1325664120","filename":"file1"},{"photo_id":"1325664118","filename":"file0"},{"photo_id":"1325664124","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325664120":["hashtag1","hashtag2"]},{"1325664122":["hashtag1","hashtag2"]},{"1325664124":["hashtag1","hashtag2"]},{"1325664118":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325664120, 1325664122, 1325664124, 1325664118)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.978920221328735 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 01:44:02.363711
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/01/42/image_03012025_01_42_02_297725_0003.jpg', '/home/pi/Desktop/images/03012025/01/43/image_03012025_01_43_03_020263_0000.jpg', '/home/pi/Desktop/images/03012025/01/43/image_03012025_01_43_03_020263_0001.jpg', '/home/pi/Desktop/images/03012025/01/43/image_03012025_01_43_03_020263_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/01/42/image_03012025_01_42_02_297725_0003.jpg
/home/pi/Desktop/images/03012025/01/43/image_03012025_01_43_03_020263_0000.jpg
/home/pi/Desktop/images/03012025/01/43/image_03012025_01_43_03_020263_0001.jpg
/home/pi/Desktop/images/03012025/01/43/image_03012025_01_43_03_020263_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325664145","1325664148","1325664136","1325664139"],"photo_ids_order":["1325664136","1325664139","1325664145","1325664148"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a829e189ec1bc42029fabf2c1a1bc3c6.jpg","text":"TemporaryFile(/tmp/multipartBody8413888198489827321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735865113190,"filename":"image_03012025_01_43_03_020263_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0970f15c1dbdb4bd16ed71ef80a1ce06.jpg","text":"TemporaryFile(/tmp/multipartBody2197369156655096248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735865113190,"filename":"image_03012025_01_43_03_020263_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/06991b91c63aa8fd504b42aa219ca21c.jpg","text":"TemporaryFile(/tmp/multipartBody9168069914441011878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735865113190,"filename":"image_03012025_01_42_02_297725_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b3dd8e2ea20fa907cbc9c29b1e116d88.jpg","text":"TemporaryFile(/tmp/multipartBody209239894814720785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735865113190,"filename":"image_03012025_01_43_03_020263_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325664145","file1":"1325664139","file0":"1325664136","file3":"1325664148"},"map_files_photo_id_array":[{"photo_id":"1325664145","filename":"file2"},{"photo_id":"1325664139","filename":"file1"},{"photo_id":"1325664136","filename":"file0"},{"photo_id":"1325664148","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325664145":["hashtag1","hashtag2"]},{"1325664148":["hashtag1","hashtag2"]},{"1325664136":["hashtag1","hashtag2"]},{"1325664139":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325664145, 1325664148, 1325664136, 1325664139)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.323959827423096 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 01:45:03.040622
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/01/43/image_03012025_01_43_03_020263_0003.jpg', '/home/pi/Desktop/images/03012025/01/44/image_03012025_01_44_02_589529_0000.jpg', '/home/pi/Desktop/images/03012025/01/44/image_03012025_01_44_02_589529_0001.jpg', '/home/pi/Desktop/images/03012025/01/44/image_03012025_01_44_02_589529_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/01/43/image_03012025_01_43_03_020263_0003.jpg
/home/pi/Desktop/images/03012025/01/44/image_03012025_01_44_02_589529_0000.jpg
/home/pi/Desktop/images/03012025/01/44/image_03012025_01_44_02_589529_0001.jpg
/home/pi/Desktop/images/03012025/01/44/image_03012025_01_44_02_589529_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325664182","1325664178","1325664180","1325664177"],"photo_ids_order":["1325664177","1325664178","1325664180","1325664182"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2195e8b98501730fca7a30b2bf8062d7.jpg","text":"TemporaryFile(/tmp/multipartBody9117340400050137414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735865173911,"filename":"image_03012025_01_44_02_589529_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1646366a31a450ee9e0e587c452e5734.jpg","text":"TemporaryFile(/tmp/multipartBody3899121005427552222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735865173911,"filename":"image_03012025_01_44_02_589529_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/079de9552d1196c8af9c4b281f32c3ae.jpg","text":"TemporaryFile(/tmp/multipartBody940915687083260664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735865173911,"filename":"image_03012025_01_44_02_589529_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9ce230ea6836b9a829d84e04d5ffbdbe.jpg","text":"TemporaryFile(/tmp/multipartBody3736781289673092428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735865173911,"filename":"image_03012025_01_43_03_020263_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325664180","file1":"1325664178","file0":"1325664177","file3":"1325664182"},"map_files_photo_id_array":[{"photo_id":"1325664180","filename":"file2"},{"photo_id":"1325664178","filename":"file1"},{"photo_id":"1325664177","filename":"file0"},{"photo_id":"1325664182","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325664182":["hashtag1","hashtag2"]},{"1325664178":["hashtag1","hashtag2"]},{"1325664180":["hashtag1","hashtag2"]},{"1325664177":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325664182, 1325664178, 1325664180, 1325664177)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.75896644592285 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 01:46:02.468506
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/01/44/image_03012025_01_44_02_589529_0003.jpg', '/home/pi/Desktop/images/03012025/01/45/image_03012025_01_45_02_262427_0000.jpg', '/home/pi/Desktop/images/03012025/01/45/image_03012025_01_45_02_262427_0001.jpg', '/home/pi/Desktop/images/03012025/01/45/image_03012025_01_45_02_262427_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/01/44/image_03012025_01_44_02_589529_0003.jpg
/home/pi/Desktop/images/03012025/01/45/image_03012025_01_45_02_262427_0000.jpg
/home/pi/Desktop/images/03012025/01/45/image_03012025_01_45_02_262427_0001.jpg
/home/pi/Desktop/images/03012025/01/45/image_03012025_01_45_02_262427_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.67032527923584 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 01:46:22.072103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/01/44/image_03012025_01_44_02_589529_0003.jpg', '/home/pi/Desktop/images/03012025/01/45/image_03012025_01_45_02_262427_0000.jpg', '/home/pi/Desktop/images/03012025/01/45/image_03012025_01_45_02_262427_0001.jpg', '/home/pi/Desktop/images/03012025/01/45/image_03012025_01_45_02_262427_0002.jpg', '/home/pi/Desktop/images/03012025/01/45/image_03012025_01_45_02_262427_0003.jpg', '/home/pi/Desktop/images/03012025/01/46/image_03012025_01_46_02_798917_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/01/44/image_03012025_01_44_02_589529_0003.jpg
/home/pi/Desktop/images/03012025/01/45/image_03012025_01_45_02_262427_0000.jpg
/home/pi/Desktop/images/03012025/01/45/image_03012025_01_45_02_262427_0001.jpg
/home/pi/Desktop/images/03012025/01/45/image_03012025_01_45_02_262427_0002.jpg
/home/pi/Desktop/images/03012025/01/45/image_03012025_01_45_02_262427_0003.jpg
/home/pi/Desktop/images/03012025/01/46/image_03012025_01_46_02_798917_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":["1325664231","1325664221","1325664224","1325664227","1325664229","1325664217"],"photo_ids_order":["1325664217","1325664221","1325664224","1325664227","1325664229","1325664231"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/bf7fcb7f76185a0d071ca8cf592384ef.jpg","text":"TemporaryFile(/tmp/multipartBody6884250802258041133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735865256863,"filename":"image_03012025_01_46_02_798917_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2de287de8508abf7f2bf3f5e5cd243b2.jpg","text":"TemporaryFile(/tmp/multipartBody6441639571911698646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735865256863,"filename":"image_03012025_01_45_02_262427_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/fd2e791106b2c0deac92c4d55b582820.jpg","text":"TemporaryFile(/tmp/multipartBody7627631490157328717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735865256863,"filename":"image_03012025_01_45_02_262427_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ae6add8c9ecb38b0b992a35798b938db.jpg","text":"TemporaryFile(/tmp/multipartBody1813633698777643519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735865256863,"filename":"image_03012025_01_45_02_262427_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/454bfff610da0a031b7dd551007ce52f.jpg","text":"TemporaryFile(/tmp/multipartBody3836911671013542440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735865256863,"filename":"image_03012025_01_45_02_262427_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1eaad2ffb779d4360a18d500006efb17.jpg","text":"TemporaryFile(/tmp/multipartBody902302145573930858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735865256863,"filename":"image_03012025_01_44_02_589529_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325664224","file1":"1325664221","file0":"1325664217","file4":"1325664229","file5":"1325664231","file3":"1325664227"},"map_files_photo_id_array":[{"photo_id":"1325664231","filename":"file5"},{"photo_id":"1325664224","filename":"file2"},{"photo_id":"1325664229","filename":"file4"},{"photo_id":"1325664221","filename":"file1"},{"photo_id":"1325664217","filename":"file0"},{"photo_id":"1325664227","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325664231":["hashtag1","hashtag2"]},{"1325664221":["hashtag1","hashtag2"]},{"1325664224":["hashtag1","hashtag2"]},{"1325664227":["hashtag1","hashtag2"]},{"1325664229":["hashtag1","hashtag2"]},{"1325664217":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325664231, 1325664221, 1325664224, 1325664227, 1325664229, 1325664217)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.431453466415405 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 01:48:02.685818
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/01/46/image_03012025_01_46_02_798917_0001.jpg', '/home/pi/Desktop/images/03012025/01/46/image_03012025_01_46_02_798917_0002.jpg', '/home/pi/Desktop/images/03012025/01/46/image_03012025_01_46_02_798917_0003.jpg', '/home/pi/Desktop/images/03012025/01/47/image_03012025_01_47_02_556661_0000.jpg', '/home/pi/Desktop/images/03012025/01/47/image_03012025_01_47_02_556661_0001.jpg', '/home/pi/Desktop/images/03012025/01/47/image_03012025_01_47_02_556661_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/01/46/image_03012025_01_46_02_798917_0001.jpg
/home/pi/Desktop/images/03012025/01/46/image_03012025_01_46_02_798917_0002.jpg
/home/pi/Desktop/images/03012025/01/46/image_03012025_01_46_02_798917_0003.jpg
/home/pi/Desktop/images/03012025/01/47/image_03012025_01_47_02_556661_0000.jpg
/home/pi/Desktop/images/03012025/01/47/image_03012025_01_47_02_556661_0001.jpg
/home/pi/Desktop/images/03012025/01/47/image_03012025_01_47_02_556661_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325664266","1325664254","1325664256","1325664261","1325664264","1325664243"],"photo_ids_order":["1325664243","1325664254","1325664256","1325664261","1325664264","1325664266"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/cccf6d186eca38f5eb6d5dd020304192.jpg","text":"TemporaryFile(/tmp/multipartBody5888840768603298721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735865356825,"filename":"image_03012025_01_47_02_556661_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2ebb9728477e823d7caaf1fa68411497.jpg","text":"TemporaryFile(/tmp/multipartBody1869415603941854773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735865356825,"filename":"image_03012025_01_46_02_798917_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8decebf97813dcee4aeff9014b615435.jpg","text":"TemporaryFile(/tmp/multipartBody226889017392954833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735865356825,"filename":"image_03012025_01_46_02_798917_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a5a70d7c880adbcf194b894a5dc0570a.jpg","text":"TemporaryFile(/tmp/multipartBody35727488422951381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735865356825,"filename":"image_03012025_01_47_02_556661_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7c9e1f23dc2e984afbe9f7ff9aef9b34.jpg","text":"TemporaryFile(/tmp/multipartBody3581128576266615825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735865356825,"filename":"image_03012025_01_47_02_556661_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9db3779d5177818565020c49eae4b8b4.jpg","text":"TemporaryFile(/tmp/multipartBody5491768153642153381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735865356825,"filename":"image_03012025_01_46_02_798917_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325664256","file1":"1325664254","file0":"1325664243","file4":"1325664264","file5":"1325664266","file3":"1325664261"},"map_files_photo_id_array":[{"photo_id":"1325664266","filename":"file5"},{"photo_id":"1325664256","filename":"file2"},{"photo_id":"1325664264","filename":"file4"},{"photo_id":"1325664254","filename":"file1"},{"photo_id":"1325664243","filename":"file0"},{"photo_id":"1325664261","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325664266":["hashtag1","hashtag2"]},{"1325664254":["hashtag1","hashtag2"]},{"1325664256":["hashtag1","hashtag2"]},{"1325664261":["hashtag1","hashtag2"]},{"1325664264":["hashtag1","hashtag2"]},{"1325664243":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325664266, 1325664254, 1325664256, 1325664261, 1325664264, 1325664243)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.960667848587036 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 01:49:03.322667
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/01/47/image_03012025_01_47_02_556661_0003.jpg', '/home/pi/Desktop/images/03012025/01/48/image_03012025_01_48_03_083328_0000.jpg', '/home/pi/Desktop/images/03012025/01/48/image_03012025_01_48_03_083328_0001.jpg', '/home/pi/Desktop/images/03012025/01/48/image_03012025_01_48_03_083328_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/01/47/image_03012025_01_47_02_556661_0003.jpg
/home/pi/Desktop/images/03012025/01/48/image_03012025_01_48_03_083328_0000.jpg
/home/pi/Desktop/images/03012025/01/48/image_03012025_01_48_03_083328_0001.jpg
/home/pi/Desktop/images/03012025/01/48/image_03012025_01_48_03_083328_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 8.372836828231812 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 01:49:22.776599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/01/47/image_03012025_01_47_02_556661_0003.jpg', '/home/pi/Desktop/images/03012025/01/48/image_03012025_01_48_03_083328_0000.jpg', '/home/pi/Desktop/images/03012025/01/48/image_03012025_01_48_03_083328_0001.jpg', '/home/pi/Desktop/images/03012025/01/48/image_03012025_01_48_03_083328_0002.jpg', '/home/pi/Desktop/images/03012025/01/48/image_03012025_01_48_03_083328_0003.jpg', '/home/pi/Desktop/images/03012025/01/49/image_03012025_01_49_02_599752_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/01/47/image_03012025_01_47_02_556661_0003.jpg
/home/pi/Desktop/images/03012025/01/48/image_03012025_01_48_03_083328_0000.jpg
/home/pi/Desktop/images/03012025/01/48/image_03012025_01_48_03_083328_0001.jpg
/home/pi/Desktop/images/03012025/01/48/image_03012025_01_48_03_083328_0002.jpg
/home/pi/Desktop/images/03012025/01/48/image_03012025_01_48_03_083328_0003.jpg
/home/pi/Desktop/images/03012025/01/49/image_03012025_01_49_02_599752_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325664284","1325664278","1325664280","1325664286","1325664288","1325664282"],"photo_ids_order":["1325664278","1325664280","1325664282","1325664284","1325664286","1325664288"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/613fe909b93be380c583b9706787ba61.jpg","text":"TemporaryFile(/tmp/multipartBody2632770064101779014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735865435682,"filename":"image_03012025_01_48_03_083328_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0cdc0f87e465979fcce197450d10d204.jpg","text":"TemporaryFile(/tmp/multipartBody432172598481228107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735865435682,"filename":"image_03012025_01_47_02_556661_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0591ad1582678efef6f7b3e047cd0736.jpg","text":"TemporaryFile(/tmp/multipartBody639062292038914297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735865435682,"filename":"image_03012025_01_48_03_083328_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/aae65e5585fcf8ddf979ccf4a09f867f.jpg","text":"TemporaryFile(/tmp/multipartBody7255247996598915312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735865435682,"filename":"image_03012025_01_48_03_083328_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/11dde467439a1938af7ba89c5e40dcdb.jpg","text":"TemporaryFile(/tmp/multipartBody6180351440919971459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735865435682,"filename":"image_03012025_01_49_02_599752_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/fc984435d45bc637c0a3143f9bc79616.jpg","text":"TemporaryFile(/tmp/multipartBody4218142102120539310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735865435682,"filename":"image_03012025_01_48_03_083328_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325664282","file1":"1325664280","file0":"1325664278","file4":"1325664286","file5":"1325664288","file3":"1325664284"},"map_files_photo_id_array":[{"photo_id":"1325664288","filename":"file5"},{"photo_id":"1325664282","filename":"file2"},{"photo_id":"1325664286","filename":"file4"},{"photo_id":"1325664280","filename":"file1"},{"photo_id":"1325664278","filename":"file0"},{"photo_id":"1325664284","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325664284":["hashtag1","hashtag2"]},{"1325664278":["hashtag1","hashtag2"]},{"1325664280":["hashtag1","hashtag2"]},{"1325664286":["hashtag1","hashtag2"]},{"1325664288":["hashtag1","hashtag2"]},{"1325664282":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325664284, 1325664278, 1325664280, 1325664286, 1325664288, 1325664282)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.53352999687195 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 01:50:22.377944
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/01/49/image_03012025_01_49_02_599752_0001.jpg', '/home/pi/Desktop/images/03012025/01/49/image_03012025_01_49_02_599752_0002.jpg', '/home/pi/Desktop/images/03012025/01/49/image_03012025_01_49_02_599752_0003.jpg', '/home/pi/Desktop/images/03012025/01/50/image_03012025_01_50_03_177361_0000.jpg', '/home/pi/Desktop/images/03012025/01/50/image_03012025_01_50_03_177361_0001.jpg', '/home/pi/Desktop/images/03012025/01/50/image_03012025_01_50_03_177361_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/01/49/image_03012025_01_49_02_599752_0001.jpg
/home/pi/Desktop/images/03012025/01/49/image_03012025_01_49_02_599752_0002.jpg
/home/pi/Desktop/images/03012025/01/49/image_03012025_01_49_02_599752_0003.jpg
/home/pi/Desktop/images/03012025/01/50/image_03012025_01_50_03_177361_0000.jpg
/home/pi/Desktop/images/03012025/01/50/image_03012025_01_50_03_177361_0001.jpg
/home/pi/Desktop/images/03012025/01/50/image_03012025_01_50_03_177361_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325664292","1325664307","1325664301","1325664310","1325664304","1325664297"],"photo_ids_order":["1325664292","1325664297","1325664301","1325664304","1325664307","1325664310"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/20057a87ba8fa258241342f96f315c56.jpg","text":"TemporaryFile(/tmp/multipartBody1674601009687312560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735865495322,"filename":"image_03012025_01_49_02_599752_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/62e5e674a7e832f6e37a633b7ad7af63.jpg","text":"TemporaryFile(/tmp/multipartBody3734933423275084134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735865495322,"filename":"image_03012025_01_50_03_177361_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d84971715a59a6d1ec1a1a25f3a399a8.jpg","text":"TemporaryFile(/tmp/multipartBody2394573793637423911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735865495322,"filename":"image_03012025_01_49_02_599752_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/46821ba0c076689d810b74538ccc45d2.jpg","text":"TemporaryFile(/tmp/multipartBody1324423847888356973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735865495322,"filename":"image_03012025_01_50_03_177361_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f82a38bf38b192d2debf8abb945c0ec0.jpg","text":"TemporaryFile(/tmp/multipartBody933865406184014580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735865495322,"filename":"image_03012025_01_50_03_177361_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f7abb3989ac30a1599748e053f33df8e.jpg","text":"TemporaryFile(/tmp/multipartBody3105928527742233200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735865495322,"filename":"image_03012025_01_49_02_599752_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325664301","file1":"1325664297","file0":"1325664292","file4":"1325664307","file5":"1325664310","file3":"1325664304"},"map_files_photo_id_array":[{"photo_id":"1325664310","filename":"file5"},{"photo_id":"1325664301","filename":"file2"},{"photo_id":"1325664307","filename":"file4"},{"photo_id":"1325664297","filename":"file1"},{"photo_id":"1325664292","filename":"file0"},{"photo_id":"1325664304","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325664292":["hashtag1","hashtag2"]},{"1325664307":["hashtag1","hashtag2"]},{"1325664301":["hashtag1","hashtag2"]},{"1325664310":["hashtag1","hashtag2"]},{"1325664304":["hashtag1","hashtag2"]},{"1325664297":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325664292, 1325664307, 1325664301, 1325664310, 1325664304, 1325664297)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.78092288970947 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 01:51:21.885004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/01/50/image_03012025_01_50_03_177361_0003.jpg', '/home/pi/Desktop/images/03012025/01/51/image_03012025_01_51_02_766372_0000.jpg', '/home/pi/Desktop/images/03012025/01/51/image_03012025_01_51_02_766372_0001.jpg', '/home/pi/Desktop/images/03012025/01/51/image_03012025_01_51_02_766372_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/01/50/image_03012025_01_50_03_177361_0003.jpg
/home/pi/Desktop/images/03012025/01/51/image_03012025_01_51_02_766372_0000.jpg
/home/pi/Desktop/images/03012025/01/51/image_03012025_01_51_02_766372_0001.jpg
/home/pi/Desktop/images/03012025/01/51/image_03012025_01_51_02_766372_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325664318","1325664314","1325664323","1325664316"],"photo_ids_order":["1325664314","1325664316","1325664318","1325664323"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c654bdc6cff5b52dc791200a35def241.jpg","text":"TemporaryFile(/tmp/multipartBody2483867767768310691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735865550301,"filename":"image_03012025_01_51_02_766372_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e69f820677be6942a7ec5e14d0b5ad57.jpg","text":"TemporaryFile(/tmp/multipartBody186238934417605406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735865550301,"filename":"image_03012025_01_50_03_177361_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/31c31d831312cc591bb1bae1489570b8.jpg","text":"TemporaryFile(/tmp/multipartBody4695311729827318287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735865550301,"filename":"image_03012025_01_51_02_766372_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/052e5ae216fc1ca92bc6537499fe3bd1.jpg","text":"TemporaryFile(/tmp/multipartBody6362441203345815485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735865550301,"filename":"image_03012025_01_51_02_766372_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325664318","file1":"1325664316","file0":"1325664314","file3":"1325664323"},"map_files_photo_id_array":[{"photo_id":"1325664318","filename":"file2"},{"photo_id":"1325664316","filename":"file1"},{"photo_id":"1325664314","filename":"file0"},{"photo_id":"1325664323","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325664318":["hashtag1","hashtag2"]},{"1325664314":["hashtag1","hashtag2"]},{"1325664323":["hashtag1","hashtag2"]},{"1325664316":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325664318, 1325664314, 1325664323, 1325664316)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.20573091506958 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 01:52:02.796645
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 01:52:22.393881
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/01/51/image_03012025_01_51_02_766372_0003.jpg', '/home/pi/Desktop/images/03012025/01/52/image_03012025_01_52_02_271159_0000.jpg', '/home/pi/Desktop/images/03012025/01/52/image_03012025_01_52_02_271159_0001.jpg', '/home/pi/Desktop/images/03012025/01/52/image_03012025_01_52_02_271159_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/01/51/image_03012025_01_51_02_766372_0003.jpg
/home/pi/Desktop/images/03012025/01/52/image_03012025_01_52_02_271159_0000.jpg
/home/pi/Desktop/images/03012025/01/52/image_03012025_01_52_02_271159_0001.jpg
/home/pi/Desktop/images/03012025/01/52/image_03012025_01_52_02_271159_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.764204740524292 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 01:53:02.374677
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/01/51/image_03012025_01_51_02_766372_0003.jpg', '/home/pi/Desktop/images/03012025/01/52/image_03012025_01_52_02_271159_0000.jpg', '/home/pi/Desktop/images/03012025/01/52/image_03012025_01_52_02_271159_0001.jpg', '/home/pi/Desktop/images/03012025/01/52/image_03012025_01_52_02_271159_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/01/51/image_03012025_01_51_02_766372_0003.jpg
/home/pi/Desktop/images/03012025/01/52/image_03012025_01_52_02_271159_0000.jpg
/home/pi/Desktop/images/03012025/01/52/image_03012025_01_52_02_271159_0001.jpg
/home/pi/Desktop/images/03012025/01/52/image_03012025_01_52_02_271159_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325664365","1325664362","1325664361","1325664360"],"photo_ids_order":["1325664360","1325664361","1325664362","1325664365"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/fcddb7f56e2f6e53d1fad6a3f862b6d5.jpg","text":"TemporaryFile(/tmp/multipartBody5820855198565938167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735865650602,"filename":"image_03012025_01_52_02_271159_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ab462250c68474d1888de465f027679d.jpg","text":"TemporaryFile(/tmp/multipartBody5009827607790893581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735865650602,"filename":"image_03012025_01_52_02_271159_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/afdfbffff4431a0fdc1dc98dd0f78c04.jpg","text":"TemporaryFile(/tmp/multipartBody5919217420055696134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735865650602,"filename":"image_03012025_01_52_02_271159_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/55d679b9790e04e413ac5e99ae4a6fca.jpg","text":"TemporaryFile(/tmp/multipartBody3050127165853191774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735865650602,"filename":"image_03012025_01_51_02_766372_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325664362","file1":"1325664361","file0":"1325664360","file3":"1325664365"},"map_files_photo_id_array":[{"photo_id":"1325664362","filename":"file2"},{"photo_id":"1325664361","filename":"file1"},{"photo_id":"1325664360","filename":"file0"},{"photo_id":"1325664365","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325664365":["hashtag1","hashtag2"]},{"1325664362":["hashtag1","hashtag2"]},{"1325664361":["hashtag1","hashtag2"]},{"1325664360":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325664365, 1325664362, 1325664361, 1325664360)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.03931999206543 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 01:54:03.051953
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/01/52/image_03012025_01_52_02_271159_0003.jpg', '/home/pi/Desktop/images/03012025/01/53/image_03012025_01_53_02_790934_0000.jpg', '/home/pi/Desktop/images/03012025/01/53/image_03012025_01_53_02_790934_0001.jpg', '/home/pi/Desktop/images/03012025/01/53/image_03012025_01_53_02_790934_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/01/52/image_03012025_01_52_02_271159_0003.jpg
/home/pi/Desktop/images/03012025/01/53/image_03012025_01_53_02_790934_0000.jpg
/home/pi/Desktop/images/03012025/01/53/image_03012025_01_53_02_790934_0001.jpg
/home/pi/Desktop/images/03012025/01/53/image_03012025_01_53_02_790934_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325664377","1325664376","1325664381","1325664378"],"photo_ids_order":["1325664376","1325664377","1325664378","1325664381"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ebf8b920d7d3d2f7410e03e3f61d70c6.jpg","text":"TemporaryFile(/tmp/multipartBody576094171872878017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735865710690,"filename":"image_03012025_01_53_02_790934_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c58b794056aff210ff98161990aa38a2.jpg","text":"TemporaryFile(/tmp/multipartBody4860569553468475803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735865710690,"filename":"image_03012025_01_52_02_271159_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0c7d85531e443632ab3afed50efa277a.jpg","text":"TemporaryFile(/tmp/multipartBody4957247063362382824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735865710690,"filename":"image_03012025_01_53_02_790934_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/08f4d76047debe88d12f3e4dff458f86.jpg","text":"TemporaryFile(/tmp/multipartBody6963843056486099450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735865710690,"filename":"image_03012025_01_53_02_790934_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325664378","file1":"1325664377","file0":"1325664376","file3":"1325664381"},"map_files_photo_id_array":[{"photo_id":"1325664378","filename":"file2"},{"photo_id":"1325664377","filename":"file1"},{"photo_id":"1325664376","filename":"file0"},{"photo_id":"1325664381","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325664377":["hashtag1","hashtag2"]},{"1325664376":["hashtag1","hashtag2"]},{"1325664381":["hashtag1","hashtag2"]},{"1325664378":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325664377, 1325664376, 1325664381, 1325664378)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.14139771461487 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 01:55:02.586973
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/01/53/image_03012025_01_53_02_790934_0003.jpg', '/home/pi/Desktop/images/03012025/01/54/image_03012025_01_54_02_275923_0000.jpg', '/home/pi/Desktop/images/03012025/01/54/image_03012025_01_54_02_275923_0001.jpg', '/home/pi/Desktop/images/03012025/01/54/image_03012025_01_54_02_275923_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/01/53/image_03012025_01_53_02_790934_0003.jpg
/home/pi/Desktop/images/03012025/01/54/image_03012025_01_54_02_275923_0000.jpg
/home/pi/Desktop/images/03012025/01/54/image_03012025_01_54_02_275923_0001.jpg
/home/pi/Desktop/images/03012025/01/54/image_03012025_01_54_02_275923_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325664423","1325664422","1325664425","1325664427"],"photo_ids_order":["1325664422","1325664423","1325664425","1325664427"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/39d085e5cc98b980aca2f14d95b9e5dd.jpg","text":"TemporaryFile(/tmp/multipartBody7697906550749264985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735865770412,"filename":"image_03012025_01_54_02_275923_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7d08808f495ea3b794b2bd25baaef48d.jpg","text":"TemporaryFile(/tmp/multipartBody3507209890777041918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735865770412,"filename":"image_03012025_01_53_02_790934_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e5f25b826a892cb582b058258b462d6e.jpg","text":"TemporaryFile(/tmp/multipartBody8497062661390850080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735865770412,"filename":"image_03012025_01_54_02_275923_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/867f3c8f6a450fe917524b0ca9178700.jpg","text":"TemporaryFile(/tmp/multipartBody9093566601132101457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735865770412,"filename":"image_03012025_01_54_02_275923_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325664425","file1":"1325664423","file0":"1325664422","file3":"1325664427"},"map_files_photo_id_array":[{"photo_id":"1325664425","filename":"file2"},{"photo_id":"1325664423","filename":"file1"},{"photo_id":"1325664422","filename":"file0"},{"photo_id":"1325664427","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325664423":["hashtag1","hashtag2"]},{"1325664422":["hashtag1","hashtag2"]},{"1325664425":["hashtag1","hashtag2"]},{"1325664427":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325664423, 1325664422, 1325664425, 1325664427)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.22171449661255 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 01:56:02.963213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/01/54/image_03012025_01_54_02_275923_0003.jpg', '/home/pi/Desktop/images/03012025/01/55/image_03012025_01_55_02_928061_0000.jpg', '/home/pi/Desktop/images/03012025/01/55/image_03012025_01_55_02_928061_0001.jpg', '/home/pi/Desktop/images/03012025/01/55/image_03012025_01_55_02_928061_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/01/54/image_03012025_01_54_02_275923_0003.jpg
/home/pi/Desktop/images/03012025/01/55/image_03012025_01_55_02_928061_0000.jpg
/home/pi/Desktop/images/03012025/01/55/image_03012025_01_55_02_928061_0001.jpg
/home/pi/Desktop/images/03012025/01/55/image_03012025_01_55_02_928061_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325664438","1325664440","1325664437","1325664436"],"photo_ids_order":["1325664436","1325664437","1325664438","1325664440"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5535558943cb6055318884c011c6646c.jpg","text":"TemporaryFile(/tmp/multipartBody3298371563708881273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735865830336,"filename":"image_03012025_01_55_02_928061_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1f59436231bea43de2eade4e6ff7f465.jpg","text":"TemporaryFile(/tmp/multipartBody4453724113480513017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735865830336,"filename":"image_03012025_01_55_02_928061_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/35f4e48f08589670a7c3a3a42d5a0990.jpg","text":"TemporaryFile(/tmp/multipartBody8868525346034054004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735865830336,"filename":"image_03012025_01_55_02_928061_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5087611ad3e2f80d54ccc8b946000115.jpg","text":"TemporaryFile(/tmp/multipartBody6580781013071449920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735865830336,"filename":"image_03012025_01_54_02_275923_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325664438","file1":"1325664437","file0":"1325664436","file3":"1325664440"},"map_files_photo_id_array":[{"photo_id":"1325664438","filename":"file2"},{"photo_id":"1325664437","filename":"file1"},{"photo_id":"1325664436","filename":"file0"},{"photo_id":"1325664440","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325664438":["hashtag1","hashtag2"]},{"1325664440":["hashtag1","hashtag2"]},{"1325664437":["hashtag1","hashtag2"]},{"1325664436":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325664438, 1325664440, 1325664437, 1325664436)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 36.37758111953735 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 01:57:02.690873
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/01/55/image_03012025_01_55_02_928061_0003.jpg', '/home/pi/Desktop/images/03012025/01/56/image_03012025_01_56_02_418297_0000.jpg', '/home/pi/Desktop/images/03012025/01/56/image_03012025_01_56_02_418297_0001.jpg', '/home/pi/Desktop/images/03012025/01/56/image_03012025_01_56_02_418297_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/01/55/image_03012025_01_55_02_928061_0003.jpg
/home/pi/Desktop/images/03012025/01/56/image_03012025_01_56_02_418297_0000.jpg
/home/pi/Desktop/images/03012025/01/56/image_03012025_01_56_02_418297_0001.jpg
/home/pi/Desktop/images/03012025/01/56/image_03012025_01_56_02_418297_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.336782455444336 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 01:57:22.121993
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/01/55/image_03012025_01_55_02_928061_0003.jpg', '/home/pi/Desktop/images/03012025/01/56/image_03012025_01_56_02_418297_0000.jpg', '/home/pi/Desktop/images/03012025/01/56/image_03012025_01_56_02_418297_0001.jpg', '/home/pi/Desktop/images/03012025/01/56/image_03012025_01_56_02_418297_0002.jpg', '/home/pi/Desktop/images/03012025/01/56/image_03012025_01_56_02_418297_0003.jpg', '/home/pi/Desktop/images/03012025/01/57/image_03012025_01_57_02_961325_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/01/55/image_03012025_01_55_02_928061_0003.jpg
/home/pi/Desktop/images/03012025/01/56/image_03012025_01_56_02_418297_0000.jpg
/home/pi/Desktop/images/03012025/01/56/image_03012025_01_56_02_418297_0001.jpg
/home/pi/Desktop/images/03012025/01/56/image_03012025_01_56_02_418297_0002.jpg
/home/pi/Desktop/images/03012025/01/56/image_03012025_01_56_02_418297_0003.jpg
/home/pi/Desktop/images/03012025/01/57/image_03012025_01_57_02_961325_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-03 01:59:02.536059
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/01/55/image_03012025_01_55_02_928061_0003.jpg', '/home/pi/Desktop/images/03012025/01/56/image_03012025_01_56_02_418297_0000.jpg', '/home/pi/Desktop/images/03012025/01/56/image_03012025_01_56_02_418297_0001.jpg', '/home/pi/Desktop/images/03012025/01/56/image_03012025_01_56_02_418297_0002.jpg', '/home/pi/Desktop/images/03012025/01/56/image_03012025_01_56_02_418297_0003.jpg', '/home/pi/Desktop/images/03012025/01/57/image_03012025_01_57_02_961325_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/01/55/image_03012025_01_55_02_928061_0003.jpg
/home/pi/Desktop/images/03012025/01/56/image_03012025_01_56_02_418297_0000.jpg
/home/pi/Desktop/images/03012025/01/56/image_03012025_01_56_02_418297_0001.jpg
/home/pi/Desktop/images/03012025/01/56/image_03012025_01_56_02_418297_0002.jpg
/home/pi/Desktop/images/03012025/01/56/image_03012025_01_56_02_418297_0003.jpg
/home/pi/Desktop/images/03012025/01/57/image_03012025_01_57_02_961325_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: 10.914715766906738 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 01:59:21.876124
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/01/55/image_03012025_01_55_02_928061_0003.jpg', '/home/pi/Desktop/images/03012025/01/56/image_03012025_01_56_02_418297_0000.jpg', '/home/pi/Desktop/images/03012025/01/56/image_03012025_01_56_02_418297_0001.jpg', '/home/pi/Desktop/images/03012025/01/56/image_03012025_01_56_02_418297_0002.jpg', '/home/pi/Desktop/images/03012025/01/56/image_03012025_01_56_02_418297_0003.jpg', '/home/pi/Desktop/images/03012025/01/57/image_03012025_01_57_02_961325_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/01/55/image_03012025_01_55_02_928061_0003.jpg
/home/pi/Desktop/images/03012025/01/56/image_03012025_01_56_02_418297_0000.jpg
/home/pi/Desktop/images/03012025/01/56/image_03012025_01_56_02_418297_0001.jpg
/home/pi/Desktop/images/03012025/01/56/image_03012025_01_56_02_418297_0002.jpg
/home/pi/Desktop/images/03012025/01/56/image_03012025_01_56_02_418297_0003.jpg
/home/pi/Desktop/images/03012025/01/57/image_03012025_01_57_02_961325_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325665730","1325665864","1325665866","1325665810","1325665878","1325665728"],"photo_ids_order":["1325665728","1325665730","1325665810","1325665864","1325665866","1325665878"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/eb940a2dfd91d6f84db5c8ba052d250b.jpg","text":"TemporaryFile(/tmp/multipartBody7449750874358004571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735866033105,"filename":"image_03012025_01_56_02_418297_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/fdfeb228dc3156c7bff15d22e87ed88b.jpg","text":"TemporaryFile(/tmp/multipartBody1656662068733659919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735866033105,"filename":"image_03012025_01_56_02_418297_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/035890862d657259f03644bb16061fa0.jpg","text":"TemporaryFile(/tmp/multipartBody5624188631806196515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735866033105,"filename":"image_03012025_01_56_02_418297_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/28bd7bff79d5827c79fe97778145fbc9.jpg","text":"TemporaryFile(/tmp/multipartBody453411982118485303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735866033105,"filename":"image_03012025_01_56_02_418297_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1f60313b0c725a3acf75c34e2b390f3a.jpg","text":"TemporaryFile(/tmp/multipartBody175310129848747400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735866033105,"filename":"image_03012025_01_57_02_961325_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/08ab35006ab1273c0734de2baa3d943f.jpg","text":"TemporaryFile(/tmp/multipartBody7463970604185973960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735866033105,"filename":"image_03012025_01_55_02_928061_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325665810","file1":"1325665730","file0":"1325665728","file4":"1325665866","file5":"1325665878","file3":"1325665864"},"map_files_photo_id_array":[{"photo_id":"1325665878","filename":"file5"},{"photo_id":"1325665810","filename":"file2"},{"photo_id":"1325665866","filename":"file4"},{"photo_id":"1325665730","filename":"file1"},{"photo_id":"1325665728","filename":"file0"},{"photo_id":"1325665864","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325665730":["hashtag1","hashtag2"]},{"1325665864":["hashtag1","hashtag2"]},{"1325665866":["hashtag1","hashtag2"]},{"1325665810":["hashtag1","hashtag2"]},{"1325665878":["hashtag1","hashtag2"]},{"1325665728":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325665730, 1325665864, 1325665866, 1325665810, 1325665878, 1325665728)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.900139570236206 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 02:00:22.589217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/01/57/image_03012025_01_57_02_961325_0001.jpg', '/home/pi/Desktop/images/03012025/01/57/image_03012025_01_57_02_961325_0002.jpg', '/home/pi/Desktop/images/03012025/01/57/image_03012025_01_57_02_961325_0003.jpg', '/home/pi/Desktop/images/03012025/01/58/image_03012025_01_58_02_497728_0000.jpg', '/home/pi/Desktop/images/03012025/01/58/image_03012025_01_58_02_497728_0001.jpg', '/home/pi/Desktop/images/03012025/01/58/image_03012025_01_58_02_497728_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/01/57/image_03012025_01_57_02_961325_0001.jpg
/home/pi/Desktop/images/03012025/01/57/image_03012025_01_57_02_961325_0002.jpg
/home/pi/Desktop/images/03012025/01/57/image_03012025_01_57_02_961325_0003.jpg
/home/pi/Desktop/images/03012025/01/58/image_03012025_01_58_02_497728_0000.jpg
/home/pi/Desktop/images/03012025/01/58/image_03012025_01_58_02_497728_0001.jpg
/home/pi/Desktop/images/03012025/01/58/image_03012025_01_58_02_497728_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325666036","1325665891","1325666101","1325666043","1325666099","1325666045"],"photo_ids_order":["1325665891","1325666036","1325666043","1325666045","1325666099","1325666101"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7f099ca5153faf972afbd3273fdc2ebe.jpg","text":"TemporaryFile(/tmp/multipartBody952549355745029704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735866094581,"filename":"image_03012025_01_57_02_961325_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a4ba8e5b0fa535ca10fcdfb013fc0049.jpg","text":"TemporaryFile(/tmp/multipartBody746789671039609742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735866094581,"filename":"image_03012025_01_57_02_961325_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0902e1c803665bd27b09e5c62dd7205d.jpg","text":"TemporaryFile(/tmp/multipartBody6133722604564537531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735866094581,"filename":"image_03012025_01_58_02_497728_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ba1f2d71bde03529e6e0afb8935fa219.jpg","text":"TemporaryFile(/tmp/multipartBody7087182005037536203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735866094581,"filename":"image_03012025_01_57_02_961325_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4d10f3379f93a4f51e9095695cbae1a6.jpg","text":"TemporaryFile(/tmp/multipartBody3415975416122159443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735866094581,"filename":"image_03012025_01_58_02_497728_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/461f74ffa4ed2cc366261159b5fa2283.jpg","text":"TemporaryFile(/tmp/multipartBody2825083360523633323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735866094581,"filename":"image_03012025_01_58_02_497728_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325666043","file1":"1325666036","file0":"1325665891","file4":"1325666099","file5":"1325666101","file3":"1325666045"},"map_files_photo_id_array":[{"photo_id":"1325666101","filename":"file5"},{"photo_id":"1325666043","filename":"file2"},{"photo_id":"1325666099","filename":"file4"},{"photo_id":"1325666036","filename":"file1"},{"photo_id":"1325665891","filename":"file0"},{"photo_id":"1325666045","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325666036":["hashtag1","hashtag2"]},{"1325665891":["hashtag1","hashtag2"]},{"1325666101":["hashtag1","hashtag2"]},{"1325666043":["hashtag1","hashtag2"]},{"1325666099":["hashtag1","hashtag2"]},{"1325666045":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325666036, 1325665891, 1325666101, 1325666043, 1325666099, 1325666045)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.060681104660034 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 02:01:22.248053
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/01/58/image_03012025_01_58_02_497728_0003.jpg', '/home/pi/Desktop/images/03012025/01/59/image_03012025_01_59_03_193886_0000.jpg', '/home/pi/Desktop/images/03012025/01/59/image_03012025_01_59_03_193886_0001.jpg', '/home/pi/Desktop/images/03012025/01/59/image_03012025_01_59_03_193886_0002.jpg', '/home/pi/Desktop/images/03012025/01/59/image_03012025_01_59_03_193886_0003.jpg', '/home/pi/Desktop/images/03012025/02/00/image_03012025_02_00_02_330347_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/01/58/image_03012025_01_58_02_497728_0003.jpg
/home/pi/Desktop/images/03012025/01/59/image_03012025_01_59_03_193886_0000.jpg
/home/pi/Desktop/images/03012025/01/59/image_03012025_01_59_03_193886_0001.jpg
/home/pi/Desktop/images/03012025/01/59/image_03012025_01_59_03_193886_0002.jpg
/home/pi/Desktop/images/03012025/01/59/image_03012025_01_59_03_193886_0003.jpg
/home/pi/Desktop/images/03012025/02/00/image_03012025_02_00_02_330347_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325666152","1325666145","1325666154","1325666148","1325666142","1325666139"],"photo_ids_order":["1325666139","1325666142","1325666145","1325666148","1325666152","1325666154"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/657305d77a1277f1bb66497738999509.jpg","text":"TemporaryFile(/tmp/multipartBody6542680410583500266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735866156220,"filename":"image_03012025_01_59_03_193886_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ba2b67ce9680d49291815eaa8b4b153a.jpg","text":"TemporaryFile(/tmp/multipartBody5698731350341173804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735866156220,"filename":"image_03012025_01_59_03_193886_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c1beac49d8d15d5376b35a51c4c4d6b6.jpg","text":"TemporaryFile(/tmp/multipartBody4805244473616439614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735866156220,"filename":"image_03012025_02_00_02_330347_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2f61ce9576a745b0797160a7ae8eee9f.jpg","text":"TemporaryFile(/tmp/multipartBody41613212208699324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735866156220,"filename":"image_03012025_01_59_03_193886_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/98d92e830b7e089a6697d8ff998023b5.jpg","text":"TemporaryFile(/tmp/multipartBody8967087798807452412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735866156220,"filename":"image_03012025_01_59_03_193886_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/35f58a561d96d9abd07d3d64ff379e28.jpg","text":"TemporaryFile(/tmp/multipartBody7473980734998245583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735866156220,"filename":"image_03012025_01_58_02_497728_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325666145","file1":"1325666142","file0":"1325666139","file4":"1325666152","file5":"1325666154","file3":"1325666148"},"map_files_photo_id_array":[{"photo_id":"1325666154","filename":"file5"},{"photo_id":"1325666145","filename":"file2"},{"photo_id":"1325666152","filename":"file4"},{"photo_id":"1325666142","filename":"file1"},{"photo_id":"1325666139","filename":"file0"},{"photo_id":"1325666148","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325666152":["hashtag1","hashtag2"]},{"1325666145":["hashtag1","hashtag2"]},{"1325666154":["hashtag1","hashtag2"]},{"1325666148":["hashtag1","hashtag2"]},{"1325666142":["hashtag1","hashtag2"]},{"1325666139":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325666152, 1325666145, 1325666154, 1325666148, 1325666142, 1325666139)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.29710078239441 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 02:02:21.792386
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/02/00/image_03012025_02_00_02_330347_0001.jpg', '/home/pi/Desktop/images/03012025/02/00/image_03012025_02_00_02_330347_0002.jpg', '/home/pi/Desktop/images/03012025/02/00/image_03012025_02_00_02_330347_0003.jpg', '/home/pi/Desktop/images/03012025/02/01/image_03012025_02_01_03_097185_0000.jpg', '/home/pi/Desktop/images/03012025/02/01/image_03012025_02_01_03_097185_0001.jpg', '/home/pi/Desktop/images/03012025/02/01/image_03012025_02_01_03_097185_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/02/00/image_03012025_02_00_02_330347_0001.jpg
/home/pi/Desktop/images/03012025/02/00/image_03012025_02_00_02_330347_0002.jpg
/home/pi/Desktop/images/03012025/02/00/image_03012025_02_00_02_330347_0003.jpg
/home/pi/Desktop/images/03012025/02/01/image_03012025_02_01_03_097185_0000.jpg
/home/pi/Desktop/images/03012025/02/01/image_03012025_02_01_03_097185_0001.jpg
/home/pi/Desktop/images/03012025/02/01/image_03012025_02_01_03_097185_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325666522","1325666596","1325666598","1325666592","1325666559","1325666594"],"photo_ids_order":["1325666522","1325666559","1325666592","1325666594","1325666596","1325666598"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/732a32e82530e76ecced42fab26d51e5.jpg","text":"TemporaryFile(/tmp/multipartBody3554858374054795819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735866217268,"filename":"image_03012025_02_00_02_330347_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d6c058b389eb2892cf4b9c88c5a0d785.jpg","text":"TemporaryFile(/tmp/multipartBody3528939203841114029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735866217268,"filename":"image_03012025_02_01_03_097185_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3c9471aeb6d7df0a557119625057a459.jpg","text":"TemporaryFile(/tmp/multipartBody77083013556784136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735866217268,"filename":"image_03012025_02_01_03_097185_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1ce368f3ee40c9a673bb7fda5254e7fc.jpg","text":"TemporaryFile(/tmp/multipartBody7467783322817317562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735866217268,"filename":"image_03012025_02_00_02_330347_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/97329e8ef4186cff750c7675ecc7bfd4.jpg","text":"TemporaryFile(/tmp/multipartBody1142099898357626615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735866217268,"filename":"image_03012025_02_00_02_330347_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7ad9a28cdb3bd732725ea61b7ad44a4e.jpg","text":"TemporaryFile(/tmp/multipartBody4614794741013323718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735866217268,"filename":"image_03012025_02_01_03_097185_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325666592","file1":"1325666559","file0":"1325666522","file4":"1325666596","file5":"1325666598","file3":"1325666594"},"map_files_photo_id_array":[{"photo_id":"1325666598","filename":"file5"},{"photo_id":"1325666592","filename":"file2"},{"photo_id":"1325666596","filename":"file4"},{"photo_id":"1325666559","filename":"file1"},{"photo_id":"1325666522","filename":"file0"},{"photo_id":"1325666594","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325666522":["hashtag1","hashtag2"]},{"1325666596":["hashtag1","hashtag2"]},{"1325666598":["hashtag1","hashtag2"]},{"1325666592":["hashtag1","hashtag2"]},{"1325666559":["hashtag1","hashtag2"]},{"1325666594":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325666522, 1325666596, 1325666598, 1325666592, 1325666559, 1325666594)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.24584126472473 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 02:03:22.292134
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/02/01/image_03012025_02_01_03_097185_0003.jpg', '/home/pi/Desktop/images/03012025/02/02/image_03012025_02_02_02_673567_0000.jpg', '/home/pi/Desktop/images/03012025/02/02/image_03012025_02_02_02_673567_0001.jpg', '/home/pi/Desktop/images/03012025/02/02/image_03012025_02_02_02_673567_0002.jpg', '/home/pi/Desktop/images/03012025/02/02/image_03012025_02_02_02_673567_0003.jpg', '/home/pi/Desktop/images/03012025/02/03/image_03012025_02_03_02_168740_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/02/01/image_03012025_02_01_03_097185_0003.jpg
/home/pi/Desktop/images/03012025/02/02/image_03012025_02_02_02_673567_0000.jpg
/home/pi/Desktop/images/03012025/02/02/image_03012025_02_02_02_673567_0001.jpg
/home/pi/Desktop/images/03012025/02/02/image_03012025_02_02_02_673567_0002.jpg
/home/pi/Desktop/images/03012025/02/02/image_03012025_02_02_02_673567_0003.jpg
/home/pi/Desktop/images/03012025/02/03/image_03012025_02_03_02_168740_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325666665","1325666691","1325666670","1325666688","1325666646","1325666627"],"photo_ids_order":["1325666627","1325666646","1325666665","1325666670","1325666688","1325666691"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/74afb31727cccb92ce2191147ab83dc3.jpg","text":"TemporaryFile(/tmp/multipartBody3725845507779377113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735866277649,"filename":"image_03012025_02_02_02_673567_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/06c056ce33d4b42f1684238711ff9e8a.jpg","text":"TemporaryFile(/tmp/multipartBody559121899687296024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735866277649,"filename":"image_03012025_02_03_02_168740_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e4bf06b7e801342fd74c0c53512205f3.jpg","text":"TemporaryFile(/tmp/multipartBody1535073485707123658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735866277649,"filename":"image_03012025_02_02_02_673567_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7354af052f20767c43ad12a7f5fac19e.jpg","text":"TemporaryFile(/tmp/multipartBody4187216387855110182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735866277649,"filename":"image_03012025_02_02_02_673567_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4b89c346345d51621a15920536679a66.jpg","text":"TemporaryFile(/tmp/multipartBody513196506909535795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735866277649,"filename":"image_03012025_02_02_02_673567_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7de84e99edb0dad5a609af334508c048.jpg","text":"TemporaryFile(/tmp/multipartBody8662376229283831203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735866277649,"filename":"image_03012025_02_01_03_097185_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325666665","file1":"1325666646","file0":"1325666627","file4":"1325666688","file5":"1325666691","file3":"1325666670"},"map_files_photo_id_array":[{"photo_id":"1325666691","filename":"file5"},{"photo_id":"1325666665","filename":"file2"},{"photo_id":"1325666688","filename":"file4"},{"photo_id":"1325666646","filename":"file1"},{"photo_id":"1325666627","filename":"file0"},{"photo_id":"1325666670","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325666665":["hashtag1","hashtag2"]},{"1325666691":["hashtag1","hashtag2"]},{"1325666670":["hashtag1","hashtag2"]},{"1325666688":["hashtag1","hashtag2"]},{"1325666646":["hashtag1","hashtag2"]},{"1325666627":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325666665, 1325666691, 1325666670, 1325666688, 1325666646, 1325666627)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.01180458068848 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 02:04:21.905735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/02/03/image_03012025_02_03_02_168740_0001.jpg', '/home/pi/Desktop/images/03012025/02/03/image_03012025_02_03_02_168740_0002.jpg', '/home/pi/Desktop/images/03012025/02/03/image_03012025_02_03_02_168740_0003.jpg', '/home/pi/Desktop/images/03012025/02/04/image_03012025_02_04_02_697708_0000.jpg', '/home/pi/Desktop/images/03012025/02/04/image_03012025_02_04_02_697708_0001.jpg', '/home/pi/Desktop/images/03012025/02/04/image_03012025_02_04_02_697708_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/02/03/image_03012025_02_03_02_168740_0001.jpg
/home/pi/Desktop/images/03012025/02/03/image_03012025_02_03_02_168740_0002.jpg
/home/pi/Desktop/images/03012025/02/03/image_03012025_02_03_02_168740_0003.jpg
/home/pi/Desktop/images/03012025/02/04/image_03012025_02_04_02_697708_0000.jpg
/home/pi/Desktop/images/03012025/02/04/image_03012025_02_04_02_697708_0001.jpg
/home/pi/Desktop/images/03012025/02/04/image_03012025_02_04_02_697708_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.885073184967041 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 02:05:02.998434
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/02/03/image_03012025_02_03_02_168740_0001.jpg', '/home/pi/Desktop/images/03012025/02/03/image_03012025_02_03_02_168740_0002.jpg', '/home/pi/Desktop/images/03012025/02/03/image_03012025_02_03_02_168740_0003.jpg', '/home/pi/Desktop/images/03012025/02/04/image_03012025_02_04_02_697708_0000.jpg', '/home/pi/Desktop/images/03012025/02/04/image_03012025_02_04_02_697708_0001.jpg', '/home/pi/Desktop/images/03012025/02/04/image_03012025_02_04_02_697708_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/02/03/image_03012025_02_03_02_168740_0001.jpg
/home/pi/Desktop/images/03012025/02/03/image_03012025_02_03_02_168740_0002.jpg
/home/pi/Desktop/images/03012025/02/03/image_03012025_02_03_02_168740_0003.jpg
/home/pi/Desktop/images/03012025/02/04/image_03012025_02_04_02_697708_0000.jpg
/home/pi/Desktop/images/03012025/02/04/image_03012025_02_04_02_697708_0001.jpg
/home/pi/Desktop/images/03012025/02/04/image_03012025_02_04_02_697708_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325666877","1325666880","1325666888","1325666882","1325666885","1325666879"],"photo_ids_order":["1325666877","1325666879","1325666880","1325666882","1325666885","1325666888"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6465fd5313620d6f9306625df7f1b0ac.jpg","text":"TemporaryFile(/tmp/multipartBody7987246483958627894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735866378388,"filename":"image_03012025_02_03_02_168740_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/885348847ab828086141af1d6102dd06.jpg","text":"TemporaryFile(/tmp/multipartBody4367020520723379670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735866378388,"filename":"image_03012025_02_03_02_168740_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/db06f370cf1f22bb1d8e062c509e0c32.jpg","text":"TemporaryFile(/tmp/multipartBody384332704229265372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735866378388,"filename":"image_03012025_02_04_02_697708_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/bd4268398a17b60eb50d94d073713118.jpg","text":"TemporaryFile(/tmp/multipartBody1132726251881157364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735866378388,"filename":"image_03012025_02_04_02_697708_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6fc42bbc7ec6d2df3f07021581c0e5a1.jpg","text":"TemporaryFile(/tmp/multipartBody1673941767500481143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735866378388,"filename":"image_03012025_02_04_02_697708_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/87748aff380915a36fcb342630a35e2d.jpg","text":"TemporaryFile(/tmp/multipartBody24978193321676802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735866378388,"filename":"image_03012025_02_03_02_168740_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325666880","file1":"1325666879","file0":"1325666877","file4":"1325666885","file5":"1325666888","file3":"1325666882"},"map_files_photo_id_array":[{"photo_id":"1325666888","filename":"file5"},{"photo_id":"1325666880","filename":"file2"},{"photo_id":"1325666885","filename":"file4"},{"photo_id":"1325666879","filename":"file1"},{"photo_id":"1325666877","filename":"file0"},{"photo_id":"1325666882","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325666877":["hashtag1","hashtag2"]},{"1325666880":["hashtag1","hashtag2"]},{"1325666888":["hashtag1","hashtag2"]},{"1325666882":["hashtag1","hashtag2"]},{"1325666885":["hashtag1","hashtag2"]},{"1325666879":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325666877, 1325666880, 1325666888, 1325666882, 1325666885, 1325666879)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.68540716171265 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 02:06:02.461457
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/02/04/image_03012025_02_04_02_697708_0003.jpg', '/home/pi/Desktop/images/03012025/02/05/image_03012025_02_05_02_249844_0000.jpg', '/home/pi/Desktop/images/03012025/02/05/image_03012025_02_05_02_249844_0001.jpg', '/home/pi/Desktop/images/03012025/02/05/image_03012025_02_05_02_249844_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/02/04/image_03012025_02_04_02_697708_0003.jpg
/home/pi/Desktop/images/03012025/02/05/image_03012025_02_05_02_249844_0000.jpg
/home/pi/Desktop/images/03012025/02/05/image_03012025_02_05_02_249844_0001.jpg
/home/pi/Desktop/images/03012025/02/05/image_03012025_02_05_02_249844_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325666893","1325666896","1325666894","1325666897"],"photo_ids_order":["1325666893","1325666894","1325666896","1325666897"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1148485ab5a245010701e19d54f08ab5.jpg","text":"TemporaryFile(/tmp/multipartBody628573854802872843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735866432822,"filename":"image_03012025_02_04_02_697708_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d8b64866159df1e5941923dfa678b655.jpg","text":"TemporaryFile(/tmp/multipartBody8109570243273452017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735866432822,"filename":"image_03012025_02_05_02_249844_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/279f087ca8ff41cfffa95efa15b5c1c3.jpg","text":"TemporaryFile(/tmp/multipartBody2323297883598014544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735866432822,"filename":"image_03012025_02_05_02_249844_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8467800fd2ced75c55d9e9f3c09db81c.jpg","text":"TemporaryFile(/tmp/multipartBody4539741979951785372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735866432822,"filename":"image_03012025_02_05_02_249844_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325666896","file1":"1325666894","file0":"1325666893","file3":"1325666897"},"map_files_photo_id_array":[{"photo_id":"1325666896","filename":"file2"},{"photo_id":"1325666894","filename":"file1"},{"photo_id":"1325666893","filename":"file0"},{"photo_id":"1325666897","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325666893":["hashtag1","hashtag2"]},{"1325666896":["hashtag1","hashtag2"]},{"1325666894":["hashtag1","hashtag2"]},{"1325666897":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325666893, 1325666896, 1325666894, 1325666897)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.900901317596436 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 02:07:03.239313
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/02/05/image_03012025_02_05_02_249844_0003.jpg', '/home/pi/Desktop/images/03012025/02/06/image_03012025_02_06_02_815080_0000.jpg', '/home/pi/Desktop/images/03012025/02/06/image_03012025_02_06_02_815080_0001.jpg', '/home/pi/Desktop/images/03012025/02/06/image_03012025_02_06_02_815080_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/02/05/image_03012025_02_05_02_249844_0003.jpg
/home/pi/Desktop/images/03012025/02/06/image_03012025_02_06_02_815080_0000.jpg
/home/pi/Desktop/images/03012025/02/06/image_03012025_02_06_02_815080_0001.jpg
/home/pi/Desktop/images/03012025/02/06/image_03012025_02_06_02_815080_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.021414518356323 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 02:07:22.525986
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/02/05/image_03012025_02_05_02_249844_0003.jpg', '/home/pi/Desktop/images/03012025/02/06/image_03012025_02_06_02_815080_0000.jpg', '/home/pi/Desktop/images/03012025/02/06/image_03012025_02_06_02_815080_0001.jpg', '/home/pi/Desktop/images/03012025/02/06/image_03012025_02_06_02_815080_0002.jpg', '/home/pi/Desktop/images/03012025/02/06/image_03012025_02_06_02_815080_0003.jpg', '/home/pi/Desktop/images/03012025/02/07/image_03012025_02_07_02_437957_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/02/05/image_03012025_02_05_02_249844_0003.jpg
/home/pi/Desktop/images/03012025/02/06/image_03012025_02_06_02_815080_0000.jpg
/home/pi/Desktop/images/03012025/02/06/image_03012025_02_06_02_815080_0001.jpg
/home/pi/Desktop/images/03012025/02/06/image_03012025_02_06_02_815080_0002.jpg
/home/pi/Desktop/images/03012025/02/06/image_03012025_02_06_02_815080_0003.jpg
/home/pi/Desktop/images/03012025/02/07/image_03012025_02_07_02_437957_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325667133","1325667127","1325667135","1325667129","1325667137","1325667131"],"photo_ids_order":["1325667127","1325667129","1325667131","1325667133","1325667135","1325667137"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c301341d11f2f60a9a9522f9e84015c3.jpg","text":"TemporaryFile(/tmp/multipartBody3604704270812882777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735866517854,"filename":"image_03012025_02_06_02_815080_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a6be26f9052e26cc9bf97c1b8df52b06.jpg","text":"TemporaryFile(/tmp/multipartBody6798710449997913569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735866517854,"filename":"image_03012025_02_05_02_249844_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/03c596d743714f3efc56f7254fad524d.jpg","text":"TemporaryFile(/tmp/multipartBody7947281556477457221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735866517854,"filename":"image_03012025_02_06_02_815080_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6c7097bfb7265a3e4e592c3abe0beb44.jpg","text":"TemporaryFile(/tmp/multipartBody7106362039191410927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735866517854,"filename":"image_03012025_02_06_02_815080_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/bcdbc26135598df146bbd4844a8a7b8c.jpg","text":"TemporaryFile(/tmp/multipartBody1169798090970362397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735866517854,"filename":"image_03012025_02_07_02_437957_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4990935620d2473cc9b3b4abc2f466e3.jpg","text":"TemporaryFile(/tmp/multipartBody5276700109064163439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735866517854,"filename":"image_03012025_02_06_02_815080_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325667131","file1":"1325667129","file0":"1325667127","file4":"1325667135","file5":"1325667137","file3":"1325667133"},"map_files_photo_id_array":[{"photo_id":"1325667137","filename":"file5"},{"photo_id":"1325667131","filename":"file2"},{"photo_id":"1325667135","filename":"file4"},{"photo_id":"1325667129","filename":"file1"},{"photo_id":"1325667127","filename":"file0"},{"photo_id":"1325667133","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325667133":["hashtag1","hashtag2"]},{"1325667127":["hashtag1","hashtag2"]},{"1325667135":["hashtag1","hashtag2"]},{"1325667129":["hashtag1","hashtag2"]},{"1325667137":["hashtag1","hashtag2"]},{"1325667131":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325667133, 1325667127, 1325667135, 1325667129, 1325667137, 1325667131)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.28396987915039 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 02:08:22.281562
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/02/07/image_03012025_02_07_02_437957_0001.jpg', '/home/pi/Desktop/images/03012025/02/07/image_03012025_02_07_02_437957_0002.jpg', '/home/pi/Desktop/images/03012025/02/07/image_03012025_02_07_02_437957_0003.jpg', '/home/pi/Desktop/images/03012025/02/08/image_03012025_02_08_02_942757_0000.jpg', '/home/pi/Desktop/images/03012025/02/08/image_03012025_02_08_02_942757_0001.jpg', '/home/pi/Desktop/images/03012025/02/08/image_03012025_02_08_02_942757_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/02/07/image_03012025_02_07_02_437957_0001.jpg
/home/pi/Desktop/images/03012025/02/07/image_03012025_02_07_02_437957_0002.jpg
/home/pi/Desktop/images/03012025/02/07/image_03012025_02_07_02_437957_0003.jpg
/home/pi/Desktop/images/03012025/02/08/image_03012025_02_08_02_942757_0000.jpg
/home/pi/Desktop/images/03012025/02/08/image_03012025_02_08_02_942757_0001.jpg
/home/pi/Desktop/images/03012025/02/08/image_03012025_02_08_02_942757_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325667427","1325667142","1325667552","1325667455","1325667401","1325667193"],"photo_ids_order":["1325667142","1325667193","1325667401","1325667427","1325667455","1325667552"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/995ef23828eb59c81c9f9eed6642fa3d.jpg","text":"TemporaryFile(/tmp/multipartBody555786157207794974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735866577479,"filename":"image_03012025_02_08_02_942757_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ba824bbf8294f6243c2aa03d07ad8813.jpg","text":"TemporaryFile(/tmp/multipartBody8076995892553199557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735866577479,"filename":"image_03012025_02_07_02_437957_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/014c942479787dcba5250d67ed0c4399.jpg","text":"TemporaryFile(/tmp/multipartBody592971410825742759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735866577479,"filename":"image_03012025_02_08_02_942757_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/06a2fa82acdb4cb51d59978eaa9986a8.jpg","text":"TemporaryFile(/tmp/multipartBody8703624935655505812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735866577479,"filename":"image_03012025_02_08_02_942757_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e42b50420faf6b4c4a45df748619adc1.jpg","text":"TemporaryFile(/tmp/multipartBody2997980791084909556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735866577479,"filename":"image_03012025_02_07_02_437957_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/675f100c3d58811b8b88f492f910db4b.jpg","text":"TemporaryFile(/tmp/multipartBody1549392771590809375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735866577479,"filename":"image_03012025_02_07_02_437957_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325667401","file1":"1325667193","file0":"1325667142","file4":"1325667455","file5":"1325667552","file3":"1325667427"},"map_files_photo_id_array":[{"photo_id":"1325667552","filename":"file5"},{"photo_id":"1325667401","filename":"file2"},{"photo_id":"1325667455","filename":"file4"},{"photo_id":"1325667193","filename":"file1"},{"photo_id":"1325667142","filename":"file0"},{"photo_id":"1325667427","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325667427":["hashtag1","hashtag2"]},{"1325667142":["hashtag1","hashtag2"]},{"1325667552":["hashtag1","hashtag2"]},{"1325667455":["hashtag1","hashtag2"]},{"1325667401":["hashtag1","hashtag2"]},{"1325667193":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325667427, 1325667142, 1325667552, 1325667455, 1325667401, 1325667193)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.93163442611694 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 02:09:22.724243
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/02/08/image_03012025_02_08_02_942757_0003.jpg', '/home/pi/Desktop/images/03012025/02/09/image_03012025_02_09_02_613453_0000.jpg', '/home/pi/Desktop/images/03012025/02/09/image_03012025_02_09_02_613453_0001.jpg', '/home/pi/Desktop/images/03012025/02/09/image_03012025_02_09_02_613453_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/02/08/image_03012025_02_08_02_942757_0003.jpg
/home/pi/Desktop/images/03012025/02/09/image_03012025_02_09_02_613453_0000.jpg
/home/pi/Desktop/images/03012025/02/09/image_03012025_02_09_02_613453_0001.jpg
/home/pi/Desktop/images/03012025/02/09/image_03012025_02_09_02_613453_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325667871","1325667865","1325667868","1325667879"],"photo_ids_order":["1325667865","1325667868","1325667871","1325667879"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/14fd006bbb4c40550e696da7c114dd7b.jpg","text":"TemporaryFile(/tmp/multipartBody3985155480146583705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735866633213,"filename":"image_03012025_02_09_02_613453_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a6c1dca75ace6c1073dd41cad96bf3ed.jpg","text":"TemporaryFile(/tmp/multipartBody3055636232657014770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735866633213,"filename":"image_03012025_02_08_02_942757_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1e91b4ae9d22fcc51dd294d82a002282.jpg","text":"TemporaryFile(/tmp/multipartBody851225100020421832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735866633213,"filename":"image_03012025_02_09_02_613453_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/747bc4fc41dd1fefec10b6d851e42603.jpg","text":"TemporaryFile(/tmp/multipartBody2229456461724308731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735866633213,"filename":"image_03012025_02_09_02_613453_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325667871","file1":"1325667868","file0":"1325667865","file3":"1325667879"},"map_files_photo_id_array":[{"photo_id":"1325667871","filename":"file2"},{"photo_id":"1325667868","filename":"file1"},{"photo_id":"1325667865","filename":"file0"},{"photo_id":"1325667879","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325667871":["hashtag1","hashtag2"]},{"1325667865":["hashtag1","hashtag2"]},{"1325667868":["hashtag1","hashtag2"]},{"1325667879":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325667871, 1325667865, 1325667868, 1325667879)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.770081996917725 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 02:10:02.738321
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 02:10:22.223905
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/02/09/image_03012025_02_09_02_613453_0003.jpg', '/home/pi/Desktop/images/03012025/02/10/image_03012025_02_10_03_129553_0000.jpg', '/home/pi/Desktop/images/03012025/02/10/image_03012025_02_10_03_129553_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/02/09/image_03012025_02_09_02_613453_0003.jpg
/home/pi/Desktop/images/03012025/02/10/image_03012025_02_10_03_129553_0000.jpg
/home/pi/Desktop/images/03012025/02/10/image_03012025_02_10_03_129553_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.4660749435424805 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 02:11:02.676906
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/02/09/image_03012025_02_09_02_613453_0003.jpg', '/home/pi/Desktop/images/03012025/02/10/image_03012025_02_10_03_129553_0000.jpg', '/home/pi/Desktop/images/03012025/02/10/image_03012025_02_10_03_129553_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/02/09/image_03012025_02_09_02_613453_0003.jpg
/home/pi/Desktop/images/03012025/02/10/image_03012025_02_10_03_129553_0000.jpg
/home/pi/Desktop/images/03012025/02/10/image_03012025_02_10_03_129553_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325667907","1325667906","1325667905"],"photo_ids_order":["1325667905","1325667906","1325667907"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/bf208b6607df004c85d241f5c0b033f4.jpg","text":"TemporaryFile(/tmp/multipartBody4971400088165740602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735866730617,"filename":"image_03012025_02_10_03_129553_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/041dcb3a04ac45292d136cc249d51542.jpg","text":"TemporaryFile(/tmp/multipartBody4343659231571115258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735866730617,"filename":"image_03012025_02_10_03_129553_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/450e6d4f6f8c79cadb465f08dde903d9.jpg","text":"TemporaryFile(/tmp/multipartBody3083415736825072881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735866730617,"filename":"image_03012025_02_09_02_613453_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325667907","file1":"1325667906","file0":"1325667905"},"map_files_photo_id_array":[{"photo_id":"1325667907","filename":"file2"},{"photo_id":"1325667906","filename":"file1"},{"photo_id":"1325667905","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325667907":["hashtag1","hashtag2"]},{"1325667906":["hashtag1","hashtag2"]},{"1325667905":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325667907, 1325667906, 1325667905)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.23487401008606 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 02:12:03.154511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/02/10/image_03012025_02_10_03_129553_0002.jpg', '/home/pi/Desktop/images/03012025/02/11/image_03012025_02_11_02_584007_0000.jpg', '/home/pi/Desktop/images/03012025/02/11/image_03012025_02_11_02_584007_0001.jpg', '/home/pi/Desktop/images/03012025/02/11/image_03012025_02_11_02_584007_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/02/10/image_03012025_02_10_03_129553_0002.jpg
/home/pi/Desktop/images/03012025/02/11/image_03012025_02_11_02_584007_0000.jpg
/home/pi/Desktop/images/03012025/02/11/image_03012025_02_11_02_584007_0001.jpg
/home/pi/Desktop/images/03012025/02/11/image_03012025_02_11_02_584007_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.903400897979736 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 02:12:22.634976
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/02/10/image_03012025_02_10_03_129553_0002.jpg', '/home/pi/Desktop/images/03012025/02/11/image_03012025_02_11_02_584007_0000.jpg', '/home/pi/Desktop/images/03012025/02/11/image_03012025_02_11_02_584007_0001.jpg', '/home/pi/Desktop/images/03012025/02/11/image_03012025_02_11_02_584007_0002.jpg', '/home/pi/Desktop/images/03012025/02/11/image_03012025_02_11_02_584007_0003.jpg', '/home/pi/Desktop/images/03012025/02/12/image_03012025_02_12_02_423425_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/02/10/image_03012025_02_10_03_129553_0002.jpg
/home/pi/Desktop/images/03012025/02/11/image_03012025_02_11_02_584007_0000.jpg
/home/pi/Desktop/images/03012025/02/11/image_03012025_02_11_02_584007_0001.jpg
/home/pi/Desktop/images/03012025/02/11/image_03012025_02_11_02_584007_0002.jpg
/home/pi/Desktop/images/03012025/02/11/image_03012025_02_11_02_584007_0003.jpg
/home/pi/Desktop/images/03012025/02/12/image_03012025_02_12_02_423425_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325668246","1325668368","1325668248","1325668250","1325668288","1325668024"],"photo_ids_order":["1325668024","1325668246","1325668248","1325668250","1325668288","1325668368"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1583bb1d7e27aa67ebfad110f8238e46.jpg","text":"TemporaryFile(/tmp/multipartBody4005128226397772288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735866817754,"filename":"image_03012025_02_11_02_584007_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2107fe4026a642064308ff0a8261e42b.jpg","text":"TemporaryFile(/tmp/multipartBody1689287390335058735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735866817754,"filename":"image_03012025_02_12_02_423425_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b478d106cbe9fae216c31b58d166d252.jpg","text":"TemporaryFile(/tmp/multipartBody4570090816202309317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735866817754,"filename":"image_03012025_02_11_02_584007_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/851473a7443c0be50605d07e77bf786a.jpg","text":"TemporaryFile(/tmp/multipartBody6922911292451714766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735866817754,"filename":"image_03012025_02_11_02_584007_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/86d3a43e17630632dea71296eb89773a.jpg","text":"TemporaryFile(/tmp/multipartBody8574332727278869134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735866817754,"filename":"image_03012025_02_11_02_584007_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/34f75bda0e5b9a3b49d7a0dc1c67de49.jpg","text":"TemporaryFile(/tmp/multipartBody2835899012302872582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735866817754,"filename":"image_03012025_02_10_03_129553_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325668248","file1":"1325668246","file0":"1325668024","file4":"1325668288","file5":"1325668368","file3":"1325668250"},"map_files_photo_id_array":[{"photo_id":"1325668368","filename":"file5"},{"photo_id":"1325668248","filename":"file2"},{"photo_id":"1325668288","filename":"file4"},{"photo_id":"1325668246","filename":"file1"},{"photo_id":"1325668024","filename":"file0"},{"photo_id":"1325668250","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325668246":["hashtag1","hashtag2"]},{"1325668368":["hashtag1","hashtag2"]},{"1325668248":["hashtag1","hashtag2"]},{"1325668250":["hashtag1","hashtag2"]},{"1325668288":["hashtag1","hashtag2"]},{"1325668024":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325668246, 1325668368, 1325668248, 1325668250, 1325668288, 1325668024)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.34123396873474 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 02:13:22.109007
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/02/12/image_03012025_02_12_02_423425_0001.jpg', '/home/pi/Desktop/images/03012025/02/12/image_03012025_02_12_02_423425_0002.jpg', '/home/pi/Desktop/images/03012025/02/12/image_03012025_02_12_02_423425_0003.jpg', '/home/pi/Desktop/images/03012025/02/13/image_03012025_02_13_03_010486_0000.jpg', '/home/pi/Desktop/images/03012025/02/13/image_03012025_02_13_03_010486_0001.jpg', '/home/pi/Desktop/images/03012025/02/13/image_03012025_02_13_03_010486_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/02/12/image_03012025_02_12_02_423425_0001.jpg
/home/pi/Desktop/images/03012025/02/12/image_03012025_02_12_02_423425_0002.jpg
/home/pi/Desktop/images/03012025/02/12/image_03012025_02_12_02_423425_0003.jpg
/home/pi/Desktop/images/03012025/02/13/image_03012025_02_13_03_010486_0000.jpg
/home/pi/Desktop/images/03012025/02/13/image_03012025_02_13_03_010486_0001.jpg
/home/pi/Desktop/images/03012025/02/13/image_03012025_02_13_03_010486_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325669492","1325669246","1325669494","1325669392","1325669490","1325668930"],"photo_ids_order":["1325668930","1325669246","1325669392","1325669490","1325669492","1325669494"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/54da6ecbc13240b487e7a5e905533803.jpg","text":"TemporaryFile(/tmp/multipartBody7783324513356516310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735866877323,"filename":"image_03012025_02_13_03_010486_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/31cc73fe5ebec95a4af0ce86a65fde29.jpg","text":"TemporaryFile(/tmp/multipartBody5537781227361373585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735866877323,"filename":"image_03012025_02_12_02_423425_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2481ac1b651e3375b10a90b341ed7694.jpg","text":"TemporaryFile(/tmp/multipartBody876674028760635560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735866877323,"filename":"image_03012025_02_13_03_010486_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f38c7ed46c08326204559353cf6820a9.jpg","text":"TemporaryFile(/tmp/multipartBody8715274348780261949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735866877323,"filename":"image_03012025_02_12_02_423425_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b577dd707577cd4b468d38ba4075e34f.jpg","text":"TemporaryFile(/tmp/multipartBody6678541004843471888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735866877323,"filename":"image_03012025_02_13_03_010486_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3d36caf9602924107b264dc65bd78637.jpg","text":"TemporaryFile(/tmp/multipartBody5727346028011387299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735866877323,"filename":"image_03012025_02_12_02_423425_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325669392","file1":"1325669246","file0":"1325668930","file4":"1325669492","file5":"1325669494","file3":"1325669490"},"map_files_photo_id_array":[{"photo_id":"1325669494","filename":"file5"},{"photo_id":"1325669392","filename":"file2"},{"photo_id":"1325669492","filename":"file4"},{"photo_id":"1325669246","filename":"file1"},{"photo_id":"1325668930","filename":"file0"},{"photo_id":"1325669490","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325669492":["hashtag1","hashtag2"]},{"1325669246":["hashtag1","hashtag2"]},{"1325669494":["hashtag1","hashtag2"]},{"1325669392":["hashtag1","hashtag2"]},{"1325669490":["hashtag1","hashtag2"]},{"1325668930":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325669492, 1325669246, 1325669494, 1325669392, 1325669490, 1325668930)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.925257205963135 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 02:14:22.684978
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/02/13/image_03012025_02_13_03_010486_0003.jpg', '/home/pi/Desktop/images/03012025/02/14/image_03012025_02_14_02_555129_0000.jpg', '/home/pi/Desktop/images/03012025/02/14/image_03012025_02_14_02_555129_0001.jpg', '/home/pi/Desktop/images/03012025/02/14/image_03012025_02_14_02_555129_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/02/13/image_03012025_02_13_03_010486_0003.jpg
/home/pi/Desktop/images/03012025/02/14/image_03012025_02_14_02_555129_0000.jpg
/home/pi/Desktop/images/03012025/02/14/image_03012025_02_14_02_555129_0001.jpg
/home/pi/Desktop/images/03012025/02/14/image_03012025_02_14_02_555129_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325669922","1325669777","1325670251","1325670647"],"photo_ids_order":["1325669777","1325669922","1325670251","1325670647"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/379df6d0a4799616071ecab4084034e2.jpg","text":"TemporaryFile(/tmp/multipartBody4405072364400532262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735866933228,"filename":"image_03012025_02_14_02_555129_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/044364b91ae102254c6c244143db7e38.jpg","text":"TemporaryFile(/tmp/multipartBody978230792233801092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735866933228,"filename":"image_03012025_02_13_03_010486_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4928fe85d40562122ae92afd7c05e0a7.jpg","text":"TemporaryFile(/tmp/multipartBody6889683622691153588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735866933228,"filename":"image_03012025_02_14_02_555129_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a031f897f75298f8e15e680763aab37e.jpg","text":"TemporaryFile(/tmp/multipartBody6577052798651005032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735866933228,"filename":"image_03012025_02_14_02_555129_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325670251","file1":"1325669922","file0":"1325669777","file3":"1325670647"},"map_files_photo_id_array":[{"photo_id":"1325670251","filename":"file2"},{"photo_id":"1325669922","filename":"file1"},{"photo_id":"1325669777","filename":"file0"},{"photo_id":"1325670647","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325669922":["hashtag1","hashtag2"]},{"1325669777":["hashtag1","hashtag2"]},{"1325670251":["hashtag1","hashtag2"]},{"1325670647":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325669922, 1325669777, 1325670251, 1325670647)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.255956172943115 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 02:15:22.258665
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/02/14/image_03012025_02_14_02_555129_0003.jpg', '/home/pi/Desktop/images/03012025/02/15/image_03012025_02_15_03_103979_0000.jpg', '/home/pi/Desktop/images/03012025/02/15/image_03012025_02_15_03_103979_0001.jpg', '/home/pi/Desktop/images/03012025/02/15/image_03012025_02_15_03_103979_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/02/14/image_03012025_02_14_02_555129_0003.jpg
/home/pi/Desktop/images/03012025/02/15/image_03012025_02_15_03_103979_0000.jpg
/home/pi/Desktop/images/03012025/02/15/image_03012025_02_15_03_103979_0001.jpg
/home/pi/Desktop/images/03012025/02/15/image_03012025_02_15_03_103979_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325670930","1325671156","1325671179","1325670934"],"photo_ids_order":["1325670930","1325670934","1325671156","1325671179"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e488499d373a7d37b1831c49fbd1c241.jpg","text":"TemporaryFile(/tmp/multipartBody7440527850083317549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735866992627,"filename":"image_03012025_02_14_02_555129_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/cb1c36dad6a89cdbeddcd5f561c4fb72.jpg","text":"TemporaryFile(/tmp/multipartBody6088800965223110804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735866992627,"filename":"image_03012025_02_15_03_103979_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b7af3f79206a2bfcbf62a187c9d52d1e.jpg","text":"TemporaryFile(/tmp/multipartBody7948377250853553253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735866992627,"filename":"image_03012025_02_15_03_103979_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/31e7fd4ddcd1b10a767f060443e6335c.jpg","text":"TemporaryFile(/tmp/multipartBody3648319719295907498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735866992627,"filename":"image_03012025_02_15_03_103979_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325671156","file1":"1325670934","file0":"1325670930","file3":"1325671179"},"map_files_photo_id_array":[{"photo_id":"1325671156","filename":"file2"},{"photo_id":"1325670934","filename":"file1"},{"photo_id":"1325670930","filename":"file0"},{"photo_id":"1325671179","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325670930":["hashtag1","hashtag2"]},{"1325671156":["hashtag1","hashtag2"]},{"1325671179":["hashtag1","hashtag2"]},{"1325670934":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325670930, 1325671156, 1325671179, 1325670934)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.22919273376465 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 02:16:21.731865
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/02/15/image_03012025_02_15_03_103979_0003.jpg', '/home/pi/Desktop/images/03012025/02/16/image_03012025_02_16_02_629685_0000.jpg', '/home/pi/Desktop/images/03012025/02/16/image_03012025_02_16_02_629685_0001.jpg', '/home/pi/Desktop/images/03012025/02/16/image_03012025_02_16_02_629685_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/02/15/image_03012025_02_15_03_103979_0003.jpg
/home/pi/Desktop/images/03012025/02/16/image_03012025_02_16_02_629685_0000.jpg
/home/pi/Desktop/images/03012025/02/16/image_03012025_02_16_02_629685_0001.jpg
/home/pi/Desktop/images/03012025/02/16/image_03012025_02_16_02_629685_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325671623","1325671619","1325671621","1325671615"],"photo_ids_order":["1325671615","1325671619","1325671621","1325671623"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5b207417709ee29167aafc41bf789c8e.jpg","text":"TemporaryFile(/tmp/multipartBody580675971147759619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735867052087,"filename":"image_03012025_02_16_02_629685_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3d8c97f0dd9ee59d9ffbe21e4196728f.jpg","text":"TemporaryFile(/tmp/multipartBody8645986939906620589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735867052087,"filename":"image_03012025_02_16_02_629685_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2c8d7230e2fef6f580e90a4c3c63a3bd.jpg","text":"TemporaryFile(/tmp/multipartBody1336079967641654428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735867052087,"filename":"image_03012025_02_16_02_629685_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/08c9d2baeef36572cb4cb38289d538fe.jpg","text":"TemporaryFile(/tmp/multipartBody2491499457657436999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735867052087,"filename":"image_03012025_02_15_03_103979_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325671621","file1":"1325671619","file0":"1325671615","file3":"1325671623"},"map_files_photo_id_array":[{"photo_id":"1325671621","filename":"file2"},{"photo_id":"1325671619","filename":"file1"},{"photo_id":"1325671615","filename":"file0"},{"photo_id":"1325671623","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325671623":["hashtag1","hashtag2"]},{"1325671619":["hashtag1","hashtag2"]},{"1325671621":["hashtag1","hashtag2"]},{"1325671615":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325671623, 1325671619, 1325671621, 1325671615)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.42511177062988 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 02:17:22.314825
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/02/16/image_03012025_02_16_02_629685_0003.jpg', '/home/pi/Desktop/images/03012025/02/17/image_03012025_02_17_02_180382_0000.jpg', '/home/pi/Desktop/images/03012025/02/17/image_03012025_02_17_02_180382_0001.jpg', '/home/pi/Desktop/images/03012025/02/17/image_03012025_02_17_02_180382_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/02/16/image_03012025_02_16_02_629685_0003.jpg
/home/pi/Desktop/images/03012025/02/17/image_03012025_02_17_02_180382_0000.jpg
/home/pi/Desktop/images/03012025/02/17/image_03012025_02_17_02_180382_0001.jpg
/home/pi/Desktop/images/03012025/02/17/image_03012025_02_17_02_180382_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325672700","1325672698","1325672702","1325672692"],"photo_ids_order":["1325672692","1325672698","1325672700","1325672702"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5b716e5d11d89d339f2982a8611cb0f7.jpg","text":"TemporaryFile(/tmp/multipartBody6272672201895145728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735867112434,"filename":"image_03012025_02_17_02_180382_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a91cf3e75dc27dbfaf22c450e1173e4f.jpg","text":"TemporaryFile(/tmp/multipartBody7368962862480114887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735867112434,"filename":"image_03012025_02_17_02_180382_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/72931de4f7a93d9930ec6d4564c8df4e.jpg","text":"TemporaryFile(/tmp/multipartBody7801429543626556665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735867112434,"filename":"image_03012025_02_17_02_180382_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3a62690df90bb6c9785f219d431908fe.jpg","text":"TemporaryFile(/tmp/multipartBody4440905231628099488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735867112434,"filename":"image_03012025_02_16_02_629685_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325672700","file1":"1325672698","file0":"1325672692","file3":"1325672702"},"map_files_photo_id_array":[{"photo_id":"1325672700","filename":"file2"},{"photo_id":"1325672698","filename":"file1"},{"photo_id":"1325672692","filename":"file0"},{"photo_id":"1325672702","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325672700":["hashtag1","hashtag2"]},{"1325672698":["hashtag1","hashtag2"]},{"1325672702":["hashtag1","hashtag2"]},{"1325672692":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325672700, 1325672698, 1325672702, 1325672692)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.03477120399475 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-03 02:18:21.917191
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/02/17/image_03012025_02_17_02_180382_0003.jpg', '/home/pi/Desktop/images/03012025/02/18/image_03012025_02_18_02_726476_0000.jpg', '/home/pi/Desktop/images/03012025/02/18/image_03012025_02_18_02_726476_0001.jpg', '/home/pi/Desktop/images/03012025/02/18/image_03012025_02_18_02_726476_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/02/17/image_03012025_02_17_02_180382_0003.jpg
/home/pi/Desktop/images/03012025/02/18/image_03012025_02_18_02_726476_0000.jpg
/home/pi/Desktop/images/03012025/02/18/image_03012025_02_18_02_726476_0001.jpg
/home/pi/Desktop/images/03012025/02/18/image_03012025_02_18_02_726476_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325672984","1325673110","1325672982","1325672976"],"photo_ids_order":["1325672976","1325672982","1325672984","1325673110"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/aac5534d557085110780a88a7f75c592.jpg","text":"TemporaryFile(/tmp/multipartBody6973292887079254758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735867172226,"filename":"image_03012025_02_18_02_726476_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/49ced79d2fbf1846ccb3892f510c8559.jpg","text":"TemporaryFile(/tmp/multipartBody722448940662695913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735867172226,"filename":"image_03012025_02_18_02_726476_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/449fc240c52c89ba46f05e72b1af0158.jpg","text":"TemporaryFile(/tmp/multipartBody574580415602458212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735867172226,"filename":"image_03012025_02_18_02_726476_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b60efa684af8733fcf13ec3a34a18728.jpg","text":"TemporaryFile(/tmp/multipartBody4685528598195362426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735867172226,"filename":"image_03012025_02_17_02_180382_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325672984","file1":"1325672982","file0":"1325672976","file3":"1325673110"},"map_files_photo_id_array":[{"photo_id":"1325672984","filename":"file2"},{"photo_id":"1325672982","filename":"file1"},{"photo_id":"1325672976","filename":"file0"},{"photo_id":"1325673110","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325672984":["hashtag1","hashtag2"]},{"1325673110":["hashtag1","hashtag2"]},{"1325672982":["hashtag1","hashtag2"]},{"1325672976":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325672984, 1325673110, 1325672982, 1325672976)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.90975546836853 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 02:19:02.984216
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 02:19:22.327695
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/02/18/image_03012025_02_18_02_726476_0003.jpg', '/home/pi/Desktop/images/03012025/02/19/image_03012025_02_19_02_257548_0000.jpg', '/home/pi/Desktop/images/03012025/02/19/image_03012025_02_19_02_257548_0001.jpg', '/home/pi/Desktop/images/03012025/02/19/image_03012025_02_19_02_257548_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/02/18/image_03012025_02_18_02_726476_0003.jpg
/home/pi/Desktop/images/03012025/02/19/image_03012025_02_19_02_257548_0000.jpg
/home/pi/Desktop/images/03012025/02/19/image_03012025_02_19_02_257548_0001.jpg
/home/pi/Desktop/images/03012025/02/19/image_03012025_02_19_02_257548_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325673158","1325673230","1325673139","1325673135"],"photo_ids_order":["1325673135","1325673139","1325673158","1325673230"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/02186e866e289947c06a9d2fe58c9332.jpg","text":"TemporaryFile(/tmp/multipartBody5401050928479625438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735867232675,"filename":"image_03012025_02_19_02_257548_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8ecbdb0e7650ee3e93fdf10ccd4da546.jpg","text":"TemporaryFile(/tmp/multipartBody8637428919598294578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735867232675,"filename":"image_03012025_02_19_02_257548_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/84dc96613cdb1dc7c20fd26b28bb29fe.jpg","text":"TemporaryFile(/tmp/multipartBody485005216975317884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735867232675,"filename":"image_03012025_02_19_02_257548_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/98c7bcc1f2369eb622f914950c23f8bb.jpg","text":"TemporaryFile(/tmp/multipartBody6185876505147016513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735867232675,"filename":"image_03012025_02_18_02_726476_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325673158","file1":"1325673139","file0":"1325673135","file3":"1325673230"},"map_files_photo_id_array":[{"photo_id":"1325673158","filename":"file2"},{"photo_id":"1325673139","filename":"file1"},{"photo_id":"1325673135","filename":"file0"},{"photo_id":"1325673230","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325673158":["hashtag1","hashtag2"]},{"1325673230":["hashtag1","hashtag2"]},{"1325673139":["hashtag1","hashtag2"]},{"1325673135":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325673158, 1325673230, 1325673139, 1325673135)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.14118528366089 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 02:20:22.143807
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/02/19/image_03012025_02_19_02_257548_0003.jpg', '/home/pi/Desktop/images/03012025/02/20/image_03012025_02_20_02_870849_0000.jpg', '/home/pi/Desktop/images/03012025/02/20/image_03012025_02_20_02_870849_0001.jpg', '/home/pi/Desktop/images/03012025/02/20/image_03012025_02_20_02_870849_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/02/19/image_03012025_02_19_02_257548_0003.jpg
/home/pi/Desktop/images/03012025/02/20/image_03012025_02_20_02_870849_0000.jpg
/home/pi/Desktop/images/03012025/02/20/image_03012025_02_20_02_870849_0001.jpg
/home/pi/Desktop/images/03012025/02/20/image_03012025_02_20_02_870849_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325673422","1325673418","1325673412","1325673414"],"photo_ids_order":["1325673412","1325673414","1325673418","1325673422"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a246886c42ce1730393f7b186441b2b4.jpg","text":"TemporaryFile(/tmp/multipartBody8559794419685723224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735867292452,"filename":"image_03012025_02_20_02_870849_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ebc1238355f36cd69de58b2b38f087ed.jpg","text":"TemporaryFile(/tmp/multipartBody7697605551902065630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735867292452,"filename":"image_03012025_02_20_02_870849_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9ff215501827ee4148212aad85e4da38.jpg","text":"TemporaryFile(/tmp/multipartBody2532169878718569614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735867292452,"filename":"image_03012025_02_19_02_257548_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d2f1dd3322b1e139d71b2b1cc144970f.jpg","text":"TemporaryFile(/tmp/multipartBody3506353816295883688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735867292452,"filename":"image_03012025_02_20_02_870849_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325673418","file1":"1325673414","file0":"1325673412","file3":"1325673422"},"map_files_photo_id_array":[{"photo_id":"1325673418","filename":"file2"},{"photo_id":"1325673414","filename":"file1"},{"photo_id":"1325673412","filename":"file0"},{"photo_id":"1325673422","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325673422":["hashtag1","hashtag2"]},{"1325673418":["hashtag1","hashtag2"]},{"1325673412":["hashtag1","hashtag2"]},{"1325673414":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325673422, 1325673418, 1325673412, 1325673414)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.72208619117737 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 02:21:03.099194
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 02:21:22.569873
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/02/20/image_03012025_02_20_02_870849_0003.jpg', '/home/pi/Desktop/images/03012025/02/21/image_03012025_02_21_02_522262_0000.jpg', '/home/pi/Desktop/images/03012025/02/21/image_03012025_02_21_02_522262_0001.jpg', '/home/pi/Desktop/images/03012025/02/21/image_03012025_02_21_02_522262_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/02/20/image_03012025_02_20_02_870849_0003.jpg
/home/pi/Desktop/images/03012025/02/21/image_03012025_02_21_02_522262_0000.jpg
/home/pi/Desktop/images/03012025/02/21/image_03012025_02_21_02_522262_0001.jpg
/home/pi/Desktop/images/03012025/02/21/image_03012025_02_21_02_522262_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325673459","1325673456","1325673438","1325673461"],"photo_ids_order":["1325673438","1325673456","1325673459","1325673461"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e0ed29f32778db0dadfee9c60da1d573.jpg","text":"TemporaryFile(/tmp/multipartBody2655904661818908924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735867353023,"filename":"image_03012025_02_21_02_522262_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/336c3022f064f05919c8c91886feff0a.jpg","text":"TemporaryFile(/tmp/multipartBody6431481569433570081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735867353023,"filename":"image_03012025_02_21_02_522262_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/99d6e3bdf903a75d7e2da0fd458d7d88.jpg","text":"TemporaryFile(/tmp/multipartBody5238332979652478686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735867353023,"filename":"image_03012025_02_20_02_870849_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9cda4dac9a244bdf2dcb4f7b57ae68b5.jpg","text":"TemporaryFile(/tmp/multipartBody2075670017862150115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735867353023,"filename":"image_03012025_02_21_02_522262_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325673459","file1":"1325673456","file0":"1325673438","file3":"1325673461"},"map_files_photo_id_array":[{"photo_id":"1325673459","filename":"file2"},{"photo_id":"1325673456","filename":"file1"},{"photo_id":"1325673438","filename":"file0"},{"photo_id":"1325673461","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325673459":["hashtag1","hashtag2"]},{"1325673456":["hashtag1","hashtag2"]},{"1325673438":["hashtag1","hashtag2"]},{"1325673461":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325673459, 1325673456, 1325673438, 1325673461)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.85630488395691 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 02:22:22.293726
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/02/21/image_03012025_02_21_02_522262_0003.jpg', '/home/pi/Desktop/images/03012025/02/22/image_03012025_02_22_02_999665_0000.jpg', '/home/pi/Desktop/images/03012025/02/22/image_03012025_02_22_02_999665_0001.jpg', '/home/pi/Desktop/images/03012025/02/22/image_03012025_02_22_02_999665_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/02/21/image_03012025_02_21_02_522262_0003.jpg
/home/pi/Desktop/images/03012025/02/22/image_03012025_02_22_02_999665_0000.jpg
/home/pi/Desktop/images/03012025/02/22/image_03012025_02_22_02_999665_0001.jpg
/home/pi/Desktop/images/03012025/02/22/image_03012025_02_22_02_999665_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.899999856948853 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 02:23:02.468819
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/02/21/image_03012025_02_21_02_522262_0003.jpg', '/home/pi/Desktop/images/03012025/02/22/image_03012025_02_22_02_999665_0000.jpg', '/home/pi/Desktop/images/03012025/02/22/image_03012025_02_22_02_999665_0001.jpg', '/home/pi/Desktop/images/03012025/02/22/image_03012025_02_22_02_999665_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/02/21/image_03012025_02_21_02_522262_0003.jpg
/home/pi/Desktop/images/03012025/02/22/image_03012025_02_22_02_999665_0000.jpg
/home/pi/Desktop/images/03012025/02/22/image_03012025_02_22_02_999665_0001.jpg
/home/pi/Desktop/images/03012025/02/22/image_03012025_02_22_02_999665_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325673479","1325673484","1325673480","1325673482"],"photo_ids_order":["1325673479","1325673480","1325673482","1325673484"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/aefe8b1bfb2320525fe53a996379fff8.jpg","text":"TemporaryFile(/tmp/multipartBody3293102481116761990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735867452824,"filename":"image_03012025_02_21_02_522262_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9d0dc0d8cbd3327a25316b00f5b6d537.jpg","text":"TemporaryFile(/tmp/multipartBody2909873729135016566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735867452824,"filename":"image_03012025_02_22_02_999665_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/59b6d1a9c17a5ef8d253ed7c2af3f54a.jpg","text":"TemporaryFile(/tmp/multipartBody7620128060431826857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735867452824,"filename":"image_03012025_02_22_02_999665_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/bda5659fc652e20a3013c7ab8e434d54.jpg","text":"TemporaryFile(/tmp/multipartBody5439358671777234424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735867452824,"filename":"image_03012025_02_22_02_999665_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325673482","file1":"1325673480","file0":"1325673479","file3":"1325673484"},"map_files_photo_id_array":[{"photo_id":"1325673482","filename":"file2"},{"photo_id":"1325673480","filename":"file1"},{"photo_id":"1325673479","filename":"file0"},{"photo_id":"1325673484","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325673479":["hashtag1","hashtag2"]},{"1325673484":["hashtag1","hashtag2"]},{"1325673480":["hashtag1","hashtag2"]},{"1325673482":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325673479, 1325673484, 1325673480, 1325673482)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.30937933921814 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 02:24:02.996147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/02/22/image_03012025_02_22_02_999665_0003.jpg', '/home/pi/Desktop/images/03012025/02/23/image_03012025_02_23_02_671678_0000.jpg', '/home/pi/Desktop/images/03012025/02/23/image_03012025_02_23_02_671678_0001.jpg', '/home/pi/Desktop/images/03012025/02/23/image_03012025_02_23_02_671678_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/02/22/image_03012025_02_22_02_999665_0003.jpg
/home/pi/Desktop/images/03012025/02/23/image_03012025_02_23_02_671678_0000.jpg
/home/pi/Desktop/images/03012025/02/23/image_03012025_02_23_02_671678_0001.jpg
/home/pi/Desktop/images/03012025/02/23/image_03012025_02_23_02_671678_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.969501972198486 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 02:24:22.617887
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/02/22/image_03012025_02_22_02_999665_0003.jpg', '/home/pi/Desktop/images/03012025/02/23/image_03012025_02_23_02_671678_0000.jpg', '/home/pi/Desktop/images/03012025/02/23/image_03012025_02_23_02_671678_0001.jpg', '/home/pi/Desktop/images/03012025/02/23/image_03012025_02_23_02_671678_0002.jpg', '/home/pi/Desktop/images/03012025/02/23/image_03012025_02_23_02_671678_0003.jpg', '/home/pi/Desktop/images/03012025/02/24/image_03012025_02_24_02_250848_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/02/22/image_03012025_02_22_02_999665_0003.jpg
/home/pi/Desktop/images/03012025/02/23/image_03012025_02_23_02_671678_0000.jpg
/home/pi/Desktop/images/03012025/02/23/image_03012025_02_23_02_671678_0001.jpg
/home/pi/Desktop/images/03012025/02/23/image_03012025_02_23_02_671678_0002.jpg
/home/pi/Desktop/images/03012025/02/23/image_03012025_02_23_02_671678_0003.jpg
/home/pi/Desktop/images/03012025/02/24/image_03012025_02_24_02_250848_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325673545","1325673521","1325673500","1325673514","1325673519","1325673507"],"photo_ids_order":["1325673500","1325673507","1325673514","1325673519","1325673521","1325673545"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9288b54d078e3aa53b44a5638fbe631d.jpg","text":"TemporaryFile(/tmp/multipartBody6031541536532089316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735867537824,"filename":"image_03012025_02_24_02_250848_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/937d27fc975873a5b868c2c67a1e2aa6.jpg","text":"TemporaryFile(/tmp/multipartBody2344498436422145904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735867537824,"filename":"image_03012025_02_23_02_671678_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a825044dc1540d31c6fa2f17b7ac1b69.jpg","text":"TemporaryFile(/tmp/multipartBody8020500807101188775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735867537824,"filename":"image_03012025_02_22_02_999665_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b0cbe29b9b6f21261e8a81f8386ebd07.jpg","text":"TemporaryFile(/tmp/multipartBody8506818955934496282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735867537824,"filename":"image_03012025_02_23_02_671678_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/225fd06d13625e749645b55182205abe.jpg","text":"TemporaryFile(/tmp/multipartBody951037213931172933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735867537824,"filename":"image_03012025_02_23_02_671678_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d4babc256ee57a8ea0dd37fc6a5840c8.jpg","text":"TemporaryFile(/tmp/multipartBody2883063954985632066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735867537824,"filename":"image_03012025_02_23_02_671678_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325673514","file1":"1325673507","file0":"1325673500","file4":"1325673521","file5":"1325673545","file3":"1325673519"},"map_files_photo_id_array":[{"photo_id":"1325673545","filename":"file5"},{"photo_id":"1325673514","filename":"file2"},{"photo_id":"1325673521","filename":"file4"},{"photo_id":"1325673507","filename":"file1"},{"photo_id":"1325673500","filename":"file0"},{"photo_id":"1325673519","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325673545":["hashtag1","hashtag2"]},{"1325673521":["hashtag1","hashtag2"]},{"1325673500":["hashtag1","hashtag2"]},{"1325673514":["hashtag1","hashtag2"]},{"1325673519":["hashtag1","hashtag2"]},{"1325673507":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325673545, 1325673521, 1325673500, 1325673514, 1325673519, 1325673507)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.99015474319458 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 02:25:21.994022
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/02/24/image_03012025_02_24_02_250848_0001.jpg', '/home/pi/Desktop/images/03012025/02/24/image_03012025_02_24_02_250848_0002.jpg', '/home/pi/Desktop/images/03012025/02/24/image_03012025_02_24_02_250848_0003.jpg', '/home/pi/Desktop/images/03012025/02/25/image_03012025_02_25_02_917555_0000.jpg', '/home/pi/Desktop/images/03012025/02/25/image_03012025_02_25_02_917555_0001.jpg', '/home/pi/Desktop/images/03012025/02/25/image_03012025_02_25_02_917555_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/02/24/image_03012025_02_24_02_250848_0001.jpg
/home/pi/Desktop/images/03012025/02/24/image_03012025_02_24_02_250848_0002.jpg
/home/pi/Desktop/images/03012025/02/24/image_03012025_02_24_02_250848_0003.jpg
/home/pi/Desktop/images/03012025/02/25/image_03012025_02_25_02_917555_0000.jpg
/home/pi/Desktop/images/03012025/02/25/image_03012025_02_25_02_917555_0001.jpg
/home/pi/Desktop/images/03012025/02/25/image_03012025_02_25_02_917555_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325673761","1325673764","1325673763","1325673757","1325673759","1325673767"],"photo_ids_order":["1325673757","1325673759","1325673761","1325673763","1325673764","1325673767"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8db6cfc64418fb34297f8d03b9c28eba.jpg","text":"TemporaryFile(/tmp/multipartBody8811953647671456066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735867597248,"filename":"image_03012025_02_24_02_250848_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/11f0c5a32fb98115316befb35c231a09.jpg","text":"TemporaryFile(/tmp/multipartBody406866698628571138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735867597248,"filename":"image_03012025_02_25_02_917555_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5ca323e20b632b16b0b2c34db44bd1ae.jpg","text":"TemporaryFile(/tmp/multipartBody3746144520056422413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735867597248,"filename":"image_03012025_02_25_02_917555_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/02b8c10752b82d0eab5768d7c94197ef.jpg","text":"TemporaryFile(/tmp/multipartBody6588902386021287002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735867597248,"filename":"image_03012025_02_24_02_250848_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/cdbf576e6fd087156045c27270094d7f.jpg","text":"TemporaryFile(/tmp/multipartBody6189398015953410938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735867597248,"filename":"image_03012025_02_24_02_250848_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/07fa80a8f6114564a8c5cc0098d0b31b.jpg","text":"TemporaryFile(/tmp/multipartBody6260824421440302853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735867597248,"filename":"image_03012025_02_25_02_917555_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325673761","file1":"1325673759","file0":"1325673757","file4":"1325673764","file5":"1325673767","file3":"1325673763"},"map_files_photo_id_array":[{"photo_id":"1325673767","filename":"file5"},{"photo_id":"1325673761","filename":"file2"},{"photo_id":"1325673764","filename":"file4"},{"photo_id":"1325673759","filename":"file1"},{"photo_id":"1325673757","filename":"file0"},{"photo_id":"1325673763","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325673761":["hashtag1","hashtag2"]},{"1325673764":["hashtag1","hashtag2"]},{"1325673763":["hashtag1","hashtag2"]},{"1325673757":["hashtag1","hashtag2"]},{"1325673759":["hashtag1","hashtag2"]},{"1325673767":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325673761, 1325673764, 1325673763, 1325673757, 1325673759, 1325673767)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.38916611671448 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 02:26:22.659765
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/02/25/image_03012025_02_25_02_917555_0003.jpg', '/home/pi/Desktop/images/03012025/02/26/image_03012025_02_26_02_459510_0000.jpg', '/home/pi/Desktop/images/03012025/02/26/image_03012025_02_26_02_459510_0001.jpg', '/home/pi/Desktop/images/03012025/02/26/image_03012025_02_26_02_459510_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/02/25/image_03012025_02_25_02_917555_0003.jpg
/home/pi/Desktop/images/03012025/02/26/image_03012025_02_26_02_459510_0000.jpg
/home/pi/Desktop/images/03012025/02/26/image_03012025_02_26_02_459510_0001.jpg
/home/pi/Desktop/images/03012025/02/26/image_03012025_02_26_02_459510_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325673780","1325673774","1325673777","1325673771"],"photo_ids_order":["1325673771","1325673774","1325673777","1325673780"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3036b590ac4e655f1765eb125de94455.jpg","text":"TemporaryFile(/tmp/multipartBody6069111424467929227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735867653168,"filename":"image_03012025_02_26_02_459510_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f0f152d436ad83cf5ed5bfe9d6802bbc.jpg","text":"TemporaryFile(/tmp/multipartBody2599754947590916569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735867653168,"filename":"image_03012025_02_26_02_459510_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/55f6ac0f75110f644bb1fc1ee35f31b1.jpg","text":"TemporaryFile(/tmp/multipartBody834228460886489820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735867653168,"filename":"image_03012025_02_26_02_459510_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/fdfab3786ebd15732b419bc61a9a8c24.jpg","text":"TemporaryFile(/tmp/multipartBody6308479809761166905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735867653168,"filename":"image_03012025_02_25_02_917555_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325673777","file1":"1325673774","file0":"1325673771","file3":"1325673780"},"map_files_photo_id_array":[{"photo_id":"1325673777","filename":"file2"},{"photo_id":"1325673774","filename":"file1"},{"photo_id":"1325673771","filename":"file0"},{"photo_id":"1325673780","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325673780":["hashtag1","hashtag2"]},{"1325673774":["hashtag1","hashtag2"]},{"1325673777":["hashtag1","hashtag2"]},{"1325673771":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325673780, 1325673774, 1325673777, 1325673771)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.512927293777466 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 02:27:22.146768
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/02/26/image_03012025_02_26_02_459510_0003.jpg', '/home/pi/Desktop/images/03012025/02/27/image_03012025_02_27_02_977043_0000.jpg', '/home/pi/Desktop/images/03012025/02/27/image_03012025_02_27_02_977043_0001.jpg', '/home/pi/Desktop/images/03012025/02/27/image_03012025_02_27_02_977043_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/02/26/image_03012025_02_26_02_459510_0003.jpg
/home/pi/Desktop/images/03012025/02/27/image_03012025_02_27_02_977043_0000.jpg
/home/pi/Desktop/images/03012025/02/27/image_03012025_02_27_02_977043_0001.jpg
/home/pi/Desktop/images/03012025/02/27/image_03012025_02_27_02_977043_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325673806","1325673802","1325673792","1325673789"],"photo_ids_order":["1325673789","1325673792","1325673802","1325673806"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0e546c42323ccc3cea279c6e2fd885e5.jpg","text":"TemporaryFile(/tmp/multipartBody5229645014499456576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735867712681,"filename":"image_03012025_02_27_02_977043_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ce4cb92f0113049525463e2235ce7d1f.jpg","text":"TemporaryFile(/tmp/multipartBody4728124747363807869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735867712681,"filename":"image_03012025_02_27_02_977043_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b2c019985f5422e5a9ac59acd8e50766.jpg","text":"TemporaryFile(/tmp/multipartBody2320487596629680288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735867712681,"filename":"image_03012025_02_27_02_977043_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d458aee19bb516ffb541fc259f03fd32.jpg","text":"TemporaryFile(/tmp/multipartBody745928245091747365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735867712681,"filename":"image_03012025_02_26_02_459510_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325673802","file1":"1325673792","file0":"1325673789","file3":"1325673806"},"map_files_photo_id_array":[{"photo_id":"1325673802","filename":"file2"},{"photo_id":"1325673792","filename":"file1"},{"photo_id":"1325673789","filename":"file0"},{"photo_id":"1325673806","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325673806":["hashtag1","hashtag2"]},{"1325673802":["hashtag1","hashtag2"]},{"1325673792":["hashtag1","hashtag2"]},{"1325673789":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325673806, 1325673802, 1325673792, 1325673789)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.269479513168335 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 02:28:03.126469
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 02:28:22.590713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/02/27/image_03012025_02_27_02_977043_0003.jpg', '/home/pi/Desktop/images/03012025/02/28/image_03012025_02_28_02_516613_0000.jpg', '/home/pi/Desktop/images/03012025/02/28/image_03012025_02_28_02_516613_0001.jpg', '/home/pi/Desktop/images/03012025/02/28/image_03012025_02_28_02_516613_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/02/27/image_03012025_02_27_02_977043_0003.jpg
/home/pi/Desktop/images/03012025/02/28/image_03012025_02_28_02_516613_0000.jpg
/home/pi/Desktop/images/03012025/02/28/image_03012025_02_28_02_516613_0001.jpg
/home/pi/Desktop/images/03012025/02/28/image_03012025_02_28_02_516613_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325674414","1325674411","1325674405","1325674407"],"photo_ids_order":["1325674405","1325674407","1325674411","1325674414"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3aa158c69bbb9d9946dd393dc3bb3640.jpg","text":"TemporaryFile(/tmp/multipartBody2563228571235573206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735867772893,"filename":"image_03012025_02_28_02_516613_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5b88cfd9014f8a8614b70f8e92854276.jpg","text":"TemporaryFile(/tmp/multipartBody1701807001050353976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735867772893,"filename":"image_03012025_02_28_02_516613_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7798ac47814f08021ba29d6046ac3124.jpg","text":"TemporaryFile(/tmp/multipartBody6072521272917403126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735867772893,"filename":"image_03012025_02_27_02_977043_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f48421cb27ba3c8951ec6130d065628b.jpg","text":"TemporaryFile(/tmp/multipartBody3838705307890524908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735867772893,"filename":"image_03012025_02_28_02_516613_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325674411","file1":"1325674407","file0":"1325674405","file3":"1325674414"},"map_files_photo_id_array":[{"photo_id":"1325674411","filename":"file2"},{"photo_id":"1325674407","filename":"file1"},{"photo_id":"1325674405","filename":"file0"},{"photo_id":"1325674414","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325674414":["hashtag1","hashtag2"]},{"1325674411":["hashtag1","hashtag2"]},{"1325674405":["hashtag1","hashtag2"]},{"1325674407":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325674414, 1325674411, 1325674405, 1325674407)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.879769802093506 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 02:29:02.964160
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 02:29:22.143926
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/02/28/image_03012025_02_28_02_516613_0003.jpg', '/home/pi/Desktop/images/03012025/02/29/image_03012025_02_29_03_067680_0000.jpg', '/home/pi/Desktop/images/03012025/02/29/image_03012025_02_29_03_067680_0001.jpg', '/home/pi/Desktop/images/03012025/02/29/image_03012025_02_29_03_067680_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/02/28/image_03012025_02_28_02_516613_0003.jpg
/home/pi/Desktop/images/03012025/02/29/image_03012025_02_29_03_067680_0000.jpg
/home/pi/Desktop/images/03012025/02/29/image_03012025_02_29_03_067680_0001.jpg
/home/pi/Desktop/images/03012025/02/29/image_03012025_02_29_03_067680_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325674671","1325674674","1325674668","1325674664"],"photo_ids_order":["1325674664","1325674668","1325674671","1325674674"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0f3506687afbf2ada1dd41cc14a77a7c.jpg","text":"TemporaryFile(/tmp/multipartBody2002704743570029879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735867832427,"filename":"image_03012025_02_29_03_067680_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4258cb14bbc81d7673459f1c8479dd0d.jpg","text":"TemporaryFile(/tmp/multipartBody4671539419524501001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735867832427,"filename":"image_03012025_02_29_03_067680_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3b80337bdab3dcc7e10482f7c2f8a677.jpg","text":"TemporaryFile(/tmp/multipartBody6531121987088493471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735867832427,"filename":"image_03012025_02_29_03_067680_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9aeb9c2198d0614833b8ff874b69f791.jpg","text":"TemporaryFile(/tmp/multipartBody4419753169742802655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735867832427,"filename":"image_03012025_02_28_02_516613_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325674671","file1":"1325674668","file0":"1325674664","file3":"1325674674"},"map_files_photo_id_array":[{"photo_id":"1325674671","filename":"file2"},{"photo_id":"1325674668","filename":"file1"},{"photo_id":"1325674664","filename":"file0"},{"photo_id":"1325674674","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325674671":["hashtag1","hashtag2"]},{"1325674674":["hashtag1","hashtag2"]},{"1325674668":["hashtag1","hashtag2"]},{"1325674664":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325674671, 1325674674, 1325674668, 1325674664)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.315152168273926 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 02:30:02.300023
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 02:30:21.830445
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/02/29/image_03012025_02_29_03_067680_0003.jpg', '/home/pi/Desktop/images/03012025/02/30/image_03012025_02_30_02_649448_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/02/29/image_03012025_02_29_03_067680_0003.jpg
/home/pi/Desktop/images/03012025/02/30/image_03012025_02_30_02_649448_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325675078","1325675278"],"photo_ids_order":["1325675078","1325675278"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a62683957bfeb02d1382206f2e9dc2f1.jpg","text":"TemporaryFile(/tmp/multipartBody1985631506119775727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735867887271,"filename":"image_03012025_02_29_03_067680_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3906ee07d124e80c4b649c193cfd92c9.jpg","text":"TemporaryFile(/tmp/multipartBody3150391551955913994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735867887271,"filename":"image_03012025_02_30_02_649448_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1325675278","file0":"1325675078"},"map_files_photo_id_array":[{"photo_id":"1325675278","filename":"file1"},{"photo_id":"1325675078","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325675078":["hashtag1","hashtag2"]},{"1325675278":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325675078, 1325675278)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 24.982166290283203 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 02:31:02.945902
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 02:31:22.279664
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/02/30/image_03012025_02_30_02_649448_0003.jpg', '/home/pi/Desktop/images/03012025/02/31/image_03012025_02_31_02_212217_0000.jpg', '/home/pi/Desktop/images/03012025/02/31/image_03012025_02_31_02_212217_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/02/30/image_03012025_02_30_02_649448_0003.jpg
/home/pi/Desktop/images/03012025/02/31/image_03012025_02_31_02_212217_0000.jpg
/home/pi/Desktop/images/03012025/02/31/image_03012025_02_31_02_212217_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325675865","1325675868","1325675870"],"photo_ids_order":["1325675865","1325675868","1325675870"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/fa4eb36bd3cac190bad824f9dfc78ee8.jpg","text":"TemporaryFile(/tmp/multipartBody7780269319496563671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735867950118,"filename":"image_03012025_02_30_02_649448_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7ef02d6a5032934f2c455566157b9f36.jpg","text":"TemporaryFile(/tmp/multipartBody5746179281464068562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735867950118,"filename":"image_03012025_02_31_02_212217_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f8f5f65ffbea7d10e49cf38607479474.jpg","text":"TemporaryFile(/tmp/multipartBody1537994095836551573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735867950118,"filename":"image_03012025_02_31_02_212217_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325675870","file1":"1325675868","file0":"1325675865"},"map_files_photo_id_array":[{"photo_id":"1325675870","filename":"file2"},{"photo_id":"1325675868","filename":"file1"},{"photo_id":"1325675865","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325675865":["hashtag1","hashtag2"]},{"1325675868":["hashtag1","hashtag2"]},{"1325675870":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325675865, 1325675868, 1325675870)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.961541175842285 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 02:32:02.368007
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 02:32:21.905212
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/02/31/image_03012025_02_31_02_212217_0003.jpg', '/home/pi/Desktop/images/03012025/02/32/image_03012025_02_32_02_673933_0000.jpg', '/home/pi/Desktop/images/03012025/02/32/image_03012025_02_32_02_673933_0001.jpg', '/home/pi/Desktop/images/03012025/02/32/image_03012025_02_32_02_673933_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/02/31/image_03012025_02_31_02_212217_0003.jpg
/home/pi/Desktop/images/03012025/02/32/image_03012025_02_32_02_673933_0000.jpg
/home/pi/Desktop/images/03012025/02/32/image_03012025_02_32_02_673933_0001.jpg
/home/pi/Desktop/images/03012025/02/32/image_03012025_02_32_02_673933_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325676043","1325676039","1325676033","1325676035"],"photo_ids_order":["1325676033","1325676035","1325676039","1325676043"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ee1f365ea0365415678b46900b30a953.jpg","text":"TemporaryFile(/tmp/multipartBody5544711160464281067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735868011985,"filename":"image_03012025_02_32_02_673933_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d3c2819146f4ba596fffa564f0f18f6e.jpg","text":"TemporaryFile(/tmp/multipartBody6843681589872255266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735868011985,"filename":"image_03012025_02_32_02_673933_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/22069265a7c395b09e5e9c343333a2bc.jpg","text":"TemporaryFile(/tmp/multipartBody6517057927802217128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735868011985,"filename":"image_03012025_02_31_02_212217_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f9e6be2442495adcc7f10e5f6279c3f8.jpg","text":"TemporaryFile(/tmp/multipartBody3246525054258447752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735868011985,"filename":"image_03012025_02_32_02_673933_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325676039","file1":"1325676035","file0":"1325676033","file3":"1325676043"},"map_files_photo_id_array":[{"photo_id":"1325676039","filename":"file2"},{"photo_id":"1325676035","filename":"file1"},{"photo_id":"1325676033","filename":"file0"},{"photo_id":"1325676043","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325676043":["hashtag1","hashtag2"]},{"1325676039":["hashtag1","hashtag2"]},{"1325676033":["hashtag1","hashtag2"]},{"1325676035":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325676043, 1325676039, 1325676033, 1325676035)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.552520990371704 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 02:33:03.085730
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 02:33:22.418724
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/02/32/image_03012025_02_32_02_673933_0003.jpg', '/home/pi/Desktop/images/03012025/02/33/image_03012025_02_33_02_309942_0000.jpg', '/home/pi/Desktop/images/03012025/02/33/image_03012025_02_33_02_309942_0001.jpg', '/home/pi/Desktop/images/03012025/02/33/image_03012025_02_33_02_309942_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/02/32/image_03012025_02_32_02_673933_0003.jpg
/home/pi/Desktop/images/03012025/02/33/image_03012025_02_33_02_309942_0000.jpg
/home/pi/Desktop/images/03012025/02/33/image_03012025_02_33_02_309942_0001.jpg
/home/pi/Desktop/images/03012025/02/33/image_03012025_02_33_02_309942_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325676077","1325676079","1325676052","1325676061"],"photo_ids_order":["1325676052","1325676061","1325676077","1325676079"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a57e96370704113e62e20b5cb6e86aea.jpg","text":"TemporaryFile(/tmp/multipartBody7884394737193814235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735868072510,"filename":"image_03012025_02_33_02_309942_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0d7f1b16f521c049c088e29abbb80cca.jpg","text":"TemporaryFile(/tmp/multipartBody9222845857448999468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735868072510,"filename":"image_03012025_02_33_02_309942_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/495d0e43528c28d3579dd667e2aa46af.jpg","text":"TemporaryFile(/tmp/multipartBody1207612386409255836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735868072510,"filename":"image_03012025_02_32_02_673933_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3968f042b3ccd8b5fcaa27b6f63cdc9b.jpg","text":"TemporaryFile(/tmp/multipartBody3187192000230354757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735868072510,"filename":"image_03012025_02_33_02_309942_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325676077","file1":"1325676061","file0":"1325676052","file3":"1325676079"},"map_files_photo_id_array":[{"photo_id":"1325676077","filename":"file2"},{"photo_id":"1325676061","filename":"file1"},{"photo_id":"1325676052","filename":"file0"},{"photo_id":"1325676079","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325676077":["hashtag1","hashtag2"]},{"1325676079":["hashtag1","hashtag2"]},{"1325676052":["hashtag1","hashtag2"]},{"1325676061":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325676077, 1325676079, 1325676052, 1325676061)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.55758261680603 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 02:34:21.994940
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/02/33/image_03012025_02_33_02_309942_0003.jpg', '/home/pi/Desktop/images/03012025/02/34/image_03012025_02_34_02_853329_0000.jpg', '/home/pi/Desktop/images/03012025/02/34/image_03012025_02_34_02_853329_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/02/33/image_03012025_02_33_02_309942_0003.jpg
/home/pi/Desktop/images/03012025/02/34/image_03012025_02_34_02_853329_0000.jpg
/home/pi/Desktop/images/03012025/02/34/image_03012025_02_34_02_853329_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.442389488220215 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 02:35:03.133863
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/02/33/image_03012025_02_33_02_309942_0003.jpg', '/home/pi/Desktop/images/03012025/02/34/image_03012025_02_34_02_853329_0000.jpg', '/home/pi/Desktop/images/03012025/02/34/image_03012025_02_34_02_853329_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/02/33/image_03012025_02_33_02_309942_0003.jpg
/home/pi/Desktop/images/03012025/02/34/image_03012025_02_34_02_853329_0000.jpg
/home/pi/Desktop/images/03012025/02/34/image_03012025_02_34_02_853329_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325676099","1325676098","1325676097"],"photo_ids_order":["1325676097","1325676098","1325676099"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3cb88dec058504db5b3814c7b674dc36.jpg","text":"TemporaryFile(/tmp/multipartBody7293497923964556185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735868171046,"filename":"image_03012025_02_34_02_853329_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8ee79287ff8c5d5b6550284c6b701c7c.jpg","text":"TemporaryFile(/tmp/multipartBody7270060674433622469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735868171046,"filename":"image_03012025_02_34_02_853329_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0782f78adee176f426b0f330fe14bbcd.jpg","text":"TemporaryFile(/tmp/multipartBody7117853350422369497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735868171046,"filename":"image_03012025_02_33_02_309942_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325676099","file1":"1325676098","file0":"1325676097"},"map_files_photo_id_array":[{"photo_id":"1325676099","filename":"file2"},{"photo_id":"1325676098","filename":"file1"},{"photo_id":"1325676097","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325676099":["hashtag1","hashtag2"]},{"1325676098":["hashtag1","hashtag2"]},{"1325676097":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325676099, 1325676098, 1325676097)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.23679780960083 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 02:36:02.543375
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/02/34/image_03012025_02_34_02_853329_0002.jpg', '/home/pi/Desktop/images/03012025/02/35/image_03012025_02_35_02_386928_0000.jpg', '/home/pi/Desktop/images/03012025/02/35/image_03012025_02_35_02_386928_0001.jpg', '/home/pi/Desktop/images/03012025/02/35/image_03012025_02_35_02_386928_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/02/34/image_03012025_02_34_02_853329_0002.jpg
/home/pi/Desktop/images/03012025/02/35/image_03012025_02_35_02_386928_0000.jpg
/home/pi/Desktop/images/03012025/02/35/image_03012025_02_35_02_386928_0001.jpg
/home/pi/Desktop/images/03012025/02/35/image_03012025_02_35_02_386928_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.895235300064087 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 02:36:22.235135
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/02/34/image_03012025_02_34_02_853329_0002.jpg', '/home/pi/Desktop/images/03012025/02/35/image_03012025_02_35_02_386928_0000.jpg', '/home/pi/Desktop/images/03012025/02/35/image_03012025_02_35_02_386928_0001.jpg', '/home/pi/Desktop/images/03012025/02/35/image_03012025_02_35_02_386928_0002.jpg', '/home/pi/Desktop/images/03012025/02/35/image_03012025_02_35_02_386928_0003.jpg', '/home/pi/Desktop/images/03012025/02/36/image_03012025_02_36_02_909967_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/02/34/image_03012025_02_34_02_853329_0002.jpg
/home/pi/Desktop/images/03012025/02/35/image_03012025_02_35_02_386928_0000.jpg
/home/pi/Desktop/images/03012025/02/35/image_03012025_02_35_02_386928_0001.jpg
/home/pi/Desktop/images/03012025/02/35/image_03012025_02_35_02_386928_0002.jpg
/home/pi/Desktop/images/03012025/02/35/image_03012025_02_35_02_386928_0003.jpg
/home/pi/Desktop/images/03012025/02/36/image_03012025_02_36_02_909967_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325676153","1325676123","1325676117","1325676129","1325676151","1325676127"],"photo_ids_order":["1325676117","1325676123","1325676127","1325676129","1325676151","1325676153"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0bac3e1a3abfb883e5309b52348befea.jpg","text":"TemporaryFile(/tmp/multipartBody8441158050887115476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735868257381,"filename":"image_03012025_02_36_02_909967_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9586695667e20d9563e270d7b008095e.jpg","text":"TemporaryFile(/tmp/multipartBody3064882505783273003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735868257381,"filename":"image_03012025_02_35_02_386928_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/447f8e95180726a80682de7055497d32.jpg","text":"TemporaryFile(/tmp/multipartBody9148771814119529935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735868257381,"filename":"image_03012025_02_34_02_853329_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/82827b22b4fea91e086595c75f76945f.jpg","text":"TemporaryFile(/tmp/multipartBody2874395294330795171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735868257381,"filename":"image_03012025_02_35_02_386928_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/bd2b1ad06beff6e05fd7573b1ecc27b9.jpg","text":"TemporaryFile(/tmp/multipartBody9018778626833967234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735868257381,"filename":"image_03012025_02_35_02_386928_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/551aa94716a80728b2202a0af18ef5d7.jpg","text":"TemporaryFile(/tmp/multipartBody3986212915368551830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735868257381,"filename":"image_03012025_02_35_02_386928_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325676127","file1":"1325676123","file0":"1325676117","file4":"1325676151","file5":"1325676153","file3":"1325676129"},"map_files_photo_id_array":[{"photo_id":"1325676153","filename":"file5"},{"photo_id":"1325676127","filename":"file2"},{"photo_id":"1325676151","filename":"file4"},{"photo_id":"1325676123","filename":"file1"},{"photo_id":"1325676117","filename":"file0"},{"photo_id":"1325676129","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325676153":["hashtag1","hashtag2"]},{"1325676123":["hashtag1","hashtag2"]},{"1325676117":["hashtag1","hashtag2"]},{"1325676129":["hashtag1","hashtag2"]},{"1325676151":["hashtag1","hashtag2"]},{"1325676127":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325676153, 1325676123, 1325676117, 1325676129, 1325676151, 1325676127)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.94486045837402 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 02:37:22.647672
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/02/36/image_03012025_02_36_02_909967_0003.jpg', '/home/pi/Desktop/images/03012025/02/37/image_03012025_02_37_02_553017_0000.jpg', '/home/pi/Desktop/images/03012025/02/37/image_03012025_02_37_02_553017_0001.jpg', '/home/pi/Desktop/images/03012025/02/37/image_03012025_02_37_02_553017_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/02/36/image_03012025_02_36_02_909967_0003.jpg
/home/pi/Desktop/images/03012025/02/37/image_03012025_02_37_02_553017_0000.jpg
/home/pi/Desktop/images/03012025/02/37/image_03012025_02_37_02_553017_0001.jpg
/home/pi/Desktop/images/03012025/02/37/image_03012025_02_37_02_553017_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325676165","1325676164","1325676160","1325676157"],"photo_ids_order":["1325676157","1325676160","1325676164","1325676165"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b44a194757b902a0c0e1bcf768cf33ea.jpg","text":"TemporaryFile(/tmp/multipartBody664263844427324499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735868313025,"filename":"image_03012025_02_37_02_553017_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6255ce881fd5e5c40e399773bab77817.jpg","text":"TemporaryFile(/tmp/multipartBody5222482081251102820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735868313025,"filename":"image_03012025_02_37_02_553017_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9511dbb4a2e513cb2b3529e6e835f15c.jpg","text":"TemporaryFile(/tmp/multipartBody900035334596785450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735868313025,"filename":"image_03012025_02_37_02_553017_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3c9d12b027df124901e6dd615a5901cc.jpg","text":"TemporaryFile(/tmp/multipartBody5340610395936075778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735868313025,"filename":"image_03012025_02_36_02_909967_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325676164","file1":"1325676160","file0":"1325676157","file3":"1325676165"},"map_files_photo_id_array":[{"photo_id":"1325676164","filename":"file2"},{"photo_id":"1325676160","filename":"file1"},{"photo_id":"1325676157","filename":"file0"},{"photo_id":"1325676165","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325676165":["hashtag1","hashtag2"]},{"1325676164":["hashtag1","hashtag2"]},{"1325676160":["hashtag1","hashtag2"]},{"1325676157":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325676165, 1325676164, 1325676160, 1325676157)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.6543083190918 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 02:38:22.238754
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/02/37/image_03012025_02_37_02_553017_0003.jpg', '/home/pi/Desktop/images/03012025/02/38/image_03012025_02_38_03_118348_0000.jpg', '/home/pi/Desktop/images/03012025/02/38/image_03012025_02_38_03_118348_0001.jpg', '/home/pi/Desktop/images/03012025/02/38/image_03012025_02_38_03_118348_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/02/37/image_03012025_02_37_02_553017_0003.jpg
/home/pi/Desktop/images/03012025/02/38/image_03012025_02_38_03_118348_0000.jpg
/home/pi/Desktop/images/03012025/02/38/image_03012025_02_38_03_118348_0001.jpg
/home/pi/Desktop/images/03012025/02/38/image_03012025_02_38_03_118348_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.941461324691772 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 02:39:02.428426
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/02/37/image_03012025_02_37_02_553017_0003.jpg', '/home/pi/Desktop/images/03012025/02/38/image_03012025_02_38_03_118348_0000.jpg', '/home/pi/Desktop/images/03012025/02/38/image_03012025_02_38_03_118348_0001.jpg', '/home/pi/Desktop/images/03012025/02/38/image_03012025_02_38_03_118348_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/02/37/image_03012025_02_37_02_553017_0003.jpg
/home/pi/Desktop/images/03012025/02/38/image_03012025_02_38_03_118348_0000.jpg
/home/pi/Desktop/images/03012025/02/38/image_03012025_02_38_03_118348_0001.jpg
/home/pi/Desktop/images/03012025/02/38/image_03012025_02_38_03_118348_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325676252","1325676251","1325676254","1325676256"],"photo_ids_order":["1325676251","1325676252","1325676254","1325676256"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/acbffbc503c42df9a8abd0e1199f774f.jpg","text":"TemporaryFile(/tmp/multipartBody8895562935718802370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735868412852,"filename":"image_03012025_02_38_03_118348_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6a6cf0fd4f804af09412553d25318d37.jpg","text":"TemporaryFile(/tmp/multipartBody465930774363032033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735868412852,"filename":"image_03012025_02_37_02_553017_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b23be362692636d51047e13e4f7fa002.jpg","text":"TemporaryFile(/tmp/multipartBody1476097103669371567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735868412852,"filename":"image_03012025_02_38_03_118348_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9ecb558601fa479c6aae2a9daa17fcd5.jpg","text":"TemporaryFile(/tmp/multipartBody6833082471974076094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735868412852,"filename":"image_03012025_02_38_03_118348_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325676254","file1":"1325676252","file0":"1325676251","file3":"1325676256"},"map_files_photo_id_array":[{"photo_id":"1325676254","filename":"file2"},{"photo_id":"1325676252","filename":"file1"},{"photo_id":"1325676251","filename":"file0"},{"photo_id":"1325676256","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325676252":["hashtag1","hashtag2"]},{"1325676251":["hashtag1","hashtag2"]},{"1325676254":["hashtag1","hashtag2"]},{"1325676256":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325676252, 1325676251, 1325676254, 1325676256)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.38815522193909 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 02:40:02.806835
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/02/38/image_03012025_02_38_03_118348_0003.jpg', '/home/pi/Desktop/images/03012025/02/39/image_03012025_02_39_02_628605_0000.jpg', '/home/pi/Desktop/images/03012025/02/39/image_03012025_02_39_02_628605_0001.jpg', '/home/pi/Desktop/images/03012025/02/39/image_03012025_02_39_02_628605_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/02/38/image_03012025_02_38_03_118348_0003.jpg
/home/pi/Desktop/images/03012025/02/39/image_03012025_02_39_02_628605_0000.jpg
/home/pi/Desktop/images/03012025/02/39/image_03012025_02_39_02_628605_0001.jpg
/home/pi/Desktop/images/03012025/02/39/image_03012025_02_39_02_628605_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.254648208618164 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 02:40:22.419234
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/02/38/image_03012025_02_38_03_118348_0003.jpg', '/home/pi/Desktop/images/03012025/02/39/image_03012025_02_39_02_628605_0000.jpg', '/home/pi/Desktop/images/03012025/02/39/image_03012025_02_39_02_628605_0001.jpg', '/home/pi/Desktop/images/03012025/02/39/image_03012025_02_39_02_628605_0002.jpg', '/home/pi/Desktop/images/03012025/02/39/image_03012025_02_39_02_628605_0003.jpg', '/home/pi/Desktop/images/03012025/02/40/image_03012025_02_40_02_187467_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/02/38/image_03012025_02_38_03_118348_0003.jpg
/home/pi/Desktop/images/03012025/02/39/image_03012025_02_39_02_628605_0000.jpg
/home/pi/Desktop/images/03012025/02/39/image_03012025_02_39_02_628605_0001.jpg
/home/pi/Desktop/images/03012025/02/39/image_03012025_02_39_02_628605_0002.jpg
/home/pi/Desktop/images/03012025/02/39/image_03012025_02_39_02_628605_0003.jpg
/home/pi/Desktop/images/03012025/02/40/image_03012025_02_40_02_187467_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325676306","1325676296","1325676300","1325676302","1325676298","1325676304"],"photo_ids_order":["1325676296","1325676298","1325676300","1325676302","1325676304","1325676306"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/179f634d1a491e670d030611dc65bd70.jpg","text":"TemporaryFile(/tmp/multipartBody5525205893988431369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735868497863,"filename":"image_03012025_02_40_02_187467_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d029a546d452d122ca76cd07bf7f80da.jpg","text":"TemporaryFile(/tmp/multipartBody501571160667879110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735868497863,"filename":"image_03012025_02_38_03_118348_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c8ae94a8681bcc833180393512781df2.jpg","text":"TemporaryFile(/tmp/multipartBody9011721011200241702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735868497863,"filename":"image_03012025_02_39_02_628605_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3fdf04b7fd32fad684b79f83ca080381.jpg","text":"TemporaryFile(/tmp/multipartBody7873890519109806355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735868497863,"filename":"image_03012025_02_39_02_628605_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4d5e1a9137f0ad1f49724b7bc469dfb3.jpg","text":"TemporaryFile(/tmp/multipartBody6633704136876276475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735868497863,"filename":"image_03012025_02_39_02_628605_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0c8e90668a0f68cd500e1119d8eac85c.jpg","text":"TemporaryFile(/tmp/multipartBody3228146514442359898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735868497863,"filename":"image_03012025_02_39_02_628605_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325676300","file1":"1325676298","file0":"1325676296","file4":"1325676304","file5":"1325676306","file3":"1325676302"},"map_files_photo_id_array":[{"photo_id":"1325676306","filename":"file5"},{"photo_id":"1325676300","filename":"file2"},{"photo_id":"1325676304","filename":"file4"},{"photo_id":"1325676298","filename":"file1"},{"photo_id":"1325676296","filename":"file0"},{"photo_id":"1325676302","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325676306":["hashtag1","hashtag2"]},{"1325676296":["hashtag1","hashtag2"]},{"1325676300":["hashtag1","hashtag2"]},{"1325676302":["hashtag1","hashtag2"]},{"1325676298":["hashtag1","hashtag2"]},{"1325676304":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325676306, 1325676296, 1325676300, 1325676302, 1325676298, 1325676304)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.20067596435547 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 02:41:21.886746
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/02/40/image_03012025_02_40_02_187467_0001.jpg', '/home/pi/Desktop/images/03012025/02/40/image_03012025_02_40_02_187467_0002.jpg', '/home/pi/Desktop/images/03012025/02/40/image_03012025_02_40_02_187467_0003.jpg', '/home/pi/Desktop/images/03012025/02/41/image_03012025_02_41_02_772690_0000.jpg', '/home/pi/Desktop/images/03012025/02/41/image_03012025_02_41_02_772690_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/02/40/image_03012025_02_40_02_187467_0001.jpg
/home/pi/Desktop/images/03012025/02/40/image_03012025_02_40_02_187467_0002.jpg
/home/pi/Desktop/images/03012025/02/40/image_03012025_02_40_02_187467_0003.jpg
/home/pi/Desktop/images/03012025/02/41/image_03012025_02_41_02_772690_0000.jpg
/home/pi/Desktop/images/03012025/02/41/image_03012025_02_41_02_772690_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325676333","1325676336","1325676338","1325676335","1325676329"],"photo_ids_order":["1325676329","1325676333","1325676335","1325676336","1325676338"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/bd627ba1a2806aa24f6e5d18e6061e52.jpg","text":"TemporaryFile(/tmp/multipartBody7904034032594223416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735868554748,"filename":"image_03012025_02_40_02_187467_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/11f9cd6285deb7ece6bc503aba0d49f6.jpg","text":"TemporaryFile(/tmp/multipartBody3441948673673768304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735868554748,"filename":"image_03012025_02_41_02_772690_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/aa8725eb28e45df664e88fa54ba2e3be.jpg","text":"TemporaryFile(/tmp/multipartBody2990948169892688431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735868554748,"filename":"image_03012025_02_41_02_772690_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d2d53f355d704659f3f8be49e4dba0ff.jpg","text":"TemporaryFile(/tmp/multipartBody7252087633159112670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735868554748,"filename":"image_03012025_02_40_02_187467_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0809ec556491cbe072528864c06ac4fd.jpg","text":"TemporaryFile(/tmp/multipartBody8582889945501898558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735868554748,"filename":"image_03012025_02_40_02_187467_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325676335","file1":"1325676333","file0":"1325676329","file4":"1325676338","file3":"1325676336"},"map_files_photo_id_array":[{"photo_id":"1325676335","filename":"file2"},{"photo_id":"1325676338","filename":"file4"},{"photo_id":"1325676333","filename":"file1"},{"photo_id":"1325676329","filename":"file0"},{"photo_id":"1325676336","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325676333":["hashtag1","hashtag2"]},{"1325676336":["hashtag1","hashtag2"]},{"1325676338":["hashtag1","hashtag2"]},{"1325676335":["hashtag1","hashtag2"]},{"1325676329":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325676333, 1325676336, 1325676338, 1325676335, 1325676329)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 51.61729621887207 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 02:42:22.484528
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/02/41/image_03012025_02_41_02_772690_0002.jpg', '/home/pi/Desktop/images/03012025/02/42/image_03012025_02_42_02_326667_0000.jpg', '/home/pi/Desktop/images/03012025/02/42/image_03012025_02_42_02_326667_0001.jpg', '/home/pi/Desktop/images/03012025/02/42/image_03012025_02_42_02_326667_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/02/41/image_03012025_02_41_02_772690_0002.jpg
/home/pi/Desktop/images/03012025/02/42/image_03012025_02_42_02_326667_0000.jpg
/home/pi/Desktop/images/03012025/02/42/image_03012025_02_42_02_326667_0001.jpg
/home/pi/Desktop/images/03012025/02/42/image_03012025_02_42_02_326667_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325676348","1325676342","1325676356","1325676344"],"photo_ids_order":["1325676342","1325676344","1325676348","1325676356"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9e12ab22bf13ce2d881a426be4344a64.jpg","text":"TemporaryFile(/tmp/multipartBody283103099486384835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735868612966,"filename":"image_03012025_02_42_02_326667_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d9cfb1530117f71a41abba96b8caa0d9.jpg","text":"TemporaryFile(/tmp/multipartBody4851310814357379609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735868612966,"filename":"image_03012025_02_41_02_772690_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3f1f7cd203c18f8b782552239b448f33.jpg","text":"TemporaryFile(/tmp/multipartBody8970466601745244905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735868612966,"filename":"image_03012025_02_42_02_326667_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/bf33550c020c22928329b97e1255eada.jpg","text":"TemporaryFile(/tmp/multipartBody174805820618354494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735868612966,"filename":"image_03012025_02_42_02_326667_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325676348","file1":"1325676344","file0":"1325676342","file3":"1325676356"},"map_files_photo_id_array":[{"photo_id":"1325676348","filename":"file2"},{"photo_id":"1325676344","filename":"file1"},{"photo_id":"1325676342","filename":"file0"},{"photo_id":"1325676356","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325676348":["hashtag1","hashtag2"]},{"1325676342":["hashtag1","hashtag2"]},{"1325676356":["hashtag1","hashtag2"]},{"1325676344":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325676348, 1325676342, 1325676356, 1325676344)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.775028467178345 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 02:43:21.970270
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/02/42/image_03012025_02_42_02_326667_0003.jpg', '/home/pi/Desktop/images/03012025/02/43/image_03012025_02_43_02_813550_0000.jpg', '/home/pi/Desktop/images/03012025/02/43/image_03012025_02_43_02_813550_0001.jpg', '/home/pi/Desktop/images/03012025/02/43/image_03012025_02_43_02_813550_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/02/42/image_03012025_02_42_02_326667_0003.jpg
/home/pi/Desktop/images/03012025/02/43/image_03012025_02_43_02_813550_0000.jpg
/home/pi/Desktop/images/03012025/02/43/image_03012025_02_43_02_813550_0001.jpg
/home/pi/Desktop/images/03012025/02/43/image_03012025_02_43_02_813550_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325676525","1325676527","1325676529","1325676523"],"photo_ids_order":["1325676523","1325676525","1325676527","1325676529"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4d7922fffc985e6c6fc905bae382b399.jpg","text":"TemporaryFile(/tmp/multipartBody4767560941121366326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735868672322,"filename":"image_03012025_02_43_02_813550_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5954a27b7bbfbd9422face3029bfa9be.jpg","text":"TemporaryFile(/tmp/multipartBody1902465003064916100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735868672322,"filename":"image_03012025_02_43_02_813550_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4225bbfeee4595ac6c35e837c2a8ab07.jpg","text":"TemporaryFile(/tmp/multipartBody4808090847050957043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735868672322,"filename":"image_03012025_02_43_02_813550_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2e967d0f196d26e5e216c2fce33d6201.jpg","text":"TemporaryFile(/tmp/multipartBody6360358261752991508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735868672322,"filename":"image_03012025_02_42_02_326667_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325676527","file1":"1325676525","file0":"1325676523","file3":"1325676529"},"map_files_photo_id_array":[{"photo_id":"1325676527","filename":"file2"},{"photo_id":"1325676525","filename":"file1"},{"photo_id":"1325676523","filename":"file0"},{"photo_id":"1325676529","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325676525":["hashtag1","hashtag2"]},{"1325676527":["hashtag1","hashtag2"]},{"1325676529":["hashtag1","hashtag2"]},{"1325676523":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325676525, 1325676527, 1325676529, 1325676523)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.316099882125854 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 02:44:02.814158
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 02:44:22.411880
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/02/43/image_03012025_02_43_02_813550_0003.jpg', '/home/pi/Desktop/images/03012025/02/44/image_03012025_02_44_02_307102_0000.jpg', '/home/pi/Desktop/images/03012025/02/44/image_03012025_02_44_02_307102_0001.jpg', '/home/pi/Desktop/images/03012025/02/44/image_03012025_02_44_02_307102_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/02/43/image_03012025_02_43_02_813550_0003.jpg
/home/pi/Desktop/images/03012025/02/44/image_03012025_02_44_02_307102_0000.jpg
/home/pi/Desktop/images/03012025/02/44/image_03012025_02_44_02_307102_0001.jpg
/home/pi/Desktop/images/03012025/02/44/image_03012025_02_44_02_307102_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325676552","1325676547","1325676550","1325676544"],"photo_ids_order":["1325676544","1325676547","1325676550","1325676552"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/bd60fc3a1f37deee9c281930ccdc13c7.jpg","text":"TemporaryFile(/tmp/multipartBody8512310716204818431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735868732694,"filename":"image_03012025_02_44_02_307102_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/39b4a8d7d8ff4c69ca395e51b3d545ba.jpg","text":"TemporaryFile(/tmp/multipartBody8877339941159732792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735868732694,"filename":"image_03012025_02_44_02_307102_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1fba4a92607c78970f9def25ace66d6b.jpg","text":"TemporaryFile(/tmp/multipartBody2166487605342839564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735868732694,"filename":"image_03012025_02_44_02_307102_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2fca24e4ebe0654f181a2aae40e72729.jpg","text":"TemporaryFile(/tmp/multipartBody8126163471512562972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735868732694,"filename":"image_03012025_02_43_02_813550_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325676550","file1":"1325676547","file0":"1325676544","file3":"1325676552"},"map_files_photo_id_array":[{"photo_id":"1325676550","filename":"file2"},{"photo_id":"1325676547","filename":"file1"},{"photo_id":"1325676544","filename":"file0"},{"photo_id":"1325676552","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325676552":["hashtag1","hashtag2"]},{"1325676547":["hashtag1","hashtag2"]},{"1325676550":["hashtag1","hashtag2"]},{"1325676544":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325676552, 1325676547, 1325676550, 1325676544)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.44239521026611 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 02:45:21.910522
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/02/44/image_03012025_02_44_02_307102_0003.jpg', '/home/pi/Desktop/images/03012025/02/45/image_03012025_02_45_02_772503_0000.jpg', '/home/pi/Desktop/images/03012025/02/45/image_03012025_02_45_02_772503_0001.jpg', '/home/pi/Desktop/images/03012025/02/45/image_03012025_02_45_02_772503_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/02/44/image_03012025_02_44_02_307102_0003.jpg
/home/pi/Desktop/images/03012025/02/45/image_03012025_02_45_02_772503_0000.jpg
/home/pi/Desktop/images/03012025/02/45/image_03012025_02_45_02_772503_0001.jpg
/home/pi/Desktop/images/03012025/02/45/image_03012025_02_45_02_772503_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325676575","1325676583","1325676580","1325676562"],"photo_ids_order":["1325676562","1325676575","1325676580","1325676583"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/679cda35c179a906a3621d4861caa3c8.jpg","text":"TemporaryFile(/tmp/multipartBody7027209628881448384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735868792211,"filename":"image_03012025_02_45_02_772503_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b40968ae4cbc57c870dcb19bdaad5e2c.jpg","text":"TemporaryFile(/tmp/multipartBody3198080354527664933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735868792211,"filename":"image_03012025_02_45_02_772503_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/eb03e2dd6dc8497c46e124aed66783e1.jpg","text":"TemporaryFile(/tmp/multipartBody9129834848419293635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735868792211,"filename":"image_03012025_02_45_02_772503_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/bd736ff7434e210e2e1ff9c87014070b.jpg","text":"TemporaryFile(/tmp/multipartBody8987187249302545597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735868792211,"filename":"image_03012025_02_44_02_307102_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325676580","file1":"1325676575","file0":"1325676562","file3":"1325676583"},"map_files_photo_id_array":[{"photo_id":"1325676580","filename":"file2"},{"photo_id":"1325676575","filename":"file1"},{"photo_id":"1325676562","filename":"file0"},{"photo_id":"1325676583","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325676575":["hashtag1","hashtag2"]},{"1325676583":["hashtag1","hashtag2"]},{"1325676580":["hashtag1","hashtag2"]},{"1325676562":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325676575, 1325676583, 1325676580, 1325676562)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.00598931312561 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-03 02:46:22.436609
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/02/45/image_03012025_02_45_02_772503_0003.jpg', '/home/pi/Desktop/images/03012025/02/46/image_03012025_02_46_02_285277_0000.jpg', '/home/pi/Desktop/images/03012025/02/46/image_03012025_02_46_02_285277_0001.jpg', '/home/pi/Desktop/images/03012025/02/46/image_03012025_02_46_02_285277_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/02/45/image_03012025_02_45_02_772503_0003.jpg
/home/pi/Desktop/images/03012025/02/46/image_03012025_02_46_02_285277_0000.jpg
/home/pi/Desktop/images/03012025/02/46/image_03012025_02_46_02_285277_0001.jpg
/home/pi/Desktop/images/03012025/02/46/image_03012025_02_46_02_285277_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325676597","1325676599","1325676595","1325676601"],"photo_ids_order":["1325676595","1325676597","1325676599","1325676601"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8839f38032dbf57ed5dd710f173660b5.jpg","text":"TemporaryFile(/tmp/multipartBody6062027706432211827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735868852769,"filename":"image_03012025_02_46_02_285277_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5cae46842696978e27aabd61e767cb6f.jpg","text":"TemporaryFile(/tmp/multipartBody2042119785631784585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735868852769,"filename":"image_03012025_02_46_02_285277_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a2d414d45a371dd14511e80e7786ca93.jpg","text":"TemporaryFile(/tmp/multipartBody146884312631940728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735868852769,"filename":"image_03012025_02_45_02_772503_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3af1f884e812342e0b2710a76a17e0fb.jpg","text":"TemporaryFile(/tmp/multipartBody9073119082706003731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735868852769,"filename":"image_03012025_02_46_02_285277_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325676599","file1":"1325676597","file0":"1325676595","file3":"1325676601"},"map_files_photo_id_array":[{"photo_id":"1325676599","filename":"file2"},{"photo_id":"1325676597","filename":"file1"},{"photo_id":"1325676595","filename":"file0"},{"photo_id":"1325676601","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325676597":["hashtag1","hashtag2"]},{"1325676599":["hashtag1","hashtag2"]},{"1325676595":["hashtag1","hashtag2"]},{"1325676601":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325676597, 1325676599, 1325676595, 1325676601)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.70131158828735 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 02:47:21.918690
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/02/46/image_03012025_02_46_02_285277_0003.jpg', '/home/pi/Desktop/images/03012025/02/47/image_03012025_02_47_02_783769_0000.jpg', '/home/pi/Desktop/images/03012025/02/47/image_03012025_02_47_02_783769_0001.jpg', '/home/pi/Desktop/images/03012025/02/47/image_03012025_02_47_02_783769_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/02/46/image_03012025_02_46_02_285277_0003.jpg
/home/pi/Desktop/images/03012025/02/47/image_03012025_02_47_02_783769_0000.jpg
/home/pi/Desktop/images/03012025/02/47/image_03012025_02_47_02_783769_0001.jpg
/home/pi/Desktop/images/03012025/02/47/image_03012025_02_47_02_783769_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325676613","1325676615","1325676611","1325676608"],"photo_ids_order":["1325676608","1325676611","1325676613","1325676615"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7613fd356cd3bed0ea17dd19c35d3823.jpg","text":"TemporaryFile(/tmp/multipartBody1692119237687496829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735868912453,"filename":"image_03012025_02_47_02_783769_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5f39b491ab410cc956c8c77d7ef73061.jpg","text":"TemporaryFile(/tmp/multipartBody8271396095700095335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735868912453,"filename":"image_03012025_02_47_02_783769_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0d67899c83db23ef355d6a9acc009e38.jpg","text":"TemporaryFile(/tmp/multipartBody1405559844381252348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735868912453,"filename":"image_03012025_02_47_02_783769_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/40c6e491f069307c3943c7ebb2bfc475.jpg","text":"TemporaryFile(/tmp/multipartBody6958776958532036679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735868912453,"filename":"image_03012025_02_46_02_285277_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325676613","file1":"1325676611","file0":"1325676608","file3":"1325676615"},"map_files_photo_id_array":[{"photo_id":"1325676613","filename":"file2"},{"photo_id":"1325676611","filename":"file1"},{"photo_id":"1325676608","filename":"file0"},{"photo_id":"1325676615","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325676613":["hashtag1","hashtag2"]},{"1325676615":["hashtag1","hashtag2"]},{"1325676611":["hashtag1","hashtag2"]},{"1325676608":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325676613, 1325676615, 1325676611, 1325676608)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.80087471008301 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 02:48:22.410048
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/02/47/image_03012025_02_47_02_783769_0003.jpg', '/home/pi/Desktop/images/03012025/02/48/image_03012025_02_48_02_287282_0000.jpg', '/home/pi/Desktop/images/03012025/02/48/image_03012025_02_48_02_287282_0001.jpg', '/home/pi/Desktop/images/03012025/02/48/image_03012025_02_48_02_287282_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/02/47/image_03012025_02_47_02_783769_0003.jpg
/home/pi/Desktop/images/03012025/02/48/image_03012025_02_48_02_287282_0000.jpg
/home/pi/Desktop/images/03012025/02/48/image_03012025_02_48_02_287282_0001.jpg
/home/pi/Desktop/images/03012025/02/48/image_03012025_02_48_02_287282_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325676631","1325676627","1325676621","1325676623"],"photo_ids_order":["1325676621","1325676623","1325676627","1325676631"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6b925485fd3b8dfc1bc06099f4effce4.jpg","text":"TemporaryFile(/tmp/multipartBody7217559173448806870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735868972887,"filename":"image_03012025_02_48_02_287282_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6030d1b1d4d1882b3de15fa1b263fd71.jpg","text":"TemporaryFile(/tmp/multipartBody3308405232119423195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735868972887,"filename":"image_03012025_02_48_02_287282_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9abeb3fcdd58509bdf6fd7145dd22a22.jpg","text":"TemporaryFile(/tmp/multipartBody4818338574433758218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735868972887,"filename":"image_03012025_02_47_02_783769_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/398c4b4d99a5421a88e7d8941095165c.jpg","text":"TemporaryFile(/tmp/multipartBody4459005861371753215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735868972887,"filename":"image_03012025_02_48_02_287282_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325676627","file1":"1325676623","file0":"1325676621","file3":"1325676631"},"map_files_photo_id_array":[{"photo_id":"1325676627","filename":"file2"},{"photo_id":"1325676623","filename":"file1"},{"photo_id":"1325676621","filename":"file0"},{"photo_id":"1325676631","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325676631":["hashtag1","hashtag2"]},{"1325676627":["hashtag1","hashtag2"]},{"1325676621":["hashtag1","hashtag2"]},{"1325676623":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325676631, 1325676627, 1325676621, 1325676623)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.97689366340637 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 02:49:21.980384
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/02/48/image_03012025_02_48_02_287282_0003.jpg', '/home/pi/Desktop/images/03012025/02/49/image_03012025_02_49_02_800002_0000.jpg', '/home/pi/Desktop/images/03012025/02/49/image_03012025_02_49_02_800002_0001.jpg', '/home/pi/Desktop/images/03012025/02/49/image_03012025_02_49_02_800002_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/02/48/image_03012025_02_48_02_287282_0003.jpg
/home/pi/Desktop/images/03012025/02/49/image_03012025_02_49_02_800002_0000.jpg
/home/pi/Desktop/images/03012025/02/49/image_03012025_02_49_02_800002_0001.jpg
/home/pi/Desktop/images/03012025/02/49/image_03012025_02_49_02_800002_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325676664","1325676667","1325676748","1325676661"],"photo_ids_order":["1325676661","1325676664","1325676667","1325676748"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4c6a8f608f2063e7d7b6f566b8b89efc.jpg","text":"TemporaryFile(/tmp/multipartBody5020473080422280637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735869032467,"filename":"image_03012025_02_49_02_800002_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f31bbb7f5ac8b364bea1121d4dd045f1.jpg","text":"TemporaryFile(/tmp/multipartBody1438693000792348410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735869032467,"filename":"image_03012025_02_49_02_800002_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3544595dcb1bad3828dec6ff13d21ec1.jpg","text":"TemporaryFile(/tmp/multipartBody2252311396306064099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735869032467,"filename":"image_03012025_02_49_02_800002_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/af373308cd761c44e62f8702c4f09d6c.jpg","text":"TemporaryFile(/tmp/multipartBody4041813789170390438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735869032467,"filename":"image_03012025_02_48_02_287282_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325676667","file1":"1325676664","file0":"1325676661","file3":"1325676748"},"map_files_photo_id_array":[{"photo_id":"1325676667","filename":"file2"},{"photo_id":"1325676664","filename":"file1"},{"photo_id":"1325676661","filename":"file0"},{"photo_id":"1325676748","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325676664":["hashtag1","hashtag2"]},{"1325676667":["hashtag1","hashtag2"]},{"1325676748":["hashtag1","hashtag2"]},{"1325676661":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325676664, 1325676667, 1325676748, 1325676661)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.253504037857056 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 02:50:22.420906
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/02/49/image_03012025_02_49_02_800002_0003.jpg', '/home/pi/Desktop/images/03012025/02/50/image_03012025_02_50_02_309728_0000.jpg', '/home/pi/Desktop/images/03012025/02/50/image_03012025_02_50_02_309728_0001.jpg', '/home/pi/Desktop/images/03012025/02/50/image_03012025_02_50_02_309728_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/02/49/image_03012025_02_49_02_800002_0003.jpg
/home/pi/Desktop/images/03012025/02/50/image_03012025_02_50_02_309728_0000.jpg
/home/pi/Desktop/images/03012025/02/50/image_03012025_02_50_02_309728_0001.jpg
/home/pi/Desktop/images/03012025/02/50/image_03012025_02_50_02_309728_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.942629098892212 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 02:51:02.591337
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/02/49/image_03012025_02_49_02_800002_0003.jpg', '/home/pi/Desktop/images/03012025/02/50/image_03012025_02_50_02_309728_0000.jpg', '/home/pi/Desktop/images/03012025/02/50/image_03012025_02_50_02_309728_0001.jpg', '/home/pi/Desktop/images/03012025/02/50/image_03012025_02_50_02_309728_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/02/49/image_03012025_02_49_02_800002_0003.jpg
/home/pi/Desktop/images/03012025/02/50/image_03012025_02_50_02_309728_0000.jpg
/home/pi/Desktop/images/03012025/02/50/image_03012025_02_50_02_309728_0001.jpg
/home/pi/Desktop/images/03012025/02/50/image_03012025_02_50_02_309728_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325676768","1325676765","1325676770","1325676766"],"photo_ids_order":["1325676765","1325676766","1325676768","1325676770"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/87263a36cf97d9c4c8876e3ece9fca5c.jpg","text":"TemporaryFile(/tmp/multipartBody8593556236586031732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735869133120,"filename":"image_03012025_02_50_02_309728_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/bcbff7cbfd79e64c3bdaff20a7d4a6d1.jpg","text":"TemporaryFile(/tmp/multipartBody591597926935111571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735869133120,"filename":"image_03012025_02_49_02_800002_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b45cb8016e686bdf77206c800fab576e.jpg","text":"TemporaryFile(/tmp/multipartBody7844821969617324026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735869133120,"filename":"image_03012025_02_50_02_309728_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f44c7d9da4eec57a90b4a97105ef4ee6.jpg","text":"TemporaryFile(/tmp/multipartBody7766232748424470032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735869133120,"filename":"image_03012025_02_50_02_309728_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325676768","file1":"1325676766","file0":"1325676765","file3":"1325676770"},"map_files_photo_id_array":[{"photo_id":"1325676768","filename":"file2"},{"photo_id":"1325676766","filename":"file1"},{"photo_id":"1325676765","filename":"file0"},{"photo_id":"1325676770","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325676768":["hashtag1","hashtag2"]},{"1325676765":["hashtag1","hashtag2"]},{"1325676770":["hashtag1","hashtag2"]},{"1325676766":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325676768, 1325676765, 1325676770, 1325676766)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.81007957458496 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 02:52:03.008390
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/02/50/image_03012025_02_50_02_309728_0003.jpg', '/home/pi/Desktop/images/03012025/02/51/image_03012025_02_51_02_803782_0000.jpg', '/home/pi/Desktop/images/03012025/02/51/image_03012025_02_51_02_803782_0001.jpg', '/home/pi/Desktop/images/03012025/02/51/image_03012025_02_51_02_803782_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/02/50/image_03012025_02_50_02_309728_0003.jpg
/home/pi/Desktop/images/03012025/02/51/image_03012025_02_51_02_803782_0000.jpg
/home/pi/Desktop/images/03012025/02/51/image_03012025_02_51_02_803782_0001.jpg
/home/pi/Desktop/images/03012025/02/51/image_03012025_02_51_02_803782_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.010894060134888 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 02:52:22.551242
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/02/50/image_03012025_02_50_02_309728_0003.jpg', '/home/pi/Desktop/images/03012025/02/51/image_03012025_02_51_02_803782_0000.jpg', '/home/pi/Desktop/images/03012025/02/51/image_03012025_02_51_02_803782_0001.jpg', '/home/pi/Desktop/images/03012025/02/51/image_03012025_02_51_02_803782_0002.jpg', '/home/pi/Desktop/images/03012025/02/51/image_03012025_02_51_02_803782_0003.jpg', '/home/pi/Desktop/images/03012025/02/52/image_03012025_02_52_02_314738_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/02/50/image_03012025_02_50_02_309728_0003.jpg
/home/pi/Desktop/images/03012025/02/51/image_03012025_02_51_02_803782_0000.jpg
/home/pi/Desktop/images/03012025/02/51/image_03012025_02_51_02_803782_0001.jpg
/home/pi/Desktop/images/03012025/02/51/image_03012025_02_51_02_803782_0002.jpg
/home/pi/Desktop/images/03012025/02/51/image_03012025_02_51_02_803782_0003.jpg
/home/pi/Desktop/images/03012025/02/52/image_03012025_02_52_02_314738_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325676827","1325676821","1325676824","1325676818","1325676811","1325676814"],"photo_ids_order":["1325676811","1325676814","1325676818","1325676821","1325676824","1325676827"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/93b57dc08e1b90f62ee2684f2ff9f293.jpg","text":"TemporaryFile(/tmp/multipartBody7744901669609660742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735869217783,"filename":"image_03012025_02_52_02_314738_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/bed5cf822fdf2be3b539451292625400.jpg","text":"TemporaryFile(/tmp/multipartBody8297574829684311690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735869217783,"filename":"image_03012025_02_51_02_803782_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d81abc616f6160ad8a3fb6329d6cd08b.jpg","text":"TemporaryFile(/tmp/multipartBody1759586341103641790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735869217783,"filename":"image_03012025_02_51_02_803782_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/79172a490c3d15a79fc3b7b778e0a84d.jpg","text":"TemporaryFile(/tmp/multipartBody7150200703367556329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735869217783,"filename":"image_03012025_02_51_02_803782_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/258de01150fbdb577bb4faa370ffb6d6.jpg","text":"TemporaryFile(/tmp/multipartBody4235729026882643038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735869217783,"filename":"image_03012025_02_50_02_309728_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5d91fcfa5f8372d07f3bce8342becca6.jpg","text":"TemporaryFile(/tmp/multipartBody8360797852326327628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735869217783,"filename":"image_03012025_02_51_02_803782_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325676818","file1":"1325676814","file0":"1325676811","file4":"1325676824","file5":"1325676827","file3":"1325676821"},"map_files_photo_id_array":[{"photo_id":"1325676827","filename":"file5"},{"photo_id":"1325676818","filename":"file2"},{"photo_id":"1325676824","filename":"file4"},{"photo_id":"1325676814","filename":"file1"},{"photo_id":"1325676811","filename":"file0"},{"photo_id":"1325676821","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325676827":["hashtag1","hashtag2"]},{"1325676821":["hashtag1","hashtag2"]},{"1325676824":["hashtag1","hashtag2"]},{"1325676818":["hashtag1","hashtag2"]},{"1325676811":["hashtag1","hashtag2"]},{"1325676814":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325676827, 1325676821, 1325676824, 1325676818, 1325676811, 1325676814)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.74837875366211 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 02:53:21.997718
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/02/52/image_03012025_02_52_02_314738_0001.jpg', '/home/pi/Desktop/images/03012025/02/52/image_03012025_02_52_02_314738_0002.jpg', '/home/pi/Desktop/images/03012025/02/52/image_03012025_02_52_02_314738_0003.jpg', '/home/pi/Desktop/images/03012025/02/53/image_03012025_02_53_02_911531_0000.jpg', '/home/pi/Desktop/images/03012025/02/53/image_03012025_02_53_02_911531_0001.jpg', '/home/pi/Desktop/images/03012025/02/53/image_03012025_02_53_02_911531_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/02/52/image_03012025_02_52_02_314738_0001.jpg
/home/pi/Desktop/images/03012025/02/52/image_03012025_02_52_02_314738_0002.jpg
/home/pi/Desktop/images/03012025/02/52/image_03012025_02_52_02_314738_0003.jpg
/home/pi/Desktop/images/03012025/02/53/image_03012025_02_53_02_911531_0000.jpg
/home/pi/Desktop/images/03012025/02/53/image_03012025_02_53_02_911531_0001.jpg
/home/pi/Desktop/images/03012025/02/53/image_03012025_02_53_02_911531_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325677011","1325677005","1325677007","1325677009","1325677000","1325677003"],"photo_ids_order":["1325677000","1325677003","1325677005","1325677007","1325677009","1325677011"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ec03db5310725d4a6b5b548b62cd5123.jpg","text":"TemporaryFile(/tmp/multipartBody6113463205799250753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735869277303,"filename":"image_03012025_02_53_02_911531_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d0e99316d9b5e8fc8b466750eca49933.jpg","text":"TemporaryFile(/tmp/multipartBody6824723336720113366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735869277303,"filename":"image_03012025_02_52_02_314738_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a553fb2a87d98b2fe3e5590b019ddcd5.jpg","text":"TemporaryFile(/tmp/multipartBody4244913612457361463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735869277303,"filename":"image_03012025_02_53_02_911531_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e929067b01c5945a6df8e2814044650b.jpg","text":"TemporaryFile(/tmp/multipartBody5294993449931935554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735869277303,"filename":"image_03012025_02_53_02_911531_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4ea4dc2e1ad68010751ff468852fcf6b.jpg","text":"TemporaryFile(/tmp/multipartBody7879148802255904932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735869277303,"filename":"image_03012025_02_52_02_314738_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/41d9346d92ea653fd3213f43ae85660e.jpg","text":"TemporaryFile(/tmp/multipartBody304283872578554862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735869277303,"filename":"image_03012025_02_52_02_314738_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325677005","file1":"1325677003","file0":"1325677000","file4":"1325677009","file5":"1325677011","file3":"1325677007"},"map_files_photo_id_array":[{"photo_id":"1325677011","filename":"file5"},{"photo_id":"1325677005","filename":"file2"},{"photo_id":"1325677009","filename":"file4"},{"photo_id":"1325677003","filename":"file1"},{"photo_id":"1325677000","filename":"file0"},{"photo_id":"1325677007","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325677011":["hashtag1","hashtag2"]},{"1325677005":["hashtag1","hashtag2"]},{"1325677007":["hashtag1","hashtag2"]},{"1325677009":["hashtag1","hashtag2"]},{"1325677000":["hashtag1","hashtag2"]},{"1325677003":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325677011, 1325677005, 1325677007, 1325677009, 1325677000, 1325677003)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.410938024520874 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 02:54:22.645348
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/02/53/image_03012025_02_53_02_911531_0003.jpg', '/home/pi/Desktop/images/03012025/02/54/image_03012025_02_54_02_507986_0000.jpg', '/home/pi/Desktop/images/03012025/02/54/image_03012025_02_54_02_507986_0001.jpg', '/home/pi/Desktop/images/03012025/02/54/image_03012025_02_54_02_507986_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/02/53/image_03012025_02_53_02_911531_0003.jpg
/home/pi/Desktop/images/03012025/02/54/image_03012025_02_54_02_507986_0000.jpg
/home/pi/Desktop/images/03012025/02/54/image_03012025_02_54_02_507986_0001.jpg
/home/pi/Desktop/images/03012025/02/54/image_03012025_02_54_02_507986_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325677020","1325677023","1325677017","1325677015"],"photo_ids_order":["1325677015","1325677017","1325677020","1325677023"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/fd259fdf3002abe2031c0460ea3dc86f.jpg","text":"TemporaryFile(/tmp/multipartBody490946923844346036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735869333029,"filename":"image_03012025_02_54_02_507986_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a55c9560afa8b9f883bb4779d9dae849.jpg","text":"TemporaryFile(/tmp/multipartBody629938106509757069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735869333029,"filename":"image_03012025_02_54_02_507986_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/fec6015c6e1fbdeaa66eaf99e7e6728d.jpg","text":"TemporaryFile(/tmp/multipartBody2554052715265844959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735869333029,"filename":"image_03012025_02_54_02_507986_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7ac7d91eb234deebe04299c6863f6544.jpg","text":"TemporaryFile(/tmp/multipartBody5243382773149780890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735869333029,"filename":"image_03012025_02_53_02_911531_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325677020","file1":"1325677017","file0":"1325677015","file3":"1325677023"},"map_files_photo_id_array":[{"photo_id":"1325677020","filename":"file2"},{"photo_id":"1325677017","filename":"file1"},{"photo_id":"1325677015","filename":"file0"},{"photo_id":"1325677023","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325677020":["hashtag1","hashtag2"]},{"1325677023":["hashtag1","hashtag2"]},{"1325677017":["hashtag1","hashtag2"]},{"1325677015":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325677020, 1325677023, 1325677017, 1325677015)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.665597438812256 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 02:55:22.098338
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/02/54/image_03012025_02_54_02_507986_0003.jpg', '/home/pi/Desktop/images/03012025/02/55/image_03012025_02_55_03_028390_0000.jpg', '/home/pi/Desktop/images/03012025/02/55/image_03012025_02_55_03_028390_0001.jpg', '/home/pi/Desktop/images/03012025/02/55/image_03012025_02_55_03_028390_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/02/54/image_03012025_02_54_02_507986_0003.jpg
/home/pi/Desktop/images/03012025/02/55/image_03012025_02_55_03_028390_0000.jpg
/home/pi/Desktop/images/03012025/02/55/image_03012025_02_55_03_028390_0001.jpg
/home/pi/Desktop/images/03012025/02/55/image_03012025_02_55_03_028390_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325677218","1325677211","1325677214","1325677216"],"photo_ids_order":["1325677211","1325677214","1325677216","1325677218"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e48ecfebf8c892b31b837ef1d1541708.jpg","text":"TemporaryFile(/tmp/multipartBody6137429848415212336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735869392583,"filename":"image_03012025_02_55_03_028390_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7ccd24981f5117fdec158cdd6182cb37.jpg","text":"TemporaryFile(/tmp/multipartBody4925563379452032209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735869392583,"filename":"image_03012025_02_54_02_507986_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ab5ecc6c055d21543bd5d15553739581.jpg","text":"TemporaryFile(/tmp/multipartBody8839696440394830201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735869392583,"filename":"image_03012025_02_55_03_028390_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f4da86b35b3e6de93731be6be51542b8.jpg","text":"TemporaryFile(/tmp/multipartBody4177826726439732147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735869392583,"filename":"image_03012025_02_55_03_028390_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325677216","file1":"1325677214","file0":"1325677211","file3":"1325677218"},"map_files_photo_id_array":[{"photo_id":"1325677216","filename":"file2"},{"photo_id":"1325677214","filename":"file1"},{"photo_id":"1325677211","filename":"file0"},{"photo_id":"1325677218","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325677218":["hashtag1","hashtag2"]},{"1325677211":["hashtag1","hashtag2"]},{"1325677214":["hashtag1","hashtag2"]},{"1325677216":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325677218, 1325677211, 1325677214, 1325677216)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.95917344093323 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 02:56:22.643955
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/02/55/image_03012025_02_55_03_028390_0003.jpg', '/home/pi/Desktop/images/03012025/02/56/image_03012025_02_56_02_523087_0000.jpg', '/home/pi/Desktop/images/03012025/02/56/image_03012025_02_56_02_523087_0001.jpg', '/home/pi/Desktop/images/03012025/02/56/image_03012025_02_56_02_523087_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/02/55/image_03012025_02_55_03_028390_0003.jpg
/home/pi/Desktop/images/03012025/02/56/image_03012025_02_56_02_523087_0000.jpg
/home/pi/Desktop/images/03012025/02/56/image_03012025_02_56_02_523087_0001.jpg
/home/pi/Desktop/images/03012025/02/56/image_03012025_02_56_02_523087_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325677401","1325677373","1325677406","1325677409"],"photo_ids_order":["1325677373","1325677401","1325677406","1325677409"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1e7429d89d3413537e1114d64ae7c696.jpg","text":"TemporaryFile(/tmp/multipartBody5713826685363299277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735869453073,"filename":"image_03012025_02_56_02_523087_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/08dfee19ca13da303101d83bb33ac4bb.jpg","text":"TemporaryFile(/tmp/multipartBody7709360631805980737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735869453073,"filename":"image_03012025_02_55_03_028390_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/96dc87d63af114a30407b73e4fb95889.jpg","text":"TemporaryFile(/tmp/multipartBody506152341581555564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735869453073,"filename":"image_03012025_02_56_02_523087_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7880a0073c682738199851bac413f65c.jpg","text":"TemporaryFile(/tmp/multipartBody1449973801254788993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735869453073,"filename":"image_03012025_02_56_02_523087_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325677406","file1":"1325677401","file0":"1325677373","file3":"1325677409"},"map_files_photo_id_array":[{"photo_id":"1325677406","filename":"file2"},{"photo_id":"1325677401","filename":"file1"},{"photo_id":"1325677373","filename":"file0"},{"photo_id":"1325677409","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325677401":["hashtag1","hashtag2"]},{"1325677373":["hashtag1","hashtag2"]},{"1325677406":["hashtag1","hashtag2"]},{"1325677409":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325677401, 1325677373, 1325677406, 1325677409)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.73788571357727 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 02:57:02.914838
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 02:57:22.102281
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/02/56/image_03012025_02_56_02_523087_0003.jpg', '/home/pi/Desktop/images/03012025/02/57/image_03012025_02_57_03_080880_0000.jpg', '/home/pi/Desktop/images/03012025/02/57/image_03012025_02_57_03_080880_0001.jpg', '/home/pi/Desktop/images/03012025/02/57/image_03012025_02_57_03_080880_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/02/56/image_03012025_02_56_02_523087_0003.jpg
/home/pi/Desktop/images/03012025/02/57/image_03012025_02_57_03_080880_0000.jpg
/home/pi/Desktop/images/03012025/02/57/image_03012025_02_57_03_080880_0001.jpg
/home/pi/Desktop/images/03012025/02/57/image_03012025_02_57_03_080880_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-03 02:59:02.379894
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/02/56/image_03012025_02_56_02_523087_0003.jpg', '/home/pi/Desktop/images/03012025/02/57/image_03012025_02_57_03_080880_0000.jpg', '/home/pi/Desktop/images/03012025/02/57/image_03012025_02_57_03_080880_0001.jpg', '/home/pi/Desktop/images/03012025/02/57/image_03012025_02_57_03_080880_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/02/56/image_03012025_02_56_02_523087_0003.jpg
/home/pi/Desktop/images/03012025/02/57/image_03012025_02_57_03_080880_0000.jpg
/home/pi/Desktop/images/03012025/02/57/image_03012025_02_57_03_080880_0001.jpg
/home/pi/Desktop/images/03012025/02/57/image_03012025_02_57_03_080880_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325677958","1325677952","1325677963","1325677945"],"photo_ids_order":["1325677945","1325677952","1325677958","1325677963"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/dcea4d5c9a9c140dc1f385bc35656760.jpg","text":"TemporaryFile(/tmp/multipartBody4956580513213103495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735869612882,"filename":"image_03012025_02_57_03_080880_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/578b531a47868ed1ae0a7feee79f3bf0.jpg","text":"TemporaryFile(/tmp/multipartBody614436758925490987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735869612882,"filename":"image_03012025_02_57_03_080880_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6c45cf4e9256d6e4056a8d0106c962d0.jpg","text":"TemporaryFile(/tmp/multipartBody7622131626573847583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735869612882,"filename":"image_03012025_02_57_03_080880_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c328b6b67d628ce1976431dbaa3fe0a1.jpg","text":"TemporaryFile(/tmp/multipartBody3770614892616658075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735869612882,"filename":"image_03012025_02_56_02_523087_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325677958","file1":"1325677952","file0":"1325677945","file3":"1325677963"},"map_files_photo_id_array":[{"photo_id":"1325677958","filename":"file2"},{"photo_id":"1325677952","filename":"file1"},{"photo_id":"1325677945","filename":"file0"},{"photo_id":"1325677963","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325677958":["hashtag1","hashtag2"]},{"1325677952":["hashtag1","hashtag2"]},{"1325677963":["hashtag1","hashtag2"]},{"1325677945":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325677958, 1325677952, 1325677963, 1325677945)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.50434160232544 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 03:00:02.912639
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/02/57/image_03012025_02_57_03_080880_0003.jpg', '/home/pi/Desktop/images/03012025/02/58/image_03012025_02_58_02_543465_0000.jpg', '/home/pi/Desktop/images/03012025/02/58/image_03012025_02_58_02_543465_0001.jpg', '/home/pi/Desktop/images/03012025/02/58/image_03012025_02_58_02_543465_0002.jpg', '/home/pi/Desktop/images/03012025/02/58/image_03012025_02_58_02_543465_0003.jpg', '/home/pi/Desktop/images/03012025/02/59/image_03012025_02_59_03_144879_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/02/57/image_03012025_02_57_03_080880_0003.jpg
/home/pi/Desktop/images/03012025/02/58/image_03012025_02_58_02_543465_0000.jpg
/home/pi/Desktop/images/03012025/02/58/image_03012025_02_58_02_543465_0001.jpg
/home/pi/Desktop/images/03012025/02/58/image_03012025_02_58_02_543465_0002.jpg
/home/pi/Desktop/images/03012025/02/58/image_03012025_02_58_02_543465_0003.jpg
/home/pi/Desktop/images/03012025/02/59/image_03012025_02_59_03_144879_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.932064294815063 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 03:00:22.452533
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/02/57/image_03012025_02_57_03_080880_0003.jpg', '/home/pi/Desktop/images/03012025/02/58/image_03012025_02_58_02_543465_0000.jpg', '/home/pi/Desktop/images/03012025/02/58/image_03012025_02_58_02_543465_0001.jpg', '/home/pi/Desktop/images/03012025/02/58/image_03012025_02_58_02_543465_0002.jpg', '/home/pi/Desktop/images/03012025/02/58/image_03012025_02_58_02_543465_0003.jpg', '/home/pi/Desktop/images/03012025/02/59/image_03012025_02_59_03_144879_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/02/57/image_03012025_02_57_03_080880_0003.jpg
/home/pi/Desktop/images/03012025/02/58/image_03012025_02_58_02_543465_0000.jpg
/home/pi/Desktop/images/03012025/02/58/image_03012025_02_58_02_543465_0001.jpg
/home/pi/Desktop/images/03012025/02/58/image_03012025_02_58_02_543465_0002.jpg
/home/pi/Desktop/images/03012025/02/58/image_03012025_02_58_02_543465_0003.jpg
/home/pi/Desktop/images/03012025/02/59/image_03012025_02_59_03_144879_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325677988","1325678000","1325678002","1325677998","1325678007","1325677986"],"photo_ids_order":["1325677986","1325677988","1325677998","1325678000","1325678002","1325678007"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/cefcba913603b72b3372e0b60e821d58.jpg","text":"TemporaryFile(/tmp/multipartBody5836719457007807332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735869697739,"filename":"image_03012025_02_58_02_543465_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/265747980de38a994f16792ff6f465e9.jpg","text":"TemporaryFile(/tmp/multipartBody6478167341219386325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735869697739,"filename":"image_03012025_02_58_02_543465_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f6f941fd3aad42b624490d59ab798cab.jpg","text":"TemporaryFile(/tmp/multipartBody9217788377724415759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735869697739,"filename":"image_03012025_02_58_02_543465_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/36c92c6410e2a07f7996950ad6cb4b50.jpg","text":"TemporaryFile(/tmp/multipartBody4339897644616708290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735869697739,"filename":"image_03012025_02_58_02_543465_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8e98b0005a3b44b79c83a15fe5fe146b.jpg","text":"TemporaryFile(/tmp/multipartBody1666588796022531159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735869697739,"filename":"image_03012025_02_59_03_144879_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9bbb8c171c5afc7da19b36fe331751a4.jpg","text":"TemporaryFile(/tmp/multipartBody7759106176685763772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735869697739,"filename":"image_03012025_02_57_03_080880_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325677998","file1":"1325677988","file0":"1325677986","file4":"1325678002","file5":"1325678007","file3":"1325678000"},"map_files_photo_id_array":[{"photo_id":"1325678007","filename":"file5"},{"photo_id":"1325677998","filename":"file2"},{"photo_id":"1325678002","filename":"file4"},{"photo_id":"1325677988","filename":"file1"},{"photo_id":"1325677986","filename":"file0"},{"photo_id":"1325678000","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325677988":["hashtag1","hashtag2"]},{"1325678000":["hashtag1","hashtag2"]},{"1325678002":["hashtag1","hashtag2"]},{"1325677998":["hashtag1","hashtag2"]},{"1325678007":["hashtag1","hashtag2"]},{"1325677986":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325677988, 1325678000, 1325678002, 1325677998, 1325678007, 1325677986)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.15476059913635 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 03:01:21.949463
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/02/59/image_03012025_02_59_03_144879_0001.jpg', '/home/pi/Desktop/images/03012025/02/59/image_03012025_02_59_03_144879_0002.jpg', '/home/pi/Desktop/images/03012025/02/59/image_03012025_02_59_03_144879_0003.jpg', '/home/pi/Desktop/images/03012025/03/00/image_03012025_03_00_02_291198_0000.jpg', '/home/pi/Desktop/images/03012025/03/00/image_03012025_03_00_02_291198_0001.jpg', '/home/pi/Desktop/images/03012025/03/00/image_03012025_03_00_02_291198_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/02/59/image_03012025_02_59_03_144879_0001.jpg
/home/pi/Desktop/images/03012025/02/59/image_03012025_02_59_03_144879_0002.jpg
/home/pi/Desktop/images/03012025/02/59/image_03012025_02_59_03_144879_0003.jpg
/home/pi/Desktop/images/03012025/03/00/image_03012025_03_00_02_291198_0000.jpg
/home/pi/Desktop/images/03012025/03/00/image_03012025_03_00_02_291198_0001.jpg
/home/pi/Desktop/images/03012025/03/00/image_03012025_03_00_02_291198_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325678022","1325678024","1325678020","1325678014","1325678017","1325678026"],"photo_ids_order":["1325678014","1325678017","1325678020","1325678022","1325678024","1325678026"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/bea28b5b249e11fbeb96d0ac4bd1ce02.jpg","text":"TemporaryFile(/tmp/multipartBody6767575521106524985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735869757134,"filename":"image_03012025_03_00_02_291198_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/538aa425efe3212e041cff0ebe02552b.jpg","text":"TemporaryFile(/tmp/multipartBody7811465238400643021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735869757134,"filename":"image_03012025_03_00_02_291198_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7879d8ec7bf435592381111e5e7dcb00.jpg","text":"TemporaryFile(/tmp/multipartBody7541485973245425649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735869757134,"filename":"image_03012025_02_59_03_144879_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e4bfba93f16d6dc534d3e136c38bc757.jpg","text":"TemporaryFile(/tmp/multipartBody6267780513385376652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735869757134,"filename":"image_03012025_02_59_03_144879_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5f2726b3108a2a765b9a60252d9378eb.jpg","text":"TemporaryFile(/tmp/multipartBody6795171779090207253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735869757134,"filename":"image_03012025_02_59_03_144879_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/cda94125a684b01f422ac84922030d71.jpg","text":"TemporaryFile(/tmp/multipartBody8107857779801388294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735869757134,"filename":"image_03012025_03_00_02_291198_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325678020","file1":"1325678017","file0":"1325678014","file4":"1325678024","file5":"1325678026","file3":"1325678022"},"map_files_photo_id_array":[{"photo_id":"1325678026","filename":"file5"},{"photo_id":"1325678020","filename":"file2"},{"photo_id":"1325678024","filename":"file4"},{"photo_id":"1325678017","filename":"file1"},{"photo_id":"1325678014","filename":"file0"},{"photo_id":"1325678022","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325678022":["hashtag1","hashtag2"]},{"1325678024":["hashtag1","hashtag2"]},{"1325678020":["hashtag1","hashtag2"]},{"1325678014":["hashtag1","hashtag2"]},{"1325678017":["hashtag1","hashtag2"]},{"1325678026":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325678022, 1325678024, 1325678020, 1325678014, 1325678017, 1325678026)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.27233076095581 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 03:02:22.504387
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/03/00/image_03012025_03_00_02_291198_0003.jpg', '/home/pi/Desktop/images/03012025/03/01/image_03012025_03_01_02_807474_0000.jpg', '/home/pi/Desktop/images/03012025/03/01/image_03012025_03_01_02_807474_0001.jpg', '/home/pi/Desktop/images/03012025/03/01/image_03012025_03_01_02_807474_0002.jpg', '/home/pi/Desktop/images/03012025/03/01/image_03012025_03_01_02_807474_0003.jpg', '/home/pi/Desktop/images/03012025/03/02/image_03012025_03_02_02_329596_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/03/00/image_03012025_03_00_02_291198_0003.jpg
/home/pi/Desktop/images/03012025/03/01/image_03012025_03_01_02_807474_0000.jpg
/home/pi/Desktop/images/03012025/03/01/image_03012025_03_01_02_807474_0001.jpg
/home/pi/Desktop/images/03012025/03/01/image_03012025_03_01_02_807474_0002.jpg
/home/pi/Desktop/images/03012025/03/01/image_03012025_03_01_02_807474_0003.jpg
/home/pi/Desktop/images/03012025/03/02/image_03012025_03_02_02_329596_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325678030","1325678047","1325678044","1325678049","1325678040","1325678034"],"photo_ids_order":["1325678030","1325678034","1325678040","1325678044","1325678047","1325678049"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/86fef619a7e7e85099a366276c1e84ec.jpg","text":"TemporaryFile(/tmp/multipartBody7571828668035007868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735869817672,"filename":"image_03012025_03_00_02_291198_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/116916ccf0c2772d8f3cf6ef7a87612c.jpg","text":"TemporaryFile(/tmp/multipartBody5974344941040565747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735869817672,"filename":"image_03012025_03_01_02_807474_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/495f568fafc10cd64fa817632118f6ed.jpg","text":"TemporaryFile(/tmp/multipartBody6907819417504898012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735869817672,"filename":"image_03012025_03_01_02_807474_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d3afe41363591a815286ece39c19213f.jpg","text":"TemporaryFile(/tmp/multipartBody3749388661032169774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735869817672,"filename":"image_03012025_03_02_02_329596_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/45f953d046fc334efaa01c66d6c32ef5.jpg","text":"TemporaryFile(/tmp/multipartBody8868206040472225227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735869817672,"filename":"image_03012025_03_01_02_807474_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e52d53af550b973be0a99790082aebdc.jpg","text":"TemporaryFile(/tmp/multipartBody5819600499678628674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735869817672,"filename":"image_03012025_03_01_02_807474_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325678040","file1":"1325678034","file0":"1325678030","file4":"1325678047","file5":"1325678049","file3":"1325678044"},"map_files_photo_id_array":[{"photo_id":"1325678049","filename":"file5"},{"photo_id":"1325678040","filename":"file2"},{"photo_id":"1325678047","filename":"file4"},{"photo_id":"1325678034","filename":"file1"},{"photo_id":"1325678030","filename":"file0"},{"photo_id":"1325678044","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325678030":["hashtag1","hashtag2"]},{"1325678047":["hashtag1","hashtag2"]},{"1325678044":["hashtag1","hashtag2"]},{"1325678049":["hashtag1","hashtag2"]},{"1325678040":["hashtag1","hashtag2"]},{"1325678034":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325678030, 1325678047, 1325678044, 1325678049, 1325678040, 1325678034)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.345091581344604 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 03:03:22.024758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/03/02/image_03012025_03_02_02_329596_0001.jpg', '/home/pi/Desktop/images/03012025/03/02/image_03012025_03_02_02_329596_0002.jpg', '/home/pi/Desktop/images/03012025/03/02/image_03012025_03_02_02_329596_0003.jpg', '/home/pi/Desktop/images/03012025/03/03/image_03012025_03_03_02_860485_0000.jpg', '/home/pi/Desktop/images/03012025/03/03/image_03012025_03_03_02_860485_0001.jpg', '/home/pi/Desktop/images/03012025/03/03/image_03012025_03_03_02_860485_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/03/02/image_03012025_03_02_02_329596_0001.jpg
/home/pi/Desktop/images/03012025/03/02/image_03012025_03_02_02_329596_0002.jpg
/home/pi/Desktop/images/03012025/03/02/image_03012025_03_02_02_329596_0003.jpg
/home/pi/Desktop/images/03012025/03/03/image_03012025_03_03_02_860485_0000.jpg
/home/pi/Desktop/images/03012025/03/03/image_03012025_03_03_02_860485_0001.jpg
/home/pi/Desktop/images/03012025/03/03/image_03012025_03_03_02_860485_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325678075","1325678077","1325678071","1325678059","1325678073","1325678055"],"photo_ids_order":["1325678055","1325678059","1325678071","1325678073","1325678075","1325678077"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c4a27e1ee62807686b20d0646bfefee8.jpg","text":"TemporaryFile(/tmp/multipartBody6883091499242275838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735869877192,"filename":"image_03012025_03_03_02_860485_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/46aa26ebe9240506b1ec59c6a3ab3de2.jpg","text":"TemporaryFile(/tmp/multipartBody3638663012427193044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735869877192,"filename":"image_03012025_03_03_02_860485_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/fd77d5b2eb4bc496cc90f9b506f0a795.jpg","text":"TemporaryFile(/tmp/multipartBody2329129226679190058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735869877192,"filename":"image_03012025_03_02_02_329596_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/db4dbd526700ff73067545354b241abc.jpg","text":"TemporaryFile(/tmp/multipartBody4492631071817933494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735869877192,"filename":"image_03012025_03_02_02_329596_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1cbee0dc003be5faa49fc5ed3ea04814.jpg","text":"TemporaryFile(/tmp/multipartBody5874747850856169504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735869877192,"filename":"image_03012025_03_03_02_860485_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/193e11cfc7f0e923c1db65ccfc9c8b54.jpg","text":"TemporaryFile(/tmp/multipartBody1667256442116529437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735869877192,"filename":"image_03012025_03_02_02_329596_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325678071","file1":"1325678059","file0":"1325678055","file4":"1325678075","file5":"1325678077","file3":"1325678073"},"map_files_photo_id_array":[{"photo_id":"1325678077","filename":"file5"},{"photo_id":"1325678071","filename":"file2"},{"photo_id":"1325678075","filename":"file4"},{"photo_id":"1325678059","filename":"file1"},{"photo_id":"1325678055","filename":"file0"},{"photo_id":"1325678073","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325678075":["hashtag1","hashtag2"]},{"1325678077":["hashtag1","hashtag2"]},{"1325678071":["hashtag1","hashtag2"]},{"1325678059":["hashtag1","hashtag2"]},{"1325678073":["hashtag1","hashtag2"]},{"1325678055":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325678075, 1325678077, 1325678071, 1325678059, 1325678073, 1325678055)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.58813738822937 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 03:04:22.497118
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/03/03/image_03012025_03_03_02_860485_0003.jpg', '/home/pi/Desktop/images/03012025/03/04/image_03012025_03_04_02_362184_0000.jpg', '/home/pi/Desktop/images/03012025/03/04/image_03012025_03_04_02_362184_0001.jpg', '/home/pi/Desktop/images/03012025/03/04/image_03012025_03_04_02_362184_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/03/03/image_03012025_03_03_02_860485_0003.jpg
/home/pi/Desktop/images/03012025/03/04/image_03012025_03_04_02_362184_0000.jpg
/home/pi/Desktop/images/03012025/03/04/image_03012025_03_04_02_362184_0001.jpg
/home/pi/Desktop/images/03012025/03/04/image_03012025_03_04_02_362184_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.951829195022583 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 03:05:02.651306
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/03/03/image_03012025_03_03_02_860485_0003.jpg', '/home/pi/Desktop/images/03012025/03/04/image_03012025_03_04_02_362184_0000.jpg', '/home/pi/Desktop/images/03012025/03/04/image_03012025_03_04_02_362184_0001.jpg', '/home/pi/Desktop/images/03012025/03/04/image_03012025_03_04_02_362184_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/03/03/image_03012025_03_03_02_860485_0003.jpg
/home/pi/Desktop/images/03012025/03/04/image_03012025_03_04_02_362184_0000.jpg
/home/pi/Desktop/images/03012025/03/04/image_03012025_03_04_02_362184_0001.jpg
/home/pi/Desktop/images/03012025/03/04/image_03012025_03_04_02_362184_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325678103","1325678093","1325678096","1325678094"],"photo_ids_order":["1325678093","1325678094","1325678096","1325678103"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b8377bdb50e0b7bda2f7ac95bcf1ca44.jpg","text":"TemporaryFile(/tmp/multipartBody4124200136922742394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735869973051,"filename":"image_03012025_03_04_02_362184_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/29c045218f74151100675ac3bb8a7eca.jpg","text":"TemporaryFile(/tmp/multipartBody1671765907674978741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735869973051,"filename":"image_03012025_03_03_02_860485_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/063fedd7d4e5204a8a6ee22e3ecced69.jpg","text":"TemporaryFile(/tmp/multipartBody4594145887513272239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735869973051,"filename":"image_03012025_03_04_02_362184_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/fba35b5a44cf9c15a9626ac745caed93.jpg","text":"TemporaryFile(/tmp/multipartBody6629556282237628288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735869973051,"filename":"image_03012025_03_04_02_362184_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325678096","file1":"1325678094","file0":"1325678093","file3":"1325678103"},"map_files_photo_id_array":[{"photo_id":"1325678096","filename":"file2"},{"photo_id":"1325678094","filename":"file1"},{"photo_id":"1325678093","filename":"file0"},{"photo_id":"1325678103","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325678103":["hashtag1","hashtag2"]},{"1325678093":["hashtag1","hashtag2"]},{"1325678096":["hashtag1","hashtag2"]},{"1325678094":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325678103, 1325678093, 1325678096, 1325678094)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.96726703643799 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 03:06:03.057246
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/03/04/image_03012025_03_04_02_362184_0003.jpg', '/home/pi/Desktop/images/03012025/03/05/image_03012025_03_05_02_836322_0000.jpg', '/home/pi/Desktop/images/03012025/03/05/image_03012025_03_05_02_836322_0001.jpg', '/home/pi/Desktop/images/03012025/03/05/image_03012025_03_05_02_836322_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/03/04/image_03012025_03_04_02_362184_0003.jpg
/home/pi/Desktop/images/03012025/03/05/image_03012025_03_05_02_836322_0000.jpg
/home/pi/Desktop/images/03012025/03/05/image_03012025_03_05_02_836322_0001.jpg
/home/pi/Desktop/images/03012025/03/05/image_03012025_03_05_02_836322_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.939294815063477 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 03:06:22.560771
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/03/04/image_03012025_03_04_02_362184_0003.jpg', '/home/pi/Desktop/images/03012025/03/05/image_03012025_03_05_02_836322_0000.jpg', '/home/pi/Desktop/images/03012025/03/05/image_03012025_03_05_02_836322_0001.jpg', '/home/pi/Desktop/images/03012025/03/05/image_03012025_03_05_02_836322_0002.jpg', '/home/pi/Desktop/images/03012025/03/05/image_03012025_03_05_02_836322_0003.jpg', '/home/pi/Desktop/images/03012025/03/06/image_03012025_03_06_02_329109_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/03/04/image_03012025_03_04_02_362184_0003.jpg
/home/pi/Desktop/images/03012025/03/05/image_03012025_03_05_02_836322_0000.jpg
/home/pi/Desktop/images/03012025/03/05/image_03012025_03_05_02_836322_0001.jpg
/home/pi/Desktop/images/03012025/03/05/image_03012025_03_05_02_836322_0002.jpg
/home/pi/Desktop/images/03012025/03/05/image_03012025_03_05_02_836322_0003.jpg
/home/pi/Desktop/images/03012025/03/06/image_03012025_03_06_02_329109_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325678171","1325678177","1325678179","1325678173","1325678161","1325678175"],"photo_ids_order":["1325678161","1325678171","1325678173","1325678175","1325678177","1325678179"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/cd888ed8e7db142d10f1d2c2c392079f.jpg","text":"TemporaryFile(/tmp/multipartBody5540074818477210848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735870057827,"filename":"image_03012025_03_05_02_836322_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/90e5cfc5c3fd895babbc97497a44414f.jpg","text":"TemporaryFile(/tmp/multipartBody5859789878410189024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735870057827,"filename":"image_03012025_03_05_02_836322_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2beab295580d1bf7d4f66d76ff773975.jpg","text":"TemporaryFile(/tmp/multipartBody1301376384057490837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735870057827,"filename":"image_03012025_03_06_02_329109_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/11c8be6e7c5864b617b5ea288468e7ba.jpg","text":"TemporaryFile(/tmp/multipartBody5944239482990818613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735870057827,"filename":"image_03012025_03_05_02_836322_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0fb8df4bb85eafd3cf38eb227011dffd.jpg","text":"TemporaryFile(/tmp/multipartBody4251666834518658809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735870057827,"filename":"image_03012025_03_04_02_362184_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7b85c8bbb9654cd5e7f468264a57d3d5.jpg","text":"TemporaryFile(/tmp/multipartBody4859600486598228403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735870057827,"filename":"image_03012025_03_05_02_836322_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325678173","file1":"1325678171","file0":"1325678161","file4":"1325678177","file5":"1325678179","file3":"1325678175"},"map_files_photo_id_array":[{"photo_id":"1325678179","filename":"file5"},{"photo_id":"1325678173","filename":"file2"},{"photo_id":"1325678177","filename":"file4"},{"photo_id":"1325678171","filename":"file1"},{"photo_id":"1325678161","filename":"file0"},{"photo_id":"1325678175","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325678171":["hashtag1","hashtag2"]},{"1325678177":["hashtag1","hashtag2"]},{"1325678179":["hashtag1","hashtag2"]},{"1325678173":["hashtag1","hashtag2"]},{"1325678161":["hashtag1","hashtag2"]},{"1325678175":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325678171, 1325678177, 1325678179, 1325678173, 1325678161, 1325678175)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.52713441848755 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 03:07:22.229168
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/03/06/image_03012025_03_06_02_329109_0001.jpg', '/home/pi/Desktop/images/03012025/03/06/image_03012025_03_06_02_329109_0002.jpg', '/home/pi/Desktop/images/03012025/03/06/image_03012025_03_06_02_329109_0003.jpg', '/home/pi/Desktop/images/03012025/03/07/image_03012025_03_07_03_040219_0000.jpg', '/home/pi/Desktop/images/03012025/03/07/image_03012025_03_07_03_040219_0001.jpg', '/home/pi/Desktop/images/03012025/03/07/image_03012025_03_07_03_040219_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/03/06/image_03012025_03_06_02_329109_0001.jpg
/home/pi/Desktop/images/03012025/03/06/image_03012025_03_06_02_329109_0002.jpg
/home/pi/Desktop/images/03012025/03/06/image_03012025_03_06_02_329109_0003.jpg
/home/pi/Desktop/images/03012025/03/07/image_03012025_03_07_03_040219_0000.jpg
/home/pi/Desktop/images/03012025/03/07/image_03012025_03_07_03_040219_0001.jpg
/home/pi/Desktop/images/03012025/03/07/image_03012025_03_07_03_040219_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325678192","1325678194","1325678185","1325678188","1325678196","1325678190"],"photo_ids_order":["1325678185","1325678188","1325678190","1325678192","1325678194","1325678196"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/cfec8137dc0d553f8c19ea1dd236c3ba.jpg","text":"TemporaryFile(/tmp/multipartBody4103237576152128604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735870117451,"filename":"image_03012025_03_07_03_040219_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ec8d6d92f0620ceaeb9e8afcabda6359.jpg","text":"TemporaryFile(/tmp/multipartBody1407588110365407298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735870117451,"filename":"image_03012025_03_07_03_040219_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/bbfbfed8a30db435479f740838a72ff5.jpg","text":"TemporaryFile(/tmp/multipartBody2963921386705243739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735870117451,"filename":"image_03012025_03_06_02_329109_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a55edc1ca6f05c632a71b7a42dab0604.jpg","text":"TemporaryFile(/tmp/multipartBody6018072019888023721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735870117451,"filename":"image_03012025_03_06_02_329109_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/59a3b73f68d512f228fa472928543985.jpg","text":"TemporaryFile(/tmp/multipartBody1875579375626176959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735870117451,"filename":"image_03012025_03_07_03_040219_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7359d9926299cdd28927ff9df8bcc790.jpg","text":"TemporaryFile(/tmp/multipartBody8603124157676383082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735870117451,"filename":"image_03012025_03_06_02_329109_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325678190","file1":"1325678188","file0":"1325678185","file4":"1325678194","file5":"1325678196","file3":"1325678192"},"map_files_photo_id_array":[{"photo_id":"1325678196","filename":"file5"},{"photo_id":"1325678190","filename":"file2"},{"photo_id":"1325678194","filename":"file4"},{"photo_id":"1325678188","filename":"file1"},{"photo_id":"1325678185","filename":"file0"},{"photo_id":"1325678192","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325678192":["hashtag1","hashtag2"]},{"1325678194":["hashtag1","hashtag2"]},{"1325678185":["hashtag1","hashtag2"]},{"1325678188":["hashtag1","hashtag2"]},{"1325678196":["hashtag1","hashtag2"]},{"1325678190":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325678192, 1325678194, 1325678185, 1325678188, 1325678196, 1325678190)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.54340434074402 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 03:08:22.669191
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/03/07/image_03012025_03_07_03_040219_0003.jpg', '/home/pi/Desktop/images/03012025/03/08/image_03012025_03_08_02_568025_0000.jpg', '/home/pi/Desktop/images/03012025/03/08/image_03012025_03_08_02_568025_0001.jpg', '/home/pi/Desktop/images/03012025/03/08/image_03012025_03_08_02_568025_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/03/07/image_03012025_03_07_03_040219_0003.jpg
/home/pi/Desktop/images/03012025/03/08/image_03012025_03_08_02_568025_0000.jpg
/home/pi/Desktop/images/03012025/03/08/image_03012025_03_08_02_568025_0001.jpg
/home/pi/Desktop/images/03012025/03/08/image_03012025_03_08_02_568025_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.03157091140747 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 03:09:02.746456
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/03/07/image_03012025_03_07_03_040219_0003.jpg', '/home/pi/Desktop/images/03012025/03/08/image_03012025_03_08_02_568025_0000.jpg', '/home/pi/Desktop/images/03012025/03/08/image_03012025_03_08_02_568025_0001.jpg', '/home/pi/Desktop/images/03012025/03/08/image_03012025_03_08_02_568025_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/03/07/image_03012025_03_07_03_040219_0003.jpg
/home/pi/Desktop/images/03012025/03/08/image_03012025_03_08_02_568025_0000.jpg
/home/pi/Desktop/images/03012025/03/08/image_03012025_03_08_02_568025_0001.jpg
/home/pi/Desktop/images/03012025/03/08/image_03012025_03_08_02_568025_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325678210","1325678227","1325678215","1325678211"],"photo_ids_order":["1325678210","1325678211","1325678215","1325678227"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2fbccfe82dd8dd8aa6b0b7b10258ab37.jpg","text":"TemporaryFile(/tmp/multipartBody8325209221721490938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735870213289,"filename":"image_03012025_03_07_03_040219_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/dcc0278f603437598d1e7b5d901ca522.jpg","text":"TemporaryFile(/tmp/multipartBody1656245983159668079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735870213289,"filename":"image_03012025_03_08_02_568025_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c3e23c3a03954ce922d4ed7caacbe8cb.jpg","text":"TemporaryFile(/tmp/multipartBody4662246852865071312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735870213289,"filename":"image_03012025_03_08_02_568025_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/cfeb4e102a6e93a8e5a73856eb3e6443.jpg","text":"TemporaryFile(/tmp/multipartBody2790432950662216167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735870213289,"filename":"image_03012025_03_08_02_568025_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325678215","file1":"1325678211","file0":"1325678210","file3":"1325678227"},"map_files_photo_id_array":[{"photo_id":"1325678215","filename":"file2"},{"photo_id":"1325678211","filename":"file1"},{"photo_id":"1325678210","filename":"file0"},{"photo_id":"1325678227","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325678210":["hashtag1","hashtag2"]},{"1325678227":["hashtag1","hashtag2"]},{"1325678215":["hashtag1","hashtag2"]},{"1325678211":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325678210, 1325678227, 1325678215, 1325678211)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.263575077056885 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 03:10:02.302455
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/03/08/image_03012025_03_08_02_568025_0003.jpg', '/home/pi/Desktop/images/03012025/03/09/image_03012025_03_09_03_107867_0000.jpg', '/home/pi/Desktop/images/03012025/03/09/image_03012025_03_09_03_107867_0001.jpg', '/home/pi/Desktop/images/03012025/03/09/image_03012025_03_09_03_107867_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/03/08/image_03012025_03_08_02_568025_0003.jpg
/home/pi/Desktop/images/03012025/03/09/image_03012025_03_09_03_107867_0000.jpg
/home/pi/Desktop/images/03012025/03/09/image_03012025_03_09_03_107867_0001.jpg
/home/pi/Desktop/images/03012025/03/09/image_03012025_03_09_03_107867_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325678237","1325678241","1325678244","1325678238"],"photo_ids_order":["1325678237","1325678238","1325678241","1325678244"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d1cd6472fa089a18172326b410f5d5c6.jpg","text":"TemporaryFile(/tmp/multipartBody1773875160569716277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735870272750,"filename":"image_03012025_03_08_02_568025_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/478dc54cfa08c4c3895aba371d158ef1.jpg","text":"TemporaryFile(/tmp/multipartBody8444492228560763147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735870272750,"filename":"image_03012025_03_09_03_107867_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ccc0a3ebcb61985937d40077b94b09aa.jpg","text":"TemporaryFile(/tmp/multipartBody2989162112604082886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735870272750,"filename":"image_03012025_03_09_03_107867_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1e93628b6049d4c806051ea5d500a381.jpg","text":"TemporaryFile(/tmp/multipartBody8759689797006894257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735870272750,"filename":"image_03012025_03_09_03_107867_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325678241","file1":"1325678238","file0":"1325678237","file3":"1325678244"},"map_files_photo_id_array":[{"photo_id":"1325678241","filename":"file2"},{"photo_id":"1325678238","filename":"file1"},{"photo_id":"1325678237","filename":"file0"},{"photo_id":"1325678244","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325678237":["hashtag1","hashtag2"]},{"1325678241":["hashtag1","hashtag2"]},{"1325678244":["hashtag1","hashtag2"]},{"1325678238":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325678237, 1325678241, 1325678244, 1325678238)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 47.94423770904541 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 03:11:03.006297
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/03/09/image_03012025_03_09_03_107867_0003.jpg', '/home/pi/Desktop/images/03012025/03/10/image_03012025_03_10_02_637886_0000.jpg', '/home/pi/Desktop/images/03012025/03/10/image_03012025_03_10_02_637886_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/03/09/image_03012025_03_09_03_107867_0003.jpg
/home/pi/Desktop/images/03012025/03/10/image_03012025_03_10_02_637886_0000.jpg
/home/pi/Desktop/images/03012025/03/10/image_03012025_03_10_02_637886_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325678257","1325678256","1325678259"],"photo_ids_order":["1325678256","1325678257","1325678259"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/bb90abcb9529f6fbad057dee1805a746.jpg","text":"TemporaryFile(/tmp/multipartBody5734814702308629827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735870331003,"filename":"image_03012025_03_10_02_637886_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9fa0fd149dd0801f1c6f16bf1b528bd0.jpg","text":"TemporaryFile(/tmp/multipartBody4021884322835688707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735870331003,"filename":"image_03012025_03_09_03_107867_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d0f94569b7958dc5968594cdd430ab18.jpg","text":"TemporaryFile(/tmp/multipartBody2084999771238613880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735870331003,"filename":"image_03012025_03_10_02_637886_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325678259","file1":"1325678257","file0":"1325678256"},"map_files_photo_id_array":[{"photo_id":"1325678259","filename":"file2"},{"photo_id":"1325678257","filename":"file1"},{"photo_id":"1325678256","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325678257":["hashtag1","hashtag2"]},{"1325678256":["hashtag1","hashtag2"]},{"1325678259":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325678257, 1325678256, 1325678259)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.92611384391785 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 03:12:02.548591
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/03/10/image_03012025_03_10_02_637886_0002.jpg', '/home/pi/Desktop/images/03012025/03/11/image_03012025_03_11_02_265749_0000.jpg', '/home/pi/Desktop/images/03012025/03/11/image_03012025_03_11_02_265749_0001.jpg', '/home/pi/Desktop/images/03012025/03/11/image_03012025_03_11_02_265749_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/03/10/image_03012025_03_10_02_637886_0002.jpg
/home/pi/Desktop/images/03012025/03/11/image_03012025_03_11_02_265749_0000.jpg
/home/pi/Desktop/images/03012025/03/11/image_03012025_03_11_02_265749_0001.jpg
/home/pi/Desktop/images/03012025/03/11/image_03012025_03_11_02_265749_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325678270","1325678267","1325678268","1325678271"],"photo_ids_order":["1325678267","1325678268","1325678270","1325678271"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8a043fa6e267c793c58a27e652910fa0.jpg","text":"TemporaryFile(/tmp/multipartBody4070992534350744864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735870392950,"filename":"image_03012025_03_11_02_265749_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/902797f0b9e7a7c79624bdc6e4746f1c.jpg","text":"TemporaryFile(/tmp/multipartBody3334214378347302183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735870392950,"filename":"image_03012025_03_10_02_637886_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0fece8d5dfcd2bd59565e70bf802ec34.jpg","text":"TemporaryFile(/tmp/multipartBody5486432287882477133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735870392950,"filename":"image_03012025_03_11_02_265749_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2080920c1ccdca259d9292ec6bd30f4f.jpg","text":"TemporaryFile(/tmp/multipartBody146038203547432948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735870392950,"filename":"image_03012025_03_11_02_265749_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325678270","file1":"1325678268","file0":"1325678267","file3":"1325678271"},"map_files_photo_id_array":[{"photo_id":"1325678270","filename":"file2"},{"photo_id":"1325678268","filename":"file1"},{"photo_id":"1325678267","filename":"file0"},{"photo_id":"1325678271","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325678270":["hashtag1","hashtag2"]},{"1325678267":["hashtag1","hashtag2"]},{"1325678268":["hashtag1","hashtag2"]},{"1325678271":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325678270, 1325678267, 1325678268, 1325678271)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.61828589439392 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 03:13:03.310862
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/03/11/image_03012025_03_11_02_265749_0003.jpg', '/home/pi/Desktop/images/03012025/03/12/image_03012025_03_12_02_764109_0000.jpg', '/home/pi/Desktop/images/03012025/03/12/image_03012025_03_12_02_764109_0001.jpg', '/home/pi/Desktop/images/03012025/03/12/image_03012025_03_12_02_764109_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/03/11/image_03012025_03_11_02_265749_0003.jpg
/home/pi/Desktop/images/03012025/03/12/image_03012025_03_12_02_764109_0000.jpg
/home/pi/Desktop/images/03012025/03/12/image_03012025_03_12_02_764109_0001.jpg
/home/pi/Desktop/images/03012025/03/12/image_03012025_03_12_02_764109_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325678281","1325678286","1325678280","1325678283"],"photo_ids_order":["1325678280","1325678281","1325678283","1325678286"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/cf37b2713b8bd578ee6f9eb8b6be9b64.jpg","text":"TemporaryFile(/tmp/multipartBody367097007120523584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735870453807,"filename":"image_03012025_03_12_02_764109_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4dc3e6d71622913f72d07cc67eaa7572.jpg","text":"TemporaryFile(/tmp/multipartBody5193948684591203754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735870453807,"filename":"image_03012025_03_12_02_764109_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2d579aa60dbdf9efddbb3fb0affbd180.jpg","text":"TemporaryFile(/tmp/multipartBody5686546604290281162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735870453807,"filename":"image_03012025_03_11_02_265749_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c584ba7fe85e1910e14a23a8a9bca406.jpg","text":"TemporaryFile(/tmp/multipartBody1571372574658881802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735870453807,"filename":"image_03012025_03_12_02_764109_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325678283","file1":"1325678281","file0":"1325678280","file3":"1325678286"},"map_files_photo_id_array":[{"photo_id":"1325678283","filename":"file2"},{"photo_id":"1325678281","filename":"file1"},{"photo_id":"1325678280","filename":"file0"},{"photo_id":"1325678286","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325678281":["hashtag1","hashtag2"]},{"1325678286":["hashtag1","hashtag2"]},{"1325678280":["hashtag1","hashtag2"]},{"1325678283":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325678281, 1325678286, 1325678280, 1325678283)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.35054898262024 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 03:14:02.622059
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/03/12/image_03012025_03_12_02_764109_0003.jpg', '/home/pi/Desktop/images/03012025/03/13/image_03012025_03_13_02_409393_0000.jpg', '/home/pi/Desktop/images/03012025/03/13/image_03012025_03_13_02_409393_0001.jpg', '/home/pi/Desktop/images/03012025/03/13/image_03012025_03_13_02_409393_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/03/12/image_03012025_03_12_02_764109_0003.jpg
/home/pi/Desktop/images/03012025/03/13/image_03012025_03_13_02_409393_0000.jpg
/home/pi/Desktop/images/03012025/03/13/image_03012025_03_13_02_409393_0001.jpg
/home/pi/Desktop/images/03012025/03/13/image_03012025_03_13_02_409393_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325678315","1325678303","1325678306","1325678311"],"photo_ids_order":["1325678303","1325678306","1325678311","1325678315"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b6333304e0344049f105a9d9449ffa76.jpg","text":"TemporaryFile(/tmp/multipartBody1325097997945295906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735870512996,"filename":"image_03012025_03_13_02_409393_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/49c5d9448be770593e9c3fcab1e7a0b7.jpg","text":"TemporaryFile(/tmp/multipartBody8525366594395886548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735870512996,"filename":"image_03012025_03_12_02_764109_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/696f0b5dd13eebe55a5c655685373321.jpg","text":"TemporaryFile(/tmp/multipartBody3172267112320321321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735870512996,"filename":"image_03012025_03_13_02_409393_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7f587213e85751dde6a1679eb9a64523.jpg","text":"TemporaryFile(/tmp/multipartBody6939907432575036406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735870512996,"filename":"image_03012025_03_13_02_409393_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325678311","file1":"1325678306","file0":"1325678303","file3":"1325678315"},"map_files_photo_id_array":[{"photo_id":"1325678311","filename":"file2"},{"photo_id":"1325678306","filename":"file1"},{"photo_id":"1325678303","filename":"file0"},{"photo_id":"1325678315","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325678315":["hashtag1","hashtag2"]},{"1325678303":["hashtag1","hashtag2"]},{"1325678306":["hashtag1","hashtag2"]},{"1325678311":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325678315, 1325678303, 1325678306, 1325678311)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.249942779541016 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 03:15:02.403984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/03/13/image_03012025_03_13_02_409393_0003.jpg', '/home/pi/Desktop/images/03012025/03/14/image_03012025_03_14_03_002270_0000.jpg', '/home/pi/Desktop/images/03012025/03/14/image_03012025_03_14_03_002270_0001.jpg', '/home/pi/Desktop/images/03012025/03/14/image_03012025_03_14_03_002270_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/03/13/image_03012025_03_13_02_409393_0003.jpg
/home/pi/Desktop/images/03012025/03/14/image_03012025_03_14_03_002270_0000.jpg
/home/pi/Desktop/images/03012025/03/14/image_03012025_03_14_03_002270_0001.jpg
/home/pi/Desktop/images/03012025/03/14/image_03012025_03_14_03_002270_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.142008066177368 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 03:15:21.794117
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/03/13/image_03012025_03_13_02_409393_0003.jpg', '/home/pi/Desktop/images/03012025/03/14/image_03012025_03_14_03_002270_0000.jpg', '/home/pi/Desktop/images/03012025/03/14/image_03012025_03_14_03_002270_0001.jpg', '/home/pi/Desktop/images/03012025/03/14/image_03012025_03_14_03_002270_0002.jpg', '/home/pi/Desktop/images/03012025/03/14/image_03012025_03_14_03_002270_0003.jpg', '/home/pi/Desktop/images/03012025/03/15/image_03012025_03_15_02_660704_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/03/13/image_03012025_03_13_02_409393_0003.jpg
/home/pi/Desktop/images/03012025/03/14/image_03012025_03_14_03_002270_0000.jpg
/home/pi/Desktop/images/03012025/03/14/image_03012025_03_14_03_002270_0001.jpg
/home/pi/Desktop/images/03012025/03/14/image_03012025_03_14_03_002270_0002.jpg
/home/pi/Desktop/images/03012025/03/14/image_03012025_03_14_03_002270_0003.jpg
/home/pi/Desktop/images/03012025/03/15/image_03012025_03_15_02_660704_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325678339","1325678344","1325678341","1325678335","1325678343","1325678337"],"photo_ids_order":["1325678335","1325678337","1325678339","1325678341","1325678343","1325678344"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1971dd45bb008d6f08135a13900b0f79.jpg","text":"TemporaryFile(/tmp/multipartBody6495904488373851724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735870597158,"filename":"image_03012025_03_14_03_002270_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c0451ad2a8717ed2d4a549fd8ecdef55.jpg","text":"TemporaryFile(/tmp/multipartBody7055140686776059981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735870597158,"filename":"image_03012025_03_15_02_660704_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/db4c598e9f37a4e812962c731089c3da.jpg","text":"TemporaryFile(/tmp/multipartBody7401812914007165790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735870597158,"filename":"image_03012025_03_14_03_002270_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b7d75094583ca842922c5a104df4e869.jpg","text":"TemporaryFile(/tmp/multipartBody3339553111194836410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735870597158,"filename":"image_03012025_03_13_02_409393_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8630993d7e987cdd24db9f429cbd8b45.jpg","text":"TemporaryFile(/tmp/multipartBody8261190992906643515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735870597158,"filename":"image_03012025_03_14_03_002270_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/761632c31971dc5a57e6f0aff9cac288.jpg","text":"TemporaryFile(/tmp/multipartBody1868393346092663470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735870597158,"filename":"image_03012025_03_14_03_002270_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325678339","file1":"1325678337","file0":"1325678335","file4":"1325678343","file5":"1325678344","file3":"1325678341"},"map_files_photo_id_array":[{"photo_id":"1325678344","filename":"file5"},{"photo_id":"1325678339","filename":"file2"},{"photo_id":"1325678343","filename":"file4"},{"photo_id":"1325678337","filename":"file1"},{"photo_id":"1325678335","filename":"file0"},{"photo_id":"1325678341","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325678339":["hashtag1","hashtag2"]},{"1325678344":["hashtag1","hashtag2"]},{"1325678341":["hashtag1","hashtag2"]},{"1325678335":["hashtag1","hashtag2"]},{"1325678343":["hashtag1","hashtag2"]},{"1325678337":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325678339, 1325678344, 1325678341, 1325678335, 1325678343, 1325678337)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.99998903274536 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 03:16:22.429842
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/03/15/image_03012025_03_15_02_660704_0001.jpg', '/home/pi/Desktop/images/03012025/03/15/image_03012025_03_15_02_660704_0002.jpg', '/home/pi/Desktop/images/03012025/03/15/image_03012025_03_15_02_660704_0003.jpg', '/home/pi/Desktop/images/03012025/03/16/image_03012025_03_16_02_200857_0000.jpg', '/home/pi/Desktop/images/03012025/03/16/image_03012025_03_16_02_200857_0001.jpg', '/home/pi/Desktop/images/03012025/03/16/image_03012025_03_16_02_200857_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/03/15/image_03012025_03_15_02_660704_0001.jpg
/home/pi/Desktop/images/03012025/03/15/image_03012025_03_15_02_660704_0002.jpg
/home/pi/Desktop/images/03012025/03/15/image_03012025_03_15_02_660704_0003.jpg
/home/pi/Desktop/images/03012025/03/16/image_03012025_03_16_02_200857_0000.jpg
/home/pi/Desktop/images/03012025/03/16/image_03012025_03_16_02_200857_0001.jpg
/home/pi/Desktop/images/03012025/03/16/image_03012025_03_16_02_200857_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325678363","1325678351","1325678347","1325678361","1325678355","1325678358"],"photo_ids_order":["1325678347","1325678351","1325678355","1325678358","1325678361","1325678363"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/cead53d27456d33851126cec088d2b15.jpg","text":"TemporaryFile(/tmp/multipartBody1701431191659895702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735870657742,"filename":"image_03012025_03_16_02_200857_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1d0a8435b09fcaca8f52c2d910b5cf77.jpg","text":"TemporaryFile(/tmp/multipartBody8662419282894852306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735870657742,"filename":"image_03012025_03_15_02_660704_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8bde9bc20d2e2f605fecaf1008b00af8.jpg","text":"TemporaryFile(/tmp/multipartBody1973010339509297086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735870657742,"filename":"image_03012025_03_15_02_660704_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/cd35cfabfaf49146f6e472c28411301b.jpg","text":"TemporaryFile(/tmp/multipartBody8357806162060081446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735870657742,"filename":"image_03012025_03_16_02_200857_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ecea4378999bdb043f5a812af367ba64.jpg","text":"TemporaryFile(/tmp/multipartBody536639668066352711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735870657742,"filename":"image_03012025_03_15_02_660704_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9dd8c5ce5ea52e7008f1069394f6e35e.jpg","text":"TemporaryFile(/tmp/multipartBody2286288271884160710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735870657742,"filename":"image_03012025_03_16_02_200857_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325678355","file1":"1325678351","file0":"1325678347","file4":"1325678361","file5":"1325678363","file3":"1325678358"},"map_files_photo_id_array":[{"photo_id":"1325678363","filename":"file5"},{"photo_id":"1325678355","filename":"file2"},{"photo_id":"1325678361","filename":"file4"},{"photo_id":"1325678351","filename":"file1"},{"photo_id":"1325678347","filename":"file0"},{"photo_id":"1325678358","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325678363":["hashtag1","hashtag2"]},{"1325678351":["hashtag1","hashtag2"]},{"1325678347":["hashtag1","hashtag2"]},{"1325678361":["hashtag1","hashtag2"]},{"1325678355":["hashtag1","hashtag2"]},{"1325678358":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325678363, 1325678351, 1325678347, 1325678361, 1325678355, 1325678358)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.406517028808594 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 03:17:21.927747
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/03/16/image_03012025_03_16_02_200857_0003.jpg', '/home/pi/Desktop/images/03012025/03/17/image_03012025_03_17_02_868994_0000.jpg', '/home/pi/Desktop/images/03012025/03/17/image_03012025_03_17_02_868994_0001.jpg', '/home/pi/Desktop/images/03012025/03/17/image_03012025_03_17_02_868994_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/03/16/image_03012025_03_16_02_200857_0003.jpg
/home/pi/Desktop/images/03012025/03/17/image_03012025_03_17_02_868994_0000.jpg
/home/pi/Desktop/images/03012025/03/17/image_03012025_03_17_02_868994_0001.jpg
/home/pi/Desktop/images/03012025/03/17/image_03012025_03_17_02_868994_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325678372","1325678375","1325678377","1325678368"],"photo_ids_order":["1325678368","1325678372","1325678375","1325678377"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a9ad9e25cb5d406584498741f9c5c3ea.jpg","text":"TemporaryFile(/tmp/multipartBody5363599378920735801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735870712419,"filename":"image_03012025_03_17_02_868994_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/25216637895b30ebce13e9e0be9b7bf4.jpg","text":"TemporaryFile(/tmp/multipartBody544487596520003811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735870712419,"filename":"image_03012025_03_17_02_868994_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6d8659435ef6d5739c3b6382adf14ca3.jpg","text":"TemporaryFile(/tmp/multipartBody5033546625720117915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735870712419,"filename":"image_03012025_03_17_02_868994_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0ce8926248b2784b7c557efa827b0024.jpg","text":"TemporaryFile(/tmp/multipartBody7537968447457730154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735870712419,"filename":"image_03012025_03_16_02_200857_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325678375","file1":"1325678372","file0":"1325678368","file3":"1325678377"},"map_files_photo_id_array":[{"photo_id":"1325678375","filename":"file2"},{"photo_id":"1325678372","filename":"file1"},{"photo_id":"1325678368","filename":"file0"},{"photo_id":"1325678377","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325678372":["hashtag1","hashtag2"]},{"1325678375":["hashtag1","hashtag2"]},{"1325678377":["hashtag1","hashtag2"]},{"1325678368":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325678372, 1325678375, 1325678377, 1325678368)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.18492674827576 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 03:18:03.013345
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 03:18:22.531443
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/03/17/image_03012025_03_17_02_868994_0003.jpg', '/home/pi/Desktop/images/03012025/03/18/image_03012025_03_18_02_413004_0000.jpg', '/home/pi/Desktop/images/03012025/03/18/image_03012025_03_18_02_413004_0001.jpg', '/home/pi/Desktop/images/03012025/03/18/image_03012025_03_18_02_413004_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/03/17/image_03012025_03_17_02_868994_0003.jpg
/home/pi/Desktop/images/03012025/03/18/image_03012025_03_18_02_413004_0000.jpg
/home/pi/Desktop/images/03012025/03/18/image_03012025_03_18_02_413004_0001.jpg
/home/pi/Desktop/images/03012025/03/18/image_03012025_03_18_02_413004_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.93115520477295 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 03:19:02.551507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/03/17/image_03012025_03_17_02_868994_0003.jpg', '/home/pi/Desktop/images/03012025/03/18/image_03012025_03_18_02_413004_0000.jpg', '/home/pi/Desktop/images/03012025/03/18/image_03012025_03_18_02_413004_0001.jpg', '/home/pi/Desktop/images/03012025/03/18/image_03012025_03_18_02_413004_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/03/17/image_03012025_03_17_02_868994_0003.jpg
/home/pi/Desktop/images/03012025/03/18/image_03012025_03_18_02_413004_0000.jpg
/home/pi/Desktop/images/03012025/03/18/image_03012025_03_18_02_413004_0001.jpg
/home/pi/Desktop/images/03012025/03/18/image_03012025_03_18_02_413004_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325678427","1325678423","1325678422","1325678424"],"photo_ids_order":["1325678422","1325678423","1325678424","1325678427"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d1f93a46ddcc9c28657ea1d9ddc93ddf.jpg","text":"TemporaryFile(/tmp/multipartBody5450025317439140441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735870812971,"filename":"image_03012025_03_18_02_413004_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/93c3673cd405ddc19791e65dcdae3e8b.jpg","text":"TemporaryFile(/tmp/multipartBody1304667014636094002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735870812971,"filename":"image_03012025_03_18_02_413004_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/78280e1c839704301870c3b3943b1103.jpg","text":"TemporaryFile(/tmp/multipartBody1803190824401457970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735870812971,"filename":"image_03012025_03_17_02_868994_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b6b5c314fcde13535b00f580fed47b53.jpg","text":"TemporaryFile(/tmp/multipartBody6765029665131281462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735870812971,"filename":"image_03012025_03_18_02_413004_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325678424","file1":"1325678423","file0":"1325678422","file3":"1325678427"},"map_files_photo_id_array":[{"photo_id":"1325678424","filename":"file2"},{"photo_id":"1325678423","filename":"file1"},{"photo_id":"1325678422","filename":"file0"},{"photo_id":"1325678427","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325678427":["hashtag1","hashtag2"]},{"1325678423":["hashtag1","hashtag2"]},{"1325678422":["hashtag1","hashtag2"]},{"1325678424":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325678427, 1325678423, 1325678422, 1325678424)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.832032203674316 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 03:20:03.092798
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/03/18/image_03012025_03_18_02_413004_0003.jpg', '/home/pi/Desktop/images/03012025/03/19/image_03012025_03_19_02_864070_0000.jpg', '/home/pi/Desktop/images/03012025/03/19/image_03012025_03_19_02_864070_0001.jpg', '/home/pi/Desktop/images/03012025/03/19/image_03012025_03_19_02_864070_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/03/18/image_03012025_03_18_02_413004_0003.jpg
/home/pi/Desktop/images/03012025/03/19/image_03012025_03_19_02_864070_0000.jpg
/home/pi/Desktop/images/03012025/03/19/image_03012025_03_19_02_864070_0001.jpg
/home/pi/Desktop/images/03012025/03/19/image_03012025_03_19_02_864070_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.098270654678345 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 03:20:22.652413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/03/18/image_03012025_03_18_02_413004_0003.jpg', '/home/pi/Desktop/images/03012025/03/19/image_03012025_03_19_02_864070_0000.jpg', '/home/pi/Desktop/images/03012025/03/19/image_03012025_03_19_02_864070_0001.jpg', '/home/pi/Desktop/images/03012025/03/19/image_03012025_03_19_02_864070_0002.jpg', '/home/pi/Desktop/images/03012025/03/19/image_03012025_03_19_02_864070_0003.jpg', '/home/pi/Desktop/images/03012025/03/20/image_03012025_03_20_02_412935_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/03/18/image_03012025_03_18_02_413004_0003.jpg
/home/pi/Desktop/images/03012025/03/19/image_03012025_03_19_02_864070_0000.jpg
/home/pi/Desktop/images/03012025/03/19/image_03012025_03_19_02_864070_0001.jpg
/home/pi/Desktop/images/03012025/03/19/image_03012025_03_19_02_864070_0002.jpg
/home/pi/Desktop/images/03012025/03/19/image_03012025_03_19_02_864070_0003.jpg
/home/pi/Desktop/images/03012025/03/20/image_03012025_03_20_02_412935_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":["1325678453","1325678456","1325678455","1325678449","1325678443","1325678446"],"photo_ids_order":["1325678443","1325678446","1325678449","1325678453","1325678455","1325678456"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/bbe41aab70d361d57f82bda07b41facc.jpg","text":"TemporaryFile(/tmp/multipartBody5478397682893472635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735870897996,"filename":"image_03012025_03_19_02_864070_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f0a4cb96b62bcef0abc4f793bd59b29e.jpg","text":"TemporaryFile(/tmp/multipartBody5587537070105937750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735870897996,"filename":"image_03012025_03_20_02_412935_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f7be6525a3f92289f8e587c49e0c9185.jpg","text":"TemporaryFile(/tmp/multipartBody6944814263656378286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735870897996,"filename":"image_03012025_03_19_02_864070_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4a28637e06b914fd7da0ab9c70fbdc65.jpg","text":"TemporaryFile(/tmp/multipartBody7566594774690414606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735870897996,"filename":"image_03012025_03_19_02_864070_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b566145ef1ee7cbd4a36bbc59e8b67c6.jpg","text":"TemporaryFile(/tmp/multipartBody9195842989063026227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735870897996,"filename":"image_03012025_03_18_02_413004_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/756f283262c1788254cf4c8746255bce.jpg","text":"TemporaryFile(/tmp/multipartBody7503956566469295578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735870897996,"filename":"image_03012025_03_19_02_864070_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325678449","file1":"1325678446","file0":"1325678443","file4":"1325678455","file5":"1325678456","file3":"1325678453"},"map_files_photo_id_array":[{"photo_id":"1325678456","filename":"file5"},{"photo_id":"1325678449","filename":"file2"},{"photo_id":"1325678455","filename":"file4"},{"photo_id":"1325678446","filename":"file1"},{"photo_id":"1325678443","filename":"file0"},{"photo_id":"1325678453","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325678453":["hashtag1","hashtag2"]},{"1325678456":["hashtag1","hashtag2"]},{"1325678455":["hashtag1","hashtag2"]},{"1325678449":["hashtag1","hashtag2"]},{"1325678443":["hashtag1","hashtag2"]},{"1325678446":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325678453, 1325678456, 1325678455, 1325678449, 1325678443, 1325678446)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.65055274963379 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 03:22:03.055522
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/03/20/image_03012025_03_20_02_412935_0001.jpg', '/home/pi/Desktop/images/03012025/03/20/image_03012025_03_20_02_412935_0002.jpg', '/home/pi/Desktop/images/03012025/03/20/image_03012025_03_20_02_412935_0003.jpg', '/home/pi/Desktop/images/03012025/03/21/image_03012025_03_21_03_042471_0000.jpg', '/home/pi/Desktop/images/03012025/03/21/image_03012025_03_21_03_042471_0001.jpg', '/home/pi/Desktop/images/03012025/03/21/image_03012025_03_21_03_042471_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/03/20/image_03012025_03_20_02_412935_0001.jpg
/home/pi/Desktop/images/03012025/03/20/image_03012025_03_20_02_412935_0002.jpg
/home/pi/Desktop/images/03012025/03/20/image_03012025_03_20_02_412935_0003.jpg
/home/pi/Desktop/images/03012025/03/21/image_03012025_03_21_03_042471_0000.jpg
/home/pi/Desktop/images/03012025/03/21/image_03012025_03_21_03_042471_0001.jpg
/home/pi/Desktop/images/03012025/03/21/image_03012025_03_21_03_042471_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325678495","1325678489","1325678491","1325678497","1325678493","1325678487"],"photo_ids_order":["1325678487","1325678489","1325678491","1325678493","1325678495","1325678497"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/30ab57e716b4f28e5af212aa72a9cd3f.jpg","text":"TemporaryFile(/tmp/multipartBody8060214578154666579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735870998327,"filename":"image_03012025_03_21_03_042471_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5f4a8301d27a2d4be5b8fd127f94e786.jpg","text":"TemporaryFile(/tmp/multipartBody5990703721987979794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735870998327,"filename":"image_03012025_03_20_02_412935_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/fadb909898b4fbdf9a20e458df8dcb44.jpg","text":"TemporaryFile(/tmp/multipartBody4751966822619740996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735870998327,"filename":"image_03012025_03_20_02_412935_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/942e587941bf1914932e478fec6de744.jpg","text":"TemporaryFile(/tmp/multipartBody8666790728952354478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735870998327,"filename":"image_03012025_03_21_03_042471_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a98bda6e0ec5e4d0ad5abfe8d5f40cac.jpg","text":"TemporaryFile(/tmp/multipartBody5714690778405503937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735870998327,"filename":"image_03012025_03_21_03_042471_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9024c4b99550307b2edf129239457e81.jpg","text":"TemporaryFile(/tmp/multipartBody4669701663050731512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735870998327,"filename":"image_03012025_03_20_02_412935_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325678491","file1":"1325678489","file0":"1325678487","file4":"1325678495","file5":"1325678497","file3":"1325678493"},"map_files_photo_id_array":[{"photo_id":"1325678497","filename":"file5"},{"photo_id":"1325678491","filename":"file2"},{"photo_id":"1325678495","filename":"file4"},{"photo_id":"1325678489","filename":"file1"},{"photo_id":"1325678487","filename":"file0"},{"photo_id":"1325678493","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325678495":["hashtag1","hashtag2"]},{"1325678489":["hashtag1","hashtag2"]},{"1325678491":["hashtag1","hashtag2"]},{"1325678497":["hashtag1","hashtag2"]},{"1325678493":["hashtag1","hashtag2"]},{"1325678487":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325678495, 1325678489, 1325678491, 1325678497, 1325678493, 1325678487)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.7253098487854 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 03:23:02.790664
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/03/21/image_03012025_03_21_03_042471_0003.jpg', '/home/pi/Desktop/images/03012025/03/22/image_03012025_03_22_02_531756_0000.jpg', '/home/pi/Desktop/images/03012025/03/22/image_03012025_03_22_02_531756_0001.jpg', '/home/pi/Desktop/images/03012025/03/22/image_03012025_03_22_02_531756_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/03/21/image_03012025_03_21_03_042471_0003.jpg
/home/pi/Desktop/images/03012025/03/22/image_03012025_03_22_02_531756_0000.jpg
/home/pi/Desktop/images/03012025/03/22/image_03012025_03_22_02_531756_0001.jpg
/home/pi/Desktop/images/03012025/03/22/image_03012025_03_22_02_531756_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.135330200195312 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 03:23:22.197204
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/03/21/image_03012025_03_21_03_042471_0003.jpg', '/home/pi/Desktop/images/03012025/03/22/image_03012025_03_22_02_531756_0000.jpg', '/home/pi/Desktop/images/03012025/03/22/image_03012025_03_22_02_531756_0001.jpg', '/home/pi/Desktop/images/03012025/03/22/image_03012025_03_22_02_531756_0002.jpg', '/home/pi/Desktop/images/03012025/03/22/image_03012025_03_22_02_531756_0003.jpg', '/home/pi/Desktop/images/03012025/03/23/image_03012025_03_23_03_031674_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/03/21/image_03012025_03_21_03_042471_0003.jpg
/home/pi/Desktop/images/03012025/03/22/image_03012025_03_22_02_531756_0000.jpg
/home/pi/Desktop/images/03012025/03/22/image_03012025_03_22_02_531756_0001.jpg
/home/pi/Desktop/images/03012025/03/22/image_03012025_03_22_02_531756_0002.jpg
/home/pi/Desktop/images/03012025/03/22/image_03012025_03_22_02_531756_0003.jpg
/home/pi/Desktop/images/03012025/03/23/image_03012025_03_23_03_031674_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325678513","1325678519","1325678521","1325678515","1325678509","1325678517"],"photo_ids_order":["1325678509","1325678513","1325678515","1325678517","1325678519","1325678521"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/54b828e3d778e198cd6c83469ca2a29a.jpg","text":"TemporaryFile(/tmp/multipartBody8090345338041322414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735871077521,"filename":"image_03012025_03_22_02_531756_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a9314ef57b724def232ae844a792069e.jpg","text":"TemporaryFile(/tmp/multipartBody6305488917772903520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735871077521,"filename":"image_03012025_03_22_02_531756_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7898e668a3d35fe9edb3ced53258459d.jpg","text":"TemporaryFile(/tmp/multipartBody7186697576293771748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735871077521,"filename":"image_03012025_03_23_03_031674_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5c67e23baa92535d4084c733af9aaa5c.jpg","text":"TemporaryFile(/tmp/multipartBody6064264168132922268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735871077521,"filename":"image_03012025_03_22_02_531756_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/384a028e40db1070be6de204cfb107b0.jpg","text":"TemporaryFile(/tmp/multipartBody1054765661326524912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735871077521,"filename":"image_03012025_03_21_03_042471_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8bd0213d1694a2cefeb8cdd0f837673f.jpg","text":"TemporaryFile(/tmp/multipartBody5296774901856315356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735871077521,"filename":"image_03012025_03_22_02_531756_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325678515","file1":"1325678513","file0":"1325678509","file4":"1325678519","file5":"1325678521","file3":"1325678517"},"map_files_photo_id_array":[{"photo_id":"1325678521","filename":"file5"},{"photo_id":"1325678515","filename":"file2"},{"photo_id":"1325678519","filename":"file4"},{"photo_id":"1325678513","filename":"file1"},{"photo_id":"1325678509","filename":"file0"},{"photo_id":"1325678517","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325678513":["hashtag1","hashtag2"]},{"1325678519":["hashtag1","hashtag2"]},{"1325678521":["hashtag1","hashtag2"]},{"1325678515":["hashtag1","hashtag2"]},{"1325678509":["hashtag1","hashtag2"]},{"1325678517":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325678513, 1325678519, 1325678521, 1325678515, 1325678509, 1325678517)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.94583439826965 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 03:24:21.811455
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/03/23/image_03012025_03_23_03_031674_0001.jpg', '/home/pi/Desktop/images/03012025/03/23/image_03012025_03_23_03_031674_0002.jpg', '/home/pi/Desktop/images/03012025/03/23/image_03012025_03_23_03_031674_0003.jpg', '/home/pi/Desktop/images/03012025/03/24/image_03012025_03_24_02_548579_0000.jpg', '/home/pi/Desktop/images/03012025/03/24/image_03012025_03_24_02_548579_0001.jpg', '/home/pi/Desktop/images/03012025/03/24/image_03012025_03_24_02_548579_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/03/23/image_03012025_03_23_03_031674_0001.jpg
/home/pi/Desktop/images/03012025/03/23/image_03012025_03_23_03_031674_0002.jpg
/home/pi/Desktop/images/03012025/03/23/image_03012025_03_23_03_031674_0003.jpg
/home/pi/Desktop/images/03012025/03/24/image_03012025_03_24_02_548579_0000.jpg
/home/pi/Desktop/images/03012025/03/24/image_03012025_03_24_02_548579_0001.jpg
/home/pi/Desktop/images/03012025/03/24/image_03012025_03_24_02_548579_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325678570","1325678567","1325678525","1325678540","1325678563","1325678529"],"photo_ids_order":["1325678525","1325678529","1325678540","1325678563","1325678567","1325678570"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ea2f1bc96d711c709c8682e74e08b180.jpg","text":"TemporaryFile(/tmp/multipartBody8792232535616128289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735871136953,"filename":"image_03012025_03_24_02_548579_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/bf854c35007b9a66735f58731262d438.jpg","text":"TemporaryFile(/tmp/multipartBody2393685391130947791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735871136953,"filename":"image_03012025_03_24_02_548579_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1c83bc7bf41e8495fe478d4fa2c6c524.jpg","text":"TemporaryFile(/tmp/multipartBody8143734305772395676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735871136953,"filename":"image_03012025_03_23_03_031674_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6110acd71aaca8a62e82d745f38b4589.jpg","text":"TemporaryFile(/tmp/multipartBody3610599375323873679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735871136953,"filename":"image_03012025_03_23_03_031674_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1eb0d2cc44def918625735658c7c7d75.jpg","text":"TemporaryFile(/tmp/multipartBody8391991055514558205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735871136953,"filename":"image_03012025_03_24_02_548579_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3fde47e27d77edea3ab217d41d93597a.jpg","text":"TemporaryFile(/tmp/multipartBody1475400691963734045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735871136953,"filename":"image_03012025_03_23_03_031674_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325678540","file1":"1325678529","file0":"1325678525","file4":"1325678567","file5":"1325678570","file3":"1325678563"},"map_files_photo_id_array":[{"photo_id":"1325678570","filename":"file5"},{"photo_id":"1325678540","filename":"file2"},{"photo_id":"1325678567","filename":"file4"},{"photo_id":"1325678529","filename":"file1"},{"photo_id":"1325678525","filename":"file0"},{"photo_id":"1325678563","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325678570":["hashtag1","hashtag2"]},{"1325678567":["hashtag1","hashtag2"]},{"1325678525":["hashtag1","hashtag2"]},{"1325678540":["hashtag1","hashtag2"]},{"1325678563":["hashtag1","hashtag2"]},{"1325678529":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325678570, 1325678567, 1325678525, 1325678540, 1325678563, 1325678529)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.85396885871887 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 03:25:22.312186
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/03/24/image_03012025_03_24_02_548579_0003.jpg', '/home/pi/Desktop/images/03012025/03/25/image_03012025_03_25_02_162351_0000.jpg', '/home/pi/Desktop/images/03012025/03/25/image_03012025_03_25_02_162351_0001.jpg', '/home/pi/Desktop/images/03012025/03/25/image_03012025_03_25_02_162351_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/03/24/image_03012025_03_24_02_548579_0003.jpg
/home/pi/Desktop/images/03012025/03/25/image_03012025_03_25_02_162351_0000.jpg
/home/pi/Desktop/images/03012025/03/25/image_03012025_03_25_02_162351_0001.jpg
/home/pi/Desktop/images/03012025/03/25/image_03012025_03_25_02_162351_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325678579","1325678581","1325678575","1325678577"],"photo_ids_order":["1325678575","1325678577","1325678579","1325678581"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f082a3fb519b8198dea58251646de447.jpg","text":"TemporaryFile(/tmp/multipartBody4373803792295355373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735871192641,"filename":"image_03012025_03_25_02_162351_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1dcb469875a2f3338ce692d4d0698b94.jpg","text":"TemporaryFile(/tmp/multipartBody3369277944698466860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735871192641,"filename":"image_03012025_03_25_02_162351_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ed13702d1f50b9d8637bdbbfc4469819.jpg","text":"TemporaryFile(/tmp/multipartBody7226374572769479416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735871192641,"filename":"image_03012025_03_24_02_548579_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8cc54012ad9c2ba98ccfb11754e1e8f3.jpg","text":"TemporaryFile(/tmp/multipartBody7363078708127805167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735871192641,"filename":"image_03012025_03_25_02_162351_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325678579","file1":"1325678577","file0":"1325678575","file3":"1325678581"},"map_files_photo_id_array":[{"photo_id":"1325678579","filename":"file2"},{"photo_id":"1325678577","filename":"file1"},{"photo_id":"1325678575","filename":"file0"},{"photo_id":"1325678581","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325678579":["hashtag1","hashtag2"]},{"1325678581":["hashtag1","hashtag2"]},{"1325678575":["hashtag1","hashtag2"]},{"1325678577":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325678579, 1325678581, 1325678575, 1325678577)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.355308055877686 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 03:26:21.845050
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/03/25/image_03012025_03_25_02_162351_0003.jpg', '/home/pi/Desktop/images/03012025/03/26/image_03012025_03_26_02_691585_0000.jpg', '/home/pi/Desktop/images/03012025/03/26/image_03012025_03_26_02_691585_0001.jpg', '/home/pi/Desktop/images/03012025/03/26/image_03012025_03_26_02_691585_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/03/25/image_03012025_03_25_02_162351_0003.jpg
/home/pi/Desktop/images/03012025/03/26/image_03012025_03_26_02_691585_0000.jpg
/home/pi/Desktop/images/03012025/03/26/image_03012025_03_26_02_691585_0001.jpg
/home/pi/Desktop/images/03012025/03/26/image_03012025_03_26_02_691585_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325678594","1325678588","1325678590","1325678592"],"photo_ids_order":["1325678588","1325678590","1325678592","1325678594"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/57f90de30e89ae969c9c42e2e22aa0de.jpg","text":"TemporaryFile(/tmp/multipartBody4581802911098948301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735871252193,"filename":"image_03012025_03_26_02_691585_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8f092be68087a01ffea1be5668a4732d.jpg","text":"TemporaryFile(/tmp/multipartBody446945609374836246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735871252193,"filename":"image_03012025_03_25_02_162351_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/52a2cb12155686945a773cccc35100b6.jpg","text":"TemporaryFile(/tmp/multipartBody3350531065183057631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735871252193,"filename":"image_03012025_03_26_02_691585_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f52fed95ce7af13da59e6de9edeae557.jpg","text":"TemporaryFile(/tmp/multipartBody2906345330831273447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735871252193,"filename":"image_03012025_03_26_02_691585_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325678592","file1":"1325678590","file0":"1325678588","file3":"1325678594"},"map_files_photo_id_array":[{"photo_id":"1325678592","filename":"file2"},{"photo_id":"1325678590","filename":"file1"},{"photo_id":"1325678588","filename":"file0"},{"photo_id":"1325678594","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325678594":["hashtag1","hashtag2"]},{"1325678588":["hashtag1","hashtag2"]},{"1325678590":["hashtag1","hashtag2"]},{"1325678592":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325678594, 1325678588, 1325678590, 1325678592)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.457754135131836 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 03:27:03.089939
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 03:27:22.383837
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/03/26/image_03012025_03_26_02_691585_0003.jpg', '/home/pi/Desktop/images/03012025/03/27/image_03012025_03_27_02_256768_0000.jpg', '/home/pi/Desktop/images/03012025/03/27/image_03012025_03_27_02_256768_0001.jpg', '/home/pi/Desktop/images/03012025/03/27/image_03012025_03_27_02_256768_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/03/26/image_03012025_03_26_02_691585_0003.jpg
/home/pi/Desktop/images/03012025/03/27/image_03012025_03_27_02_256768_0000.jpg
/home/pi/Desktop/images/03012025/03/27/image_03012025_03_27_02_256768_0001.jpg
/home/pi/Desktop/images/03012025/03/27/image_03012025_03_27_02_256768_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325678619","1325678624","1325678622","1325678616"],"photo_ids_order":["1325678616","1325678619","1325678622","1325678624"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f300497da1f2579242bfb6ce842f7035.jpg","text":"TemporaryFile(/tmp/multipartBody7069449778988524543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735871312638,"filename":"image_03012025_03_27_02_256768_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2a6f0100ea4b2e1222e9d2d276bb512b.jpg","text":"TemporaryFile(/tmp/multipartBody7552340153501115261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735871312638,"filename":"image_03012025_03_27_02_256768_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b6e301273dfbf8b74fadf6ddc3711d8d.jpg","text":"TemporaryFile(/tmp/multipartBody7718830968096006168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735871312638,"filename":"image_03012025_03_27_02_256768_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ee6719a3c8270c8eebfacb9c2e3b42ff.jpg","text":"TemporaryFile(/tmp/multipartBody2743874880265896625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735871312638,"filename":"image_03012025_03_26_02_691585_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325678622","file1":"1325678619","file0":"1325678616","file3":"1325678624"},"map_files_photo_id_array":[{"photo_id":"1325678622","filename":"file2"},{"photo_id":"1325678619","filename":"file1"},{"photo_id":"1325678616","filename":"file0"},{"photo_id":"1325678624","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325678619":["hashtag1","hashtag2"]},{"1325678624":["hashtag1","hashtag2"]},{"1325678622":["hashtag1","hashtag2"]},{"1325678616":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325678619, 1325678624, 1325678622, 1325678616)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.0885112285614 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-03 03:28:21.974294
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/03/27/image_03012025_03_27_02_256768_0003.jpg', '/home/pi/Desktop/images/03012025/03/28/image_03012025_03_28_02_723611_0000.jpg', '/home/pi/Desktop/images/03012025/03/28/image_03012025_03_28_02_723611_0001.jpg', '/home/pi/Desktop/images/03012025/03/28/image_03012025_03_28_02_723611_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/03/27/image_03012025_03_27_02_256768_0003.jpg
/home/pi/Desktop/images/03012025/03/28/image_03012025_03_28_02_723611_0000.jpg
/home/pi/Desktop/images/03012025/03/28/image_03012025_03_28_02_723611_0001.jpg
/home/pi/Desktop/images/03012025/03/28/image_03012025_03_28_02_723611_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325678631","1325678640","1325678634","1325678637"],"photo_ids_order":["1325678631","1325678634","1325678637","1325678640"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/78d046b00f56a3420897c1df33b27588.jpg","text":"TemporaryFile(/tmp/multipartBody1143692406492922919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735871372457,"filename":"image_03012025_03_27_02_256768_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/bc02e1c7cec136172817496e1302bad9.jpg","text":"TemporaryFile(/tmp/multipartBody1806421386782283091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735871372457,"filename":"image_03012025_03_28_02_723611_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6460d2c869be0e6c01b4e1a942f8277a.jpg","text":"TemporaryFile(/tmp/multipartBody4936947579353896951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735871372457,"filename":"image_03012025_03_28_02_723611_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e8e913505e1028938b839cd7f95a46da.jpg","text":"TemporaryFile(/tmp/multipartBody306235581856922407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735871372457,"filename":"image_03012025_03_28_02_723611_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325678637","file1":"1325678634","file0":"1325678631","file3":"1325678640"},"map_files_photo_id_array":[{"photo_id":"1325678637","filename":"file2"},{"photo_id":"1325678634","filename":"file1"},{"photo_id":"1325678631","filename":"file0"},{"photo_id":"1325678640","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325678631":["hashtag1","hashtag2"]},{"1325678640":["hashtag1","hashtag2"]},{"1325678634":["hashtag1","hashtag2"]},{"1325678637":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325678631, 1325678640, 1325678634, 1325678637)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.439929485321045 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 03:29:03.175588
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 03:29:22.400535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/03/28/image_03012025_03_28_02_723611_0003.jpg', '/home/pi/Desktop/images/03012025/03/29/image_03012025_03_29_02_347116_0000.jpg', '/home/pi/Desktop/images/03012025/03/29/image_03012025_03_29_02_347116_0001.jpg', '/home/pi/Desktop/images/03012025/03/29/image_03012025_03_29_02_347116_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/03/28/image_03012025_03_28_02_723611_0003.jpg
/home/pi/Desktop/images/03012025/03/29/image_03012025_03_29_02_347116_0000.jpg
/home/pi/Desktop/images/03012025/03/29/image_03012025_03_29_02_347116_0001.jpg
/home/pi/Desktop/images/03012025/03/29/image_03012025_03_29_02_347116_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325678684","1325678680","1325678677","1325678682"],"photo_ids_order":["1325678677","1325678680","1325678682","1325678684"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/cbb693f967f1958548c509793bc0dc85.jpg","text":"TemporaryFile(/tmp/multipartBody3391050757355898174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735871432928,"filename":"image_03012025_03_29_02_347116_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/af52f53ade866e852d18307349068d58.jpg","text":"TemporaryFile(/tmp/multipartBody250547926657831856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735871432928,"filename":"image_03012025_03_29_02_347116_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5a92797d569583ae21f3d3da6ac9cdd8.jpg","text":"TemporaryFile(/tmp/multipartBody1557304987914824664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735871432928,"filename":"image_03012025_03_28_02_723611_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/050abc8e93ee30b6a26ca61c60d99ec9.jpg","text":"TemporaryFile(/tmp/multipartBody5427313110299359546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735871432928,"filename":"image_03012025_03_29_02_347116_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325678682","file1":"1325678680","file0":"1325678677","file3":"1325678684"},"map_files_photo_id_array":[{"photo_id":"1325678682","filename":"file2"},{"photo_id":"1325678680","filename":"file1"},{"photo_id":"1325678677","filename":"file0"},{"photo_id":"1325678684","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325678684":["hashtag1","hashtag2"]},{"1325678680":["hashtag1","hashtag2"]},{"1325678677":["hashtag1","hashtag2"]},{"1325678682":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325678684, 1325678680, 1325678677, 1325678682)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.85124731063843 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 03:30:22.224629
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/03/29/image_03012025_03_29_02_347116_0003.jpg', '/home/pi/Desktop/images/03012025/03/30/image_03012025_03_30_02_809629_0000.jpg', '/home/pi/Desktop/images/03012025/03/30/image_03012025_03_30_02_809629_0001.jpg', '/home/pi/Desktop/images/03012025/03/30/image_03012025_03_30_02_809629_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/03/29/image_03012025_03_29_02_347116_0003.jpg
/home/pi/Desktop/images/03012025/03/30/image_03012025_03_30_02_809629_0000.jpg
/home/pi/Desktop/images/03012025/03/30/image_03012025_03_30_02_809629_0001.jpg
/home/pi/Desktop/images/03012025/03/30/image_03012025_03_30_02_809629_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.02095079421997 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 03:31:03.521480
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/03/29/image_03012025_03_29_02_347116_0003.jpg', '/home/pi/Desktop/images/03012025/03/30/image_03012025_03_30_02_809629_0000.jpg', '/home/pi/Desktop/images/03012025/03/30/image_03012025_03_30_02_809629_0001.jpg', '/home/pi/Desktop/images/03012025/03/30/image_03012025_03_30_02_809629_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/03/29/image_03012025_03_29_02_347116_0003.jpg
/home/pi/Desktop/images/03012025/03/30/image_03012025_03_30_02_809629_0000.jpg
/home/pi/Desktop/images/03012025/03/30/image_03012025_03_30_02_809629_0001.jpg
/home/pi/Desktop/images/03012025/03/30/image_03012025_03_30_02_809629_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325678857","1325678949","1325678952","1325678946"],"photo_ids_order":["1325678857","1325678946","1325678949","1325678952"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/55d97083809686e8d886c9d5396460b7.jpg","text":"TemporaryFile(/tmp/multipartBody3723091429349008180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735871533996,"filename":"image_03012025_03_29_02_347116_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/77a435509b98ae6aa80c5013fe1c9117.jpg","text":"TemporaryFile(/tmp/multipartBody6830833879553796603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735871533996,"filename":"image_03012025_03_30_02_809629_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4aa06d954641aac1d9429192ca511c17.jpg","text":"TemporaryFile(/tmp/multipartBody4569807870204821135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735871533996,"filename":"image_03012025_03_30_02_809629_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b28a44be11c5544142582c4d3b90986f.jpg","text":"TemporaryFile(/tmp/multipartBody3074456071650387336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735871533996,"filename":"image_03012025_03_30_02_809629_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325678949","file1":"1325678946","file0":"1325678857","file3":"1325678952"},"map_files_photo_id_array":[{"photo_id":"1325678949","filename":"file2"},{"photo_id":"1325678946","filename":"file1"},{"photo_id":"1325678857","filename":"file0"},{"photo_id":"1325678952","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325678857":["hashtag1","hashtag2"]},{"1325678949":["hashtag1","hashtag2"]},{"1325678952":["hashtag1","hashtag2"]},{"1325678946":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325678857, 1325678949, 1325678952, 1325678946)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.341976165771484 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 03:32:02.901107
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/03/30/image_03012025_03_30_02_809629_0003.jpg', '/home/pi/Desktop/images/03012025/03/31/image_03012025_03_31_02_588711_0000.jpg', '/home/pi/Desktop/images/03012025/03/31/image_03012025_03_31_02_588711_0001.jpg', '/home/pi/Desktop/images/03012025/03/31/image_03012025_03_31_02_588711_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/03/30/image_03012025_03_30_02_809629_0003.jpg
/home/pi/Desktop/images/03012025/03/31/image_03012025_03_31_02_588711_0000.jpg
/home/pi/Desktop/images/03012025/03/31/image_03012025_03_31_02_588711_0001.jpg
/home/pi/Desktop/images/03012025/03/31/image_03012025_03_31_02_588711_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325678972","1325678975","1325678977","1325678973"],"photo_ids_order":["1325678972","1325678973","1325678975","1325678977"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1947c7179166ecfe1cc3a28c8032d42c.jpg","text":"TemporaryFile(/tmp/multipartBody567727893378406331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735871593367,"filename":"image_03012025_03_30_02_809629_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/58d7f77aa9cb276501ecdce53135dfae.jpg","text":"TemporaryFile(/tmp/multipartBody6092477578546468231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735871593367,"filename":"image_03012025_03_31_02_588711_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2eecd8dce8da8c8750e4118e1e8051fa.jpg","text":"TemporaryFile(/tmp/multipartBody1432205847375886616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735871593367,"filename":"image_03012025_03_31_02_588711_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9bf71a4b7a4482809780732b5ee4c578.jpg","text":"TemporaryFile(/tmp/multipartBody4264695999902360056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735871593367,"filename":"image_03012025_03_31_02_588711_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325678975","file1":"1325678973","file0":"1325678972","file3":"1325678977"},"map_files_photo_id_array":[{"photo_id":"1325678975","filename":"file2"},{"photo_id":"1325678973","filename":"file1"},{"photo_id":"1325678972","filename":"file0"},{"photo_id":"1325678977","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325678972":["hashtag1","hashtag2"]},{"1325678975":["hashtag1","hashtag2"]},{"1325678977":["hashtag1","hashtag2"]},{"1325678973":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325678972, 1325678975, 1325678977, 1325678973)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.0661199092865 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 03:33:02.618322
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/03/31/image_03012025_03_31_02_588711_0003.jpg', '/home/pi/Desktop/images/03012025/03/32/image_03012025_03_32_03_128521_0000.jpg', '/home/pi/Desktop/images/03012025/03/32/image_03012025_03_32_03_128521_0001.jpg', '/home/pi/Desktop/images/03012025/03/32/image_03012025_03_32_03_128521_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/03/31/image_03012025_03_31_02_588711_0003.jpg
/home/pi/Desktop/images/03012025/03/32/image_03012025_03_32_03_128521_0000.jpg
/home/pi/Desktop/images/03012025/03/32/image_03012025_03_32_03_128521_0001.jpg
/home/pi/Desktop/images/03012025/03/32/image_03012025_03_32_03_128521_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325678987","1325678995","1325679013","1325678988"],"photo_ids_order":["1325678987","1325678988","1325678995","1325679013"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9e7c91549667845b137a37129279756f.jpg","text":"TemporaryFile(/tmp/multipartBody2217720380964938741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735871653130,"filename":"image_03012025_03_31_02_588711_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/230c1a4001bb632ae4a2c2a4c83dd946.jpg","text":"TemporaryFile(/tmp/multipartBody4530656163345983915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735871653130,"filename":"image_03012025_03_32_03_128521_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/65ce6eb35f89c00a2ca036b6025d7943.jpg","text":"TemporaryFile(/tmp/multipartBody5348378411722796028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735871653130,"filename":"image_03012025_03_32_03_128521_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4e83e6ba93201ebddc4ad5d328982848.jpg","text":"TemporaryFile(/tmp/multipartBody7937386522507415724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735871653130,"filename":"image_03012025_03_32_03_128521_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325678995","file1":"1325678988","file0":"1325678987","file3":"1325679013"},"map_files_photo_id_array":[{"photo_id":"1325678995","filename":"file2"},{"photo_id":"1325678988","filename":"file1"},{"photo_id":"1325678987","filename":"file0"},{"photo_id":"1325679013","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325678987":["hashtag1","hashtag2"]},{"1325678995":["hashtag1","hashtag2"]},{"1325679013":["hashtag1","hashtag2"]},{"1325678988":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325678987, 1325678995, 1325679013, 1325678988)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.672253131866455 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 03:34:03.066381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/03/32/image_03012025_03_32_03_128521_0003.jpg', '/home/pi/Desktop/images/03012025/03/33/image_03012025_03_33_02_802938_0000.jpg', '/home/pi/Desktop/images/03012025/03/33/image_03012025_03_33_02_802938_0001.jpg', '/home/pi/Desktop/images/03012025/03/33/image_03012025_03_33_02_802938_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/03/32/image_03012025_03_32_03_128521_0003.jpg
/home/pi/Desktop/images/03012025/03/33/image_03012025_03_33_02_802938_0000.jpg
/home/pi/Desktop/images/03012025/03/33/image_03012025_03_33_02_802938_0001.jpg
/home/pi/Desktop/images/03012025/03/33/image_03012025_03_33_02_802938_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325679131","1325679134","1325679137","1325679132"],"photo_ids_order":["1325679131","1325679132","1325679134","1325679137"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8c530434bb8220615cf829247d620295.jpg","text":"TemporaryFile(/tmp/multipartBody6756421722911582933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735871713429,"filename":"image_03012025_03_32_03_128521_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2611f51494f62163654931138989a27c.jpg","text":"TemporaryFile(/tmp/multipartBody6559038116035677434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735871713429,"filename":"image_03012025_03_33_02_802938_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5a1025562e0dc81c784ede3c51f23b31.jpg","text":"TemporaryFile(/tmp/multipartBody3880499892897668659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735871713429,"filename":"image_03012025_03_33_02_802938_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/45fc0f5c3451ff14f848ec121ddc40ce.jpg","text":"TemporaryFile(/tmp/multipartBody5563727655247891921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735871713429,"filename":"image_03012025_03_33_02_802938_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325679134","file1":"1325679132","file0":"1325679131","file3":"1325679137"},"map_files_photo_id_array":[{"photo_id":"1325679134","filename":"file2"},{"photo_id":"1325679132","filename":"file1"},{"photo_id":"1325679131","filename":"file0"},{"photo_id":"1325679137","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325679131":["hashtag1","hashtag2"]},{"1325679134":["hashtag1","hashtag2"]},{"1325679137":["hashtag1","hashtag2"]},{"1325679132":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325679131, 1325679134, 1325679137, 1325679132)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.117595195770264 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 03:35:02.640813
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/03/33/image_03012025_03_33_02_802938_0003.jpg', '/home/pi/Desktop/images/03012025/03/34/image_03012025_03_34_02_333766_0000.jpg', '/home/pi/Desktop/images/03012025/03/34/image_03012025_03_34_02_333766_0001.jpg', '/home/pi/Desktop/images/03012025/03/34/image_03012025_03_34_02_333766_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/03/33/image_03012025_03_33_02_802938_0003.jpg
/home/pi/Desktop/images/03012025/03/34/image_03012025_03_34_02_333766_0000.jpg
/home/pi/Desktop/images/03012025/03/34/image_03012025_03_34_02_333766_0001.jpg
/home/pi/Desktop/images/03012025/03/34/image_03012025_03_34_02_333766_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325679152","1325679155","1325679153","1325679159"],"photo_ids_order":["1325679152","1325679153","1325679155","1325679159"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/10a4813d0d9ab5a713538bba107388bf.jpg","text":"TemporaryFile(/tmp/multipartBody4938870362912649339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735871773219,"filename":"image_03012025_03_33_02_802938_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2b286bfcda32ce2ded5965f90aa5dff6.jpg","text":"TemporaryFile(/tmp/multipartBody2219587853243456890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735871773219,"filename":"image_03012025_03_34_02_333766_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/af5590b059216b78e3726131a071c19f.jpg","text":"TemporaryFile(/tmp/multipartBody4454959921537295203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735871773219,"filename":"image_03012025_03_34_02_333766_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/aa4e58799b1ff836a9f822d77cfe702e.jpg","text":"TemporaryFile(/tmp/multipartBody2411735000950401224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735871773219,"filename":"image_03012025_03_34_02_333766_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325679155","file1":"1325679153","file0":"1325679152","file3":"1325679159"},"map_files_photo_id_array":[{"photo_id":"1325679155","filename":"file2"},{"photo_id":"1325679153","filename":"file1"},{"photo_id":"1325679152","filename":"file0"},{"photo_id":"1325679159","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325679152":["hashtag1","hashtag2"]},{"1325679155":["hashtag1","hashtag2"]},{"1325679153":["hashtag1","hashtag2"]},{"1325679159":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325679152, 1325679155, 1325679153, 1325679159)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.7999005317688 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 03:36:03.169950
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/03/34/image_03012025_03_34_02_333766_0003.jpg', '/home/pi/Desktop/images/03012025/03/35/image_03012025_03_35_02_970747_0000.jpg', '/home/pi/Desktop/images/03012025/03/35/image_03012025_03_35_02_970747_0001.jpg', '/home/pi/Desktop/images/03012025/03/35/image_03012025_03_35_02_970747_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/03/34/image_03012025_03_34_02_333766_0003.jpg
/home/pi/Desktop/images/03012025/03/35/image_03012025_03_35_02_970747_0000.jpg
/home/pi/Desktop/images/03012025/03/35/image_03012025_03_35_02_970747_0001.jpg
/home/pi/Desktop/images/03012025/03/35/image_03012025_03_35_02_970747_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325679173","1325679178","1325679172","1325679176"],"photo_ids_order":["1325679172","1325679173","1325679176","1325679178"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/10b03b10634d3f601a18bfd613f589b7.jpg","text":"TemporaryFile(/tmp/multipartBody8032783342271564070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735871833610,"filename":"image_03012025_03_35_02_970747_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ed7fd0b1a0df1e3d67a7d36fa1e1c440.jpg","text":"TemporaryFile(/tmp/multipartBody3111559690865923113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735871833610,"filename":"image_03012025_03_35_02_970747_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c3d6d9d30e30e6b88cfebf3572a2013b.jpg","text":"TemporaryFile(/tmp/multipartBody7911552373969748683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735871833610,"filename":"image_03012025_03_34_02_333766_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ab1b7baeb4d36d2dab3b7e9cdc944f3e.jpg","text":"TemporaryFile(/tmp/multipartBody563511357167537351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735871833610,"filename":"image_03012025_03_35_02_970747_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325679176","file1":"1325679173","file0":"1325679172","file3":"1325679178"},"map_files_photo_id_array":[{"photo_id":"1325679176","filename":"file2"},{"photo_id":"1325679173","filename":"file1"},{"photo_id":"1325679172","filename":"file0"},{"photo_id":"1325679178","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325679173":["hashtag1","hashtag2"]},{"1325679178":["hashtag1","hashtag2"]},{"1325679172":["hashtag1","hashtag2"]},{"1325679176":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325679173, 1325679178, 1325679172, 1325679176)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.29728674888611 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 03:37:02.929981
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/03/35/image_03012025_03_35_02_970747_0003.jpg', '/home/pi/Desktop/images/03012025/03/36/image_03012025_03_36_02_498084_0000.jpg', '/home/pi/Desktop/images/03012025/03/36/image_03012025_03_36_02_498084_0001.jpg', '/home/pi/Desktop/images/03012025/03/36/image_03012025_03_36_02_498084_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/03/35/image_03012025_03_35_02_970747_0003.jpg
/home/pi/Desktop/images/03012025/03/36/image_03012025_03_36_02_498084_0000.jpg
/home/pi/Desktop/images/03012025/03/36/image_03012025_03_36_02_498084_0001.jpg
/home/pi/Desktop/images/03012025/03/36/image_03012025_03_36_02_498084_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325679223","1325679228","1325679225","1325679219"],"photo_ids_order":["1325679219","1325679223","1325679225","1325679228"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0bd8005cae95a7d8ed1285a244deb5f2.jpg","text":"TemporaryFile(/tmp/multipartBody9215641100582536534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735871893296,"filename":"image_03012025_03_36_02_498084_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f70525945413e5d0a31853447910a0f8.jpg","text":"TemporaryFile(/tmp/multipartBody8587151575487574561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735871893296,"filename":"image_03012025_03_36_02_498084_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/fc4f1c5c3a54cd8ddd13b417374328af.jpg","text":"TemporaryFile(/tmp/multipartBody8750444285239955578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735871893296,"filename":"image_03012025_03_36_02_498084_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a06381db906395419241c93028bdf322.jpg","text":"TemporaryFile(/tmp/multipartBody1271894094155995469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735871893296,"filename":"image_03012025_03_35_02_970747_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325679225","file1":"1325679223","file0":"1325679219","file3":"1325679228"},"map_files_photo_id_array":[{"photo_id":"1325679225","filename":"file2"},{"photo_id":"1325679223","filename":"file1"},{"photo_id":"1325679219","filename":"file0"},{"photo_id":"1325679228","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325679223":["hashtag1","hashtag2"]},{"1325679228":["hashtag1","hashtag2"]},{"1325679225":["hashtag1","hashtag2"]},{"1325679219":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325679223, 1325679228, 1325679225, 1325679219)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.95146942138672 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 03:38:02.282389
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/03/36/image_03012025_03_36_02_498084_0003.jpg', '/home/pi/Desktop/images/03012025/03/37/image_03012025_03_37_03_113880_0000.jpg', '/home/pi/Desktop/images/03012025/03/37/image_03012025_03_37_03_113880_0001.jpg', '/home/pi/Desktop/images/03012025/03/37/image_03012025_03_37_03_113880_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/03/36/image_03012025_03_36_02_498084_0003.jpg
/home/pi/Desktop/images/03012025/03/37/image_03012025_03_37_03_113880_0000.jpg
/home/pi/Desktop/images/03012025/03/37/image_03012025_03_37_03_113880_0001.jpg
/home/pi/Desktop/images/03012025/03/37/image_03012025_03_37_03_113880_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.847356796264648 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 03:38:21.830102
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/03/36/image_03012025_03_36_02_498084_0003.jpg', '/home/pi/Desktop/images/03012025/03/37/image_03012025_03_37_03_113880_0000.jpg', '/home/pi/Desktop/images/03012025/03/37/image_03012025_03_37_03_113880_0001.jpg', '/home/pi/Desktop/images/03012025/03/37/image_03012025_03_37_03_113880_0002.jpg', '/home/pi/Desktop/images/03012025/03/37/image_03012025_03_37_03_113880_0003.jpg', '/home/pi/Desktop/images/03012025/03/38/image_03012025_03_38_02_593381_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/03/36/image_03012025_03_36_02_498084_0003.jpg
/home/pi/Desktop/images/03012025/03/37/image_03012025_03_37_03_113880_0000.jpg
/home/pi/Desktop/images/03012025/03/37/image_03012025_03_37_03_113880_0001.jpg
/home/pi/Desktop/images/03012025/03/37/image_03012025_03_37_03_113880_0002.jpg
/home/pi/Desktop/images/03012025/03/37/image_03012025_03_37_03_113880_0003.jpg
/home/pi/Desktop/images/03012025/03/38/image_03012025_03_38_02_593381_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325679287","1325679298","1325679292","1325679294","1325679300","1325679296"],"photo_ids_order":["1325679287","1325679292","1325679294","1325679296","1325679298","1325679300"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f5d4bf905f3b378ab17532dc01e24e15.jpg","text":"TemporaryFile(/tmp/multipartBody1590099097320310409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735871976879,"filename":"image_03012025_03_36_02_498084_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6216961b09941c39352d301fc184f66b.jpg","text":"TemporaryFile(/tmp/multipartBody5114119654303567745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735871976879,"filename":"image_03012025_03_37_03_113880_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/662b6f61fb12d0b563a2e17cf736d866.jpg","text":"TemporaryFile(/tmp/multipartBody7212966163281164671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735871976879,"filename":"image_03012025_03_37_03_113880_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2bf1067f10517eb74e93a658fdcce4f8.jpg","text":"TemporaryFile(/tmp/multipartBody6657613326276358415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735871976879,"filename":"image_03012025_03_37_03_113880_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/de0b7a81677ba2d8acd6ead3f35cff89.jpg","text":"TemporaryFile(/tmp/multipartBody2444156659806924963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735871976879,"filename":"image_03012025_03_38_02_593381_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8d7f633ea1d2231b4144ec77ada5b530.jpg","text":"TemporaryFile(/tmp/multipartBody8870121445491293412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735871976879,"filename":"image_03012025_03_37_03_113880_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325679294","file1":"1325679292","file0":"1325679287","file4":"1325679298","file5":"1325679300","file3":"1325679296"},"map_files_photo_id_array":[{"photo_id":"1325679300","filename":"file5"},{"photo_id":"1325679294","filename":"file2"},{"photo_id":"1325679298","filename":"file4"},{"photo_id":"1325679292","filename":"file1"},{"photo_id":"1325679287","filename":"file0"},{"photo_id":"1325679296","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325679287":["hashtag1","hashtag2"]},{"1325679298":["hashtag1","hashtag2"]},{"1325679292":["hashtag1","hashtag2"]},{"1325679294":["hashtag1","hashtag2"]},{"1325679300":["hashtag1","hashtag2"]},{"1325679296":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325679287, 1325679298, 1325679292, 1325679294, 1325679300, 1325679296)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.2356333732605 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 03:39:22.294188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/03/38/image_03012025_03_38_02_593381_0001.jpg', '/home/pi/Desktop/images/03012025/03/38/image_03012025_03_38_02_593381_0002.jpg', '/home/pi/Desktop/images/03012025/03/38/image_03012025_03_38_02_593381_0003.jpg', '/home/pi/Desktop/images/03012025/03/39/image_03012025_03_39_02_228230_0000.jpg', '/home/pi/Desktop/images/03012025/03/39/image_03012025_03_39_02_228230_0001.jpg', '/home/pi/Desktop/images/03012025/03/39/image_03012025_03_39_02_228230_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/03/38/image_03012025_03_38_02_593381_0001.jpg
/home/pi/Desktop/images/03012025/03/38/image_03012025_03_38_02_593381_0002.jpg
/home/pi/Desktop/images/03012025/03/38/image_03012025_03_38_02_593381_0003.jpg
/home/pi/Desktop/images/03012025/03/39/image_03012025_03_39_02_228230_0000.jpg
/home/pi/Desktop/images/03012025/03/39/image_03012025_03_39_02_228230_0001.jpg
/home/pi/Desktop/images/03012025/03/39/image_03012025_03_39_02_228230_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325679326","1325679325","1325679328","1325679333","1325679336","1325679330"],"photo_ids_order":["1325679325","1325679326","1325679328","1325679330","1325679333","1325679336"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/86891310e11a64a0848230ef98020f12.jpg","text":"TemporaryFile(/tmp/multipartBody6590793729543727062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735872037142,"filename":"image_03012025_03_38_02_593381_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e3856d82f8e00ace313e6176c7f63d88.jpg","text":"TemporaryFile(/tmp/multipartBody6796656186182215634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735872037142,"filename":"image_03012025_03_38_02_593381_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4c09c1fdbe4fb21c46b706e8f6e36211.jpg","text":"TemporaryFile(/tmp/multipartBody2035333840373261638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735872037142,"filename":"image_03012025_03_38_02_593381_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/17c3d40a630376ea2fd04dc79b89d020.jpg","text":"TemporaryFile(/tmp/multipartBody8362998807791412191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735872037142,"filename":"image_03012025_03_39_02_228230_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3ae7f5864f512e15c2b8fff131405a3a.jpg","text":"TemporaryFile(/tmp/multipartBody3322425942658391742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735872037142,"filename":"image_03012025_03_39_02_228230_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7e48078ba733efbd7991b205ae2b8a84.jpg","text":"TemporaryFile(/tmp/multipartBody4824385409409908910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735872037142,"filename":"image_03012025_03_39_02_228230_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325679328","file1":"1325679326","file0":"1325679325","file4":"1325679333","file5":"1325679336","file3":"1325679330"},"map_files_photo_id_array":[{"photo_id":"1325679336","filename":"file5"},{"photo_id":"1325679328","filename":"file2"},{"photo_id":"1325679333","filename":"file4"},{"photo_id":"1325679326","filename":"file1"},{"photo_id":"1325679325","filename":"file0"},{"photo_id":"1325679330","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325679326":["hashtag1","hashtag2"]},{"1325679325":["hashtag1","hashtag2"]},{"1325679328":["hashtag1","hashtag2"]},{"1325679333":["hashtag1","hashtag2"]},{"1325679336":["hashtag1","hashtag2"]},{"1325679330":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325679326, 1325679325, 1325679328, 1325679333, 1325679336, 1325679330)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.167017698287964 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 03:40:21.922133
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/03/39/image_03012025_03_39_02_228230_0003.jpg', '/home/pi/Desktop/images/03012025/03/40/image_03012025_03_40_02_731612_0000.jpg', '/home/pi/Desktop/images/03012025/03/40/image_03012025_03_40_02_731612_0001.jpg', '/home/pi/Desktop/images/03012025/03/40/image_03012025_03_40_02_731612_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/03/39/image_03012025_03_39_02_228230_0003.jpg
/home/pi/Desktop/images/03012025/03/40/image_03012025_03_40_02_731612_0000.jpg
/home/pi/Desktop/images/03012025/03/40/image_03012025_03_40_02_731612_0001.jpg
/home/pi/Desktop/images/03012025/03/40/image_03012025_03_40_02_731612_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325679347","1325679341","1325679343","1325679351"],"photo_ids_order":["1325679341","1325679343","1325679347","1325679351"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c4e68ec37bfb89ccc505c071e505e6dd.jpg","text":"TemporaryFile(/tmp/multipartBody7211074062562285046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735872092229,"filename":"image_03012025_03_40_02_731612_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/37227f3b4030c1bd8011d1c0b6797482.jpg","text":"TemporaryFile(/tmp/multipartBody1138538142586097607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735872092229,"filename":"image_03012025_03_39_02_228230_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e6c7aa121dca1109e15eaa1aa3980cae.jpg","text":"TemporaryFile(/tmp/multipartBody2728032194326591722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735872092229,"filename":"image_03012025_03_40_02_731612_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6121881237156a5b77ec708cdf5a45bf.jpg","text":"TemporaryFile(/tmp/multipartBody2932420920576404177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735872092229,"filename":"image_03012025_03_40_02_731612_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325679347","file1":"1325679343","file0":"1325679341","file3":"1325679351"},"map_files_photo_id_array":[{"photo_id":"1325679347","filename":"file2"},{"photo_id":"1325679343","filename":"file1"},{"photo_id":"1325679341","filename":"file0"},{"photo_id":"1325679351","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325679347":["hashtag1","hashtag2"]},{"1325679341":["hashtag1","hashtag2"]},{"1325679343":["hashtag1","hashtag2"]},{"1325679351":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325679347, 1325679341, 1325679343, 1325679351)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.11504793167114 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 03:41:03.007021
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 03:41:22.379222
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/03/40/image_03012025_03_40_02_731612_0003.jpg', '/home/pi/Desktop/images/03012025/03/41/image_03012025_03_41_02_307775_0000.jpg', '/home/pi/Desktop/images/03012025/03/41/image_03012025_03_41_02_307775_0001.jpg', '/home/pi/Desktop/images/03012025/03/41/image_03012025_03_41_02_307775_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/03/40/image_03012025_03_40_02_731612_0003.jpg
/home/pi/Desktop/images/03012025/03/41/image_03012025_03_41_02_307775_0000.jpg
/home/pi/Desktop/images/03012025/03/41/image_03012025_03_41_02_307775_0001.jpg
/home/pi/Desktop/images/03012025/03/41/image_03012025_03_41_02_307775_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325679371","1325679365","1325679368","1325679362"],"photo_ids_order":["1325679362","1325679365","1325679368","1325679371"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f12c9ef121c50b3acaf3680213c76a26.jpg","text":"TemporaryFile(/tmp/multipartBody829705264361160264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735872152725,"filename":"image_03012025_03_41_02_307775_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/493e91f10c29195b95d417d224fa9bae.jpg","text":"TemporaryFile(/tmp/multipartBody3470574890803600322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735872152725,"filename":"image_03012025_03_41_02_307775_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a5b5203943ae34906882657368bed8f1.jpg","text":"TemporaryFile(/tmp/multipartBody3241708627314874497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735872152725,"filename":"image_03012025_03_41_02_307775_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c9ecd8d16f45c60908441c54cc52b390.jpg","text":"TemporaryFile(/tmp/multipartBody5090953285034660205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735872152725,"filename":"image_03012025_03_40_02_731612_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325679368","file1":"1325679365","file0":"1325679362","file3":"1325679371"},"map_files_photo_id_array":[{"photo_id":"1325679368","filename":"file2"},{"photo_id":"1325679365","filename":"file1"},{"photo_id":"1325679362","filename":"file0"},{"photo_id":"1325679371","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325679371":["hashtag1","hashtag2"]},{"1325679365":["hashtag1","hashtag2"]},{"1325679368":["hashtag1","hashtag2"]},{"1325679362":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325679371, 1325679365, 1325679368, 1325679362)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.972392082214355 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 03:42:22.053166
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/03/41/image_03012025_03_41_02_307775_0003.jpg', '/home/pi/Desktop/images/03012025/03/42/image_03012025_03_42_02_805608_0000.jpg', '/home/pi/Desktop/images/03012025/03/42/image_03012025_03_42_02_805608_0001.jpg', '/home/pi/Desktop/images/03012025/03/42/image_03012025_03_42_02_805608_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/03/41/image_03012025_03_41_02_307775_0003.jpg
/home/pi/Desktop/images/03012025/03/42/image_03012025_03_42_02_805608_0000.jpg
/home/pi/Desktop/images/03012025/03/42/image_03012025_03_42_02_805608_0001.jpg
/home/pi/Desktop/images/03012025/03/42/image_03012025_03_42_02_805608_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.953752756118774 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 03:43:03.231204
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/03/41/image_03012025_03_41_02_307775_0003.jpg', '/home/pi/Desktop/images/03012025/03/42/image_03012025_03_42_02_805608_0000.jpg', '/home/pi/Desktop/images/03012025/03/42/image_03012025_03_42_02_805608_0001.jpg', '/home/pi/Desktop/images/03012025/03/42/image_03012025_03_42_02_805608_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/03/41/image_03012025_03_41_02_307775_0003.jpg
/home/pi/Desktop/images/03012025/03/42/image_03012025_03_42_02_805608_0000.jpg
/home/pi/Desktop/images/03012025/03/42/image_03012025_03_42_02_805608_0001.jpg
/home/pi/Desktop/images/03012025/03/42/image_03012025_03_42_02_805608_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325679460","1325679463","1325679465","1325679461"],"photo_ids_order":["1325679460","1325679461","1325679463","1325679465"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/42ffa401624431647ac745e84a52c1f0.jpg","text":"TemporaryFile(/tmp/multipartBody8718334537213881177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735872253641,"filename":"image_03012025_03_41_02_307775_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/86aea1220804505880dc6ee279bf4ed3.jpg","text":"TemporaryFile(/tmp/multipartBody5509300708565937433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735872253641,"filename":"image_03012025_03_42_02_805608_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/182054ad4d7a8aff43991db6f12f92cb.jpg","text":"TemporaryFile(/tmp/multipartBody6528329157020252849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735872253641,"filename":"image_03012025_03_42_02_805608_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d74ae18f200e9d0e4c062a63c9418b51.jpg","text":"TemporaryFile(/tmp/multipartBody4256401677156537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735872253641,"filename":"image_03012025_03_42_02_805608_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325679463","file1":"1325679461","file0":"1325679460","file3":"1325679465"},"map_files_photo_id_array":[{"photo_id":"1325679463","filename":"file2"},{"photo_id":"1325679461","filename":"file1"},{"photo_id":"1325679460","filename":"file0"},{"photo_id":"1325679465","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325679460":["hashtag1","hashtag2"]},{"1325679463":["hashtag1","hashtag2"]},{"1325679465":["hashtag1","hashtag2"]},{"1325679461":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325679460, 1325679463, 1325679465, 1325679461)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.218780279159546 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 03:44:02.502319
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/03/42/image_03012025_03_42_02_805608_0003.jpg', '/home/pi/Desktop/images/03012025/03/43/image_03012025_03_43_02_389069_0000.jpg', '/home/pi/Desktop/images/03012025/03/43/image_03012025_03_43_02_389069_0001.jpg', '/home/pi/Desktop/images/03012025/03/43/image_03012025_03_43_02_389069_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/03/42/image_03012025_03_42_02_805608_0003.jpg
/home/pi/Desktop/images/03012025/03/43/image_03012025_03_43_02_389069_0000.jpg
/home/pi/Desktop/images/03012025/03/43/image_03012025_03_43_02_389069_0001.jpg
/home/pi/Desktop/images/03012025/03/43/image_03012025_03_43_02_389069_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325679481","1325679477","1325679492","1325679486"],"photo_ids_order":["1325679477","1325679481","1325679486","1325679492"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/fffab75d43ec01881fc3065b462d6d1a.jpg","text":"TemporaryFile(/tmp/multipartBody8663605778925537582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735872312864,"filename":"image_03012025_03_43_02_389069_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f529e5f3e550fe1a8b95408ecd3af253.jpg","text":"TemporaryFile(/tmp/multipartBody340307115977661324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735872312864,"filename":"image_03012025_03_42_02_805608_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/53fee54c15c9dc957523eefd34a84bdf.jpg","text":"TemporaryFile(/tmp/multipartBody8509155438845936500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735872312864,"filename":"image_03012025_03_43_02_389069_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b9bdd8bdebdbf4ae587bbec55bfdc2d6.jpg","text":"TemporaryFile(/tmp/multipartBody8114244290403601650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735872312864,"filename":"image_03012025_03_43_02_389069_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325679486","file1":"1325679481","file0":"1325679477","file3":"1325679492"},"map_files_photo_id_array":[{"photo_id":"1325679486","filename":"file2"},{"photo_id":"1325679481","filename":"file1"},{"photo_id":"1325679477","filename":"file0"},{"photo_id":"1325679492","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325679481":["hashtag1","hashtag2"]},{"1325679477":["hashtag1","hashtag2"]},{"1325679492":["hashtag1","hashtag2"]},{"1325679486":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325679481, 1325679477, 1325679492, 1325679486)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.80761647224426 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 03:45:03.112490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/03/43/image_03012025_03_43_02_389069_0003.jpg', '/home/pi/Desktop/images/03012025/03/44/image_03012025_03_44_02_887017_0000.jpg', '/home/pi/Desktop/images/03012025/03/44/image_03012025_03_44_02_887017_0001.jpg', '/home/pi/Desktop/images/03012025/03/44/image_03012025_03_44_02_887017_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/03/43/image_03012025_03_43_02_389069_0003.jpg
/home/pi/Desktop/images/03012025/03/44/image_03012025_03_44_02_887017_0000.jpg
/home/pi/Desktop/images/03012025/03/44/image_03012025_03_44_02_887017_0001.jpg
/home/pi/Desktop/images/03012025/03/44/image_03012025_03_44_02_887017_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325679512","1325679508","1325679507","1325679510"],"photo_ids_order":["1325679507","1325679508","1325679510","1325679512"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/21c902c0194ffc67bd3de28eaafd57a5.jpg","text":"TemporaryFile(/tmp/multipartBody5402835662265320739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735872373563,"filename":"image_03012025_03_44_02_887017_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7a7a3f3e00b539395dfcb6d7fe931c56.jpg","text":"TemporaryFile(/tmp/multipartBody2417350848521044116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735872373563,"filename":"image_03012025_03_44_02_887017_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5c1a747fa0c3096105cdbced76f3e440.jpg","text":"TemporaryFile(/tmp/multipartBody7418201356162690137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735872373563,"filename":"image_03012025_03_43_02_389069_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8413f9232f1a59638659a5938783de97.jpg","text":"TemporaryFile(/tmp/multipartBody3410084636978783287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735872373563,"filename":"image_03012025_03_44_02_887017_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325679510","file1":"1325679508","file0":"1325679507","file3":"1325679512"},"map_files_photo_id_array":[{"photo_id":"1325679510","filename":"file2"},{"photo_id":"1325679508","filename":"file1"},{"photo_id":"1325679507","filename":"file0"},{"photo_id":"1325679512","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325679512":["hashtag1","hashtag2"]},{"1325679508":["hashtag1","hashtag2"]},{"1325679507":["hashtag1","hashtag2"]},{"1325679510":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325679512, 1325679508, 1325679507, 1325679510)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.39665770530701 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 03:46:02.572198
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/03/44/image_03012025_03_44_02_887017_0003.jpg', '/home/pi/Desktop/images/03012025/03/45/image_03012025_03_45_02_425301_0000.jpg', '/home/pi/Desktop/images/03012025/03/45/image_03012025_03_45_02_425301_0001.jpg', '/home/pi/Desktop/images/03012025/03/45/image_03012025_03_45_02_425301_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/03/44/image_03012025_03_44_02_887017_0003.jpg
/home/pi/Desktop/images/03012025/03/45/image_03012025_03_45_02_425301_0000.jpg
/home/pi/Desktop/images/03012025/03/45/image_03012025_03_45_02_425301_0001.jpg
/home/pi/Desktop/images/03012025/03/45/image_03012025_03_45_02_425301_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325679527","1325679529","1325679525","1325679522"],"photo_ids_order":["1325679522","1325679525","1325679527","1325679529"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ef207ff6d4daf733d7b82b7e1bfff2ce.jpg","text":"TemporaryFile(/tmp/multipartBody3328361619709158959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735872433096,"filename":"image_03012025_03_45_02_425301_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e03024160c5b803cabba10dfe26deeaa.jpg","text":"TemporaryFile(/tmp/multipartBody2138412646795574589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735872433096,"filename":"image_03012025_03_45_02_425301_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d6a0f16cb7537f4017fe5a3c05b14909.jpg","text":"TemporaryFile(/tmp/multipartBody5321177085303585062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735872433096,"filename":"image_03012025_03_45_02_425301_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6764c49a883d59f24522807407430a5c.jpg","text":"TemporaryFile(/tmp/multipartBody6684388650489198100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735872433096,"filename":"image_03012025_03_44_02_887017_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325679527","file1":"1325679525","file0":"1325679522","file3":"1325679529"},"map_files_photo_id_array":[{"photo_id":"1325679527","filename":"file2"},{"photo_id":"1325679525","filename":"file1"},{"photo_id":"1325679522","filename":"file0"},{"photo_id":"1325679529","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325679527":["hashtag1","hashtag2"]},{"1325679529":["hashtag1","hashtag2"]},{"1325679525":["hashtag1","hashtag2"]},{"1325679522":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325679527, 1325679529, 1325679525, 1325679522)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.37104892730713 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 03:47:03.493907
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/03/45/image_03012025_03_45_02_425301_0003.jpg', '/home/pi/Desktop/images/03012025/03/46/image_03012025_03_46_03_001171_0000.jpg', '/home/pi/Desktop/images/03012025/03/46/image_03012025_03_46_03_001171_0001.jpg', '/home/pi/Desktop/images/03012025/03/46/image_03012025_03_46_03_001171_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/03/45/image_03012025_03_45_02_425301_0003.jpg
/home/pi/Desktop/images/03012025/03/46/image_03012025_03_46_03_001171_0000.jpg
/home/pi/Desktop/images/03012025/03/46/image_03012025_03_46_03_001171_0001.jpg
/home/pi/Desktop/images/03012025/03/46/image_03012025_03_46_03_001171_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.970945119857788 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 03:47:22.648343
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/03/45/image_03012025_03_45_02_425301_0003.jpg', '/home/pi/Desktop/images/03012025/03/46/image_03012025_03_46_03_001171_0000.jpg', '/home/pi/Desktop/images/03012025/03/46/image_03012025_03_46_03_001171_0001.jpg', '/home/pi/Desktop/images/03012025/03/46/image_03012025_03_46_03_001171_0002.jpg', '/home/pi/Desktop/images/03012025/03/46/image_03012025_03_46_03_001171_0003.jpg', '/home/pi/Desktop/images/03012025/03/47/image_03012025_03_47_02_606595_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/03/45/image_03012025_03_45_02_425301_0003.jpg
/home/pi/Desktop/images/03012025/03/46/image_03012025_03_46_03_001171_0000.jpg
/home/pi/Desktop/images/03012025/03/46/image_03012025_03_46_03_001171_0001.jpg
/home/pi/Desktop/images/03012025/03/46/image_03012025_03_46_03_001171_0002.jpg
/home/pi/Desktop/images/03012025/03/46/image_03012025_03_46_03_001171_0003.jpg
/home/pi/Desktop/images/03012025/03/47/image_03012025_03_47_02_606595_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325679557","1325679559","1325679550","1325679561","1325679552","1325679548"],"photo_ids_order":["1325679548","1325679550","1325679552","1325679557","1325679559","1325679561"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/eb9fdc9de4fb5c13ba9f5a1039228b0b.jpg","text":"TemporaryFile(/tmp/multipartBody8089264448400499784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735872517857,"filename":"image_03012025_03_46_03_001171_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4350d575b3f836b62b31cc8f3fb62ea3.jpg","text":"TemporaryFile(/tmp/multipartBody1878113300435834418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735872517857,"filename":"image_03012025_03_46_03_001171_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2895912021e774a98af53e53b26e6110.jpg","text":"TemporaryFile(/tmp/multipartBody6531928123306552448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735872517857,"filename":"image_03012025_03_46_03_001171_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e0f9015e11323b14ec19a00d89eddc89.jpg","text":"TemporaryFile(/tmp/multipartBody7059254154817548226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735872517857,"filename":"image_03012025_03_47_02_606595_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/12efc140f6849bff16b509a026f81f60.jpg","text":"TemporaryFile(/tmp/multipartBody2623310652901594451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735872517857,"filename":"image_03012025_03_46_03_001171_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/727c6c79caba234f5e028f1820604af1.jpg","text":"TemporaryFile(/tmp/multipartBody2659508375656588705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735872517857,"filename":"image_03012025_03_45_02_425301_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325679552","file1":"1325679550","file0":"1325679548","file4":"1325679559","file5":"1325679561","file3":"1325679557"},"map_files_photo_id_array":[{"photo_id":"1325679561","filename":"file5"},{"photo_id":"1325679552","filename":"file2"},{"photo_id":"1325679559","filename":"file4"},{"photo_id":"1325679550","filename":"file1"},{"photo_id":"1325679548","filename":"file0"},{"photo_id":"1325679557","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325679557":["hashtag1","hashtag2"]},{"1325679559":["hashtag1","hashtag2"]},{"1325679550":["hashtag1","hashtag2"]},{"1325679561":["hashtag1","hashtag2"]},{"1325679552":["hashtag1","hashtag2"]},{"1325679548":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325679557, 1325679559, 1325679550, 1325679561, 1325679552, 1325679548)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.39331674575806 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 03:48:22.489922
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/03/47/image_03012025_03_47_02_606595_0001.jpg', '/home/pi/Desktop/images/03012025/03/47/image_03012025_03_47_02_606595_0002.jpg', '/home/pi/Desktop/images/03012025/03/47/image_03012025_03_47_02_606595_0003.jpg', '/home/pi/Desktop/images/03012025/03/48/image_03012025_03_48_03_152627_0000.jpg', '/home/pi/Desktop/images/03012025/03/48/image_03012025_03_48_03_152627_0001.jpg', '/home/pi/Desktop/images/03012025/03/48/image_03012025_03_48_03_152627_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/03/47/image_03012025_03_47_02_606595_0001.jpg
/home/pi/Desktop/images/03012025/03/47/image_03012025_03_47_02_606595_0002.jpg
/home/pi/Desktop/images/03012025/03/47/image_03012025_03_47_02_606595_0003.jpg
/home/pi/Desktop/images/03012025/03/48/image_03012025_03_48_03_152627_0000.jpg
/home/pi/Desktop/images/03012025/03/48/image_03012025_03_48_03_152627_0001.jpg
/home/pi/Desktop/images/03012025/03/48/image_03012025_03_48_03_152627_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325679595","1325679608","1325679592","1325679606","1325679600","1325679603"],"photo_ids_order":["1325679592","1325679595","1325679600","1325679603","1325679606","1325679608"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/24989a7a720a3d241ec0144d8792e56b.jpg","text":"TemporaryFile(/tmp/multipartBody7526005136291410089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735872577705,"filename":"image_03012025_03_47_02_606595_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1fa57a42c613feb8225a782b54ba35a8.jpg","text":"TemporaryFile(/tmp/multipartBody5886430275265783793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735872577705,"filename":"image_03012025_03_48_03_152627_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ba1ad6bdfc7b0521431b0e95fd671a8b.jpg","text":"TemporaryFile(/tmp/multipartBody830343784316890881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735872577705,"filename":"image_03012025_03_47_02_606595_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c9fabc8c732e60a053e37ed1e5ac8730.jpg","text":"TemporaryFile(/tmp/multipartBody6166610975739966961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735872577705,"filename":"image_03012025_03_48_03_152627_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/01a4530ce5c727dfd5ea36013e63c346.jpg","text":"TemporaryFile(/tmp/multipartBody5086645425527336814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735872577705,"filename":"image_03012025_03_47_02_606595_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8b49c52b5b6337e92ee6c00a72b82aff.jpg","text":"TemporaryFile(/tmp/multipartBody6093368811639674537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735872577705,"filename":"image_03012025_03_48_03_152627_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325679600","file1":"1325679595","file0":"1325679592","file4":"1325679606","file5":"1325679608","file3":"1325679603"},"map_files_photo_id_array":[{"photo_id":"1325679608","filename":"file5"},{"photo_id":"1325679600","filename":"file2"},{"photo_id":"1325679606","filename":"file4"},{"photo_id":"1325679595","filename":"file1"},{"photo_id":"1325679592","filename":"file0"},{"photo_id":"1325679603","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325679595":["hashtag1","hashtag2"]},{"1325679608":["hashtag1","hashtag2"]},{"1325679592":["hashtag1","hashtag2"]},{"1325679606":["hashtag1","hashtag2"]},{"1325679600":["hashtag1","hashtag2"]},{"1325679603":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325679595, 1325679608, 1325679592, 1325679606, 1325679600, 1325679603)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.82553029060364 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 03:49:21.962876
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/03/48/image_03012025_03_48_03_152627_0003.jpg', '/home/pi/Desktop/images/03012025/03/49/image_03012025_03_49_02_769642_0000.jpg', '/home/pi/Desktop/images/03012025/03/49/image_03012025_03_49_02_769642_0001.jpg', '/home/pi/Desktop/images/03012025/03/49/image_03012025_03_49_02_769642_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/03/48/image_03012025_03_48_03_152627_0003.jpg
/home/pi/Desktop/images/03012025/03/49/image_03012025_03_49_02_769642_0000.jpg
/home/pi/Desktop/images/03012025/03/49/image_03012025_03_49_02_769642_0001.jpg
/home/pi/Desktop/images/03012025/03/49/image_03012025_03_49_02_769642_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325679620","1325679613","1325679616","1325679618"],"photo_ids_order":["1325679613","1325679616","1325679618","1325679620"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ee8a9cc4b4f3e225ececadfe5e2886f7.jpg","text":"TemporaryFile(/tmp/multipartBody8943049340945042240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735872632301,"filename":"image_03012025_03_49_02_769642_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4675d55f7a6bbbc790438e68dbe5b081.jpg","text":"TemporaryFile(/tmp/multipartBody4910002678428394419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735872632301,"filename":"image_03012025_03_48_03_152627_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b2afa581aa857e7bd9112a8df5f566ea.jpg","text":"TemporaryFile(/tmp/multipartBody6350860046653825387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735872632301,"filename":"image_03012025_03_49_02_769642_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1f3a41cc554fcfc9eff1c600a0a2afa8.jpg","text":"TemporaryFile(/tmp/multipartBody5067034138636081176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735872632301,"filename":"image_03012025_03_49_02_769642_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325679618","file1":"1325679616","file0":"1325679613","file3":"1325679620"},"map_files_photo_id_array":[{"photo_id":"1325679618","filename":"file2"},{"photo_id":"1325679616","filename":"file1"},{"photo_id":"1325679613","filename":"file0"},{"photo_id":"1325679620","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325679620":["hashtag1","hashtag2"]},{"1325679613":["hashtag1","hashtag2"]},{"1325679616":["hashtag1","hashtag2"]},{"1325679618":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325679620, 1325679613, 1325679616, 1325679618)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.90217566490173 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 03:50:02.101845
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 03:50:21.723897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/03/49/image_03012025_03_49_02_769642_0003.jpg', '/home/pi/Desktop/images/03012025/03/50/image_03012025_03_50_02_260134_0000.jpg', '/home/pi/Desktop/images/03012025/03/50/image_03012025_03_50_02_260134_0001.jpg', '/home/pi/Desktop/images/03012025/03/50/image_03012025_03_50_02_260134_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/03/49/image_03012025_03_49_02_769642_0003.jpg
/home/pi/Desktop/images/03012025/03/50/image_03012025_03_50_02_260134_0000.jpg
/home/pi/Desktop/images/03012025/03/50/image_03012025_03_50_02_260134_0001.jpg
/home/pi/Desktop/images/03012025/03/50/image_03012025_03_50_02_260134_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.985164165496826 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 03:51:02.828038
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/03/49/image_03012025_03_49_02_769642_0003.jpg', '/home/pi/Desktop/images/03012025/03/50/image_03012025_03_50_02_260134_0000.jpg', '/home/pi/Desktop/images/03012025/03/50/image_03012025_03_50_02_260134_0001.jpg', '/home/pi/Desktop/images/03012025/03/50/image_03012025_03_50_02_260134_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/03/49/image_03012025_03_49_02_769642_0003.jpg
/home/pi/Desktop/images/03012025/03/50/image_03012025_03_50_02_260134_0000.jpg
/home/pi/Desktop/images/03012025/03/50/image_03012025_03_50_02_260134_0001.jpg
/home/pi/Desktop/images/03012025/03/50/image_03012025_03_50_02_260134_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325679688","1325679691","1325679693","1325679689"],"photo_ids_order":["1325679688","1325679689","1325679691","1325679693"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f1f49ea25ce26197ec0d3e49d474e73e.jpg","text":"TemporaryFile(/tmp/multipartBody3392107922669573707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735872733310,"filename":"image_03012025_03_49_02_769642_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/21208314a39eecc3b5c667adc51938ca.jpg","text":"TemporaryFile(/tmp/multipartBody3856857194321062759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735872733310,"filename":"image_03012025_03_50_02_260134_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a91cfddac5c3cf834c0703ecb2c93829.jpg","text":"TemporaryFile(/tmp/multipartBody8397708893339816380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735872733310,"filename":"image_03012025_03_50_02_260134_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d9f73a7fdb9939b1336550c25bd67786.jpg","text":"TemporaryFile(/tmp/multipartBody5351636770372672632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735872733310,"filename":"image_03012025_03_50_02_260134_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325679691","file1":"1325679689","file0":"1325679688","file3":"1325679693"},"map_files_photo_id_array":[{"photo_id":"1325679691","filename":"file2"},{"photo_id":"1325679689","filename":"file1"},{"photo_id":"1325679688","filename":"file0"},{"photo_id":"1325679693","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325679688":["hashtag1","hashtag2"]},{"1325679691":["hashtag1","hashtag2"]},{"1325679693":["hashtag1","hashtag2"]},{"1325679689":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325679688, 1325679691, 1325679693, 1325679689)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.53230929374695 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 03:52:02.204929
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/03/50/image_03012025_03_50_02_260134_0003.jpg', '/home/pi/Desktop/images/03012025/03/51/image_03012025_03_51_02_155707_0000.jpg', '/home/pi/Desktop/images/03012025/03/51/image_03012025_03_51_02_155707_0001.jpg', '/home/pi/Desktop/images/03012025/03/51/image_03012025_03_51_02_155707_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/03/50/image_03012025_03_50_02_260134_0003.jpg
/home/pi/Desktop/images/03012025/03/51/image_03012025_03_51_02_155707_0000.jpg
/home/pi/Desktop/images/03012025/03/51/image_03012025_03_51_02_155707_0001.jpg
/home/pi/Desktop/images/03012025/03/51/image_03012025_03_51_02_155707_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.861779689788818 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 03:52:21.849213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/03/50/image_03012025_03_50_02_260134_0003.jpg', '/home/pi/Desktop/images/03012025/03/51/image_03012025_03_51_02_155707_0000.jpg', '/home/pi/Desktop/images/03012025/03/51/image_03012025_03_51_02_155707_0001.jpg', '/home/pi/Desktop/images/03012025/03/51/image_03012025_03_51_02_155707_0002.jpg', '/home/pi/Desktop/images/03012025/03/51/image_03012025_03_51_02_155707_0003.jpg', '/home/pi/Desktop/images/03012025/03/52/image_03012025_03_52_02_694414_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/03/50/image_03012025_03_50_02_260134_0003.jpg
/home/pi/Desktop/images/03012025/03/51/image_03012025_03_51_02_155707_0000.jpg
/home/pi/Desktop/images/03012025/03/51/image_03012025_03_51_02_155707_0001.jpg
/home/pi/Desktop/images/03012025/03/51/image_03012025_03_51_02_155707_0002.jpg
/home/pi/Desktop/images/03012025/03/51/image_03012025_03_51_02_155707_0003.jpg
/home/pi/Desktop/images/03012025/03/52/image_03012025_03_52_02_694414_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325679728","1325679722","1325679725","1325679712","1325679715","1325679718"],"photo_ids_order":["1325679712","1325679715","1325679718","1325679722","1325679725","1325679728"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4cb8a2a4c45bf837ef92f34e419a5e6d.jpg","text":"TemporaryFile(/tmp/multipartBody6868875533852785558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735872816905,"filename":"image_03012025_03_52_02_694414_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/dfba4b027d49e61765879758d48ad83b.jpg","text":"TemporaryFile(/tmp/multipartBody8085067043868868521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735872816905,"filename":"image_03012025_03_51_02_155707_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a497262076f7dc9dff86b2032643546f.jpg","text":"TemporaryFile(/tmp/multipartBody4715743922594036002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735872816905,"filename":"image_03012025_03_51_02_155707_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d1477dfc75dfe8e34bc089a6196189bd.jpg","text":"TemporaryFile(/tmp/multipartBody5249380916143035075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735872816905,"filename":"image_03012025_03_50_02_260134_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d256ed9916e1321c69e824181a1342a0.jpg","text":"TemporaryFile(/tmp/multipartBody8334093506353677014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735872816905,"filename":"image_03012025_03_51_02_155707_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a0a824df724be92737bba9c4d7f9be3d.jpg","text":"TemporaryFile(/tmp/multipartBody3589730161800458256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735872816905,"filename":"image_03012025_03_51_02_155707_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325679718","file1":"1325679715","file0":"1325679712","file4":"1325679725","file5":"1325679728","file3":"1325679722"},"map_files_photo_id_array":[{"photo_id":"1325679728","filename":"file5"},{"photo_id":"1325679718","filename":"file2"},{"photo_id":"1325679725","filename":"file4"},{"photo_id":"1325679715","filename":"file1"},{"photo_id":"1325679712","filename":"file0"},{"photo_id":"1325679722","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325679728":["hashtag1","hashtag2"]},{"1325679722":["hashtag1","hashtag2"]},{"1325679725":["hashtag1","hashtag2"]},{"1325679712":["hashtag1","hashtag2"]},{"1325679715":["hashtag1","hashtag2"]},{"1325679718":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325679728, 1325679722, 1325679725, 1325679712, 1325679715, 1325679718)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.24544382095337 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 03:53:22.355872
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/03/52/image_03012025_03_52_02_694414_0001.jpg', '/home/pi/Desktop/images/03012025/03/52/image_03012025_03_52_02_694414_0002.jpg', '/home/pi/Desktop/images/03012025/03/52/image_03012025_03_52_02_694414_0003.jpg', '/home/pi/Desktop/images/03012025/03/53/image_03012025_03_53_02_239162_0000.jpg', '/home/pi/Desktop/images/03012025/03/53/image_03012025_03_53_02_239162_0001.jpg', '/home/pi/Desktop/images/03012025/03/53/image_03012025_03_53_02_239162_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/03/52/image_03012025_03_52_02_694414_0001.jpg
/home/pi/Desktop/images/03012025/03/52/image_03012025_03_52_02_694414_0002.jpg
/home/pi/Desktop/images/03012025/03/52/image_03012025_03_52_02_694414_0003.jpg
/home/pi/Desktop/images/03012025/03/53/image_03012025_03_53_02_239162_0000.jpg
/home/pi/Desktop/images/03012025/03/53/image_03012025_03_53_02_239162_0001.jpg
/home/pi/Desktop/images/03012025/03/53/image_03012025_03_53_02_239162_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325679740","1325679742","1325679736","1325679744","1325679738","1325679732"],"photo_ids_order":["1325679732","1325679736","1325679738","1325679740","1325679742","1325679744"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/218910ca6f25b3cc8fb2f499e9ffa8ae.jpg","text":"TemporaryFile(/tmp/multipartBody758674739651489372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735872877562,"filename":"image_03012025_03_53_02_239162_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/11492edece37359597984db9800f2c38.jpg","text":"TemporaryFile(/tmp/multipartBody4051124738634565340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735872877562,"filename":"image_03012025_03_53_02_239162_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2735b8445bc4b6d9a1c04e8bfc86d5c6.jpg","text":"TemporaryFile(/tmp/multipartBody6367888124991187385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735872877562,"filename":"image_03012025_03_52_02_694414_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b2c9f18924d6252cd23f5603f5816d58.jpg","text":"TemporaryFile(/tmp/multipartBody8781051591975400084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735872877562,"filename":"image_03012025_03_53_02_239162_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/514eea88843e020daffb51c17ed5b3cc.jpg","text":"TemporaryFile(/tmp/multipartBody5057447429190131632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735872877562,"filename":"image_03012025_03_52_02_694414_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/eb96b25071d5225bbd0729f962c173c7.jpg","text":"TemporaryFile(/tmp/multipartBody7513897290068842048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735872877562,"filename":"image_03012025_03_52_02_694414_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325679738","file1":"1325679736","file0":"1325679732","file4":"1325679742","file5":"1325679744","file3":"1325679740"},"map_files_photo_id_array":[{"photo_id":"1325679744","filename":"file5"},{"photo_id":"1325679738","filename":"file2"},{"photo_id":"1325679742","filename":"file4"},{"photo_id":"1325679736","filename":"file1"},{"photo_id":"1325679732","filename":"file0"},{"photo_id":"1325679740","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325679740":["hashtag1","hashtag2"]},{"1325679742":["hashtag1","hashtag2"]},{"1325679736":["hashtag1","hashtag2"]},{"1325679744":["hashtag1","hashtag2"]},{"1325679738":["hashtag1","hashtag2"]},{"1325679732":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325679740, 1325679742, 1325679736, 1325679744, 1325679738, 1325679732)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.98620939254761 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 03:54:21.855469
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/03/53/image_03012025_03_53_02_239162_0003.jpg', '/home/pi/Desktop/images/03012025/03/54/image_03012025_03_54_02_760216_0000.jpg', '/home/pi/Desktop/images/03012025/03/54/image_03012025_03_54_02_760216_0001.jpg', '/home/pi/Desktop/images/03012025/03/54/image_03012025_03_54_02_760216_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/03/53/image_03012025_03_53_02_239162_0003.jpg
/home/pi/Desktop/images/03012025/03/54/image_03012025_03_54_02_760216_0000.jpg
/home/pi/Desktop/images/03012025/03/54/image_03012025_03_54_02_760216_0001.jpg
/home/pi/Desktop/images/03012025/03/54/image_03012025_03_54_02_760216_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325679761","1325679751","1325679748","1325679752"],"photo_ids_order":["1325679748","1325679751","1325679752","1325679761"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3e5f48593a2520c88722ee137c449c00.jpg","text":"TemporaryFile(/tmp/multipartBody3411810678492490965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735872932170,"filename":"image_03012025_03_54_02_760216_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2403e1eeed28e3625b20fb60a2ff04d5.jpg","text":"TemporaryFile(/tmp/multipartBody5245180152996392038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735872932170,"filename":"image_03012025_03_54_02_760216_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/fa18872d67a30d6157b9f219fa088a12.jpg","text":"TemporaryFile(/tmp/multipartBody2421644911687908778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735872932170,"filename":"image_03012025_03_53_02_239162_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ba5575191436e24229b5c38c91422f4d.jpg","text":"TemporaryFile(/tmp/multipartBody564413540535740697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735872932170,"filename":"image_03012025_03_54_02_760216_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325679752","file1":"1325679751","file0":"1325679748","file3":"1325679761"},"map_files_photo_id_array":[{"photo_id":"1325679752","filename":"file2"},{"photo_id":"1325679751","filename":"file1"},{"photo_id":"1325679748","filename":"file0"},{"photo_id":"1325679761","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325679761":["hashtag1","hashtag2"]},{"1325679751":["hashtag1","hashtag2"]},{"1325679748":["hashtag1","hashtag2"]},{"1325679752":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325679761, 1325679751, 1325679748, 1325679752)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.89304804801941 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-03 03:55:22.395565
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/03/54/image_03012025_03_54_02_760216_0003.jpg', '/home/pi/Desktop/images/03012025/03/55/image_03012025_03_55_02_250875_0000.jpg', '/home/pi/Desktop/images/03012025/03/55/image_03012025_03_55_02_250875_0001.jpg', '/home/pi/Desktop/images/03012025/03/55/image_03012025_03_55_02_250875_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/03/54/image_03012025_03_54_02_760216_0003.jpg
/home/pi/Desktop/images/03012025/03/55/image_03012025_03_55_02_250875_0000.jpg
/home/pi/Desktop/images/03012025/03/55/image_03012025_03_55_02_250875_0001.jpg
/home/pi/Desktop/images/03012025/03/55/image_03012025_03_55_02_250875_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325679787","1325679790","1325679784","1325679792"],"photo_ids_order":["1325679784","1325679787","1325679790","1325679792"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a16bc5d643f50a350dcbbe9092ab256b.jpg","text":"TemporaryFile(/tmp/multipartBody1085644354311342199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735872992680,"filename":"image_03012025_03_55_02_250875_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/30289ae55e90978c374d19af03543ca7.jpg","text":"TemporaryFile(/tmp/multipartBody7191209450515117946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735872992680,"filename":"image_03012025_03_55_02_250875_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/67a8152c602e4dfb99a0f7c026de37da.jpg","text":"TemporaryFile(/tmp/multipartBody9069113342151224407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735872992680,"filename":"image_03012025_03_54_02_760216_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/cc99003499ac23b89bc53a1be4dda4e4.jpg","text":"TemporaryFile(/tmp/multipartBody6434772349978269751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735872992680,"filename":"image_03012025_03_55_02_250875_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325679790","file1":"1325679787","file0":"1325679784","file3":"1325679792"},"map_files_photo_id_array":[{"photo_id":"1325679790","filename":"file2"},{"photo_id":"1325679787","filename":"file1"},{"photo_id":"1325679784","filename":"file0"},{"photo_id":"1325679792","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325679787":["hashtag1","hashtag2"]},{"1325679790":["hashtag1","hashtag2"]},{"1325679784":["hashtag1","hashtag2"]},{"1325679792":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325679787, 1325679790, 1325679784, 1325679792)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.90047264099121 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 03:56:21.848214
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/03/55/image_03012025_03_55_02_250875_0003.jpg', '/home/pi/Desktop/images/03012025/03/56/image_03012025_03_56_02_744276_0000.jpg', '/home/pi/Desktop/images/03012025/03/56/image_03012025_03_56_02_744276_0001.jpg', '/home/pi/Desktop/images/03012025/03/56/image_03012025_03_56_02_744276_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/03/55/image_03012025_03_55_02_250875_0003.jpg
/home/pi/Desktop/images/03012025/03/56/image_03012025_03_56_02_744276_0000.jpg
/home/pi/Desktop/images/03012025/03/56/image_03012025_03_56_02_744276_0001.jpg
/home/pi/Desktop/images/03012025/03/56/image_03012025_03_56_02_744276_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325679799","1325679802","1325679981","1325679957"],"photo_ids_order":["1325679799","1325679802","1325679957","1325679981"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d756e4a408d9dafcc4427b5be939dec6.jpg","text":"TemporaryFile(/tmp/multipartBody1209071674133753132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735873052072,"filename":"image_03012025_03_55_02_250875_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/dd3bb6772d60290784362c3ead14effa.jpg","text":"TemporaryFile(/tmp/multipartBody4837883687259082727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735873052072,"filename":"image_03012025_03_56_02_744276_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c1426bc453ed09e5ee8a261f4edbd64b.jpg","text":"TemporaryFile(/tmp/multipartBody889091752783914259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735873052072,"filename":"image_03012025_03_56_02_744276_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/16332c97536dd7ce19c2e2086f3fc6a1.jpg","text":"TemporaryFile(/tmp/multipartBody5095173773168936207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735873052072,"filename":"image_03012025_03_56_02_744276_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325679957","file1":"1325679802","file0":"1325679799","file3":"1325679981"},"map_files_photo_id_array":[{"photo_id":"1325679957","filename":"file2"},{"photo_id":"1325679802","filename":"file1"},{"photo_id":"1325679799","filename":"file0"},{"photo_id":"1325679981","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325679799":["hashtag1","hashtag2"]},{"1325679802":["hashtag1","hashtag2"]},{"1325679981":["hashtag1","hashtag2"]},{"1325679957":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325679799, 1325679802, 1325679981, 1325679957)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.12845182418823 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 03:57:02.920074
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 03:57:22.292190
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/03/56/image_03012025_03_56_02_744276_0003.jpg', '/home/pi/Desktop/images/03012025/03/57/image_03012025_03_57_02_239544_0000.jpg', '/home/pi/Desktop/images/03012025/03/57/image_03012025_03_57_02_239544_0001.jpg', '/home/pi/Desktop/images/03012025/03/57/image_03012025_03_57_02_239544_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/03/56/image_03012025_03_56_02_744276_0003.jpg
/home/pi/Desktop/images/03012025/03/57/image_03012025_03_57_02_239544_0000.jpg
/home/pi/Desktop/images/03012025/03/57/image_03012025_03_57_02_239544_0001.jpg
/home/pi/Desktop/images/03012025/03/57/image_03012025_03_57_02_239544_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-03 03:59:02.718336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/03/56/image_03012025_03_56_02_744276_0003.jpg', '/home/pi/Desktop/images/03012025/03/57/image_03012025_03_57_02_239544_0000.jpg', '/home/pi/Desktop/images/03012025/03/57/image_03012025_03_57_02_239544_0001.jpg', '/home/pi/Desktop/images/03012025/03/57/image_03012025_03_57_02_239544_0002.jpg', '/home/pi/Desktop/images/03012025/03/57/image_03012025_03_57_02_239544_0003.jpg', '/home/pi/Desktop/images/03012025/03/58/image_03012025_03_58_02_669262_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/03/56/image_03012025_03_56_02_744276_0003.jpg
/home/pi/Desktop/images/03012025/03/57/image_03012025_03_57_02_239544_0000.jpg
/home/pi/Desktop/images/03012025/03/57/image_03012025_03_57_02_239544_0001.jpg
/home/pi/Desktop/images/03012025/03/57/image_03012025_03_57_02_239544_0002.jpg
/home/pi/Desktop/images/03012025/03/57/image_03012025_03_57_02_239544_0003.jpg
/home/pi/Desktop/images/03012025/03/58/image_03012025_03_58_02_669262_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325680820","1325680805","1325680822","1325680810","1325680813","1325680818"],"photo_ids_order":["1325680805","1325680810","1325680813","1325680818","1325680820","1325680822"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b2e7d55e24322e4c183d31073c104a68.jpg","text":"TemporaryFile(/tmp/multipartBody5515422424800840202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735873218008,"filename":"image_03012025_03_57_02_239544_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2f80191faa2170ab41d7178dd6d10c73.jpg","text":"TemporaryFile(/tmp/multipartBody7145524983368591551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735873218008,"filename":"image_03012025_03_56_02_744276_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/68cdc374b8022d5290be9aaa884bb548.jpg","text":"TemporaryFile(/tmp/multipartBody6641739195982862920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735873218008,"filename":"image_03012025_03_58_02_669262_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/78a827e4ad61ac8dd6a65edb67dea78b.jpg","text":"TemporaryFile(/tmp/multipartBody4459136772498722746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735873218008,"filename":"image_03012025_03_57_02_239544_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e8f6c37dce01105c8edf0e612dbbbf69.jpg","text":"TemporaryFile(/tmp/multipartBody170068729863698651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735873218008,"filename":"image_03012025_03_57_02_239544_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1031472afccbe88d540082f7e7ae4eb1.jpg","text":"TemporaryFile(/tmp/multipartBody1244378061392868158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735873218008,"filename":"image_03012025_03_57_02_239544_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325680813","file1":"1325680810","file0":"1325680805","file4":"1325680820","file5":"1325680822","file3":"1325680818"},"map_files_photo_id_array":[{"photo_id":"1325680822","filename":"file5"},{"photo_id":"1325680813","filename":"file2"},{"photo_id":"1325680820","filename":"file4"},{"photo_id":"1325680810","filename":"file1"},{"photo_id":"1325680805","filename":"file0"},{"photo_id":"1325680818","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325680820":["hashtag1","hashtag2"]},{"1325680805":["hashtag1","hashtag2"]},{"1325680822":["hashtag1","hashtag2"]},{"1325680810":["hashtag1","hashtag2"]},{"1325680813":["hashtag1","hashtag2"]},{"1325680818":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325680820, 1325680805, 1325680822, 1325680810, 1325680813, 1325680818)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.91025376319885 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 04:00:03.012007
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/03/58/image_03012025_03_58_02_669262_0001.jpg', '/home/pi/Desktop/images/03012025/03/58/image_03012025_03_58_02_669262_0002.jpg', '/home/pi/Desktop/images/03012025/03/58/image_03012025_03_58_02_669262_0003.jpg', '/home/pi/Desktop/images/03012025/03/59/image_03012025_03_59_02_370417_0000.jpg', '/home/pi/Desktop/images/03012025/03/59/image_03012025_03_59_02_370417_0001.jpg', '/home/pi/Desktop/images/03012025/03/59/image_03012025_03_59_02_370417_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/03/58/image_03012025_03_58_02_669262_0001.jpg
/home/pi/Desktop/images/03012025/03/58/image_03012025_03_58_02_669262_0002.jpg
/home/pi/Desktop/images/03012025/03/58/image_03012025_03_58_02_669262_0003.jpg
/home/pi/Desktop/images/03012025/03/59/image_03012025_03_59_02_370417_0000.jpg
/home/pi/Desktop/images/03012025/03/59/image_03012025_03_59_02_370417_0001.jpg
/home/pi/Desktop/images/03012025/03/59/image_03012025_03_59_02_370417_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325680856","1325680844","1325680853","1325680847","1325680840","1325680866"],"photo_ids_order":["1325680840","1325680844","1325680847","1325680853","1325680856","1325680866"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8fd8097c520defde5a779619f09fd23a.jpg","text":"TemporaryFile(/tmp/multipartBody5063089577956280878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735873278358,"filename":"image_03012025_03_59_02_370417_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/bc8d090732638bde2b956cae6209d529.jpg","text":"TemporaryFile(/tmp/multipartBody7367440043106066978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735873278358,"filename":"image_03012025_03_58_02_669262_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/74926bc5e8e39533e2a11d205644fbc7.jpg","text":"TemporaryFile(/tmp/multipartBody2606672707648427391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735873278358,"filename":"image_03012025_03_59_02_370417_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f4eea7bdddbc2b24087703ef0559d31d.jpg","text":"TemporaryFile(/tmp/multipartBody1622725965813350765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735873278358,"filename":"image_03012025_03_58_02_669262_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/346664c783e084e377461290327d0e2f.jpg","text":"TemporaryFile(/tmp/multipartBody2227307710466603443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735873278358,"filename":"image_03012025_03_58_02_669262_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/240ff2143082c5f31fe74e774f6cab08.jpg","text":"TemporaryFile(/tmp/multipartBody6545211085115800186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735873278358,"filename":"image_03012025_03_59_02_370417_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325680847","file1":"1325680844","file0":"1325680840","file4":"1325680856","file5":"1325680866","file3":"1325680853"},"map_files_photo_id_array":[{"photo_id":"1325680866","filename":"file5"},{"photo_id":"1325680847","filename":"file2"},{"photo_id":"1325680856","filename":"file4"},{"photo_id":"1325680844","filename":"file1"},{"photo_id":"1325680840","filename":"file0"},{"photo_id":"1325680853","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325680856":["hashtag1","hashtag2"]},{"1325680844":["hashtag1","hashtag2"]},{"1325680853":["hashtag1","hashtag2"]},{"1325680847":["hashtag1","hashtag2"]},{"1325680840":["hashtag1","hashtag2"]},{"1325680866":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325680856, 1325680844, 1325680853, 1325680847, 1325680840, 1325680866)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.40322017669678 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 04:01:03.000903
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/03/59/image_03012025_03_59_02_370417_0003.jpg', '/home/pi/Desktop/images/03012025/04/00/image_03012025_04_00_02_555286_0000.jpg', '/home/pi/Desktop/images/03012025/04/00/image_03012025_04_00_02_555286_0001.jpg', '/home/pi/Desktop/images/03012025/04/00/image_03012025_04_00_02_555286_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/03/59/image_03012025_03_59_02_370417_0003.jpg
/home/pi/Desktop/images/03012025/04/00/image_03012025_04_00_02_555286_0000.jpg
/home/pi/Desktop/images/03012025/04/00/image_03012025_04_00_02_555286_0001.jpg
/home/pi/Desktop/images/03012025/04/00/image_03012025_04_00_02_555286_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.048798084259033 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 04:01:22.214735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/03/59/image_03012025_03_59_02_370417_0003.jpg', '/home/pi/Desktop/images/03012025/04/00/image_03012025_04_00_02_555286_0000.jpg', '/home/pi/Desktop/images/03012025/04/00/image_03012025_04_00_02_555286_0001.jpg', '/home/pi/Desktop/images/03012025/04/00/image_03012025_04_00_02_555286_0002.jpg', '/home/pi/Desktop/images/03012025/04/00/image_03012025_04_00_02_555286_0003.jpg', '/home/pi/Desktop/images/03012025/04/01/image_03012025_04_01_03_153271_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/03/59/image_03012025_03_59_02_370417_0003.jpg
/home/pi/Desktop/images/03012025/04/00/image_03012025_04_00_02_555286_0000.jpg
/home/pi/Desktop/images/03012025/04/00/image_03012025_04_00_02_555286_0001.jpg
/home/pi/Desktop/images/03012025/04/00/image_03012025_04_00_02_555286_0002.jpg
/home/pi/Desktop/images/03012025/04/00/image_03012025_04_00_02_555286_0003.jpg
/home/pi/Desktop/images/03012025/04/01/image_03012025_04_01_03_153271_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325680919","1325680910","1325680907","1325680922","1325680912","1325680915"],"photo_ids_order":["1325680907","1325680910","1325680912","1325680915","1325680919","1325680922"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8b26fb67e19a6052ed41f97c9cc995be.jpg","text":"TemporaryFile(/tmp/multipartBody5489267467798759689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735873357511,"filename":"image_03012025_04_00_02_555286_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/85609726d0df4d177acb681fdfc7c928.jpg","text":"TemporaryFile(/tmp/multipartBody5549877864653049991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735873357511,"filename":"image_03012025_04_00_02_555286_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/bc1124f2d4dec889d8db4f55bba5116c.jpg","text":"TemporaryFile(/tmp/multipartBody7775867627205019626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735873357511,"filename":"image_03012025_03_59_02_370417_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1c26dc2165ef695a30d0f7b916913cf7.jpg","text":"TemporaryFile(/tmp/multipartBody489556919835420491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735873357511,"filename":"image_03012025_04_01_03_153271_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a17ef23708b13aea05d7316326f675d1.jpg","text":"TemporaryFile(/tmp/multipartBody4915208305463271935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735873357511,"filename":"image_03012025_04_00_02_555286_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/609a387599830d9233f5daceae1e4d03.jpg","text":"TemporaryFile(/tmp/multipartBody9089309181495167506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735873357511,"filename":"image_03012025_04_00_02_555286_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325680912","file1":"1325680910","file0":"1325680907","file4":"1325680919","file5":"1325680922","file3":"1325680915"},"map_files_photo_id_array":[{"photo_id":"1325680922","filename":"file5"},{"photo_id":"1325680912","filename":"file2"},{"photo_id":"1325680919","filename":"file4"},{"photo_id":"1325680910","filename":"file1"},{"photo_id":"1325680907","filename":"file0"},{"photo_id":"1325680915","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325680919":["hashtag1","hashtag2"]},{"1325680910":["hashtag1","hashtag2"]},{"1325680907":["hashtag1","hashtag2"]},{"1325680922":["hashtag1","hashtag2"]},{"1325680912":["hashtag1","hashtag2"]},{"1325680915":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325680919, 1325680910, 1325680907, 1325680922, 1325680912, 1325680915)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.669930934906006 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 04:02:21.915520
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/04/01/image_03012025_04_01_03_153271_0001.jpg', '/home/pi/Desktop/images/03012025/04/01/image_03012025_04_01_03_153271_0003.jpg', '/home/pi/Desktop/images/03012025/04/02/image_03012025_04_02_02_689816_0000.jpg', '/home/pi/Desktop/images/03012025/04/02/image_03012025_04_02_02_689816_0001.jpg', '/home/pi/Desktop/images/03012025/04/02/image_03012025_04_02_02_689816_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/04/01/image_03012025_04_01_03_153271_0001.jpg
/home/pi/Desktop/images/03012025/04/01/image_03012025_04_01_03_153271_0003.jpg
/home/pi/Desktop/images/03012025/04/02/image_03012025_04_02_02_689816_0000.jpg
/home/pi/Desktop/images/03012025/04/02/image_03012025_04_02_02_689816_0001.jpg
/home/pi/Desktop/images/03012025/04/02/image_03012025_04_02_02_689816_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325680937","1325680946","1325680949","1325680934","1325680941"],"photo_ids_order":["1325680934","1325680937","1325680941","1325680946","1325680949"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a6fc9364f1c00d42b6d7a875ececcdd8.jpg","text":"TemporaryFile(/tmp/multipartBody4459545755943317358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735873414570,"filename":"image_03012025_04_01_03_153271_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/46ca339abd53631c2c5291f28ee66e26.jpg","text":"TemporaryFile(/tmp/multipartBody6806874715096989393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735873414570,"filename":"image_03012025_04_02_02_689816_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ffd38d4727601e6ed8a804e2c5997e4b.jpg","text":"TemporaryFile(/tmp/multipartBody7666840638004351280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735873414570,"filename":"image_03012025_04_02_02_689816_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/77a6bf643c68c0829bcfdb7e50b51d00.jpg","text":"TemporaryFile(/tmp/multipartBody6381115001860320517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735873414570,"filename":"image_03012025_04_01_03_153271_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/cb39fad1c53b08b42d164012655e9817.jpg","text":"TemporaryFile(/tmp/multipartBody8902690883431652925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735873414570,"filename":"image_03012025_04_02_02_689816_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325680941","file1":"1325680937","file0":"1325680934","file4":"1325680949","file3":"1325680946"},"map_files_photo_id_array":[{"photo_id":"1325680941","filename":"file2"},{"photo_id":"1325680949","filename":"file4"},{"photo_id":"1325680937","filename":"file1"},{"photo_id":"1325680934","filename":"file0"},{"photo_id":"1325680946","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325680937":["hashtag1","hashtag2"]},{"1325680946":["hashtag1","hashtag2"]},{"1325680949":["hashtag1","hashtag2"]},{"1325680934":["hashtag1","hashtag2"]},{"1325680941":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325680937, 1325680946, 1325680949, 1325680934, 1325680941)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 47.575151443481445 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 04:03:22.365601
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/04/02/image_03012025_04_02_02_689816_0003.jpg', '/home/pi/Desktop/images/03012025/04/03/image_03012025_04_03_02_303214_0000.jpg', '/home/pi/Desktop/images/03012025/04/03/image_03012025_04_03_02_303214_0001.jpg', '/home/pi/Desktop/images/03012025/04/03/image_03012025_04_03_02_303214_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/04/02/image_03012025_04_02_02_689816_0003.jpg
/home/pi/Desktop/images/03012025/04/03/image_03012025_04_03_02_303214_0000.jpg
/home/pi/Desktop/images/03012025/04/03/image_03012025_04_03_02_303214_0001.jpg
/home/pi/Desktop/images/03012025/04/03/image_03012025_04_03_02_303214_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325680961","1325680972","1325680969","1325680965"],"photo_ids_order":["1325680961","1325680965","1325680969","1325680972"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/aaaa89645d69b4e16280b8aa45a1ae83.jpg","text":"TemporaryFile(/tmp/multipartBody8304844072921694115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735873472746,"filename":"image_03012025_04_02_02_689816_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/cb7dbbfeacba9d16d800d1661ae82d1d.jpg","text":"TemporaryFile(/tmp/multipartBody3708969466324418490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735873472746,"filename":"image_03012025_04_03_02_303214_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3857a101e05de4a44c78f80144379f03.jpg","text":"TemporaryFile(/tmp/multipartBody4155690903089758088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735873472746,"filename":"image_03012025_04_03_02_303214_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/389b7feb2a6f9fe0925e3053c2a5fdfb.jpg","text":"TemporaryFile(/tmp/multipartBody633558808740315411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735873472746,"filename":"image_03012025_04_03_02_303214_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325680969","file1":"1325680965","file0":"1325680961","file3":"1325680972"},"map_files_photo_id_array":[{"photo_id":"1325680969","filename":"file2"},{"photo_id":"1325680965","filename":"file1"},{"photo_id":"1325680961","filename":"file0"},{"photo_id":"1325680972","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325680961":["hashtag1","hashtag2"]},{"1325680972":["hashtag1","hashtag2"]},{"1325680969":["hashtag1","hashtag2"]},{"1325680965":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325680961, 1325680972, 1325680969, 1325680965)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.62983703613281 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 04:04:02.409591
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 04:04:22.019069
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/04/03/image_03012025_04_03_02_303214_0003.jpg', '/home/pi/Desktop/images/03012025/04/04/image_03012025_04_04_02_843996_0000.jpg', '/home/pi/Desktop/images/03012025/04/04/image_03012025_04_04_02_843996_0001.jpg', '/home/pi/Desktop/images/03012025/04/04/image_03012025_04_04_02_843996_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/04/03/image_03012025_04_03_02_303214_0003.jpg
/home/pi/Desktop/images/03012025/04/04/image_03012025_04_04_02_843996_0000.jpg
/home/pi/Desktop/images/03012025/04/04/image_03012025_04_04_02_843996_0001.jpg
/home/pi/Desktop/images/03012025/04/04/image_03012025_04_04_02_843996_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.969740867614746 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 04:05:03.125521
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/04/03/image_03012025_04_03_02_303214_0003.jpg', '/home/pi/Desktop/images/03012025/04/04/image_03012025_04_04_02_843996_0000.jpg', '/home/pi/Desktop/images/03012025/04/04/image_03012025_04_04_02_843996_0001.jpg', '/home/pi/Desktop/images/03012025/04/04/image_03012025_04_04_02_843996_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/04/03/image_03012025_04_03_02_303214_0003.jpg
/home/pi/Desktop/images/03012025/04/04/image_03012025_04_04_02_843996_0000.jpg
/home/pi/Desktop/images/03012025/04/04/image_03012025_04_04_02_843996_0001.jpg
/home/pi/Desktop/images/03012025/04/04/image_03012025_04_04_02_843996_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325681216","1325681219","1325681213","1325681214"],"photo_ids_order":["1325681213","1325681214","1325681216","1325681219"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0c50f174616f1a6bbc8c9820b7863cec.jpg","text":"TemporaryFile(/tmp/multipartBody9124136596920221194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735873573563,"filename":"image_03012025_04_04_02_843996_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/eef281b81a81eb7269591deaf5b5389b.jpg","text":"TemporaryFile(/tmp/multipartBody858979093714884044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735873573563,"filename":"image_03012025_04_04_02_843996_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8daaac8ebbcafafa5ed575b61f43f906.jpg","text":"TemporaryFile(/tmp/multipartBody6216064170624408925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735873573563,"filename":"image_03012025_04_03_02_303214_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3119bb76847860f0c021f61130a8758c.jpg","text":"TemporaryFile(/tmp/multipartBody2737450914731714665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735873573563,"filename":"image_03012025_04_04_02_843996_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325681216","file1":"1325681214","file0":"1325681213","file3":"1325681219"},"map_files_photo_id_array":[{"photo_id":"1325681216","filename":"file2"},{"photo_id":"1325681214","filename":"file1"},{"photo_id":"1325681213","filename":"file0"},{"photo_id":"1325681219","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325681216":["hashtag1","hashtag2"]},{"1325681219":["hashtag1","hashtag2"]},{"1325681213":["hashtag1","hashtag2"]},{"1325681214":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325681216, 1325681219, 1325681213, 1325681214)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.6613564491272 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 04:06:02.552459
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/04/04/image_03012025_04_04_02_843996_0003.jpg', '/home/pi/Desktop/images/03012025/04/05/image_03012025_04_05_02_390395_0000.jpg', '/home/pi/Desktop/images/03012025/04/05/image_03012025_04_05_02_390395_0001.jpg', '/home/pi/Desktop/images/03012025/04/05/image_03012025_04_05_02_390395_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/04/04/image_03012025_04_04_02_843996_0003.jpg
/home/pi/Desktop/images/03012025/04/05/image_03012025_04_05_02_390395_0000.jpg
/home/pi/Desktop/images/03012025/04/05/image_03012025_04_05_02_390395_0001.jpg
/home/pi/Desktop/images/03012025/04/05/image_03012025_04_05_02_390395_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.94301724433899 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 04:06:22.136216
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/04/04/image_03012025_04_04_02_843996_0003.jpg', '/home/pi/Desktop/images/03012025/04/05/image_03012025_04_05_02_390395_0000.jpg', '/home/pi/Desktop/images/03012025/04/05/image_03012025_04_05_02_390395_0001.jpg', '/home/pi/Desktop/images/03012025/04/05/image_03012025_04_05_02_390395_0002.jpg', '/home/pi/Desktop/images/03012025/04/05/image_03012025_04_05_02_390395_0003.jpg', '/home/pi/Desktop/images/03012025/04/06/image_03012025_04_06_02_943107_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/04/04/image_03012025_04_04_02_843996_0003.jpg
/home/pi/Desktop/images/03012025/04/05/image_03012025_04_05_02_390395_0000.jpg
/home/pi/Desktop/images/03012025/04/05/image_03012025_04_05_02_390395_0001.jpg
/home/pi/Desktop/images/03012025/04/05/image_03012025_04_05_02_390395_0002.jpg
/home/pi/Desktop/images/03012025/04/05/image_03012025_04_05_02_390395_0003.jpg
/home/pi/Desktop/images/03012025/04/06/image_03012025_04_06_02_943107_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325681860","1325681775","1325681886","1325681897","1325681724","1325681741"],"photo_ids_order":["1325681724","1325681741","1325681775","1325681860","1325681886","1325681897"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ff9b14f2e17e90f7c08586d93799a0d4.jpg","text":"TemporaryFile(/tmp/multipartBody2925203568279648381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735873657228,"filename":"image_03012025_04_05_02_390395_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8db0a1f9520b63446943d0ea9b7033cb.jpg","text":"TemporaryFile(/tmp/multipartBody1885708565885399535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735873657228,"filename":"image_03012025_04_05_02_390395_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7a7d99ea00148aa3768e4f572b97c473.jpg","text":"TemporaryFile(/tmp/multipartBody5718349277056218812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735873657228,"filename":"image_03012025_04_05_02_390395_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2a075892f75843eae9b49af5e362dd25.jpg","text":"TemporaryFile(/tmp/multipartBody4444323704223599000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735873657228,"filename":"image_03012025_04_06_02_943107_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/117cd5f43e81b24447902efa14114e41.jpg","text":"TemporaryFile(/tmp/multipartBody3019324744326395954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735873657228,"filename":"image_03012025_04_04_02_843996_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/faaa8bbf377498c3524efa57a0aa15ae.jpg","text":"TemporaryFile(/tmp/multipartBody1300119764710660833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735873657228,"filename":"image_03012025_04_05_02_390395_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325681775","file1":"1325681741","file0":"1325681724","file4":"1325681886","file5":"1325681897","file3":"1325681860"},"map_files_photo_id_array":[{"photo_id":"1325681897","filename":"file5"},{"photo_id":"1325681775","filename":"file2"},{"photo_id":"1325681886","filename":"file4"},{"photo_id":"1325681741","filename":"file1"},{"photo_id":"1325681724","filename":"file0"},{"photo_id":"1325681860","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325681860":["hashtag1","hashtag2"]},{"1325681775":["hashtag1","hashtag2"]},{"1325681886":["hashtag1","hashtag2"]},{"1325681897":["hashtag1","hashtag2"]},{"1325681724":["hashtag1","hashtag2"]},{"1325681741":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325681860, 1325681775, 1325681886, 1325681897, 1325681724, 1325681741)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.63593292236328 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 04:07:22.803339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/04/06/image_03012025_04_06_02_943107_0001.jpg', '/home/pi/Desktop/images/03012025/04/06/image_03012025_04_06_02_943107_0002.jpg', '/home/pi/Desktop/images/03012025/04/06/image_03012025_04_06_02_943107_0003.jpg', '/home/pi/Desktop/images/03012025/04/07/image_03012025_04_07_02_593953_0000.jpg', '/home/pi/Desktop/images/03012025/04/07/image_03012025_04_07_02_593953_0001.jpg', '/home/pi/Desktop/images/03012025/04/07/image_03012025_04_07_02_593953_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/04/06/image_03012025_04_06_02_943107_0001.jpg
/home/pi/Desktop/images/03012025/04/06/image_03012025_04_06_02_943107_0002.jpg
/home/pi/Desktop/images/03012025/04/06/image_03012025_04_06_02_943107_0003.jpg
/home/pi/Desktop/images/03012025/04/07/image_03012025_04_07_02_593953_0000.jpg
/home/pi/Desktop/images/03012025/04/07/image_03012025_04_07_02_593953_0001.jpg
/home/pi/Desktop/images/03012025/04/07/image_03012025_04_07_02_593953_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325682046","1325681923","1325682015","1325681925","1325681987","1325682044"],"photo_ids_order":["1325681923","1325681925","1325681987","1325682015","1325682044","1325682046"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5f9f6ddff20dd712a5a60b7895e6ba24.jpg","text":"TemporaryFile(/tmp/multipartBody1217465010966344591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735873718035,"filename":"image_03012025_04_07_02_593953_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d289b1b5e8d337188dcd19a4297e564e.jpg","text":"TemporaryFile(/tmp/multipartBody6818258582482889521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735873718035,"filename":"image_03012025_04_06_02_943107_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7ea00692be2f1f74df48e3ba25f27566.jpg","text":"TemporaryFile(/tmp/multipartBody7640363228195956230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735873718035,"filename":"image_03012025_04_07_02_593953_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/33b6b75935220952b8c92bb2f2e0abb5.jpg","text":"TemporaryFile(/tmp/multipartBody2356403170935899435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735873718035,"filename":"image_03012025_04_06_02_943107_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/cf6532eca92a73458463df61a20863fe.jpg","text":"TemporaryFile(/tmp/multipartBody3816606845214195002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735873718035,"filename":"image_03012025_04_06_02_943107_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5e59b73a27b8a30be4b7c99938d2baff.jpg","text":"TemporaryFile(/tmp/multipartBody2468530712802089982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735873718035,"filename":"image_03012025_04_07_02_593953_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325681987","file1":"1325681925","file0":"1325681923","file4":"1325682044","file5":"1325682046","file3":"1325682015"},"map_files_photo_id_array":[{"photo_id":"1325682046","filename":"file5"},{"photo_id":"1325681987","filename":"file2"},{"photo_id":"1325682044","filename":"file4"},{"photo_id":"1325681925","filename":"file1"},{"photo_id":"1325681923","filename":"file0"},{"photo_id":"1325682015","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325682046":["hashtag1","hashtag2"]},{"1325681923":["hashtag1","hashtag2"]},{"1325682015":["hashtag1","hashtag2"]},{"1325681925":["hashtag1","hashtag2"]},{"1325681987":["hashtag1","hashtag2"]},{"1325682044":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325682046, 1325681923, 1325682015, 1325681925, 1325681987, 1325682044)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.574692249298096 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 04:08:22.228436
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/04/07/image_03012025_04_07_02_593953_0003.jpg', '/home/pi/Desktop/images/03012025/04/08/image_03012025_04_08_03_123269_0000.jpg', '/home/pi/Desktop/images/03012025/04/08/image_03012025_04_08_03_123269_0001.jpg', '/home/pi/Desktop/images/03012025/04/08/image_03012025_04_08_03_123269_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/04/07/image_03012025_04_07_02_593953_0003.jpg
/home/pi/Desktop/images/03012025/04/08/image_03012025_04_08_03_123269_0000.jpg
/home/pi/Desktop/images/03012025/04/08/image_03012025_04_08_03_123269_0001.jpg
/home/pi/Desktop/images/03012025/04/08/image_03012025_04_08_03_123269_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325682055","1325682081","1325682050","1325682053"],"photo_ids_order":["1325682050","1325682053","1325682055","1325682081"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/18869337fbb398abb9d3a032903ce431.jpg","text":"TemporaryFile(/tmp/multipartBody7994997010712585752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735873772615,"filename":"image_03012025_04_08_03_123269_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c815d52e529f51d3c68a5ed7f84fc83e.jpg","text":"TemporaryFile(/tmp/multipartBody195190346300049747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735873772615,"filename":"image_03012025_04_08_03_123269_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/925d08dfbeea2a9a2a1674f2aa37593c.jpg","text":"TemporaryFile(/tmp/multipartBody281601780936744311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735873772615,"filename":"image_03012025_04_07_02_593953_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f70422a7ed00edc3906485bced57b258.jpg","text":"TemporaryFile(/tmp/multipartBody4285882869295275195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735873772615,"filename":"image_03012025_04_08_03_123269_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325682055","file1":"1325682053","file0":"1325682050","file3":"1325682081"},"map_files_photo_id_array":[{"photo_id":"1325682055","filename":"file2"},{"photo_id":"1325682053","filename":"file1"},{"photo_id":"1325682050","filename":"file0"},{"photo_id":"1325682081","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325682055":["hashtag1","hashtag2"]},{"1325682081":["hashtag1","hashtag2"]},{"1325682050":["hashtag1","hashtag2"]},{"1325682053":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325682055, 1325682081, 1325682050, 1325682053)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.02010416984558 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 04:09:02.478599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 04:09:21.793487
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/04/08/image_03012025_04_08_03_123269_0003.jpg', '/home/pi/Desktop/images/03012025/04/09/image_03012025_04_09_02_713011_0000.jpg', '/home/pi/Desktop/images/03012025/04/09/image_03012025_04_09_02_713011_0001.jpg', '/home/pi/Desktop/images/03012025/04/09/image_03012025_04_09_02_713011_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/04/08/image_03012025_04_08_03_123269_0003.jpg
/home/pi/Desktop/images/03012025/04/09/image_03012025_04_09_02_713011_0000.jpg
/home/pi/Desktop/images/03012025/04/09/image_03012025_04_09_02_713011_0001.jpg
/home/pi/Desktop/images/03012025/04/09/image_03012025_04_09_02_713011_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325682241","1325682232","1325682239","1325682236"],"photo_ids_order":["1325682232","1325682236","1325682239","1325682241"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/99912f2547bd482d3069aae36f1b7c75.jpg","text":"TemporaryFile(/tmp/multipartBody3904377594587023231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735873832144,"filename":"image_03012025_04_09_02_713011_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3953613fbb1f465727bc971ab33dc38c.jpg","text":"TemporaryFile(/tmp/multipartBody2416196273714585236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735873832144,"filename":"image_03012025_04_08_03_123269_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0d46c91d7c05f0fa787838637bc555c5.jpg","text":"TemporaryFile(/tmp/multipartBody7020414866674185306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735873832144,"filename":"image_03012025_04_09_02_713011_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0e62003f40045384e36d5d00da80ba4a.jpg","text":"TemporaryFile(/tmp/multipartBody8893168152522770785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735873832144,"filename":"image_03012025_04_09_02_713011_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325682239","file1":"1325682236","file0":"1325682232","file3":"1325682241"},"map_files_photo_id_array":[{"photo_id":"1325682239","filename":"file2"},{"photo_id":"1325682236","filename":"file1"},{"photo_id":"1325682232","filename":"file0"},{"photo_id":"1325682241","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325682241":["hashtag1","hashtag2"]},{"1325682232":["hashtag1","hashtag2"]},{"1325682239":["hashtag1","hashtag2"]},{"1325682236":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325682241, 1325682232, 1325682239, 1325682236)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.12469840049744 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 04:10:02.939876
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 04:10:22.468689
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/04/09/image_03012025_04_09_02_713011_0003.jpg', '/home/pi/Desktop/images/03012025/04/10/image_03012025_04_10_02_212564_0000.jpg', '/home/pi/Desktop/images/03012025/04/10/image_03012025_04_10_02_212564_0001.jpg', '/home/pi/Desktop/images/03012025/04/10/image_03012025_04_10_02_212564_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/04/09/image_03012025_04_09_02_713011_0003.jpg
/home/pi/Desktop/images/03012025/04/10/image_03012025_04_10_02_212564_0000.jpg
/home/pi/Desktop/images/03012025/04/10/image_03012025_04_10_02_212564_0001.jpg
/home/pi/Desktop/images/03012025/04/10/image_03012025_04_10_02_212564_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.968243837356567 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 04:11:02.727330
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/04/09/image_03012025_04_09_02_713011_0003.jpg', '/home/pi/Desktop/images/03012025/04/10/image_03012025_04_10_02_212564_0000.jpg', '/home/pi/Desktop/images/03012025/04/10/image_03012025_04_10_02_212564_0001.jpg', '/home/pi/Desktop/images/03012025/04/10/image_03012025_04_10_02_212564_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/04/09/image_03012025_04_09_02_713011_0003.jpg
/home/pi/Desktop/images/03012025/04/10/image_03012025_04_10_02_212564_0000.jpg
/home/pi/Desktop/images/03012025/04/10/image_03012025_04_10_02_212564_0001.jpg
/home/pi/Desktop/images/03012025/04/10/image_03012025_04_10_02_212564_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325682268","1325682271","1325682265","1325682266"],"photo_ids_order":["1325682265","1325682266","1325682268","1325682271"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f7854101d6660d928f884c38c194912e.jpg","text":"TemporaryFile(/tmp/multipartBody4976220431123259080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735873933151,"filename":"image_03012025_04_10_02_212564_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e8e446599e53b92d4311f0a22926c9c9.jpg","text":"TemporaryFile(/tmp/multipartBody666297909942703814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735873933151,"filename":"image_03012025_04_10_02_212564_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7426349fe863ab7a447a232d50210257.jpg","text":"TemporaryFile(/tmp/multipartBody3090268115495229137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735873933151,"filename":"image_03012025_04_09_02_713011_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/295eaddf0aaab2d7c2608f85c5a054bc.jpg","text":"TemporaryFile(/tmp/multipartBody1778545886437715573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735873933151,"filename":"image_03012025_04_10_02_212564_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325682268","file1":"1325682266","file0":"1325682265","file3":"1325682271"},"map_files_photo_id_array":[{"photo_id":"1325682268","filename":"file2"},{"photo_id":"1325682266","filename":"file1"},{"photo_id":"1325682265","filename":"file0"},{"photo_id":"1325682271","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325682268":["hashtag1","hashtag2"]},{"1325682271":["hashtag1","hashtag2"]},{"1325682265":["hashtag1","hashtag2"]},{"1325682266":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325682268, 1325682271, 1325682265, 1325682266)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.933459520339966 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 04:12:02.267915
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/04/10/image_03012025_04_10_02_212564_0003.jpg', '/home/pi/Desktop/images/03012025/04/11/image_03012025_04_11_02_950135_0000.jpg', '/home/pi/Desktop/images/03012025/04/11/image_03012025_04_11_02_950135_0001.jpg', '/home/pi/Desktop/images/03012025/04/11/image_03012025_04_11_02_950135_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/04/10/image_03012025_04_10_02_212564_0003.jpg
/home/pi/Desktop/images/03012025/04/11/image_03012025_04_11_02_950135_0000.jpg
/home/pi/Desktop/images/03012025/04/11/image_03012025_04_11_02_950135_0001.jpg
/home/pi/Desktop/images/03012025/04/11/image_03012025_04_11_02_950135_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325682282","1325682281","1325682284","1325682287"],"photo_ids_order":["1325682281","1325682282","1325682284","1325682287"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/419a41e0dfc95494fc3d66931d897caf.jpg","text":"TemporaryFile(/tmp/multipartBody8782327517652138178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735873992713,"filename":"image_03012025_04_11_02_950135_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4010e287687ef0adfdb3b690ae2f4075.jpg","text":"TemporaryFile(/tmp/multipartBody113531198656568484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735873992713,"filename":"image_03012025_04_10_02_212564_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3cf01e696a9749103422400858cafc3d.jpg","text":"TemporaryFile(/tmp/multipartBody2525461851755484222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735873992713,"filename":"image_03012025_04_11_02_950135_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9362b011874d5d598a097872dbb4e956.jpg","text":"TemporaryFile(/tmp/multipartBody1713094414319518274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735873992713,"filename":"image_03012025_04_11_02_950135_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325682284","file1":"1325682282","file0":"1325682281","file3":"1325682287"},"map_files_photo_id_array":[{"photo_id":"1325682284","filename":"file2"},{"photo_id":"1325682282","filename":"file1"},{"photo_id":"1325682281","filename":"file0"},{"photo_id":"1325682287","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325682282":["hashtag1","hashtag2"]},{"1325682281":["hashtag1","hashtag2"]},{"1325682284":["hashtag1","hashtag2"]},{"1325682287":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325682282, 1325682281, 1325682284, 1325682287)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.72540020942688 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 04:13:03.012680
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/04/11/image_03012025_04_11_02_950135_0003.jpg', '/home/pi/Desktop/images/03012025/04/12/image_03012025_04_12_02_661199_0000.jpg', '/home/pi/Desktop/images/03012025/04/12/image_03012025_04_12_02_661199_0001.jpg', '/home/pi/Desktop/images/03012025/04/12/image_03012025_04_12_02_661199_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/04/11/image_03012025_04_11_02_950135_0003.jpg
/home/pi/Desktop/images/03012025/04/12/image_03012025_04_12_02_661199_0000.jpg
/home/pi/Desktop/images/03012025/04/12/image_03012025_04_12_02_661199_0001.jpg
/home/pi/Desktop/images/03012025/04/12/image_03012025_04_12_02_661199_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325682302","1325682305","1325682307","1325682303"],"photo_ids_order":["1325682302","1325682303","1325682305","1325682307"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d62cc8d45f2e2f2328c0907849af0aa4.jpg","text":"TemporaryFile(/tmp/multipartBody1292684874679432991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735874053361,"filename":"image_03012025_04_11_02_950135_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3a6b1ff9c084839fce6a135444edfdbe.jpg","text":"TemporaryFile(/tmp/multipartBody698875214937102742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735874053361,"filename":"image_03012025_04_12_02_661199_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8c2ef9d45f7e284dab79063535505635.jpg","text":"TemporaryFile(/tmp/multipartBody3633447056231204989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735874053361,"filename":"image_03012025_04_12_02_661199_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b42c5b3e322b7264a0f955b49776e6a7.jpg","text":"TemporaryFile(/tmp/multipartBody1265772423868931239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735874053361,"filename":"image_03012025_04_12_02_661199_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325682305","file1":"1325682303","file0":"1325682302","file3":"1325682307"},"map_files_photo_id_array":[{"photo_id":"1325682305","filename":"file2"},{"photo_id":"1325682303","filename":"file1"},{"photo_id":"1325682302","filename":"file0"},{"photo_id":"1325682307","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325682302":["hashtag1","hashtag2"]},{"1325682305":["hashtag1","hashtag2"]},{"1325682307":["hashtag1","hashtag2"]},{"1325682303":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325682302, 1325682305, 1325682307, 1325682303)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.177154541015625 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 04:14:02.504185
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/04/12/image_03012025_04_12_02_661199_0003.jpg', '/home/pi/Desktop/images/03012025/04/13/image_03012025_04_13_02_224580_0000.jpg', '/home/pi/Desktop/images/03012025/04/13/image_03012025_04_13_02_224580_0001.jpg', '/home/pi/Desktop/images/03012025/04/13/image_03012025_04_13_02_224580_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/04/12/image_03012025_04_12_02_661199_0003.jpg
/home/pi/Desktop/images/03012025/04/13/image_03012025_04_13_02_224580_0000.jpg
/home/pi/Desktop/images/03012025/04/13/image_03012025_04_13_02_224580_0001.jpg
/home/pi/Desktop/images/03012025/04/13/image_03012025_04_13_02_224580_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325682322","1325682327","1325682330","1325682320"],"photo_ids_order":["1325682320","1325682322","1325682327","1325682330"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ffdb81415260ac9f8c753e4929a28b05.jpg","text":"TemporaryFile(/tmp/multipartBody7245758837184316214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735874112845,"filename":"image_03012025_04_13_02_224580_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8bcf82a19fd26cb2378040c1a90dcde7.jpg","text":"TemporaryFile(/tmp/multipartBody6626635354333108907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735874112845,"filename":"image_03012025_04_13_02_224580_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/44f20a4f118c2e5df9da14796828d9d8.jpg","text":"TemporaryFile(/tmp/multipartBody110288497437840912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735874112845,"filename":"image_03012025_04_13_02_224580_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ba7608752aea306b8bdf3fe6fc682ec7.jpg","text":"TemporaryFile(/tmp/multipartBody1496002578308254514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735874112845,"filename":"image_03012025_04_12_02_661199_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325682327","file1":"1325682322","file0":"1325682320","file3":"1325682330"},"map_files_photo_id_array":[{"photo_id":"1325682327","filename":"file2"},{"photo_id":"1325682322","filename":"file1"},{"photo_id":"1325682320","filename":"file0"},{"photo_id":"1325682330","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325682322":["hashtag1","hashtag2"]},{"1325682327":["hashtag1","hashtag2"]},{"1325682330":["hashtag1","hashtag2"]},{"1325682320":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325682322, 1325682327, 1325682330, 1325682320)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.67504000663757 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 04:15:03.225193
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/04/13/image_03012025_04_13_02_224580_0003.jpg', '/home/pi/Desktop/images/03012025/04/14/image_03012025_04_14_02_740966_0000.jpg', '/home/pi/Desktop/images/03012025/04/14/image_03012025_04_14_02_740966_0001.jpg', '/home/pi/Desktop/images/03012025/04/14/image_03012025_04_14_02_740966_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/04/13/image_03012025_04_13_02_224580_0003.jpg
/home/pi/Desktop/images/03012025/04/14/image_03012025_04_14_02_740966_0000.jpg
/home/pi/Desktop/images/03012025/04/14/image_03012025_04_14_02_740966_0001.jpg
/home/pi/Desktop/images/03012025/04/14/image_03012025_04_14_02_740966_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325682343","1325682345","1325682348","1325682342"],"photo_ids_order":["1325682342","1325682343","1325682345","1325682348"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/43735d9e4c64120c7710918faf06bc1e.jpg","text":"TemporaryFile(/tmp/multipartBody6932328494281655940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735874173634,"filename":"image_03012025_04_14_02_740966_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5fd1be865292d2e1b25bf5d61a8385dd.jpg","text":"TemporaryFile(/tmp/multipartBody1457508369948653658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735874173634,"filename":"image_03012025_04_14_02_740966_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/897355e64500ad0b63d231d4c1b37c13.jpg","text":"TemporaryFile(/tmp/multipartBody3478678072052414937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735874173634,"filename":"image_03012025_04_14_02_740966_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a1dcf0ae6f4f52df352d32d751ac1aa2.jpg","text":"TemporaryFile(/tmp/multipartBody8285639837024610553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735874173634,"filename":"image_03012025_04_13_02_224580_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325682345","file1":"1325682343","file0":"1325682342","file3":"1325682348"},"map_files_photo_id_array":[{"photo_id":"1325682345","filename":"file2"},{"photo_id":"1325682343","filename":"file1"},{"photo_id":"1325682342","filename":"file0"},{"photo_id":"1325682348","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325682343":["hashtag1","hashtag2"]},{"1325682345":["hashtag1","hashtag2"]},{"1325682348":["hashtag1","hashtag2"]},{"1325682342":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325682343, 1325682345, 1325682348, 1325682342)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.89139246940613 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 04:16:02.641316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/04/14/image_03012025_04_14_02_740966_0003.jpg', '/home/pi/Desktop/images/03012025/04/15/image_03012025_04_15_02_443826_0000.jpg', '/home/pi/Desktop/images/03012025/04/15/image_03012025_04_15_02_443826_0001.jpg', '/home/pi/Desktop/images/03012025/04/15/image_03012025_04_15_02_443826_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/04/14/image_03012025_04_14_02_740966_0003.jpg
/home/pi/Desktop/images/03012025/04/15/image_03012025_04_15_02_443826_0000.jpg
/home/pi/Desktop/images/03012025/04/15/image_03012025_04_15_02_443826_0001.jpg
/home/pi/Desktop/images/03012025/04/15/image_03012025_04_15_02_443826_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325682361","1325682358","1325682363","1325682359"],"photo_ids_order":["1325682358","1325682359","1325682361","1325682363"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0213353deeb5525526028a47f1987d7d.jpg","text":"TemporaryFile(/tmp/multipartBody2144304488712010764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735874232967,"filename":"image_03012025_04_15_02_443826_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/62d3f8843af15dcae78cf08c40d0e0c3.jpg","text":"TemporaryFile(/tmp/multipartBody5183074774093611919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735874232967,"filename":"image_03012025_04_14_02_740966_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/143f78162d87879289f2df00045e0306.jpg","text":"TemporaryFile(/tmp/multipartBody3765898579836760293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735874232967,"filename":"image_03012025_04_15_02_443826_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/15b00e271718b8dd348e2941fa3d83f3.jpg","text":"TemporaryFile(/tmp/multipartBody9046439633625890509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735874232967,"filename":"image_03012025_04_15_02_443826_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325682361","file1":"1325682359","file0":"1325682358","file3":"1325682363"},"map_files_photo_id_array":[{"photo_id":"1325682361","filename":"file2"},{"photo_id":"1325682359","filename":"file1"},{"photo_id":"1325682358","filename":"file0"},{"photo_id":"1325682363","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325682361":["hashtag1","hashtag2"]},{"1325682358":["hashtag1","hashtag2"]},{"1325682363":["hashtag1","hashtag2"]},{"1325682359":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325682361, 1325682358, 1325682363, 1325682359)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.78816509246826 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 04:17:03.442791
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/04/15/image_03012025_04_15_02_443826_0003.jpg', '/home/pi/Desktop/images/03012025/04/16/image_03012025_04_16_02_985908_0000.jpg', '/home/pi/Desktop/images/03012025/04/16/image_03012025_04_16_02_985908_0001.jpg', '/home/pi/Desktop/images/03012025/04/16/image_03012025_04_16_02_985908_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/04/15/image_03012025_04_15_02_443826_0003.jpg
/home/pi/Desktop/images/03012025/04/16/image_03012025_04_16_02_985908_0000.jpg
/home/pi/Desktop/images/03012025/04/16/image_03012025_04_16_02_985908_0001.jpg
/home/pi/Desktop/images/03012025/04/16/image_03012025_04_16_02_985908_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.076817035675049 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 04:17:22.576322
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/04/15/image_03012025_04_15_02_443826_0003.jpg', '/home/pi/Desktop/images/03012025/04/16/image_03012025_04_16_02_985908_0000.jpg', '/home/pi/Desktop/images/03012025/04/16/image_03012025_04_16_02_985908_0001.jpg', '/home/pi/Desktop/images/03012025/04/16/image_03012025_04_16_02_985908_0002.jpg', '/home/pi/Desktop/images/03012025/04/16/image_03012025_04_16_02_985908_0003.jpg', '/home/pi/Desktop/images/03012025/04/17/image_03012025_04_17_02_520042_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/04/15/image_03012025_04_15_02_443826_0003.jpg
/home/pi/Desktop/images/03012025/04/16/image_03012025_04_16_02_985908_0000.jpg
/home/pi/Desktop/images/03012025/04/16/image_03012025_04_16_02_985908_0001.jpg
/home/pi/Desktop/images/03012025/04/16/image_03012025_04_16_02_985908_0002.jpg
/home/pi/Desktop/images/03012025/04/16/image_03012025_04_16_02_985908_0003.jpg
/home/pi/Desktop/images/03012025/04/17/image_03012025_04_17_02_520042_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325682391","1325682381","1325682384","1325682393","1325682387","1325682389"],"photo_ids_order":["1325682381","1325682384","1325682387","1325682389","1325682391","1325682393"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3bfaacbde76976dc8de46142f740f326.jpg","text":"TemporaryFile(/tmp/multipartBody1690640947075484184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735874317818,"filename":"image_03012025_04_16_02_985908_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/bf248ef9ace5237363761eb5e9b60609.jpg","text":"TemporaryFile(/tmp/multipartBody3150939629735702373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735874317818,"filename":"image_03012025_04_15_02_443826_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/96c704b13d4d48cb5de053b4cdfeb79b.jpg","text":"TemporaryFile(/tmp/multipartBody4044957132000821490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735874317818,"filename":"image_03012025_04_16_02_985908_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/999b60ea9369431da84fa971f94e17d2.jpg","text":"TemporaryFile(/tmp/multipartBody9041721288522503047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735874317818,"filename":"image_03012025_04_17_02_520042_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0b45f9fe4ead7c6e13f621e5bd0f4950.jpg","text":"TemporaryFile(/tmp/multipartBody1586564029159404183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735874317818,"filename":"image_03012025_04_16_02_985908_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6091d19ce564bfd6e36e93af7a63477c.jpg","text":"TemporaryFile(/tmp/multipartBody3117557982428724448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735874317818,"filename":"image_03012025_04_16_02_985908_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325682387","file1":"1325682384","file0":"1325682381","file4":"1325682391","file5":"1325682393","file3":"1325682389"},"map_files_photo_id_array":[{"photo_id":"1325682393","filename":"file5"},{"photo_id":"1325682387","filename":"file2"},{"photo_id":"1325682391","filename":"file4"},{"photo_id":"1325682384","filename":"file1"},{"photo_id":"1325682381","filename":"file0"},{"photo_id":"1325682389","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325682391":["hashtag1","hashtag2"]},{"1325682381":["hashtag1","hashtag2"]},{"1325682384":["hashtag1","hashtag2"]},{"1325682393":["hashtag1","hashtag2"]},{"1325682387":["hashtag1","hashtag2"]},{"1325682389":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325682391, 1325682381, 1325682384, 1325682393, 1325682387, 1325682389)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.45661449432373 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 04:18:22.325381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/04/17/image_03012025_04_17_02_520042_0001.jpg', '/home/pi/Desktop/images/03012025/04/17/image_03012025_04_17_02_520042_0002.jpg', '/home/pi/Desktop/images/03012025/04/17/image_03012025_04_17_02_520042_0003.jpg', '/home/pi/Desktop/images/03012025/04/18/image_03012025_04_18_03_101307_0000.jpg', '/home/pi/Desktop/images/03012025/04/18/image_03012025_04_18_03_101307_0001.jpg', '/home/pi/Desktop/images/03012025/04/18/image_03012025_04_18_03_101307_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/04/17/image_03012025_04_17_02_520042_0001.jpg
/home/pi/Desktop/images/03012025/04/17/image_03012025_04_17_02_520042_0002.jpg
/home/pi/Desktop/images/03012025/04/17/image_03012025_04_17_02_520042_0003.jpg
/home/pi/Desktop/images/03012025/04/18/image_03012025_04_18_03_101307_0000.jpg
/home/pi/Desktop/images/03012025/04/18/image_03012025_04_18_03_101307_0001.jpg
/home/pi/Desktop/images/03012025/04/18/image_03012025_04_18_03_101307_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325682415","1325682402","1325682398","1325682410","1325682413","1325682407"],"photo_ids_order":["1325682398","1325682402","1325682407","1325682410","1325682413","1325682415"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/60b82af56eb3194bd68fd6e55bb6f339.jpg","text":"TemporaryFile(/tmp/multipartBody5910929407828477576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735874377667,"filename":"image_03012025_04_18_03_101307_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8a3c03ddc70c31ebeff5f975d54f45d7.jpg","text":"TemporaryFile(/tmp/multipartBody2315243352969940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735874377667,"filename":"image_03012025_04_17_02_520042_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0ad78766d7710cab9cac43ed68f1cb62.jpg","text":"TemporaryFile(/tmp/multipartBody6581448359101908794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735874377667,"filename":"image_03012025_04_17_02_520042_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/346ff0553f057fbeecc4bcb7e6695d4e.jpg","text":"TemporaryFile(/tmp/multipartBody6764252792996489112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735874377667,"filename":"image_03012025_04_18_03_101307_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/97b88b24b90a6e295766d18cf2595f56.jpg","text":"TemporaryFile(/tmp/multipartBody5685586909378608006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735874377667,"filename":"image_03012025_04_18_03_101307_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/29107a141d3288b10e58abd32abe003b.jpg","text":"TemporaryFile(/tmp/multipartBody2830423707831775204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735874377667,"filename":"image_03012025_04_17_02_520042_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325682407","file1":"1325682402","file0":"1325682398","file4":"1325682413","file5":"1325682415","file3":"1325682410"},"map_files_photo_id_array":[{"photo_id":"1325682415","filename":"file5"},{"photo_id":"1325682407","filename":"file2"},{"photo_id":"1325682413","filename":"file4"},{"photo_id":"1325682402","filename":"file1"},{"photo_id":"1325682398","filename":"file0"},{"photo_id":"1325682410","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325682415":["hashtag1","hashtag2"]},{"1325682402":["hashtag1","hashtag2"]},{"1325682398":["hashtag1","hashtag2"]},{"1325682410":["hashtag1","hashtag2"]},{"1325682413":["hashtag1","hashtag2"]},{"1325682407":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325682415, 1325682402, 1325682398, 1325682410, 1325682413, 1325682407)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.8077130317688 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 04:19:21.834982
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/04/18/image_03012025_04_18_03_101307_0003.jpg', '/home/pi/Desktop/images/03012025/04/19/image_03012025_04_19_02_677108_0000.jpg', '/home/pi/Desktop/images/03012025/04/19/image_03012025_04_19_02_677108_0001.jpg', '/home/pi/Desktop/images/03012025/04/19/image_03012025_04_19_02_677108_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/04/18/image_03012025_04_18_03_101307_0003.jpg
/home/pi/Desktop/images/03012025/04/19/image_03012025_04_19_02_677108_0000.jpg
/home/pi/Desktop/images/03012025/04/19/image_03012025_04_19_02_677108_0001.jpg
/home/pi/Desktop/images/03012025/04/19/image_03012025_04_19_02_677108_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325682426","1325682429","1325682420","1325682423"],"photo_ids_order":["1325682420","1325682423","1325682426","1325682429"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/39849a1cd41d827e3fe2eda8bb302d74.jpg","text":"TemporaryFile(/tmp/multipartBody5266008340235587903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735874432049,"filename":"image_03012025_04_19_02_677108_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d8ad406b8f81a5859ce03011074c66d3.jpg","text":"TemporaryFile(/tmp/multipartBody662163134652426892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735874432049,"filename":"image_03012025_04_19_02_677108_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d90ca658b8f63f8a3ec27a60e82caa7d.jpg","text":"TemporaryFile(/tmp/multipartBody3592672488225292785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735874432049,"filename":"image_03012025_04_18_03_101307_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5df7767f68901a93c5c4ac58ffcab4b6.jpg","text":"TemporaryFile(/tmp/multipartBody4211086220528333543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735874432049,"filename":"image_03012025_04_19_02_677108_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325682426","file1":"1325682423","file0":"1325682420","file3":"1325682429"},"map_files_photo_id_array":[{"photo_id":"1325682426","filename":"file2"},{"photo_id":"1325682423","filename":"file1"},{"photo_id":"1325682420","filename":"file0"},{"photo_id":"1325682429","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325682426":["hashtag1","hashtag2"]},{"1325682429":["hashtag1","hashtag2"]},{"1325682420":["hashtag1","hashtag2"]},{"1325682423":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325682426, 1325682429, 1325682420, 1325682423)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.11355948448181 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 04:20:22.313398
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/04/19/image_03012025_04_19_02_677108_0003.jpg', '/home/pi/Desktop/images/03012025/04/20/image_03012025_04_20_02_166852_0000.jpg', '/home/pi/Desktop/images/03012025/04/20/image_03012025_04_20_02_166852_0001.jpg', '/home/pi/Desktop/images/03012025/04/20/image_03012025_04_20_02_166852_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/04/19/image_03012025_04_19_02_677108_0003.jpg
/home/pi/Desktop/images/03012025/04/20/image_03012025_04_20_02_166852_0000.jpg
/home/pi/Desktop/images/03012025/04/20/image_03012025_04_20_02_166852_0001.jpg
/home/pi/Desktop/images/03012025/04/20/image_03012025_04_20_02_166852_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325682436","1325682450","1325682441","1325682446"],"photo_ids_order":["1325682436","1325682441","1325682446","1325682450"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b8fc1424a145c8b25e86904a5237ca2b.jpg","text":"TemporaryFile(/tmp/multipartBody1704388842189622379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735874492693,"filename":"image_03012025_04_19_02_677108_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c81e9ea3f1af5610f927f5a7fe3e7770.jpg","text":"TemporaryFile(/tmp/multipartBody2908394604866861872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735874492693,"filename":"image_03012025_04_20_02_166852_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7ee2fdfea1419a56965a13c2d203492f.jpg","text":"TemporaryFile(/tmp/multipartBody6285062703715226021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735874492693,"filename":"image_03012025_04_20_02_166852_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/526aa5de19cd4bd68edcb25eeef6a193.jpg","text":"TemporaryFile(/tmp/multipartBody3976029745071004048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735874492693,"filename":"image_03012025_04_20_02_166852_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325682446","file1":"1325682441","file0":"1325682436","file3":"1325682450"},"map_files_photo_id_array":[{"photo_id":"1325682446","filename":"file2"},{"photo_id":"1325682441","filename":"file1"},{"photo_id":"1325682436","filename":"file0"},{"photo_id":"1325682450","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325682436":["hashtag1","hashtag2"]},{"1325682450":["hashtag1","hashtag2"]},{"1325682441":["hashtag1","hashtag2"]},{"1325682446":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325682436, 1325682450, 1325682441, 1325682446)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.924405097961426 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 04:21:21.854492
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/04/20/image_03012025_04_20_02_166852_0003.jpg', '/home/pi/Desktop/images/03012025/04/21/image_03012025_04_21_02_698604_0000.jpg', '/home/pi/Desktop/images/03012025/04/21/image_03012025_04_21_02_698604_0001.jpg', '/home/pi/Desktop/images/03012025/04/21/image_03012025_04_21_02_698604_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/04/20/image_03012025_04_20_02_166852_0003.jpg
/home/pi/Desktop/images/03012025/04/21/image_03012025_04_21_02_698604_0000.jpg
/home/pi/Desktop/images/03012025/04/21/image_03012025_04_21_02_698604_0001.jpg
/home/pi/Desktop/images/03012025/04/21/image_03012025_04_21_02_698604_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325682462","1325682465","1325682468","1325682470"],"photo_ids_order":["1325682462","1325682465","1325682468","1325682470"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/837ea5a3cc07f58502832dc3ee5455a0.jpg","text":"TemporaryFile(/tmp/multipartBody6255708928675386204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735874552122,"filename":"image_03012025_04_20_02_166852_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ed99122cf313e7efad25f959d07d9cfd.jpg","text":"TemporaryFile(/tmp/multipartBody8125521381681441793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735874552122,"filename":"image_03012025_04_21_02_698604_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a578d84c0f09187e7ee22edfae4846ce.jpg","text":"TemporaryFile(/tmp/multipartBody1260416150904699181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735874552122,"filename":"image_03012025_04_21_02_698604_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/93e86f771f9634ac40d650a970ca5d2b.jpg","text":"TemporaryFile(/tmp/multipartBody7005308856483352663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735874552122,"filename":"image_03012025_04_21_02_698604_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325682468","file1":"1325682465","file0":"1325682462","file3":"1325682470"},"map_files_photo_id_array":[{"photo_id":"1325682468","filename":"file2"},{"photo_id":"1325682465","filename":"file1"},{"photo_id":"1325682462","filename":"file0"},{"photo_id":"1325682470","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325682462":["hashtag1","hashtag2"]},{"1325682465":["hashtag1","hashtag2"]},{"1325682468":["hashtag1","hashtag2"]},{"1325682470":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325682462, 1325682465, 1325682468, 1325682470)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.79213857650757 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 04:22:22.351569
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/04/21/image_03012025_04_21_02_698604_0003.jpg', '/home/pi/Desktop/images/03012025/04/22/image_03012025_04_22_02_248297_0000.jpg', '/home/pi/Desktop/images/03012025/04/22/image_03012025_04_22_02_248297_0001.jpg', '/home/pi/Desktop/images/03012025/04/22/image_03012025_04_22_02_248297_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/04/21/image_03012025_04_21_02_698604_0003.jpg
/home/pi/Desktop/images/03012025/04/22/image_03012025_04_22_02_248297_0000.jpg
/home/pi/Desktop/images/03012025/04/22/image_03012025_04_22_02_248297_0001.jpg
/home/pi/Desktop/images/03012025/04/22/image_03012025_04_22_02_248297_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.814702033996582 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 04:23:02.670638
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/04/21/image_03012025_04_21_02_698604_0003.jpg', '/home/pi/Desktop/images/03012025/04/22/image_03012025_04_22_02_248297_0000.jpg', '/home/pi/Desktop/images/03012025/04/22/image_03012025_04_22_02_248297_0001.jpg', '/home/pi/Desktop/images/03012025/04/22/image_03012025_04_22_02_248297_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/04/21/image_03012025_04_21_02_698604_0003.jpg
/home/pi/Desktop/images/03012025/04/22/image_03012025_04_22_02_248297_0000.jpg
/home/pi/Desktop/images/03012025/04/22/image_03012025_04_22_02_248297_0001.jpg
/home/pi/Desktop/images/03012025/04/22/image_03012025_04_22_02_248297_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325682490","1325682495","1325682489","1325682492"],"photo_ids_order":["1325682489","1325682490","1325682492","1325682495"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f09e28c17dbe5461d2e61d1a9dcb4e6f.jpg","text":"TemporaryFile(/tmp/multipartBody6515512270390458407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735874652924,"filename":"image_03012025_04_22_02_248297_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e121500405d7d7b1935281cdc03d66b1.jpg","text":"TemporaryFile(/tmp/multipartBody6476830198094843219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735874652924,"filename":"image_03012025_04_22_02_248297_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4be1ca1aac486a3d85e48d840a3dac4b.jpg","text":"TemporaryFile(/tmp/multipartBody8890468234488096390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735874652924,"filename":"image_03012025_04_21_02_698604_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8a7e38a684117c1141a6f320cabba9e4.jpg","text":"TemporaryFile(/tmp/multipartBody8940070320245217621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735874652924,"filename":"image_03012025_04_22_02_248297_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325682492","file1":"1325682490","file0":"1325682489","file3":"1325682495"},"map_files_photo_id_array":[{"photo_id":"1325682492","filename":"file2"},{"photo_id":"1325682490","filename":"file1"},{"photo_id":"1325682489","filename":"file0"},{"photo_id":"1325682495","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325682490":["hashtag1","hashtag2"]},{"1325682495":["hashtag1","hashtag2"]},{"1325682489":["hashtag1","hashtag2"]},{"1325682492":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325682490, 1325682495, 1325682489, 1325682492)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.84935975074768 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 04:24:02.830946
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/04/22/image_03012025_04_22_02_248297_0003.jpg', '/home/pi/Desktop/images/03012025/04/23/image_03012025_04_23_02_718674_0000.jpg', '/home/pi/Desktop/images/03012025/04/23/image_03012025_04_23_02_718674_0001.jpg', '/home/pi/Desktop/images/03012025/04/23/image_03012025_04_23_02_718674_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/04/22/image_03012025_04_22_02_248297_0003.jpg
/home/pi/Desktop/images/03012025/04/23/image_03012025_04_23_02_718674_0000.jpg
/home/pi/Desktop/images/03012025/04/23/image_03012025_04_23_02_718674_0001.jpg
/home/pi/Desktop/images/03012025/04/23/image_03012025_04_23_02_718674_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325682505","1325682507","1325682510","1325682504"],"photo_ids_order":["1325682504","1325682505","1325682507","1325682510"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8157bef8eb179e5fa3e146e17b0b42e6.jpg","text":"TemporaryFile(/tmp/multipartBody1319772807374614138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735874713352,"filename":"image_03012025_04_23_02_718674_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1a5ece1da7bd7f9fe93d482120adabb0.jpg","text":"TemporaryFile(/tmp/multipartBody5810836003763111154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735874713352,"filename":"image_03012025_04_23_02_718674_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c9f3a01001e5fa06049caa108b06eb43.jpg","text":"TemporaryFile(/tmp/multipartBody6158826945523390894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735874713352,"filename":"image_03012025_04_23_02_718674_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/378f4dbbe8b3235291f98ce734041896.jpg","text":"TemporaryFile(/tmp/multipartBody351621140132510209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735874713352,"filename":"image_03012025_04_22_02_248297_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325682507","file1":"1325682505","file0":"1325682504","file3":"1325682510"},"map_files_photo_id_array":[{"photo_id":"1325682507","filename":"file2"},{"photo_id":"1325682505","filename":"file1"},{"photo_id":"1325682504","filename":"file0"},{"photo_id":"1325682510","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325682505":["hashtag1","hashtag2"]},{"1325682507":["hashtag1","hashtag2"]},{"1325682510":["hashtag1","hashtag2"]},{"1325682504":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325682505, 1325682507, 1325682510, 1325682504)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.12047839164734 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 04:25:02.515217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/04/23/image_03012025_04_23_02_718674_0003.jpg', '/home/pi/Desktop/images/03012025/04/24/image_03012025_04_24_02_206343_0000.jpg', '/home/pi/Desktop/images/03012025/04/24/image_03012025_04_24_02_206343_0001.jpg', '/home/pi/Desktop/images/03012025/04/24/image_03012025_04_24_02_206343_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/04/23/image_03012025_04_23_02_718674_0003.jpg
/home/pi/Desktop/images/03012025/04/24/image_03012025_04_24_02_206343_0000.jpg
/home/pi/Desktop/images/03012025/04/24/image_03012025_04_24_02_206343_0001.jpg
/home/pi/Desktop/images/03012025/04/24/image_03012025_04_24_02_206343_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.889102220535278 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 04:25:21.867811
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/04/23/image_03012025_04_23_02_718674_0003.jpg', '/home/pi/Desktop/images/03012025/04/24/image_03012025_04_24_02_206343_0000.jpg', '/home/pi/Desktop/images/03012025/04/24/image_03012025_04_24_02_206343_0001.jpg', '/home/pi/Desktop/images/03012025/04/24/image_03012025_04_24_02_206343_0002.jpg', '/home/pi/Desktop/images/03012025/04/24/image_03012025_04_24_02_206343_0003.jpg', '/home/pi/Desktop/images/03012025/04/25/image_03012025_04_25_02_758166_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/04/23/image_03012025_04_23_02_718674_0003.jpg
/home/pi/Desktop/images/03012025/04/24/image_03012025_04_24_02_206343_0000.jpg
/home/pi/Desktop/images/03012025/04/24/image_03012025_04_24_02_206343_0001.jpg
/home/pi/Desktop/images/03012025/04/24/image_03012025_04_24_02_206343_0002.jpg
/home/pi/Desktop/images/03012025/04/24/image_03012025_04_24_02_206343_0003.jpg
/home/pi/Desktop/images/03012025/04/25/image_03012025_04_25_02_758166_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325682535","1325682538","1325682531","1325682540","1325682528","1325682533"],"photo_ids_order":["1325682528","1325682531","1325682533","1325682535","1325682538","1325682540"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/cd8f1077ec1c490c12de5c6b8e992eb5.jpg","text":"TemporaryFile(/tmp/multipartBody2650489801401924880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735874796948,"filename":"image_03012025_04_24_02_206343_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8ebf47f04690f85d2fd2aae11d9a4cbb.jpg","text":"TemporaryFile(/tmp/multipartBody1278194855895974423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735874796948,"filename":"image_03012025_04_24_02_206343_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/43b482c02b7afbf65ea6714413b35dab.jpg","text":"TemporaryFile(/tmp/multipartBody3418110839119502794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735874796948,"filename":"image_03012025_04_24_02_206343_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1a466fe1096be82689b4e18eb9ddf2ff.jpg","text":"TemporaryFile(/tmp/multipartBody8472530409199671840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735874796948,"filename":"image_03012025_04_25_02_758166_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/60b200af0783a49c531f78e7892895d2.jpg","text":"TemporaryFile(/tmp/multipartBody6944787940727459614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735874796948,"filename":"image_03012025_04_23_02_718674_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/66f2d6cbfd15e667fc48828efec42ac6.jpg","text":"TemporaryFile(/tmp/multipartBody8028758719342480585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735874796948,"filename":"image_03012025_04_24_02_206343_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325682533","file1":"1325682531","file0":"1325682528","file4":"1325682538","file5":"1325682540","file3":"1325682535"},"map_files_photo_id_array":[{"photo_id":"1325682540","filename":"file5"},{"photo_id":"1325682533","filename":"file2"},{"photo_id":"1325682538","filename":"file4"},{"photo_id":"1325682531","filename":"file1"},{"photo_id":"1325682528","filename":"file0"},{"photo_id":"1325682535","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325682535":["hashtag1","hashtag2"]},{"1325682538":["hashtag1","hashtag2"]},{"1325682531":["hashtag1","hashtag2"]},{"1325682540":["hashtag1","hashtag2"]},{"1325682528":["hashtag1","hashtag2"]},{"1325682533":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325682535, 1325682538, 1325682531, 1325682540, 1325682528, 1325682533)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.08799171447754 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 04:26:22.632547
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/04/25/image_03012025_04_25_02_758166_0001.jpg', '/home/pi/Desktop/images/03012025/04/25/image_03012025_04_25_02_758166_0002.jpg', '/home/pi/Desktop/images/03012025/04/25/image_03012025_04_25_02_758166_0003.jpg', '/home/pi/Desktop/images/03012025/04/26/image_03012025_04_26_02_246716_0000.jpg', '/home/pi/Desktop/images/03012025/04/26/image_03012025_04_26_02_246716_0001.jpg', '/home/pi/Desktop/images/03012025/04/26/image_03012025_04_26_02_246716_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/04/25/image_03012025_04_25_02_758166_0001.jpg
/home/pi/Desktop/images/03012025/04/25/image_03012025_04_25_02_758166_0002.jpg
/home/pi/Desktop/images/03012025/04/25/image_03012025_04_25_02_758166_0003.jpg
/home/pi/Desktop/images/03012025/04/26/image_03012025_04_26_02_246716_0000.jpg
/home/pi/Desktop/images/03012025/04/26/image_03012025_04_26_02_246716_0001.jpg
/home/pi/Desktop/images/03012025/04/26/image_03012025_04_26_02_246716_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325682565","1325682553","1325682561","1325682549","1325682557","1325682545"],"photo_ids_order":["1325682545","1325682549","1325682553","1325682557","1325682561","1325682565"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/92a38e970cc5cf9b3fd66f38425c13e0.jpg","text":"TemporaryFile(/tmp/multipartBody4163096610021531300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735874857927,"filename":"image_03012025_04_26_02_246716_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/cc12f7987e7592072f489505b39da0b5.jpg","text":"TemporaryFile(/tmp/multipartBody4133607054988760138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735874857927,"filename":"image_03012025_04_25_02_758166_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9d789b003bc793d485abd95bc7cbb1a6.jpg","text":"TemporaryFile(/tmp/multipartBody2453625733271699730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735874857927,"filename":"image_03012025_04_26_02_246716_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/63fd5e88b2c676b006c5ad78ea02286c.jpg","text":"TemporaryFile(/tmp/multipartBody5844844091179235515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735874857927,"filename":"image_03012025_04_25_02_758166_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2e53db928b5c599bf6c95b6ced036698.jpg","text":"TemporaryFile(/tmp/multipartBody3859152135383417654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735874857927,"filename":"image_03012025_04_26_02_246716_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d74121c053552b6422e81cef10691b74.jpg","text":"TemporaryFile(/tmp/multipartBody2704489396397313820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735874857927,"filename":"image_03012025_04_25_02_758166_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325682553","file1":"1325682549","file0":"1325682545","file4":"1325682561","file5":"1325682565","file3":"1325682557"},"map_files_photo_id_array":[{"photo_id":"1325682565","filename":"file5"},{"photo_id":"1325682553","filename":"file2"},{"photo_id":"1325682561","filename":"file4"},{"photo_id":"1325682549","filename":"file1"},{"photo_id":"1325682545","filename":"file0"},{"photo_id":"1325682557","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325682565":["hashtag1","hashtag2"]},{"1325682553":["hashtag1","hashtag2"]},{"1325682561":["hashtag1","hashtag2"]},{"1325682549":["hashtag1","hashtag2"]},{"1325682557":["hashtag1","hashtag2"]},{"1325682545":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325682565, 1325682553, 1325682561, 1325682549, 1325682557, 1325682545)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.4398353099823 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 04:27:21.995798
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/04/26/image_03012025_04_26_02_246716_0003.jpg', '/home/pi/Desktop/images/03012025/04/27/image_03012025_04_27_02_893014_0000.jpg', '/home/pi/Desktop/images/03012025/04/27/image_03012025_04_27_02_893014_0001.jpg', '/home/pi/Desktop/images/03012025/04/27/image_03012025_04_27_02_893014_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/04/26/image_03012025_04_26_02_246716_0003.jpg
/home/pi/Desktop/images/03012025/04/27/image_03012025_04_27_02_893014_0000.jpg
/home/pi/Desktop/images/03012025/04/27/image_03012025_04_27_02_893014_0001.jpg
/home/pi/Desktop/images/03012025/04/27/image_03012025_04_27_02_893014_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325682577","1325682571","1325682580","1325682574"],"photo_ids_order":["1325682571","1325682574","1325682577","1325682580"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/221bc0198a6a3d71f8b614335d53880f.jpg","text":"TemporaryFile(/tmp/multipartBody2516187251471884317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735874912336,"filename":"image_03012025_04_27_02_893014_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/289e901388ee46e41916f0c58d773a7a.jpg","text":"TemporaryFile(/tmp/multipartBody4919116971133654656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735874912336,"filename":"image_03012025_04_26_02_246716_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/41c5b2a4eb674895b9cd1b10bf5fffae.jpg","text":"TemporaryFile(/tmp/multipartBody3834328920347758610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735874912336,"filename":"image_03012025_04_27_02_893014_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/160f8c406a6300a0bdcd2f5b7285c41a.jpg","text":"TemporaryFile(/tmp/multipartBody3406993412324021447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735874912336,"filename":"image_03012025_04_27_02_893014_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325682577","file1":"1325682574","file0":"1325682571","file3":"1325682580"},"map_files_photo_id_array":[{"photo_id":"1325682577","filename":"file2"},{"photo_id":"1325682574","filename":"file1"},{"photo_id":"1325682571","filename":"file0"},{"photo_id":"1325682580","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325682577":["hashtag1","hashtag2"]},{"1325682571":["hashtag1","hashtag2"]},{"1325682580":["hashtag1","hashtag2"]},{"1325682574":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325682577, 1325682571, 1325682580, 1325682574)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.725043535232544 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 04:28:22.506292
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/04/27/image_03012025_04_27_02_893014_0003.jpg', '/home/pi/Desktop/images/03012025/04/28/image_03012025_04_28_02_369438_0000.jpg', '/home/pi/Desktop/images/03012025/04/28/image_03012025_04_28_02_369438_0001.jpg', '/home/pi/Desktop/images/03012025/04/28/image_03012025_04_28_02_369438_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/04/27/image_03012025_04_27_02_893014_0003.jpg
/home/pi/Desktop/images/03012025/04/28/image_03012025_04_28_02_369438_0000.jpg
/home/pi/Desktop/images/03012025/04/28/image_03012025_04_28_02_369438_0001.jpg
/home/pi/Desktop/images/03012025/04/28/image_03012025_04_28_02_369438_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.783759832382202 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 04:29:02.635338
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/04/27/image_03012025_04_27_02_893014_0003.jpg', '/home/pi/Desktop/images/03012025/04/28/image_03012025_04_28_02_369438_0000.jpg', '/home/pi/Desktop/images/03012025/04/28/image_03012025_04_28_02_369438_0001.jpg', '/home/pi/Desktop/images/03012025/04/28/image_03012025_04_28_02_369438_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/04/27/image_03012025_04_27_02_893014_0003.jpg
/home/pi/Desktop/images/03012025/04/28/image_03012025_04_28_02_369438_0000.jpg
/home/pi/Desktop/images/03012025/04/28/image_03012025_04_28_02_369438_0001.jpg
/home/pi/Desktop/images/03012025/04/28/image_03012025_04_28_02_369438_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325682613","1325682607","1325682611","1325682605"],"photo_ids_order":["1325682605","1325682607","1325682611","1325682613"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/45347e10ed42df4ca16a4410ba3e0e33.jpg","text":"TemporaryFile(/tmp/multipartBody4256701574756771614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735875012882,"filename":"image_03012025_04_28_02_369438_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/58c67fa0a546762a14ef52e8cf2206f4.jpg","text":"TemporaryFile(/tmp/multipartBody8538542313370673484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735875012882,"filename":"image_03012025_04_28_02_369438_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3366742b8bf40631f04eb41dcb454483.jpg","text":"TemporaryFile(/tmp/multipartBody1689346250057163718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735875012882,"filename":"image_03012025_04_28_02_369438_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/190c5d72ec7bf81ab188c201c909c966.jpg","text":"TemporaryFile(/tmp/multipartBody2456183877566445217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735875012882,"filename":"image_03012025_04_27_02_893014_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325682611","file1":"1325682607","file0":"1325682605","file3":"1325682613"},"map_files_photo_id_array":[{"photo_id":"1325682611","filename":"file2"},{"photo_id":"1325682607","filename":"file1"},{"photo_id":"1325682605","filename":"file0"},{"photo_id":"1325682613","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325682613":["hashtag1","hashtag2"]},{"1325682607":["hashtag1","hashtag2"]},{"1325682611":["hashtag1","hashtag2"]},{"1325682605":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325682613, 1325682607, 1325682611, 1325682605)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.50185203552246 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 04:30:03.092381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/04/28/image_03012025_04_28_02_369438_0003.jpg', '/home/pi/Desktop/images/03012025/04/29/image_03012025_04_29_02_826081_0000.jpg', '/home/pi/Desktop/images/03012025/04/29/image_03012025_04_29_02_826081_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/04/28/image_03012025_04_28_02_369438_0003.jpg
/home/pi/Desktop/images/03012025/04/29/image_03012025_04_29_02_826081_0000.jpg
/home/pi/Desktop/images/03012025/04/29/image_03012025_04_29_02_826081_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325682628","1325682630","1325682626"],"photo_ids_order":["1325682626","1325682628","1325682630"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a4b4d9f19ba373dab64353b59307d686.jpg","text":"TemporaryFile(/tmp/multipartBody3902678364773138482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735875070773,"filename":"image_03012025_04_29_02_826081_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e09b1483a613a6fa1d6b723da812eae1.jpg","text":"TemporaryFile(/tmp/multipartBody2758013302081372750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735875070773,"filename":"image_03012025_04_29_02_826081_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/078aa4969906a548a136832314ddd3c5.jpg","text":"TemporaryFile(/tmp/multipartBody2514325915328440929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735875070773,"filename":"image_03012025_04_28_02_369438_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325682630","file1":"1325682628","file0":"1325682626"},"map_files_photo_id_array":[{"photo_id":"1325682630","filename":"file2"},{"photo_id":"1325682628","filename":"file1"},{"photo_id":"1325682626","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325682628":["hashtag1","hashtag2"]},{"1325682630":["hashtag1","hashtag2"]},{"1325682626":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325682628, 1325682630, 1325682626)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.82247877120972 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 04:31:02.655291
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/04/29/image_03012025_04_29_02_826081_0002.jpg', '/home/pi/Desktop/images/03012025/04/30/image_03012025_04_30_02_438997_0001.jpg', '/home/pi/Desktop/images/03012025/04/30/image_03012025_04_30_02_438997_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/04/29/image_03012025_04_29_02_826081_0002.jpg
/home/pi/Desktop/images/03012025/04/30/image_03012025_04_30_02_438997_0001.jpg
/home/pi/Desktop/images/03012025/04/30/image_03012025_04_30_02_438997_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325682643","1325682642","1325682644"],"photo_ids_order":["1325682642","1325682643","1325682644"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/54b48fe9ad4133b619d2d9f8342bf42a.jpg","text":"TemporaryFile(/tmp/multipartBody2532656675430252039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735875130422,"filename":"image_03012025_04_30_02_438997_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/efd1aa03b2819d0d444836f96da88f3d.jpg","text":"TemporaryFile(/tmp/multipartBody5553790653743140439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735875130422,"filename":"image_03012025_04_29_02_826081_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4eb66a2a4dcac1d3e61f8df57a309674.jpg","text":"TemporaryFile(/tmp/multipartBody5435866628871863726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735875130422,"filename":"image_03012025_04_30_02_438997_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325682644","file1":"1325682643","file0":"1325682642"},"map_files_photo_id_array":[{"photo_id":"1325682644","filename":"file2"},{"photo_id":"1325682643","filename":"file1"},{"photo_id":"1325682642","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325682643":["hashtag1","hashtag2"]},{"1325682642":["hashtag1","hashtag2"]},{"1325682644":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325682643, 1325682642, 1325682644)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 34.32119393348694 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 04:32:02.286975
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/04/30/image_03012025_04_30_02_438997_0003.jpg', '/home/pi/Desktop/images/03012025/04/31/image_03012025_04_31_03_042938_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/04/30/image_03012025_04_30_02_438997_0003.jpg
/home/pi/Desktop/images/03012025/04/31/image_03012025_04_31_03_042938_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325682658","1325682657"],"photo_ids_order":["1325682657","1325682658"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c8694f6775e72d2e92552f3494aaf264.jpg","text":"TemporaryFile(/tmp/multipartBody154802679061936743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735875187635,"filename":"image_03012025_04_31_03_042938_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/bfc5f5afd8398991731724028958b854.jpg","text":"TemporaryFile(/tmp/multipartBody5943216534733442884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735875187635,"filename":"image_03012025_04_30_02_438997_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1325682658","file0":"1325682657"},"map_files_photo_id_array":[{"photo_id":"1325682658","filename":"file1"},{"photo_id":"1325682657","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325682658":["hashtag1","hashtag2"]},{"1325682657":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325682658, 1325682657)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.11754298210144 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 04:33:03.009943
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/04/31/image_03012025_04_31_03_042938_0003.jpg', '/home/pi/Desktop/images/03012025/04/32/image_03012025_04_32_02_523994_0000.jpg', '/home/pi/Desktop/images/03012025/04/32/image_03012025_04_32_02_523994_0001.jpg', '/home/pi/Desktop/images/03012025/04/32/image_03012025_04_32_02_523994_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/04/31/image_03012025_04_31_03_042938_0003.jpg
/home/pi/Desktop/images/03012025/04/32/image_03012025_04_32_02_523994_0000.jpg
/home/pi/Desktop/images/03012025/04/32/image_03012025_04_32_02_523994_0001.jpg
/home/pi/Desktop/images/03012025/04/32/image_03012025_04_32_02_523994_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.548221349716187 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 04:33:22.371605
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/04/31/image_03012025_04_31_03_042938_0003.jpg', '/home/pi/Desktop/images/03012025/04/32/image_03012025_04_32_02_523994_0000.jpg', '/home/pi/Desktop/images/03012025/04/32/image_03012025_04_32_02_523994_0001.jpg', '/home/pi/Desktop/images/03012025/04/32/image_03012025_04_32_02_523994_0002.jpg', '/home/pi/Desktop/images/03012025/04/32/image_03012025_04_32_02_523994_0003.jpg', '/home/pi/Desktop/images/03012025/04/33/image_03012025_04_33_02_204641_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/04/31/image_03012025_04_31_03_042938_0003.jpg
/home/pi/Desktop/images/03012025/04/32/image_03012025_04_32_02_523994_0000.jpg
/home/pi/Desktop/images/03012025/04/32/image_03012025_04_32_02_523994_0001.jpg
/home/pi/Desktop/images/03012025/04/32/image_03012025_04_32_02_523994_0002.jpg
/home/pi/Desktop/images/03012025/04/32/image_03012025_04_32_02_523994_0003.jpg
/home/pi/Desktop/images/03012025/04/33/image_03012025_04_33_02_204641_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325682682","1325682691","1325682685","1325682679","1325682690","1325682687"],"photo_ids_order":["1325682679","1325682682","1325682685","1325682687","1325682690","1325682691"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4c402260875d980ea053f43fa75e03d4.jpg","text":"TemporaryFile(/tmp/multipartBody4409859429703028204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735875276837,"filename":"image_03012025_04_32_02_523994_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6e3ef4828499eb205053b27300443ece.jpg","text":"TemporaryFile(/tmp/multipartBody4850057351691107266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735875276837,"filename":"image_03012025_04_33_02_204641_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/836557c65cfb81cd65d471bb080ef83d.jpg","text":"TemporaryFile(/tmp/multipartBody4562180081431456105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735875276837,"filename":"image_03012025_04_32_02_523994_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ad8b98b0900852ff5a2394e24fd654c3.jpg","text":"TemporaryFile(/tmp/multipartBody2951791678763357663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735875276837,"filename":"image_03012025_04_31_03_042938_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a5cb96059f660f7a316f00be49abcb28.jpg","text":"TemporaryFile(/tmp/multipartBody730039886869933298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735875276837,"filename":"image_03012025_04_32_02_523994_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8e08309af67bf2c049bb4903181b222c.jpg","text":"TemporaryFile(/tmp/multipartBody3609673793998343963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735875276837,"filename":"image_03012025_04_32_02_523994_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325682685","file1":"1325682682","file0":"1325682679","file4":"1325682690","file5":"1325682691","file3":"1325682687"},"map_files_photo_id_array":[{"photo_id":"1325682691","filename":"file5"},{"photo_id":"1325682685","filename":"file2"},{"photo_id":"1325682690","filename":"file4"},{"photo_id":"1325682682","filename":"file1"},{"photo_id":"1325682679","filename":"file0"},{"photo_id":"1325682687","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325682682":["hashtag1","hashtag2"]},{"1325682691":["hashtag1","hashtag2"]},{"1325682685":["hashtag1","hashtag2"]},{"1325682679":["hashtag1","hashtag2"]},{"1325682690":["hashtag1","hashtag2"]},{"1325682687":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325682682, 1325682691, 1325682685, 1325682679, 1325682690, 1325682687)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.32552528381348 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 04:34:21.995257
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/04/33/image_03012025_04_33_02_204641_0002.jpg', '/home/pi/Desktop/images/03012025/04/33/image_03012025_04_33_02_204641_0003.jpg', '/home/pi/Desktop/images/03012025/04/34/image_03012025_04_34_02_682258_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/04/33/image_03012025_04_33_02_204641_0002.jpg
/home/pi/Desktop/images/03012025/04/33/image_03012025_04_33_02_204641_0003.jpg
/home/pi/Desktop/images/03012025/04/34/image_03012025_04_34_02_682258_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325682703","1325682698","1325682694"],"photo_ids_order":["1325682694","1325682698","1325682703"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/afc7c58b3bbba0439cd13b4d8190bce2.jpg","text":"TemporaryFile(/tmp/multipartBody8684158503385546090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735875329644,"filename":"image_03012025_04_34_02_682258_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/46f46caa8dda156a99443e55c3496a1e.jpg","text":"TemporaryFile(/tmp/multipartBody583583345791249256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735875329644,"filename":"image_03012025_04_33_02_204641_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4860f02037a5ba1dbf16ae24f72143d1.jpg","text":"TemporaryFile(/tmp/multipartBody1345585841884874980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735875329644,"filename":"image_03012025_04_33_02_204641_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325682703","file1":"1325682698","file0":"1325682694"},"map_files_photo_id_array":[{"photo_id":"1325682703","filename":"file2"},{"photo_id":"1325682698","filename":"file1"},{"photo_id":"1325682694","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325682703":["hashtag1","hashtag2"]},{"1325682698":["hashtag1","hashtag2"]},{"1325682694":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325682703, 1325682698, 1325682694)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 37.562167167663574 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 04:35:03.115948
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 04:35:22.525585
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/04/34/image_03012025_04_34_02_682258_0003.jpg', '/home/pi/Desktop/images/03012025/04/35/image_03012025_04_35_02_332265_0000.jpg', '/home/pi/Desktop/images/03012025/04/35/image_03012025_04_35_02_332265_0001.jpg', '/home/pi/Desktop/images/03012025/04/35/image_03012025_04_35_02_332265_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/04/34/image_03012025_04_34_02_682258_0003.jpg
/home/pi/Desktop/images/03012025/04/35/image_03012025_04_35_02_332265_0000.jpg
/home/pi/Desktop/images/03012025/04/35/image_03012025_04_35_02_332265_0001.jpg
/home/pi/Desktop/images/03012025/04/35/image_03012025_04_35_02_332265_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325682730","1325682726","1325682722","1325682719"],"photo_ids_order":["1325682719","1325682722","1325682726","1325682730"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/93aacdd5b0fe1349a6d8cd698e7a133f.jpg","text":"TemporaryFile(/tmp/multipartBody4865743241613057251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735875392548,"filename":"image_03012025_04_35_02_332265_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8551a7aeb7fe6b4bac48b8b3691f5840.jpg","text":"TemporaryFile(/tmp/multipartBody5830197833741206271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735875392548,"filename":"image_03012025_04_35_02_332265_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b26d42fdf19c6c927c7cd6eea6724275.jpg","text":"TemporaryFile(/tmp/multipartBody6875646005593833264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735875392548,"filename":"image_03012025_04_35_02_332265_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2fdba3f30aca47e1626297b805bf9807.jpg","text":"TemporaryFile(/tmp/multipartBody6334993075373200148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735875392548,"filename":"image_03012025_04_34_02_682258_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325682726","file1":"1325682722","file0":"1325682719","file3":"1325682730"},"map_files_photo_id_array":[{"photo_id":"1325682726","filename":"file2"},{"photo_id":"1325682722","filename":"file1"},{"photo_id":"1325682719","filename":"file0"},{"photo_id":"1325682730","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325682730":["hashtag1","hashtag2"]},{"1325682726":["hashtag1","hashtag2"]},{"1325682722":["hashtag1","hashtag2"]},{"1325682719":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325682730, 1325682726, 1325682722, 1325682719)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.42085313796997 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 04:36:22.150002
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/04/35/image_03012025_04_35_02_332265_0003.jpg', '/home/pi/Desktop/images/03012025/04/36/image_03012025_04_36_02_859511_0000.jpg', '/home/pi/Desktop/images/03012025/04/36/image_03012025_04_36_02_859511_0001.jpg', '/home/pi/Desktop/images/03012025/04/36/image_03012025_04_36_02_859511_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/04/35/image_03012025_04_35_02_332265_0003.jpg
/home/pi/Desktop/images/03012025/04/36/image_03012025_04_36_02_859511_0000.jpg
/home/pi/Desktop/images/03012025/04/36/image_03012025_04_36_02_859511_0001.jpg
/home/pi/Desktop/images/03012025/04/36/image_03012025_04_36_02_859511_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325682745","1325682748","1325682752","1325682743"],"photo_ids_order":["1325682743","1325682745","1325682748","1325682752"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/236a5cf0105be5774d364b2ff4643489.jpg","text":"TemporaryFile(/tmp/multipartBody3769712853223131005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735875452085,"filename":"image_03012025_04_36_02_859511_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5c619d4217999f76020d462f598c7a5c.jpg","text":"TemporaryFile(/tmp/multipartBody4591312866058260555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735875452085,"filename":"image_03012025_04_36_02_859511_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2ef297595f7ffb005f5bc37b3dfbfb14.jpg","text":"TemporaryFile(/tmp/multipartBody1684353907492646692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735875452085,"filename":"image_03012025_04_36_02_859511_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c7672c4d6be61b28fea31f37a5b6b6b7.jpg","text":"TemporaryFile(/tmp/multipartBody7180642094741835244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735875452085,"filename":"image_03012025_04_35_02_332265_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325682748","file1":"1325682745","file0":"1325682743","file3":"1325682752"},"map_files_photo_id_array":[{"photo_id":"1325682748","filename":"file2"},{"photo_id":"1325682745","filename":"file1"},{"photo_id":"1325682743","filename":"file0"},{"photo_id":"1325682752","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325682745":["hashtag1","hashtag2"]},{"1325682748":["hashtag1","hashtag2"]},{"1325682752":["hashtag1","hashtag2"]},{"1325682743":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325682745, 1325682748, 1325682752, 1325682743)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.138176918029785 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 04:37:22.666734
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/04/36/image_03012025_04_36_02_859511_0003.jpg', '/home/pi/Desktop/images/03012025/04/37/image_03012025_04_37_02_535708_0000.jpg', '/home/pi/Desktop/images/03012025/04/37/image_03012025_04_37_02_535708_0001.jpg', '/home/pi/Desktop/images/03012025/04/37/image_03012025_04_37_02_535708_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/04/36/image_03012025_04_36_02_859511_0003.jpg
/home/pi/Desktop/images/03012025/04/37/image_03012025_04_37_02_535708_0000.jpg
/home/pi/Desktop/images/03012025/04/37/image_03012025_04_37_02_535708_0001.jpg
/home/pi/Desktop/images/03012025/04/37/image_03012025_04_37_02_535708_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325682769","1325682771","1325682762","1325682765"],"photo_ids_order":["1325682762","1325682765","1325682769","1325682771"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9064db9ca5e74e4006b8fb89de812b62.jpg","text":"TemporaryFile(/tmp/multipartBody3536918239450598114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735875512524,"filename":"image_03012025_04_37_02_535708_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9fdee31427fa47b0a0ee791104b71fcf.jpg","text":"TemporaryFile(/tmp/multipartBody8008727894832047592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735875512524,"filename":"image_03012025_04_37_02_535708_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/bc52b656d397bc2ea15c3eb1d9040660.jpg","text":"TemporaryFile(/tmp/multipartBody1257373024533861291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735875512524,"filename":"image_03012025_04_36_02_859511_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3a3714f061e92ab6ea557e337f781311.jpg","text":"TemporaryFile(/tmp/multipartBody4357319842844677055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735875512524,"filename":"image_03012025_04_37_02_535708_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325682769","file1":"1325682765","file0":"1325682762","file3":"1325682771"},"map_files_photo_id_array":[{"photo_id":"1325682769","filename":"file2"},{"photo_id":"1325682765","filename":"file1"},{"photo_id":"1325682762","filename":"file0"},{"photo_id":"1325682771","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325682769":["hashtag1","hashtag2"]},{"1325682771":["hashtag1","hashtag2"]},{"1325682762":["hashtag1","hashtag2"]},{"1325682765":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325682769, 1325682771, 1325682762, 1325682765)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.02693510055542 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 04:38:22.144448
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/04/37/image_03012025_04_37_02_535708_0003.jpg', '/home/pi/Desktop/images/03012025/04/38/image_03012025_04_38_03_063806_0000.jpg', '/home/pi/Desktop/images/03012025/04/38/image_03012025_04_38_03_063806_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/04/37/image_03012025_04_37_02_535708_0003.jpg
/home/pi/Desktop/images/03012025/04/38/image_03012025_04_38_03_063806_0000.jpg
/home/pi/Desktop/images/03012025/04/38/image_03012025_04_38_03_063806_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325682777","1325682785","1325682779"],"photo_ids_order":["1325682777","1325682779","1325682785"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d5563752462f8cd001cae88a0376b405.jpg","text":"TemporaryFile(/tmp/multipartBody2106823939740503840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735875569821,"filename":"image_03012025_04_37_02_535708_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/eecb399740a366fad851ad4d0eae1ca6.jpg","text":"TemporaryFile(/tmp/multipartBody3401542202575195571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735875569821,"filename":"image_03012025_04_38_03_063806_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0db34c7556d0317975fab7b53496631e.jpg","text":"TemporaryFile(/tmp/multipartBody3739069260766037145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735875569821,"filename":"image_03012025_04_38_03_063806_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325682785","file1":"1325682779","file0":"1325682777"},"map_files_photo_id_array":[{"photo_id":"1325682785","filename":"file2"},{"photo_id":"1325682779","filename":"file1"},{"photo_id":"1325682777","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325682777":["hashtag1","hashtag2"]},{"1325682785":["hashtag1","hashtag2"]},{"1325682779":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325682777, 1325682785, 1325682779)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 34.536890745162964 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 04:39:03.383014
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 04:39:22.620064
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/04/38/image_03012025_04_38_03_063806_0002.jpg', '/home/pi/Desktop/images/03012025/04/39/image_03012025_04_39_02_562994_0000.jpg', '/home/pi/Desktop/images/03012025/04/39/image_03012025_04_39_02_562994_0001.jpg', '/home/pi/Desktop/images/03012025/04/39/image_03012025_04_39_02_562994_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/04/38/image_03012025_04_38_03_063806_0002.jpg
/home/pi/Desktop/images/03012025/04/39/image_03012025_04_39_02_562994_0000.jpg
/home/pi/Desktop/images/03012025/04/39/image_03012025_04_39_02_562994_0001.jpg
/home/pi/Desktop/images/03012025/04/39/image_03012025_04_39_02_562994_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325682806","1325682813","1325682809","1325682803"],"photo_ids_order":["1325682803","1325682806","1325682809","1325682813"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5c8ad731d2e1130da9def6b0bdb1d2f8.jpg","text":"TemporaryFile(/tmp/multipartBody3428789941463426834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735875632432,"filename":"image_03012025_04_39_02_562994_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/dbe718f476966a5120ff6f95b22f173d.jpg","text":"TemporaryFile(/tmp/multipartBody6293706008256528569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735875632432,"filename":"image_03012025_04_39_02_562994_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9f38e4f1590de3796a11b34498cfe7d2.jpg","text":"TemporaryFile(/tmp/multipartBody7220507717106941182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735875632432,"filename":"image_03012025_04_39_02_562994_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a4434d3fb6e9cd372f7fd0460aaf2430.jpg","text":"TemporaryFile(/tmp/multipartBody4087735072727749931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735875632432,"filename":"image_03012025_04_38_03_063806_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325682809","file1":"1325682806","file0":"1325682803","file3":"1325682813"},"map_files_photo_id_array":[{"photo_id":"1325682809","filename":"file2"},{"photo_id":"1325682806","filename":"file1"},{"photo_id":"1325682803","filename":"file0"},{"photo_id":"1325682813","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325682806":["hashtag1","hashtag2"]},{"1325682813":["hashtag1","hashtag2"]},{"1325682809":["hashtag1","hashtag2"]},{"1325682803":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325682806, 1325682813, 1325682809, 1325682803)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.96268033981323 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 04:40:02.699154
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 04:40:22.287798
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/04/39/image_03012025_04_39_02_562994_0003.jpg', '/home/pi/Desktop/images/03012025/04/40/image_03012025_04_40_03_096492_0001.jpg', '/home/pi/Desktop/images/03012025/04/40/image_03012025_04_40_03_096492_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/04/39/image_03012025_04_39_02_562994_0003.jpg
/home/pi/Desktop/images/03012025/04/40/image_03012025_04_40_03_096492_0001.jpg
/home/pi/Desktop/images/03012025/04/40/image_03012025_04_40_03_096492_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.152817249298096 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 04:41:02.513934
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/04/39/image_03012025_04_39_02_562994_0003.jpg', '/home/pi/Desktop/images/03012025/04/40/image_03012025_04_40_03_096492_0001.jpg', '/home/pi/Desktop/images/03012025/04/40/image_03012025_04_40_03_096492_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/04/39/image_03012025_04_39_02_562994_0003.jpg
/home/pi/Desktop/images/03012025/04/40/image_03012025_04_40_03_096492_0001.jpg
/home/pi/Desktop/images/03012025/04/40/image_03012025_04_40_03_096492_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325682832","1325682834","1325682831"],"photo_ids_order":["1325682831","1325682832","1325682834"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/53beeba2156805615cfd09a571fa11b1.jpg","text":"TemporaryFile(/tmp/multipartBody6336128714534851637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735875730149,"filename":"image_03012025_04_40_03_096492_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2199b17b642135a44a1f112a695e6643.jpg","text":"TemporaryFile(/tmp/multipartBody6207027889041126899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735875730149,"filename":"image_03012025_04_40_03_096492_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/78377715799ad9d26171cb71c3109da9.jpg","text":"TemporaryFile(/tmp/multipartBody7479132225074930675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735875730149,"filename":"image_03012025_04_39_02_562994_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325682834","file1":"1325682832","file0":"1325682831"},"map_files_photo_id_array":[{"photo_id":"1325682834","filename":"file2"},{"photo_id":"1325682832","filename":"file1"},{"photo_id":"1325682831","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325682832":["hashtag1","hashtag2"]},{"1325682834":["hashtag1","hashtag2"]},{"1325682831":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325682832, 1325682834, 1325682831)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 33.86302375793457 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 04:42:02.899332
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/04/40/image_03012025_04_40_03_096492_0003.jpg', '/home/pi/Desktop/images/03012025/04/41/image_03012025_04_41_02_820616_0000.jpg', '/home/pi/Desktop/images/03012025/04/41/image_03012025_04_41_02_820616_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/04/40/image_03012025_04_40_03_096492_0003.jpg
/home/pi/Desktop/images/03012025/04/41/image_03012025_04_41_02_820616_0000.jpg
/home/pi/Desktop/images/03012025/04/41/image_03012025_04_41_02_820616_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.1774232387542725 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 04:42:22.454950
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/04/40/image_03012025_04_40_03_096492_0003.jpg', '/home/pi/Desktop/images/03012025/04/41/image_03012025_04_41_02_820616_0000.jpg', '/home/pi/Desktop/images/03012025/04/41/image_03012025_04_41_02_820616_0001.jpg', '/home/pi/Desktop/images/03012025/04/41/image_03012025_04_41_02_820616_0003.jpg', '/home/pi/Desktop/images/03012025/04/42/image_03012025_04_42_02_369500_0000.jpg', '/home/pi/Desktop/images/03012025/04/42/image_03012025_04_42_02_369500_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/04/40/image_03012025_04_40_03_096492_0003.jpg
/home/pi/Desktop/images/03012025/04/41/image_03012025_04_41_02_820616_0000.jpg
/home/pi/Desktop/images/03012025/04/41/image_03012025_04_41_02_820616_0001.jpg
/home/pi/Desktop/images/03012025/04/41/image_03012025_04_41_02_820616_0003.jpg
/home/pi/Desktop/images/03012025/04/42/image_03012025_04_42_02_369500_0000.jpg
/home/pi/Desktop/images/03012025/04/42/image_03012025_04_42_02_369500_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325682859","1325682852","1325682861","1325682855","1325682863","1325682866"],"photo_ids_order":["1325682852","1325682855","1325682859","1325682861","1325682863","1325682866"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e79fdbcc00384b7563df6f20c3b70d97.jpg","text":"TemporaryFile(/tmp/multipartBody5639854761023107907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735875816847,"filename":"image_03012025_04_41_02_820616_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6991326438e3ae042d3367591ad2a014.jpg","text":"TemporaryFile(/tmp/multipartBody7007084934905685289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735875816847,"filename":"image_03012025_04_40_03_096492_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/89e7c4e3a2a20f8870c3a9e3d2359915.jpg","text":"TemporaryFile(/tmp/multipartBody2995411004722402267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735875816847,"filename":"image_03012025_04_41_02_820616_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d9ad1d725555d83e7d88e6abc18e5253.jpg","text":"TemporaryFile(/tmp/multipartBody3992742477678999316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735875816847,"filename":"image_03012025_04_41_02_820616_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f0ef91b140b79eec0c7b4e7216448920.jpg","text":"TemporaryFile(/tmp/multipartBody1678303875035548368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735875816847,"filename":"image_03012025_04_42_02_369500_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8dc1bd6b1d91b3605d6724e1e7a42940.jpg","text":"TemporaryFile(/tmp/multipartBody7076192285318257630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735875816847,"filename":"image_03012025_04_42_02_369500_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325682859","file1":"1325682855","file0":"1325682852","file4":"1325682863","file5":"1325682866","file3":"1325682861"},"map_files_photo_id_array":[{"photo_id":"1325682866","filename":"file5"},{"photo_id":"1325682859","filename":"file2"},{"photo_id":"1325682863","filename":"file4"},{"photo_id":"1325682855","filename":"file1"},{"photo_id":"1325682852","filename":"file0"},{"photo_id":"1325682861","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325682859":["hashtag1","hashtag2"]},{"1325682852":["hashtag1","hashtag2"]},{"1325682861":["hashtag1","hashtag2"]},{"1325682855":["hashtag1","hashtag2"]},{"1325682863":["hashtag1","hashtag2"]},{"1325682866":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325682859, 1325682852, 1325682861, 1325682855, 1325682863, 1325682866)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.542651891708374 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 04:43:21.996610
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/04/42/image_03012025_04_42_02_369500_0002.jpg', '/home/pi/Desktop/images/03012025/04/43/image_03012025_04_43_02_880067_0001.jpg', '/home/pi/Desktop/images/03012025/04/43/image_03012025_04_43_02_880067_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/04/42/image_03012025_04_42_02_369500_0002.jpg
/home/pi/Desktop/images/03012025/04/43/image_03012025_04_43_02_880067_0001.jpg
/home/pi/Desktop/images/03012025/04/43/image_03012025_04_43_02_880067_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325682876","1325682872","1325682869"],"photo_ids_order":["1325682869","1325682872","1325682876"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f08a48990f8802e596486726d10eb16a.jpg","text":"TemporaryFile(/tmp/multipartBody4165693834185981622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735875869505,"filename":"image_03012025_04_43_02_880067_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/795a925abf17b4d506b9d6e03d664ec7.jpg","text":"TemporaryFile(/tmp/multipartBody3031896526248206879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735875869505,"filename":"image_03012025_04_43_02_880067_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ec39c3d1df914284491403c10705e95d.jpg","text":"TemporaryFile(/tmp/multipartBody8131032116177775579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735875869505,"filename":"image_03012025_04_42_02_369500_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325682876","file1":"1325682872","file0":"1325682869"},"map_files_photo_id_array":[{"photo_id":"1325682876","filename":"file2"},{"photo_id":"1325682872","filename":"file1"},{"photo_id":"1325682869","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325682876":["hashtag1","hashtag2"]},{"1325682872":["hashtag1","hashtag2"]},{"1325682869":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325682876, 1325682872, 1325682869)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.551989555358887 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 04:44:02.904703
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 04:44:22.524129
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/04/43/image_03012025_04_43_02_880067_0003.jpg', '/home/pi/Desktop/images/03012025/04/44/image_03012025_04_44_02_390543_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/04/43/image_03012025_04_43_02_880067_0003.jpg
/home/pi/Desktop/images/03012025/04/44/image_03012025_04_44_02_390543_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.826136112213135 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 04:45:02.690510
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/04/43/image_03012025_04_43_02_880067_0003.jpg', '/home/pi/Desktop/images/03012025/04/44/image_03012025_04_44_02_390543_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/04/43/image_03012025_04_43_02_880067_0003.jpg
/home/pi/Desktop/images/03012025/04/44/image_03012025_04_44_02_390543_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325682910","1325682908"],"photo_ids_order":["1325682908","1325682910"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/508ef69eb7c705f97d7671a1bee648fb.jpg","text":"TemporaryFile(/tmp/multipartBody7807323293334556588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735875968021,"filename":"image_03012025_04_44_02_390543_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/57aa46d5d97116a79aa57db01dda02dc.jpg","text":"TemporaryFile(/tmp/multipartBody4458407674794517405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735875968021,"filename":"image_03012025_04_43_02_880067_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1325682910","file0":"1325682908"},"map_files_photo_id_array":[{"photo_id":"1325682910","filename":"file1"},{"photo_id":"1325682908","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325682910":["hashtag1","hashtag2"]},{"1325682908":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325682910, 1325682908)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.279911994934082 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 04:46:02.168124
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/04/44/image_03012025_04_44_02_390543_0003.jpg', '/home/pi/Desktop/images/03012025/04/45/image_03012025_04_45_02_940341_0000.jpg', '/home/pi/Desktop/images/03012025/04/45/image_03012025_04_45_02_940341_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/04/44/image_03012025_04_44_02_390543_0003.jpg
/home/pi/Desktop/images/03012025/04/45/image_03012025_04_45_02_940341_0000.jpg
/home/pi/Desktop/images/03012025/04/45/image_03012025_04_45_02_940341_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.21514630317688 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 04:46:21.717281
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/04/44/image_03012025_04_44_02_390543_0003.jpg', '/home/pi/Desktop/images/03012025/04/45/image_03012025_04_45_02_940341_0000.jpg', '/home/pi/Desktop/images/03012025/04/45/image_03012025_04_45_02_940341_0001.jpg', '/home/pi/Desktop/images/03012025/04/45/image_03012025_04_45_02_940341_0003.jpg', '/home/pi/Desktop/images/03012025/04/46/image_03012025_04_46_02_544376_0000.jpg', '/home/pi/Desktop/images/03012025/04/46/image_03012025_04_46_02_544376_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/04/44/image_03012025_04_44_02_390543_0003.jpg
/home/pi/Desktop/images/03012025/04/45/image_03012025_04_45_02_940341_0000.jpg
/home/pi/Desktop/images/03012025/04/45/image_03012025_04_45_02_940341_0001.jpg
/home/pi/Desktop/images/03012025/04/45/image_03012025_04_45_02_940341_0003.jpg
/home/pi/Desktop/images/03012025/04/46/image_03012025_04_46_02_544376_0000.jpg
/home/pi/Desktop/images/03012025/04/46/image_03012025_04_46_02_544376_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325682940","1325682933","1325682942","1325682936","1325682939","1325682929"],"photo_ids_order":["1325682929","1325682933","1325682936","1325682939","1325682940","1325682942"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/035a31068b1a6dcdb88bd62574601512.jpg","text":"TemporaryFile(/tmp/multipartBody8699287012120638165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735876056085,"filename":"image_03012025_04_46_02_544376_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/846f91077dc36cfa602a79016bf49fbe.jpg","text":"TemporaryFile(/tmp/multipartBody5542481231239367301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735876056085,"filename":"image_03012025_04_45_02_940341_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/49cc84720b9bae5d917288c46659c3b0.jpg","text":"TemporaryFile(/tmp/multipartBody1143879583914248403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735876056085,"filename":"image_03012025_04_46_02_544376_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5435c89c256c866c0127d79f2fa522b4.jpg","text":"TemporaryFile(/tmp/multipartBody4533774014818302630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735876056085,"filename":"image_03012025_04_45_02_940341_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/450f3048d7289f832ebddaa0dbed51e2.jpg","text":"TemporaryFile(/tmp/multipartBody3223471251649292509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735876056085,"filename":"image_03012025_04_45_02_940341_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/420935bda1783d572f6cc725e6154885.jpg","text":"TemporaryFile(/tmp/multipartBody4296291040083534224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735876056085,"filename":"image_03012025_04_44_02_390543_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325682936","file1":"1325682933","file0":"1325682929","file4":"1325682940","file5":"1325682942","file3":"1325682939"},"map_files_photo_id_array":[{"photo_id":"1325682942","filename":"file5"},{"photo_id":"1325682936","filename":"file2"},{"photo_id":"1325682940","filename":"file4"},{"photo_id":"1325682933","filename":"file1"},{"photo_id":"1325682929","filename":"file0"},{"photo_id":"1325682939","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325682940":["hashtag1","hashtag2"]},{"1325682933":["hashtag1","hashtag2"]},{"1325682942":["hashtag1","hashtag2"]},{"1325682936":["hashtag1","hashtag2"]},{"1325682939":["hashtag1","hashtag2"]},{"1325682929":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325682940, 1325682933, 1325682942, 1325682936, 1325682939, 1325682929)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.90296912193298 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 04:47:22.293356
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/04/46/image_03012025_04_46_02_544376_0003.jpg', '/home/pi/Desktop/images/03012025/04/47/image_03012025_04_47_02_128786_0000.jpg', '/home/pi/Desktop/images/03012025/04/47/image_03012025_04_47_02_128786_0001.jpg', '/home/pi/Desktop/images/03012025/04/47/image_03012025_04_47_02_128786_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/04/46/image_03012025_04_46_02_544376_0003.jpg
/home/pi/Desktop/images/03012025/04/47/image_03012025_04_47_02_128786_0000.jpg
/home/pi/Desktop/images/03012025/04/47/image_03012025_04_47_02_128786_0001.jpg
/home/pi/Desktop/images/03012025/04/47/image_03012025_04_47_02_128786_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325682955","1325682949","1325682952","1325682946"],"photo_ids_order":["1325682946","1325682949","1325682952","1325682955"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a94fdc22861f218420484a915b6462f1.jpg","text":"TemporaryFile(/tmp/multipartBody2997960795108445282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735876112148,"filename":"image_03012025_04_47_02_128786_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3d931282087958f828f8021d63364cce.jpg","text":"TemporaryFile(/tmp/multipartBody6830339506758543267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735876112148,"filename":"image_03012025_04_47_02_128786_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6ceaaf08c56679a3fa6702cd594d7532.jpg","text":"TemporaryFile(/tmp/multipartBody2597765045738022319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735876112148,"filename":"image_03012025_04_47_02_128786_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6f90e568b1033a5a41a6608d62604c32.jpg","text":"TemporaryFile(/tmp/multipartBody2652348010135653724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735876112148,"filename":"image_03012025_04_46_02_544376_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325682952","file1":"1325682949","file0":"1325682946","file3":"1325682955"},"map_files_photo_id_array":[{"photo_id":"1325682952","filename":"file2"},{"photo_id":"1325682949","filename":"file1"},{"photo_id":"1325682946","filename":"file0"},{"photo_id":"1325682955","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325682955":["hashtag1","hashtag2"]},{"1325682949":["hashtag1","hashtag2"]},{"1325682952":["hashtag1","hashtag2"]},{"1325682946":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325682955, 1325682949, 1325682952, 1325682946)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.67841601371765 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 04:48:21.843501
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/04/47/image_03012025_04_47_02_128786_0003.jpg', '/home/pi/Desktop/images/03012025/04/48/image_03012025_04_48_02_730293_0000.jpg', '/home/pi/Desktop/images/03012025/04/48/image_03012025_04_48_02_730293_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/04/47/image_03012025_04_47_02_128786_0003.jpg
/home/pi/Desktop/images/03012025/04/48/image_03012025_04_48_02_730293_0000.jpg
/home/pi/Desktop/images/03012025/04/48/image_03012025_04_48_02_730293_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325682970","1325682962","1325682965"],"photo_ids_order":["1325682962","1325682965","1325682970"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0b3f7828cab238988ab2b514a6be7305.jpg","text":"TemporaryFile(/tmp/multipartBody5180795388307848818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735876169340,"filename":"image_03012025_04_48_02_730293_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/72077a4d4291558a5dace936eb3375ae.jpg","text":"TemporaryFile(/tmp/multipartBody5746617953339352270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735876169340,"filename":"image_03012025_04_47_02_128786_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/78ebbd8eaaceb2ef724d9f75cf86e284.jpg","text":"TemporaryFile(/tmp/multipartBody9139724153242626687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735876169340,"filename":"image_03012025_04_48_02_730293_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325682970","file1":"1325682965","file0":"1325682962"},"map_files_photo_id_array":[{"photo_id":"1325682970","filename":"file2"},{"photo_id":"1325682965","filename":"file1"},{"photo_id":"1325682962","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325682970":["hashtag1","hashtag2"]},{"1325682962":["hashtag1","hashtag2"]},{"1325682965":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325682970, 1325682962, 1325682965)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 33.220956802368164 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 04:49:02.984671
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 04:49:22.315972
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/04/48/image_03012025_04_48_02_730293_0003.jpg', '/home/pi/Desktop/images/03012025/04/49/image_03012025_04_49_02_226126_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/04/48/image_03012025_04_48_02_730293_0003.jpg
/home/pi/Desktop/images/03012025/04/49/image_03012025_04_49_02_226126_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325682989","1325682986"],"photo_ids_order":["1325682986","1325682989"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/fa9ce7d06127a4452499b5f268766282.jpg","text":"TemporaryFile(/tmp/multipartBody5684439279674929783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735876227538,"filename":"image_03012025_04_49_02_226126_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/872c23ced3288a7aff21d8218b5a1382.jpg","text":"TemporaryFile(/tmp/multipartBody440587281205465283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735876227538,"filename":"image_03012025_04_48_02_730293_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1325682989","file0":"1325682986"},"map_files_photo_id_array":[{"photo_id":"1325682989","filename":"file1"},{"photo_id":"1325682986","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325682989":["hashtag1","hashtag2"]},{"1325682986":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325682989, 1325682986)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.669896364212036 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 04:50:02.334515
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 04:50:21.996966
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/04/49/image_03012025_04_49_02_226126_0003.jpg', '/home/pi/Desktop/images/03012025/04/50/image_03012025_04_50_02_725803_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/04/49/image_03012025_04_49_02_226126_0003.jpg
/home/pi/Desktop/images/03012025/04/50/image_03012025_04_50_02_725803_0001.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 4.8380889892578125 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 04:51:02.939803
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/04/49/image_03012025_04_49_02_226126_0003.jpg', '/home/pi/Desktop/images/03012025/04/50/image_03012025_04_50_02_725803_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/04/49/image_03012025_04_49_02_226126_0003.jpg
/home/pi/Desktop/images/03012025/04/50/image_03012025_04_50_02_725803_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325683012","1325683013"],"photo_ids_order":["1325683012","1325683013"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/570b0c718afc0636ebaeadde2977b6ac.jpg","text":"TemporaryFile(/tmp/multipartBody3264390114851593603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735876328274,"filename":"image_03012025_04_49_02_226126_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c875fb78e39a94db3e55c25174b03e8f.jpg","text":"TemporaryFile(/tmp/multipartBody6966659281076894055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735876328274,"filename":"image_03012025_04_50_02_725803_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1325683013","file0":"1325683012"},"map_files_photo_id_array":[{"photo_id":"1325683013","filename":"file1"},{"photo_id":"1325683012","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325683012":["hashtag1","hashtag2"]},{"1325683013":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325683012, 1325683013)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.199772834777832 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 04:52:02.574823
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/04/50/image_03012025_04_50_02_725803_0003.jpg', '/home/pi/Desktop/images/03012025/04/51/image_03012025_04_51_02_294118_0000.jpg', '/home/pi/Desktop/images/03012025/04/51/image_03012025_04_51_02_294118_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/04/50/image_03012025_04_50_02_725803_0003.jpg
/home/pi/Desktop/images/03012025/04/51/image_03012025_04_51_02_294118_0000.jpg
/home/pi/Desktop/images/03012025/04/51/image_03012025_04_51_02_294118_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.172950267791748 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 04:52:22.098283
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/04/50/image_03012025_04_50_02_725803_0003.jpg', '/home/pi/Desktop/images/03012025/04/51/image_03012025_04_51_02_294118_0000.jpg', '/home/pi/Desktop/images/03012025/04/51/image_03012025_04_51_02_294118_0002.jpg', '/home/pi/Desktop/images/03012025/04/51/image_03012025_04_51_02_294118_0003.jpg', '/home/pi/Desktop/images/03012025/04/52/image_03012025_04_52_02_862577_0000.jpg', '/home/pi/Desktop/images/03012025/04/52/image_03012025_04_52_02_862577_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/04/50/image_03012025_04_50_02_725803_0003.jpg
/home/pi/Desktop/images/03012025/04/51/image_03012025_04_51_02_294118_0000.jpg
/home/pi/Desktop/images/03012025/04/51/image_03012025_04_51_02_294118_0002.jpg
/home/pi/Desktop/images/03012025/04/51/image_03012025_04_51_02_294118_0003.jpg
/home/pi/Desktop/images/03012025/04/52/image_03012025_04_52_02_862577_0000.jpg
/home/pi/Desktop/images/03012025/04/52/image_03012025_04_52_02_862577_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325683036","1325683045","1325683039","1325683033","1325683041","1325683043"],"photo_ids_order":["1325683033","1325683036","1325683039","1325683041","1325683043","1325683045"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9a56e0b69fd119f7c182bb98a606d044.jpg","text":"TemporaryFile(/tmp/multipartBody2329632389830563969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735876416447,"filename":"image_03012025_04_51_02_294118_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b62543588e36c748dc39574455e88c55.jpg","text":"TemporaryFile(/tmp/multipartBody8274602471642927004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735876416447,"filename":"image_03012025_04_52_02_862577_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b2281bbee04fc13f65d4180300068b66.jpg","text":"TemporaryFile(/tmp/multipartBody3358549938788073692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735876416447,"filename":"image_03012025_04_51_02_294118_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8d898c91100c52f19744514edee66ca2.jpg","text":"TemporaryFile(/tmp/multipartBody3892545207081948479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735876416447,"filename":"image_03012025_04_50_02_725803_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/aaeb6d8d47859d42697cce0ce1c431a4.jpg","text":"TemporaryFile(/tmp/multipartBody280908127126018631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735876416447,"filename":"image_03012025_04_51_02_294118_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/68fc8eb7493215e7e08e81383024d05d.jpg","text":"TemporaryFile(/tmp/multipartBody9155587466646880469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735876416447,"filename":"image_03012025_04_52_02_862577_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325683039","file1":"1325683036","file0":"1325683033","file4":"1325683043","file5":"1325683045","file3":"1325683041"},"map_files_photo_id_array":[{"photo_id":"1325683045","filename":"file5"},{"photo_id":"1325683039","filename":"file2"},{"photo_id":"1325683043","filename":"file4"},{"photo_id":"1325683036","filename":"file1"},{"photo_id":"1325683033","filename":"file0"},{"photo_id":"1325683041","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325683036":["hashtag1","hashtag2"]},{"1325683045":["hashtag1","hashtag2"]},{"1325683039":["hashtag1","hashtag2"]},{"1325683033":["hashtag1","hashtag2"]},{"1325683041":["hashtag1","hashtag2"]},{"1325683043":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325683036, 1325683045, 1325683039, 1325683033, 1325683041, 1325683043)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.2267746925354 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 04:53:22.639386
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/04/52/image_03012025_04_52_02_862577_0002.jpg', '/home/pi/Desktop/images/03012025/04/52/image_03012025_04_52_02_862577_0003.jpg', '/home/pi/Desktop/images/03012025/04/53/image_03012025_04_53_02_469324_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/04/52/image_03012025_04_52_02_862577_0002.jpg
/home/pi/Desktop/images/03012025/04/52/image_03012025_04_52_02_862577_0003.jpg
/home/pi/Desktop/images/03012025/04/53/image_03012025_04_53_02_469324_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325683051","1325683055","1325683048"],"photo_ids_order":["1325683048","1325683051","1325683055"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e60d907c04c2aaab1b72a71fb0a51c11.jpg","text":"TemporaryFile(/tmp/multipartBody7906911671043533125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735876470152,"filename":"image_03012025_04_52_02_862577_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/008c58f7324beba4fe4f8a1ba1fafa8f.jpg","text":"TemporaryFile(/tmp/multipartBody3029203331214802385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735876470152,"filename":"image_03012025_04_53_02_469324_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d3bb268b43d26465fb536162f6452db7.jpg","text":"TemporaryFile(/tmp/multipartBody6716067630883097938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735876470152,"filename":"image_03012025_04_52_02_862577_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325683055","file1":"1325683051","file0":"1325683048"},"map_files_photo_id_array":[{"photo_id":"1325683055","filename":"file2"},{"photo_id":"1325683051","filename":"file1"},{"photo_id":"1325683048","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325683051":["hashtag1","hashtag2"]},{"1325683055":["hashtag1","hashtag2"]},{"1325683048":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325683051, 1325683055, 1325683048)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.46460771560669 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 04:54:02.534346
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 04:54:22.060959
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/04/53/image_03012025_04_53_02_469324_0002.jpg', '/home/pi/Desktop/images/03012025/04/54/image_03012025_04_54_02_991792_0000.jpg', '/home/pi/Desktop/images/03012025/04/54/image_03012025_04_54_02_991792_0001.jpg', '/home/pi/Desktop/images/03012025/04/54/image_03012025_04_54_02_991792_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/04/53/image_03012025_04_53_02_469324_0002.jpg
/home/pi/Desktop/images/03012025/04/54/image_03012025_04_54_02_991792_0000.jpg
/home/pi/Desktop/images/03012025/04/54/image_03012025_04_54_02_991792_0001.jpg
/home/pi/Desktop/images/03012025/04/54/image_03012025_04_54_02_991792_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325683070","1325683064","1325683073","1325683067"],"photo_ids_order":["1325683064","1325683067","1325683070","1325683073"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/91a0bca99d10136bc6445baeaa1a9364.jpg","text":"TemporaryFile(/tmp/multipartBody8486978907779533605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735876531830,"filename":"image_03012025_04_54_02_991792_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f8c0aec346d1125651661b5678e5ba92.jpg","text":"TemporaryFile(/tmp/multipartBody5663362722979073997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735876531830,"filename":"image_03012025_04_53_02_469324_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9360d47886b117e037ff73f0947bea6b.jpg","text":"TemporaryFile(/tmp/multipartBody1566283133898305734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735876531830,"filename":"image_03012025_04_54_02_991792_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8fa205b6595457d1c31a1dbb987c9f51.jpg","text":"TemporaryFile(/tmp/multipartBody3305372126247609536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735876531830,"filename":"image_03012025_04_54_02_991792_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325683070","file1":"1325683067","file0":"1325683064","file3":"1325683073"},"map_files_photo_id_array":[{"photo_id":"1325683070","filename":"file2"},{"photo_id":"1325683067","filename":"file1"},{"photo_id":"1325683064","filename":"file0"},{"photo_id":"1325683073","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325683070":["hashtag1","hashtag2"]},{"1325683064":["hashtag1","hashtag2"]},{"1325683073":["hashtag1","hashtag2"]},{"1325683067":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325683070, 1325683064, 1325683073, 1325683067)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.510875940322876 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 04:55:03.266219
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 04:55:22.575970
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/04/54/image_03012025_04_54_02_991792_0003.jpg', '/home/pi/Desktop/images/03012025/04/55/image_03012025_04_55_02_495752_0000.jpg', '/home/pi/Desktop/images/03012025/04/55/image_03012025_04_55_02_495752_0001.jpg', '/home/pi/Desktop/images/03012025/04/55/image_03012025_04_55_02_495752_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/04/54/image_03012025_04_54_02_991792_0003.jpg
/home/pi/Desktop/images/03012025/04/55/image_03012025_04_55_02_495752_0000.jpg
/home/pi/Desktop/images/03012025/04/55/image_03012025_04_55_02_495752_0001.jpg
/home/pi/Desktop/images/03012025/04/55/image_03012025_04_55_02_495752_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325683091","1325683085","1325683118","1325683087"],"photo_ids_order":["1325683085","1325683087","1325683091","1325683118"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/dd973ba33f87b62f55fcaea9c972ec13.jpg","text":"TemporaryFile(/tmp/multipartBody7095001420512295378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735876592359,"filename":"image_03012025_04_55_02_495752_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1a88241ce1131f4c82b7de3e77cb8ea1.jpg","text":"TemporaryFile(/tmp/multipartBody4016896373775552283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735876592359,"filename":"image_03012025_04_54_02_991792_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/89a8758218a5cab56e6f72556127796b.jpg","text":"TemporaryFile(/tmp/multipartBody6797178358656072671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735876592359,"filename":"image_03012025_04_55_02_495752_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3403f0d2ef275bc2ec5466f739b6c3ad.jpg","text":"TemporaryFile(/tmp/multipartBody1321922116978086820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735876592359,"filename":"image_03012025_04_55_02_495752_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325683091","file1":"1325683087","file0":"1325683085","file3":"1325683118"},"map_files_photo_id_array":[{"photo_id":"1325683091","filename":"file2"},{"photo_id":"1325683087","filename":"file1"},{"photo_id":"1325683085","filename":"file0"},{"photo_id":"1325683118","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325683091":["hashtag1","hashtag2"]},{"1325683085":["hashtag1","hashtag2"]},{"1325683118":["hashtag1","hashtag2"]},{"1325683087":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325683091, 1325683085, 1325683118, 1325683087)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.56247091293335 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 04:56:02.700181
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 04:56:22.274260
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/04/55/image_03012025_04_55_02_495752_0003.jpg', '/home/pi/Desktop/images/03012025/04/56/image_03012025_04_56_03_007315_0000.jpg', '/home/pi/Desktop/images/03012025/04/56/image_03012025_04_56_03_007315_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/04/55/image_03012025_04_55_02_495752_0003.jpg
/home/pi/Desktop/images/03012025/04/56/image_03012025_04_56_03_007315_0000.jpg
/home/pi/Desktop/images/03012025/04/56/image_03012025_04_56_03_007315_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.115858793258667 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 04:57:02.381155
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/04/55/image_03012025_04_55_02_495752_0003.jpg', '/home/pi/Desktop/images/03012025/04/56/image_03012025_04_56_03_007315_0000.jpg', '/home/pi/Desktop/images/03012025/04/56/image_03012025_04_56_03_007315_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/04/55/image_03012025_04_55_02_495752_0003.jpg
/home/pi/Desktop/images/03012025/04/56/image_03012025_04_56_03_007315_0000.jpg
/home/pi/Desktop/images/03012025/04/56/image_03012025_04_56_03_007315_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325684034","1325684030","1325683955"],"photo_ids_order":["1325683955","1325684030","1325684034"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f888c92dc4b696afc472a68aabd88a11.jpg","text":"TemporaryFile(/tmp/multipartBody340696582427457620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735876689976,"filename":"image_03012025_04_56_03_007315_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/db4bcfee03e9ee9acbf68dccfcbae279.jpg","text":"TemporaryFile(/tmp/multipartBody190609575184960197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735876689976,"filename":"image_03012025_04_56_03_007315_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b01509b0278806f9db416bd4405f64d9.jpg","text":"TemporaryFile(/tmp/multipartBody7596523688592869438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735876689976,"filename":"image_03012025_04_55_02_495752_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325684034","file1":"1325684030","file0":"1325683955"},"map_files_photo_id_array":[{"photo_id":"1325684034","filename":"file2"},{"photo_id":"1325684030","filename":"file1"},{"photo_id":"1325683955","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325684034":["hashtag1","hashtag2"]},{"1325684030":["hashtag1","hashtag2"]},{"1325683955":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325684034, 1325684030, 1325683955)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.326820850372314 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 04:59:03.014122
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/04/56/image_03012025_04_56_03_007315_0003.jpg', '/home/pi/Desktop/images/03012025/04/57/image_03012025_04_57_02_642297_0000.jpg', '/home/pi/Desktop/images/03012025/04/57/image_03012025_04_57_02_642297_0001.jpg', '/home/pi/Desktop/images/03012025/04/57/image_03012025_04_57_02_642297_0002.jpg', '/home/pi/Desktop/images/03012025/04/57/image_03012025_04_57_02_642297_0003.jpg', '/home/pi/Desktop/images/03012025/04/58/image_03012025_04_58_02_079330_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/04/56/image_03012025_04_56_03_007315_0003.jpg
/home/pi/Desktop/images/03012025/04/57/image_03012025_04_57_02_642297_0000.jpg
/home/pi/Desktop/images/03012025/04/57/image_03012025_04_57_02_642297_0001.jpg
/home/pi/Desktop/images/03012025/04/57/image_03012025_04_57_02_642297_0002.jpg
/home/pi/Desktop/images/03012025/04/57/image_03012025_04_57_02_642297_0003.jpg
/home/pi/Desktop/images/03012025/04/58/image_03012025_04_58_02_079330_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325684169","1325684148","1325684165","1325684167","1325684161","1325684155"],"photo_ids_order":["1325684148","1325684155","1325684161","1325684165","1325684167","1325684169"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c2f400a79eaa8070519ae9162a21ddc5.jpg","text":"TemporaryFile(/tmp/multipartBody365923558787868817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735876817482,"filename":"image_03012025_04_58_02_079330_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0a3edcf07a652b6daf915b63f93099d4.jpg","text":"TemporaryFile(/tmp/multipartBody4686976897618155805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735876817482,"filename":"image_03012025_04_56_03_007315_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/bf33f57aa5f07bce3bf4a8e6bba6bf45.jpg","text":"TemporaryFile(/tmp/multipartBody1788515649753817983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735876817482,"filename":"image_03012025_04_57_02_642297_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6784fe10e4d69b2d8642f69fcbccf5c9.jpg","text":"TemporaryFile(/tmp/multipartBody7271350303586079408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735876817482,"filename":"image_03012025_04_57_02_642297_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a6865eb6d64ab6b3fa1da46a8ef02629.jpg","text":"TemporaryFile(/tmp/multipartBody3222610622715482810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735876817482,"filename":"image_03012025_04_57_02_642297_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/309c04b059d03bbfc1f09f54c922db96.jpg","text":"TemporaryFile(/tmp/multipartBody7190782775882183182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735876817482,"filename":"image_03012025_04_57_02_642297_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325684161","file1":"1325684155","file0":"1325684148","file4":"1325684167","file5":"1325684169","file3":"1325684165"},"map_files_photo_id_array":[{"photo_id":"1325684169","filename":"file5"},{"photo_id":"1325684161","filename":"file2"},{"photo_id":"1325684167","filename":"file4"},{"photo_id":"1325684155","filename":"file1"},{"photo_id":"1325684148","filename":"file0"},{"photo_id":"1325684165","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325684169":["hashtag1","hashtag2"]},{"1325684148":["hashtag1","hashtag2"]},{"1325684165":["hashtag1","hashtag2"]},{"1325684167":["hashtag1","hashtag2"]},{"1325684161":["hashtag1","hashtag2"]},{"1325684155":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325684169, 1325684148, 1325684165, 1325684167, 1325684161, 1325684155)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.93917179107666 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 05:00:02.420770
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/04/58/image_03012025_04_58_02_079330_0003.jpg', '/home/pi/Desktop/images/03012025/04/59/image_03012025_04_59_02_650536_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/04/58/image_03012025_04_58_02_079330_0003.jpg
/home/pi/Desktop/images/03012025/04/59/image_03012025_04_59_02_650536_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325684178","1325684180"],"photo_ids_order":["1325684178","1325684180"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a2db808d389e7e50ba4158291d8f8119.jpg","text":"TemporaryFile(/tmp/multipartBody9169562321025954484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735876867753,"filename":"image_03012025_04_58_02_079330_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/65d42d062abe8836d81bf12e3036d759.jpg","text":"TemporaryFile(/tmp/multipartBody5524476581928302043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735876867753,"filename":"image_03012025_04_59_02_650536_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1325684180","file0":"1325684178"},"map_files_photo_id_array":[{"photo_id":"1325684180","filename":"file1"},{"photo_id":"1325684178","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325684178":["hashtag1","hashtag2"]},{"1325684180":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325684178, 1325684180)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.794236660003662 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 05:01:03.035651
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/04/59/image_03012025_04_59_02_650536_0003.jpg', '/home/pi/Desktop/images/03012025/05/00/image_03012025_05_00_02_765928_0000.jpg', '/home/pi/Desktop/images/03012025/05/00/image_03012025_05_00_02_765928_0001.jpg', '/home/pi/Desktop/images/03012025/05/00/image_03012025_05_00_02_765928_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/04/59/image_03012025_04_59_02_650536_0003.jpg
/home/pi/Desktop/images/03012025/05/00/image_03012025_05_00_02_765928_0000.jpg
/home/pi/Desktop/images/03012025/05/00/image_03012025_05_00_02_765928_0001.jpg
/home/pi/Desktop/images/03012025/05/00/image_03012025_05_00_02_765928_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325684203","1325684201","1325684210","1325684207"],"photo_ids_order":["1325684201","1325684203","1325684207","1325684210"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3f47f6fa6f81f0e153838c4c034ca022.jpg","text":"TemporaryFile(/tmp/multipartBody3198412916891003098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735876932918,"filename":"image_03012025_05_00_02_765928_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/860d9dffe5c1661f4943a50ed830a320.jpg","text":"TemporaryFile(/tmp/multipartBody4335871797621952420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735876932918,"filename":"image_03012025_04_59_02_650536_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4f6571963e9aa1ea36c9dcde6ed26784.jpg","text":"TemporaryFile(/tmp/multipartBody7102041009732242728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735876932918,"filename":"image_03012025_05_00_02_765928_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/62e956be0c97047b21847d4442c9ae43.jpg","text":"TemporaryFile(/tmp/multipartBody8245261759223833821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735876932918,"filename":"image_03012025_05_00_02_765928_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325684207","file1":"1325684203","file0":"1325684201","file3":"1325684210"},"map_files_photo_id_array":[{"photo_id":"1325684207","filename":"file2"},{"photo_id":"1325684203","filename":"file1"},{"photo_id":"1325684201","filename":"file0"},{"photo_id":"1325684210","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325684203":["hashtag1","hashtag2"]},{"1325684201":["hashtag1","hashtag2"]},{"1325684210":["hashtag1","hashtag2"]},{"1325684207":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325684203, 1325684201, 1325684210, 1325684207)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.51478171348572 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 05:02:02.564541
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/05/00/image_03012025_05_00_02_765928_0003.jpg', '/home/pi/Desktop/images/03012025/05/01/image_03012025_05_01_02_316821_0000.jpg', '/home/pi/Desktop/images/03012025/05/01/image_03012025_05_01_02_316821_0001.jpg', '/home/pi/Desktop/images/03012025/05/01/image_03012025_05_01_02_316821_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/05/00/image_03012025_05_00_02_765928_0003.jpg
/home/pi/Desktop/images/03012025/05/01/image_03012025_05_01_02_316821_0000.jpg
/home/pi/Desktop/images/03012025/05/01/image_03012025_05_01_02_316821_0001.jpg
/home/pi/Desktop/images/03012025/05/01/image_03012025_05_01_02_316821_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325684223","1325684226","1325684229","1325684234"],"photo_ids_order":["1325684223","1325684226","1325684229","1325684234"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/71c87a2322583f07d23d1b055d34f497.jpg","text":"TemporaryFile(/tmp/multipartBody2300266315532653925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735876992377,"filename":"image_03012025_05_00_02_765928_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/be5b74ae44abc6e8653b99e3a1c7791e.jpg","text":"TemporaryFile(/tmp/multipartBody4243705106658786833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735876992377,"filename":"image_03012025_05_01_02_316821_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1a485bc82046144a2b371c6b64abe412.jpg","text":"TemporaryFile(/tmp/multipartBody6399449124057142143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735876992377,"filename":"image_03012025_05_01_02_316821_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/84a36e9b3d324759766df933f8ef48ca.jpg","text":"TemporaryFile(/tmp/multipartBody4206019461203610156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735876992377,"filename":"image_03012025_05_01_02_316821_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325684229","file1":"1325684226","file0":"1325684223","file3":"1325684234"},"map_files_photo_id_array":[{"photo_id":"1325684229","filename":"file2"},{"photo_id":"1325684226","filename":"file1"},{"photo_id":"1325684223","filename":"file0"},{"photo_id":"1325684234","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325684223":["hashtag1","hashtag2"]},{"1325684226":["hashtag1","hashtag2"]},{"1325684229":["hashtag1","hashtag2"]},{"1325684234":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325684223, 1325684226, 1325684229, 1325684234)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.80983018875122 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 05:03:03.286985
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/05/01/image_03012025_05_01_02_316821_0003.jpg', '/home/pi/Desktop/images/03012025/05/02/image_03012025_05_02_02_810075_0000.jpg', '/home/pi/Desktop/images/03012025/05/02/image_03012025_05_02_02_810075_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/05/01/image_03012025_05_01_02_316821_0003.jpg
/home/pi/Desktop/images/03012025/05/02/image_03012025_05_02_02_810075_0000.jpg
/home/pi/Desktop/images/03012025/05/02/image_03012025_05_02_02_810075_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325684249","1325684251","1325684254"],"photo_ids_order":["1325684249","1325684251","1325684254"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d62807b378959d58e06842f3e19b4ac0.jpg","text":"TemporaryFile(/tmp/multipartBody7201465139445427421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735877050888,"filename":"image_03012025_05_01_02_316821_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c118a0bc023c62f6c5d2915fb3b261af.jpg","text":"TemporaryFile(/tmp/multipartBody1385987904077709379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735877050888,"filename":"image_03012025_05_02_02_810075_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a7149467be9c6d8872ff944997eda15c.jpg","text":"TemporaryFile(/tmp/multipartBody4640418833793624758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735877050888,"filename":"image_03012025_05_02_02_810075_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325684254","file1":"1325684251","file0":"1325684249"},"map_files_photo_id_array":[{"photo_id":"1325684254","filename":"file2"},{"photo_id":"1325684251","filename":"file1"},{"photo_id":"1325684249","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325684249":["hashtag1","hashtag2"]},{"1325684251":["hashtag1","hashtag2"]},{"1325684254":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325684249, 1325684251, 1325684254)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.56653642654419 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 05:04:02.563073
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/05/02/image_03012025_05_02_02_810075_0003.jpg', '/home/pi/Desktop/images/03012025/05/03/image_03012025_05_03_02_410584_0001.jpg', '/home/pi/Desktop/images/03012025/05/03/image_03012025_05_03_02_410584_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/05/02/image_03012025_05_02_02_810075_0003.jpg
/home/pi/Desktop/images/03012025/05/03/image_03012025_05_03_02_410584_0001.jpg
/home/pi/Desktop/images/03012025/05/03/image_03012025_05_03_02_410584_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.2838404178619385 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 05:04:22.185520
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/05/02/image_03012025_05_02_02_810075_0003.jpg', '/home/pi/Desktop/images/03012025/05/03/image_03012025_05_03_02_410584_0001.jpg', '/home/pi/Desktop/images/03012025/05/03/image_03012025_05_03_02_410584_0002.jpg', '/home/pi/Desktop/images/03012025/05/03/image_03012025_05_03_02_410584_0003.jpg', '/home/pi/Desktop/images/03012025/05/04/image_03012025_05_04_02_948920_0000.jpg', '/home/pi/Desktop/images/03012025/05/04/image_03012025_05_04_02_948920_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/05/02/image_03012025_05_02_02_810075_0003.jpg
/home/pi/Desktop/images/03012025/05/03/image_03012025_05_03_02_410584_0001.jpg
/home/pi/Desktop/images/03012025/05/03/image_03012025_05_03_02_410584_0002.jpg
/home/pi/Desktop/images/03012025/05/03/image_03012025_05_03_02_410584_0003.jpg
/home/pi/Desktop/images/03012025/05/04/image_03012025_05_04_02_948920_0000.jpg
/home/pi/Desktop/images/03012025/05/04/image_03012025_05_04_02_948920_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325684373","1325684280","1325684283","1325684277","1325684285","1325684323"],"photo_ids_order":["1325684277","1325684280","1325684283","1325684285","1325684323","1325684373"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/bbe8ab23f3a76ccab08d43768c76310a.jpg","text":"TemporaryFile(/tmp/multipartBody8366761174858052457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735877136878,"filename":"image_03012025_05_04_02_948920_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0cc244e47d18fd19932728d76f0f5fb3.jpg","text":"TemporaryFile(/tmp/multipartBody1178780239131073923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735877136878,"filename":"image_03012025_05_03_02_410584_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c35b184ef97e60e9fcc72d3a5bbfd1fa.jpg","text":"TemporaryFile(/tmp/multipartBody4407352131641441057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735877136878,"filename":"image_03012025_05_03_02_410584_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6689b69998701a232018d070d60efcb4.jpg","text":"TemporaryFile(/tmp/multipartBody3950114428495140157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735877136878,"filename":"image_03012025_05_02_02_810075_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ef645df23b4000961ca733edc78dceb8.jpg","text":"TemporaryFile(/tmp/multipartBody1375867758970354301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735877136878,"filename":"image_03012025_05_03_02_410584_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/88f2c6ca4cef0f6611c9116cac963b30.jpg","text":"TemporaryFile(/tmp/multipartBody3729498850073443626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735877136878,"filename":"image_03012025_05_04_02_948920_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325684283","file1":"1325684280","file0":"1325684277","file4":"1325684323","file5":"1325684373","file3":"1325684285"},"map_files_photo_id_array":[{"photo_id":"1325684373","filename":"file5"},{"photo_id":"1325684283","filename":"file2"},{"photo_id":"1325684323","filename":"file4"},{"photo_id":"1325684280","filename":"file1"},{"photo_id":"1325684277","filename":"file0"},{"photo_id":"1325684285","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325684373":["hashtag1","hashtag2"]},{"1325684280":["hashtag1","hashtag2"]},{"1325684283":["hashtag1","hashtag2"]},{"1325684277":["hashtag1","hashtag2"]},{"1325684285":["hashtag1","hashtag2"]},{"1325684323":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325684373, 1325684280, 1325684283, 1325684277, 1325684285, 1325684323)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.09013056755066 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 05:05:22.593710
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/05/04/image_03012025_05_04_02_948920_0002.jpg', '/home/pi/Desktop/images/03012025/05/04/image_03012025_05_04_02_948920_0003.jpg', '/home/pi/Desktop/images/03012025/05/05/image_03012025_05_05_02_539432_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/05/04/image_03012025_05_04_02_948920_0002.jpg
/home/pi/Desktop/images/03012025/05/04/image_03012025_05_04_02_948920_0003.jpg
/home/pi/Desktop/images/03012025/05/05/image_03012025_05_05_02_539432_0000.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325684455","1325684458","1325684452"],"photo_ids_order":["1325684452","1325684455","1325684458"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3815821da197d15601477c5a5869117d.jpg","text":"TemporaryFile(/tmp/multipartBody3155695177826628450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735877190387,"filename":"image_03012025_05_04_02_948920_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b8c5629a458a1151940231251f3457b7.jpg","text":"TemporaryFile(/tmp/multipartBody2070479145696539956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735877190387,"filename":"image_03012025_05_05_02_539432_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b444fe4d4c91eef4d1f7035c80aac0da.jpg","text":"TemporaryFile(/tmp/multipartBody7549599027588274202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735877190387,"filename":"image_03012025_05_04_02_948920_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325684458","file1":"1325684455","file0":"1325684452"},"map_files_photo_id_array":[{"photo_id":"1325684458","filename":"file2"},{"photo_id":"1325684455","filename":"file1"},{"photo_id":"1325684452","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325684455":["hashtag1","hashtag2"]},{"1325684458":["hashtag1","hashtag2"]},{"1325684452":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325684455, 1325684458, 1325684452)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.36887764930725 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 05:06:02.601862
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 05:06:22.088487
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/05/05/image_03012025_05_05_02_539432_0001.jpg', '/home/pi/Desktop/images/03012025/05/06/image_03012025_05_06_03_003600_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/05/05/image_03012025_05_05_02_539432_0001.jpg
/home/pi/Desktop/images/03012025/05/06/image_03012025_05_06_03_003600_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.842525959014893 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 05:07:03.166025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/05/05/image_03012025_05_05_02_539432_0001.jpg', '/home/pi/Desktop/images/03012025/05/06/image_03012025_05_06_03_003600_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/05/05/image_03012025_05_05_02_539432_0001.jpg
/home/pi/Desktop/images/03012025/05/06/image_03012025_05_06_03_003600_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325684684","1325684683"],"photo_ids_order":["1325684683","1325684684"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2ea07ee03ade9af632a07e185759ed4b.jpg","text":"TemporaryFile(/tmp/multipartBody6562398588435425594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735877288470,"filename":"image_03012025_05_06_03_003600_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/53d44e5f69f746bcb73109b927482974.jpg","text":"TemporaryFile(/tmp/multipartBody2097130331219068913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735877288470,"filename":"image_03012025_05_05_02_539432_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1325684684","file0":"1325684683"},"map_files_photo_id_array":[{"photo_id":"1325684684","filename":"file1"},{"photo_id":"1325684683","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325684684":["hashtag1","hashtag2"]},{"1325684683":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325684684, 1325684683)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 29.586219549179077 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 05:08:02.747273
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/05/06/image_03012025_05_06_03_003600_0003.jpg', '/home/pi/Desktop/images/03012025/05/07/image_03012025_05_07_02_471819_0000.jpg', '/home/pi/Desktop/images/03012025/05/07/image_03012025_05_07_02_471819_0001.jpg', '/home/pi/Desktop/images/03012025/05/07/image_03012025_05_07_02_471819_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/05/06/image_03012025_05_06_03_003600_0003.jpg
/home/pi/Desktop/images/03012025/05/07/image_03012025_05_07_02_471819_0000.jpg
/home/pi/Desktop/images/03012025/05/07/image_03012025_05_07_02_471819_0001.jpg
/home/pi/Desktop/images/03012025/05/07/image_03012025_05_07_02_471819_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325684697","1325684700","1325684698","1325684702"],"photo_ids_order":["1325684697","1325684698","1325684700","1325684702"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f48c2b2fe4f9a4e1dfb0145e216174e5.jpg","text":"TemporaryFile(/tmp/multipartBody355018883917755747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735877352788,"filename":"image_03012025_05_06_03_003600_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ee4e7cfb0561dc52c05f74d9e5d18d15.jpg","text":"TemporaryFile(/tmp/multipartBody1913064993717963292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735877352788,"filename":"image_03012025_05_07_02_471819_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/cb98c7031b375e0adf83c7a125e6fa7e.jpg","text":"TemporaryFile(/tmp/multipartBody5727190996722133954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735877352788,"filename":"image_03012025_05_07_02_471819_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0a045422b4278b9c605eb513d3321bd4.jpg","text":"TemporaryFile(/tmp/multipartBody6538638561791230834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735877352788,"filename":"image_03012025_05_07_02_471819_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325684700","file1":"1325684698","file0":"1325684697","file3":"1325684702"},"map_files_photo_id_array":[{"photo_id":"1325684700","filename":"file2"},{"photo_id":"1325684698","filename":"file1"},{"photo_id":"1325684697","filename":"file0"},{"photo_id":"1325684702","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325684697":["hashtag1","hashtag2"]},{"1325684700":["hashtag1","hashtag2"]},{"1325684698":["hashtag1","hashtag2"]},{"1325684702":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325684697, 1325684700, 1325684698, 1325684702)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.320260524749756 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 05:09:02.370808
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/05/07/image_03012025_05_07_02_471819_0003.jpg', '/home/pi/Desktop/images/03012025/05/08/image_03012025_05_08_02_982917_0000.jpg', '/home/pi/Desktop/images/03012025/05/08/image_03012025_05_08_02_982917_0001.jpg', '/home/pi/Desktop/images/03012025/05/08/image_03012025_05_08_02_982917_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/05/07/image_03012025_05_07_02_471819_0003.jpg
/home/pi/Desktop/images/03012025/05/08/image_03012025_05_08_02_982917_0000.jpg
/home/pi/Desktop/images/03012025/05/08/image_03012025_05_08_02_982917_0001.jpg
/home/pi/Desktop/images/03012025/05/08/image_03012025_05_08_02_982917_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325684870","1325684852","1325684801","1325684800"],"photo_ids_order":["1325684800","1325684801","1325684852","1325684870"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/dedf3a9b849600688293b22c408c62ac.jpg","text":"TemporaryFile(/tmp/multipartBody9045980603007923591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735877412624,"filename":"image_03012025_05_08_02_982917_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/dd6b6acc26cef07e52288d7e9a75e2d9.jpg","text":"TemporaryFile(/tmp/multipartBody1157178567423731269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735877412624,"filename":"image_03012025_05_08_02_982917_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/020bfa40b8359a7ce3dfe10595adb840.jpg","text":"TemporaryFile(/tmp/multipartBody6536455335111429453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735877412624,"filename":"image_03012025_05_08_02_982917_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c361981e93e1bb32cb4e8d97d2849796.jpg","text":"TemporaryFile(/tmp/multipartBody1242484383541805077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735877412624,"filename":"image_03012025_05_07_02_471819_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325684852","file1":"1325684801","file0":"1325684800","file3":"1325684870"},"map_files_photo_id_array":[{"photo_id":"1325684852","filename":"file2"},{"photo_id":"1325684801","filename":"file1"},{"photo_id":"1325684800","filename":"file0"},{"photo_id":"1325684870","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325684870":["hashtag1","hashtag2"]},{"1325684852":["hashtag1","hashtag2"]},{"1325684801":["hashtag1","hashtag2"]},{"1325684800":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325684870, 1325684852, 1325684801, 1325684800)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.743377923965454 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 05:10:03.011035
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/05/08/image_03012025_05_08_02_982917_0003.jpg', '/home/pi/Desktop/images/03012025/05/09/image_03012025_05_09_02_664255_0000.jpg', '/home/pi/Desktop/images/03012025/05/09/image_03012025_05_09_02_664255_0001.jpg', '/home/pi/Desktop/images/03012025/05/09/image_03012025_05_09_02_664255_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/05/08/image_03012025_05_08_02_982917_0003.jpg
/home/pi/Desktop/images/03012025/05/09/image_03012025_05_09_02_664255_0000.jpg
/home/pi/Desktop/images/03012025/05/09/image_03012025_05_09_02_664255_0001.jpg
/home/pi/Desktop/images/03012025/05/09/image_03012025_05_09_02_664255_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325685623","1325685524","1325685561","1325685456"],"photo_ids_order":["1325685456","1325685524","1325685561","1325685623"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/367772bf31a7ac5c06322bca5cc319d4.jpg","text":"TemporaryFile(/tmp/multipartBody957599864336468159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735877473087,"filename":"image_03012025_05_09_02_664255_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/bb3affeaa9724d82fe1fa5d90f28fdf3.jpg","text":"TemporaryFile(/tmp/multipartBody8634371977713110236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735877473087,"filename":"image_03012025_05_09_02_664255_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/208eab80cde14f43d81cb70c06eb2d85.jpg","text":"TemporaryFile(/tmp/multipartBody845959662607418124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735877473087,"filename":"image_03012025_05_09_02_664255_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f5e81eec7fcd6e0ac06e9395d7c2b81e.jpg","text":"TemporaryFile(/tmp/multipartBody3015493952133420188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735877473087,"filename":"image_03012025_05_08_02_982917_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325685561","file1":"1325685524","file0":"1325685456","file3":"1325685623"},"map_files_photo_id_array":[{"photo_id":"1325685561","filename":"file2"},{"photo_id":"1325685524","filename":"file1"},{"photo_id":"1325685456","filename":"file0"},{"photo_id":"1325685623","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325685623":["hashtag1","hashtag2"]},{"1325685524":["hashtag1","hashtag2"]},{"1325685561":["hashtag1","hashtag2"]},{"1325685456":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325685623, 1325685524, 1325685561, 1325685456)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.32339644432068 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 05:11:02.667949
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/05/09/image_03012025_05_09_02_664255_0003.jpg', '/home/pi/Desktop/images/03012025/05/10/image_03012025_05_10_02_112856_0000.jpg', '/home/pi/Desktop/images/03012025/05/10/image_03012025_05_10_02_112856_0001.jpg', '/home/pi/Desktop/images/03012025/05/10/image_03012025_05_10_02_112856_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/05/09/image_03012025_05_09_02_664255_0003.jpg
/home/pi/Desktop/images/03012025/05/10/image_03012025_05_10_02_112856_0000.jpg
/home/pi/Desktop/images/03012025/05/10/image_03012025_05_10_02_112856_0001.jpg
/home/pi/Desktop/images/03012025/05/10/image_03012025_05_10_02_112856_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.980384588241577 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 05:11:21.974449
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/05/09/image_03012025_05_09_02_664255_0003.jpg', '/home/pi/Desktop/images/03012025/05/10/image_03012025_05_10_02_112856_0000.jpg', '/home/pi/Desktop/images/03012025/05/10/image_03012025_05_10_02_112856_0001.jpg', '/home/pi/Desktop/images/03012025/05/10/image_03012025_05_10_02_112856_0002.jpg', '/home/pi/Desktop/images/03012025/05/10/image_03012025_05_10_02_112856_0003.jpg', '/home/pi/Desktop/images/03012025/05/11/image_03012025_05_11_02_890248_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/05/09/image_03012025_05_09_02_664255_0003.jpg
/home/pi/Desktop/images/03012025/05/10/image_03012025_05_10_02_112856_0000.jpg
/home/pi/Desktop/images/03012025/05/10/image_03012025_05_10_02_112856_0001.jpg
/home/pi/Desktop/images/03012025/05/10/image_03012025_05_10_02_112856_0002.jpg
/home/pi/Desktop/images/03012025/05/10/image_03012025_05_10_02_112856_0003.jpg
/home/pi/Desktop/images/03012025/05/11/image_03012025_05_11_02_890248_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325686571","1325686399","1325686567","1325686261","1325686569","1325686365"],"photo_ids_order":["1325686261","1325686365","1325686399","1325686567","1325686569","1325686571"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/17b10a0b7585192074e7400a3927d788.jpg","text":"TemporaryFile(/tmp/multipartBody2988572090392458974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735877557126,"filename":"image_03012025_05_11_02_890248_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/eeb247460624edadce7747e9838ad515.jpg","text":"TemporaryFile(/tmp/multipartBody4302585105348250865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735877557126,"filename":"image_03012025_05_10_02_112856_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5f4476a0b989ef93805244e96da56124.jpg","text":"TemporaryFile(/tmp/multipartBody6685440574694842109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735877557126,"filename":"image_03012025_05_10_02_112856_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/46f6ed8a411ed2f68b73944e72749a9a.jpg","text":"TemporaryFile(/tmp/multipartBody3860097575785471245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735877557126,"filename":"image_03012025_05_09_02_664255_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1527f87bd32c3ffe4c3c36f6a1e1c986.jpg","text":"TemporaryFile(/tmp/multipartBody5962915787919503113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735877557126,"filename":"image_03012025_05_10_02_112856_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/97ce21fcfe2e4e38aeca4a4432acbae9.jpg","text":"TemporaryFile(/tmp/multipartBody9190701369103154401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735877557126,"filename":"image_03012025_05_10_02_112856_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325686399","file1":"1325686365","file0":"1325686261","file4":"1325686569","file5":"1325686571","file3":"1325686567"},"map_files_photo_id_array":[{"photo_id":"1325686571","filename":"file5"},{"photo_id":"1325686399","filename":"file2"},{"photo_id":"1325686569","filename":"file4"},{"photo_id":"1325686365","filename":"file1"},{"photo_id":"1325686261","filename":"file0"},{"photo_id":"1325686567","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325686571":["hashtag1","hashtag2"]},{"1325686399":["hashtag1","hashtag2"]},{"1325686567":["hashtag1","hashtag2"]},{"1325686261":["hashtag1","hashtag2"]},{"1325686569":["hashtag1","hashtag2"]},{"1325686365":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325686571, 1325686399, 1325686567, 1325686261, 1325686569, 1325686365)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.11586332321167 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 05:12:22.720810
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/05/11/image_03012025_05_11_02_890248_0001.jpg', '/home/pi/Desktop/images/03012025/05/11/image_03012025_05_11_02_890248_0002.jpg', '/home/pi/Desktop/images/03012025/05/11/image_03012025_05_11_02_890248_0003.jpg', '/home/pi/Desktop/images/03012025/05/12/image_03012025_05_12_02_461318_0000.jpg', '/home/pi/Desktop/images/03012025/05/12/image_03012025_05_12_02_461318_0001.jpg', '/home/pi/Desktop/images/03012025/05/12/image_03012025_05_12_02_461318_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/05/11/image_03012025_05_11_02_890248_0001.jpg
/home/pi/Desktop/images/03012025/05/11/image_03012025_05_11_02_890248_0002.jpg
/home/pi/Desktop/images/03012025/05/11/image_03012025_05_11_02_890248_0003.jpg
/home/pi/Desktop/images/03012025/05/12/image_03012025_05_12_02_461318_0000.jpg
/home/pi/Desktop/images/03012025/05/12/image_03012025_05_12_02_461318_0001.jpg
/home/pi/Desktop/images/03012025/05/12/image_03012025_05_12_02_461318_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325687045","1325686996","1325687152","1325686960","1325687005","1325687148"],"photo_ids_order":["1325686960","1325686996","1325687005","1325687045","1325687148","1325687152"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/489a75af53e7a4c7b8abc62811a1f563.jpg","text":"TemporaryFile(/tmp/multipartBody2599670317099488172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735877617905,"filename":"image_03012025_05_12_02_461318_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c5fde4e6752d1952ac2b7441f5fbec5c.jpg","text":"TemporaryFile(/tmp/multipartBody6305640465899702822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735877617905,"filename":"image_03012025_05_11_02_890248_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a13a003f164decdad4cf1053410623c4.jpg","text":"TemporaryFile(/tmp/multipartBody8950816733650688599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735877617905,"filename":"image_03012025_05_12_02_461318_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/28dd78407b4bd17003d860a3f220ee08.jpg","text":"TemporaryFile(/tmp/multipartBody7476777512625029113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735877617905,"filename":"image_03012025_05_11_02_890248_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/590ecd5464df41468063c9462cc41878.jpg","text":"TemporaryFile(/tmp/multipartBody4887081901546812511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735877617905,"filename":"image_03012025_05_11_02_890248_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d9327161267b47adfea258a4f54242c7.jpg","text":"TemporaryFile(/tmp/multipartBody2565487070091830513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735877617905,"filename":"image_03012025_05_12_02_461318_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325687005","file1":"1325686996","file0":"1325686960","file4":"1325687148","file5":"1325687152","file3":"1325687045"},"map_files_photo_id_array":[{"photo_id":"1325687152","filename":"file5"},{"photo_id":"1325687005","filename":"file2"},{"photo_id":"1325687148","filename":"file4"},{"photo_id":"1325686996","filename":"file1"},{"photo_id":"1325686960","filename":"file0"},{"photo_id":"1325687045","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325687045":["hashtag1","hashtag2"]},{"1325686996":["hashtag1","hashtag2"]},{"1325687152":["hashtag1","hashtag2"]},{"1325686960":["hashtag1","hashtag2"]},{"1325687005":["hashtag1","hashtag2"]},{"1325687148":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325687045, 1325686996, 1325687152, 1325686960, 1325687005, 1325687148)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.36724615097046 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 05:13:22.267196
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/05/12/image_03012025_05_12_02_461318_0003.jpg', '/home/pi/Desktop/images/03012025/05/13/image_03012025_05_13_03_066567_0000.jpg', '/home/pi/Desktop/images/03012025/05/13/image_03012025_05_13_03_066567_0001.jpg', '/home/pi/Desktop/images/03012025/05/13/image_03012025_05_13_03_066567_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/05/12/image_03012025_05_12_02_461318_0003.jpg
/home/pi/Desktop/images/03012025/05/13/image_03012025_05_13_03_066567_0000.jpg
/home/pi/Desktop/images/03012025/05/13/image_03012025_05_13_03_066567_0001.jpg
/home/pi/Desktop/images/03012025/05/13/image_03012025_05_13_03_066567_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325687352","1325687355","1325687349","1325687157"],"photo_ids_order":["1325687157","1325687349","1325687352","1325687355"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7b472c43c6943e6f21a8488b4a415292.jpg","text":"TemporaryFile(/tmp/multipartBody133641175555278059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735877672627,"filename":"image_03012025_05_13_03_066567_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/129273f9e69b465b7a1447e4418047a4.jpg","text":"TemporaryFile(/tmp/multipartBody3625887603338993185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735877672627,"filename":"image_03012025_05_13_03_066567_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/95cea1d37d5847375182e57c376ba0b6.jpg","text":"TemporaryFile(/tmp/multipartBody679945747074792910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735877672627,"filename":"image_03012025_05_13_03_066567_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/bea9b0099ccf24f26dba3fe3bda6cc48.jpg","text":"TemporaryFile(/tmp/multipartBody3905189013257460074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735877672627,"filename":"image_03012025_05_12_02_461318_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325687352","file1":"1325687349","file0":"1325687157","file3":"1325687355"},"map_files_photo_id_array":[{"photo_id":"1325687352","filename":"file2"},{"photo_id":"1325687349","filename":"file1"},{"photo_id":"1325687157","filename":"file0"},{"photo_id":"1325687355","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325687352":["hashtag1","hashtag2"]},{"1325687355":["hashtag1","hashtag2"]},{"1325687349":["hashtag1","hashtag2"]},{"1325687157":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325687352, 1325687355, 1325687349, 1325687157)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.4110062122345 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 05:14:21.786117
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/05/13/image_03012025_05_13_03_066567_0003.jpg', '/home/pi/Desktop/images/03012025/05/14/image_03012025_05_14_02_674893_0000.jpg', '/home/pi/Desktop/images/03012025/05/14/image_03012025_05_14_02_674893_0001.jpg', '/home/pi/Desktop/images/03012025/05/14/image_03012025_05_14_02_674893_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/05/13/image_03012025_05_13_03_066567_0003.jpg
/home/pi/Desktop/images/03012025/05/14/image_03012025_05_14_02_674893_0000.jpg
/home/pi/Desktop/images/03012025/05/14/image_03012025_05_14_02_674893_0001.jpg
/home/pi/Desktop/images/03012025/05/14/image_03012025_05_14_02_674893_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325687698","1325687694","1325687685","1325687690"],"photo_ids_order":["1325687685","1325687690","1325687694","1325687698"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9994e1b9cf1932588ad077662f0d2c20.jpg","text":"TemporaryFile(/tmp/multipartBody6021657851310089188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735877732093,"filename":"image_03012025_05_14_02_674893_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/51a7040f1a8b49ab66216636584a4ef3.jpg","text":"TemporaryFile(/tmp/multipartBody179858444186612406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735877732093,"filename":"image_03012025_05_14_02_674893_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/008803b19b1522961fd741e499c45406.jpg","text":"TemporaryFile(/tmp/multipartBody5946462734804683959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735877732093,"filename":"image_03012025_05_13_03_066567_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f1de3cd10c7547bdb96d1a47c8519d53.jpg","text":"TemporaryFile(/tmp/multipartBody7266822278459031689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735877732093,"filename":"image_03012025_05_14_02_674893_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325687694","file1":"1325687690","file0":"1325687685","file3":"1325687698"},"map_files_photo_id_array":[{"photo_id":"1325687694","filename":"file2"},{"photo_id":"1325687690","filename":"file1"},{"photo_id":"1325687685","filename":"file0"},{"photo_id":"1325687698","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325687698":["hashtag1","hashtag2"]},{"1325687694":["hashtag1","hashtag2"]},{"1325687685":["hashtag1","hashtag2"]},{"1325687690":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325687698, 1325687694, 1325687685, 1325687690)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.892258405685425 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-03 05:15:22.287845
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/05/14/image_03012025_05_14_02_674893_0003.jpg', '/home/pi/Desktop/images/03012025/05/15/image_03012025_05_15_02_187075_0000.jpg', '/home/pi/Desktop/images/03012025/05/15/image_03012025_05_15_02_187075_0001.jpg', '/home/pi/Desktop/images/03012025/05/15/image_03012025_05_15_02_187075_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/05/14/image_03012025_05_14_02_674893_0003.jpg
/home/pi/Desktop/images/03012025/05/15/image_03012025_05_15_02_187075_0000.jpg
/home/pi/Desktop/images/03012025/05/15/image_03012025_05_15_02_187075_0001.jpg
/home/pi/Desktop/images/03012025/05/15/image_03012025_05_15_02_187075_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325687869","1325687863","1325687866","1325687833"],"photo_ids_order":["1325687833","1325687863","1325687866","1325687869"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f29ca43f86bae444f2bae61c28953b62.jpg","text":"TemporaryFile(/tmp/multipartBody806097802598888431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735877792683,"filename":"image_03012025_05_15_02_187075_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4b7fa48b634262d37d713901dc4bb597.jpg","text":"TemporaryFile(/tmp/multipartBody6389692965936803567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735877792683,"filename":"image_03012025_05_15_02_187075_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c64ba3a200cda4a7f8492d1f2e87cace.jpg","text":"TemporaryFile(/tmp/multipartBody3019886574283965301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735877792683,"filename":"image_03012025_05_15_02_187075_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/718d1a0ecea82e53971e486ee276e93b.jpg","text":"TemporaryFile(/tmp/multipartBody2498792127889536790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735877792683,"filename":"image_03012025_05_14_02_674893_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325687866","file1":"1325687863","file0":"1325687833","file3":"1325687869"},"map_files_photo_id_array":[{"photo_id":"1325687866","filename":"file2"},{"photo_id":"1325687863","filename":"file1"},{"photo_id":"1325687833","filename":"file0"},{"photo_id":"1325687869","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325687869":["hashtag1","hashtag2"]},{"1325687863":["hashtag1","hashtag2"]},{"1325687866":["hashtag1","hashtag2"]},{"1325687833":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325687869, 1325687863, 1325687866, 1325687833)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.744994163513184 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 05:16:02.269202
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 05:16:21.834334
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/05/15/image_03012025_05_15_02_187075_0003.jpg', '/home/pi/Desktop/images/03012025/05/16/image_03012025_05_16_02_711091_0000.jpg', '/home/pi/Desktop/images/03012025/05/16/image_03012025_05_16_02_711091_0001.jpg', '/home/pi/Desktop/images/03012025/05/16/image_03012025_05_16_02_711091_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/05/15/image_03012025_05_15_02_187075_0003.jpg
/home/pi/Desktop/images/03012025/05/16/image_03012025_05_16_02_711091_0000.jpg
/home/pi/Desktop/images/03012025/05/16/image_03012025_05_16_02_711091_0001.jpg
/home/pi/Desktop/images/03012025/05/16/image_03012025_05_16_02_711091_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325687875","1325687878","1325687883","1325687975"],"photo_ids_order":["1325687875","1325687878","1325687883","1325687975"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c6327cf68bd6b0ebac23a7380e099e6c.jpg","text":"TemporaryFile(/tmp/multipartBody7340874032520717672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735877852240,"filename":"image_03012025_05_15_02_187075_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/dace706b960d3c62e1ea8a8e2b45e683.jpg","text":"TemporaryFile(/tmp/multipartBody5186524060967528496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735877852240,"filename":"image_03012025_05_16_02_711091_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b0f81ee9c5d7abfdc9bec755a3f186bb.jpg","text":"TemporaryFile(/tmp/multipartBody2851323524095656949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735877852240,"filename":"image_03012025_05_16_02_711091_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b27faeaa0e223356dbebb08f18a4cc2c.jpg","text":"TemporaryFile(/tmp/multipartBody4750091172214851760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735877852240,"filename":"image_03012025_05_16_02_711091_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325687883","file1":"1325687878","file0":"1325687875","file3":"1325687975"},"map_files_photo_id_array":[{"photo_id":"1325687883","filename":"file2"},{"photo_id":"1325687878","filename":"file1"},{"photo_id":"1325687875","filename":"file0"},{"photo_id":"1325687975","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325687875":["hashtag1","hashtag2"]},{"1325687878":["hashtag1","hashtag2"]},{"1325687883":["hashtag1","hashtag2"]},{"1325687975":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325687875, 1325687878, 1325687883, 1325687975)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.90726065635681 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 05:17:22.346292
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/05/16/image_03012025_05_16_02_711091_0003.jpg', '/home/pi/Desktop/images/03012025/05/17/image_03012025_05_17_02_281922_0000.jpg', '/home/pi/Desktop/images/03012025/05/17/image_03012025_05_17_02_281922_0001.jpg', '/home/pi/Desktop/images/03012025/05/17/image_03012025_05_17_02_281922_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/05/16/image_03012025_05_16_02_711091_0003.jpg
/home/pi/Desktop/images/03012025/05/17/image_03012025_05_17_02_281922_0000.jpg
/home/pi/Desktop/images/03012025/05/17/image_03012025_05_17_02_281922_0001.jpg
/home/pi/Desktop/images/03012025/05/17/image_03012025_05_17_02_281922_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325688511","1325688505","1325688479","1325688572"],"photo_ids_order":["1325688479","1325688505","1325688511","1325688572"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3af34c288f3cde67349b4ad5f234b193.jpg","text":"TemporaryFile(/tmp/multipartBody5983776805730592083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735877912624,"filename":"image_03012025_05_17_02_281922_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/fc45c52984238e5c1829e902cc4ca9b6.jpg","text":"TemporaryFile(/tmp/multipartBody1985901430912005226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735877912624,"filename":"image_03012025_05_17_02_281922_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/984f6a0f5f65f01fccc34a65d77299a0.jpg","text":"TemporaryFile(/tmp/multipartBody5316078725606775667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735877912624,"filename":"image_03012025_05_16_02_711091_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6478c4f69b3db01d8ff7f780df3c88f7.jpg","text":"TemporaryFile(/tmp/multipartBody4392347288048013348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735877912624,"filename":"image_03012025_05_17_02_281922_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325688511","file1":"1325688505","file0":"1325688479","file3":"1325688572"},"map_files_photo_id_array":[{"photo_id":"1325688511","filename":"file2"},{"photo_id":"1325688505","filename":"file1"},{"photo_id":"1325688479","filename":"file0"},{"photo_id":"1325688572","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325688511":["hashtag1","hashtag2"]},{"1325688505":["hashtag1","hashtag2"]},{"1325688479":["hashtag1","hashtag2"]},{"1325688572":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325688511, 1325688505, 1325688479, 1325688572)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.453611612319946 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 05:18:22.066928
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/05/17/image_03012025_05_17_02_281922_0003.jpg', '/home/pi/Desktop/images/03012025/05/18/image_03012025_05_18_02_795345_0000.jpg', '/home/pi/Desktop/images/03012025/05/18/image_03012025_05_18_02_795345_0001.jpg', '/home/pi/Desktop/images/03012025/05/18/image_03012025_05_18_02_795345_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/05/17/image_03012025_05_17_02_281922_0003.jpg
/home/pi/Desktop/images/03012025/05/18/image_03012025_05_18_02_795345_0000.jpg
/home/pi/Desktop/images/03012025/05/18/image_03012025_05_18_02_795345_0001.jpg
/home/pi/Desktop/images/03012025/05/18/image_03012025_05_18_02_795345_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325689347","1325689265","1325689342","1325689351"],"photo_ids_order":["1325689265","1325689342","1325689347","1325689351"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7605d81297d9a02d24a52ba47796b1f8.jpg","text":"TemporaryFile(/tmp/multipartBody828366122850177135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735877972441,"filename":"image_03012025_05_18_02_795345_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e9bc28d2ccca37e78a5b2f7b118a44ff.jpg","text":"TemporaryFile(/tmp/multipartBody2581926700925761304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735877972441,"filename":"image_03012025_05_17_02_281922_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/bf88c376419134346df98b2176aa73c1.jpg","text":"TemporaryFile(/tmp/multipartBody4314250479180251440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735877972441,"filename":"image_03012025_05_18_02_795345_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e20ee830c2232fc77c6d1e6a203afd14.jpg","text":"TemporaryFile(/tmp/multipartBody7017453048914399910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735877972441,"filename":"image_03012025_05_18_02_795345_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325689347","file1":"1325689342","file0":"1325689265","file3":"1325689351"},"map_files_photo_id_array":[{"photo_id":"1325689347","filename":"file2"},{"photo_id":"1325689342","filename":"file1"},{"photo_id":"1325689265","filename":"file0"},{"photo_id":"1325689351","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325689347":["hashtag1","hashtag2"]},{"1325689265":["hashtag1","hashtag2"]},{"1325689342":["hashtag1","hashtag2"]},{"1325689351":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325689347, 1325689265, 1325689342, 1325689351)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.42127466201782 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 05:19:02.961470
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 05:19:22.421313
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/05/18/image_03012025_05_18_02_795345_0003.jpg', '/home/pi/Desktop/images/03012025/05/19/image_03012025_05_19_02_382574_0000.jpg', '/home/pi/Desktop/images/03012025/05/19/image_03012025_05_19_02_382574_0001.jpg', '/home/pi/Desktop/images/03012025/05/19/image_03012025_05_19_02_382574_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/05/18/image_03012025_05_18_02_795345_0003.jpg
/home/pi/Desktop/images/03012025/05/19/image_03012025_05_19_02_382574_0000.jpg
/home/pi/Desktop/images/03012025/05/19/image_03012025_05_19_02_382574_0001.jpg
/home/pi/Desktop/images/03012025/05/19/image_03012025_05_19_02_382574_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325689698","1325689701","1325689704","1325689682"],"photo_ids_order":["1325689682","1325689698","1325689701","1325689704"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/bde150cd149581778c3cf66f6f48bbd4.jpg","text":"TemporaryFile(/tmp/multipartBody5848702650305787232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735878032852,"filename":"image_03012025_05_19_02_382574_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/38fdb8a53fe6dc7a80435e4923d5c130.jpg","text":"TemporaryFile(/tmp/multipartBody8585106132999257263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735878032852,"filename":"image_03012025_05_19_02_382574_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f9f1229473f70f19634d767d84557d3f.jpg","text":"TemporaryFile(/tmp/multipartBody3038933188363641463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735878032852,"filename":"image_03012025_05_19_02_382574_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9f2fad16d9076412c1807e272ca9a8c8.jpg","text":"TemporaryFile(/tmp/multipartBody3379183525843657611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735878032852,"filename":"image_03012025_05_18_02_795345_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325689701","file1":"1325689698","file0":"1325689682","file3":"1325689704"},"map_files_photo_id_array":[{"photo_id":"1325689701","filename":"file2"},{"photo_id":"1325689698","filename":"file1"},{"photo_id":"1325689682","filename":"file0"},{"photo_id":"1325689704","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325689698":["hashtag1","hashtag2"]},{"1325689701":["hashtag1","hashtag2"]},{"1325689704":["hashtag1","hashtag2"]},{"1325689682":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325689698, 1325689701, 1325689704, 1325689682)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.72748517990112 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 05:20:22.043703
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/05/19/image_03012025_05_19_02_382574_0003.jpg', '/home/pi/Desktop/images/03012025/05/20/image_03012025_05_20_02_883783_0000.jpg', '/home/pi/Desktop/images/03012025/05/20/image_03012025_05_20_02_883783_0001.jpg', '/home/pi/Desktop/images/03012025/05/20/image_03012025_05_20_02_883783_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/05/19/image_03012025_05_19_02_382574_0003.jpg
/home/pi/Desktop/images/03012025/05/20/image_03012025_05_20_02_883783_0000.jpg
/home/pi/Desktop/images/03012025/05/20/image_03012025_05_20_02_883783_0001.jpg
/home/pi/Desktop/images/03012025/05/20/image_03012025_05_20_02_883783_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.125009536743164 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 05:21:03.178875
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/05/19/image_03012025_05_19_02_382574_0003.jpg', '/home/pi/Desktop/images/03012025/05/20/image_03012025_05_20_02_883783_0000.jpg', '/home/pi/Desktop/images/03012025/05/20/image_03012025_05_20_02_883783_0001.jpg', '/home/pi/Desktop/images/03012025/05/20/image_03012025_05_20_02_883783_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/05/19/image_03012025_05_19_02_382574_0003.jpg
/home/pi/Desktop/images/03012025/05/20/image_03012025_05_20_02_883783_0000.jpg
/home/pi/Desktop/images/03012025/05/20/image_03012025_05_20_02_883783_0001.jpg
/home/pi/Desktop/images/03012025/05/20/image_03012025_05_20_02_883783_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325690053","1325690038","1325690070","1325690072"],"photo_ids_order":["1325690038","1325690053","1325690070","1325690072"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ce6fac398565edc4df6426bf47037d90.jpg","text":"TemporaryFile(/tmp/multipartBody5804256808025883284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735878133751,"filename":"image_03012025_05_20_02_883783_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8069b91d791a19e2f590a60016d7749a.jpg","text":"TemporaryFile(/tmp/multipartBody7234131944111825333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735878133751,"filename":"image_03012025_05_19_02_382574_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a584df8ae0d0c7252b8ed333fad389c4.jpg","text":"TemporaryFile(/tmp/multipartBody3747573603918410919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735878133751,"filename":"image_03012025_05_20_02_883783_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ad22df264ec59b9f696d7667247d2564.jpg","text":"TemporaryFile(/tmp/multipartBody6914059046603797022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735878133751,"filename":"image_03012025_05_20_02_883783_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325690070","file1":"1325690053","file0":"1325690038","file3":"1325690072"},"map_files_photo_id_array":[{"photo_id":"1325690070","filename":"file2"},{"photo_id":"1325690053","filename":"file1"},{"photo_id":"1325690038","filename":"file0"},{"photo_id":"1325690072","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325690053":["hashtag1","hashtag2"]},{"1325690038":["hashtag1","hashtag2"]},{"1325690070":["hashtag1","hashtag2"]},{"1325690072":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325690053, 1325690038, 1325690070, 1325690072)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.83484935760498 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 05:22:02.700522
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/05/20/image_03012025_05_20_02_883783_0003.jpg', '/home/pi/Desktop/images/03012025/05/21/image_03012025_05_21_02_396925_0000.jpg', '/home/pi/Desktop/images/03012025/05/21/image_03012025_05_21_02_396925_0001.jpg', '/home/pi/Desktop/images/03012025/05/21/image_03012025_05_21_02_396925_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/05/20/image_03012025_05_20_02_883783_0003.jpg
/home/pi/Desktop/images/03012025/05/21/image_03012025_05_21_02_396925_0000.jpg
/home/pi/Desktop/images/03012025/05/21/image_03012025_05_21_02_396925_0001.jpg
/home/pi/Desktop/images/03012025/05/21/image_03012025_05_21_02_396925_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.915064334869385 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 05:22:22.206626
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/05/20/image_03012025_05_20_02_883783_0003.jpg', '/home/pi/Desktop/images/03012025/05/21/image_03012025_05_21_02_396925_0000.jpg', '/home/pi/Desktop/images/03012025/05/21/image_03012025_05_21_02_396925_0001.jpg', '/home/pi/Desktop/images/03012025/05/21/image_03012025_05_21_02_396925_0002.jpg', '/home/pi/Desktop/images/03012025/05/21/image_03012025_05_21_02_396925_0003.jpg', '/home/pi/Desktop/images/03012025/05/22/image_03012025_05_22_02_975191_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/05/20/image_03012025_05_20_02_883783_0003.jpg
/home/pi/Desktop/images/03012025/05/21/image_03012025_05_21_02_396925_0000.jpg
/home/pi/Desktop/images/03012025/05/21/image_03012025_05_21_02_396925_0001.jpg
/home/pi/Desktop/images/03012025/05/21/image_03012025_05_21_02_396925_0002.jpg
/home/pi/Desktop/images/03012025/05/21/image_03012025_05_21_02_396925_0003.jpg
/home/pi/Desktop/images/03012025/05/22/image_03012025_05_22_02_975191_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325690440","1325690437","1325690416","1325690433","1325690319","1325690228"],"photo_ids_order":["1325690228","1325690319","1325690416","1325690433","1325690437","1325690440"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c8ee5bf8eb0d2b5598360af04d84d81a.jpg","text":"TemporaryFile(/tmp/multipartBody7759150190491094012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735878217307,"filename":"image_03012025_05_22_02_975191_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6228329fba48e4f732cc0fb4a2e23d76.jpg","text":"TemporaryFile(/tmp/multipartBody4923593794228403748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735878217307,"filename":"image_03012025_05_21_02_396925_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c4b4efdb313f9705b6efef7f1425e9b2.jpg","text":"TemporaryFile(/tmp/multipartBody4590697675713580007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735878217307,"filename":"image_03012025_05_21_02_396925_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5707c73cd64d2cafe86f2d47381d9789.jpg","text":"TemporaryFile(/tmp/multipartBody7889084489964064951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735878217307,"filename":"image_03012025_05_21_02_396925_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/60c675e5f2514652e82366db5c168ac9.jpg","text":"TemporaryFile(/tmp/multipartBody8169715443550475941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735878217307,"filename":"image_03012025_05_21_02_396925_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/391ede07e08a00a1abe9cc5a522f8135.jpg","text":"TemporaryFile(/tmp/multipartBody6407876540364017581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735878217307,"filename":"image_03012025_05_20_02_883783_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325690416","file1":"1325690319","file0":"1325690228","file4":"1325690437","file5":"1325690440","file3":"1325690433"},"map_files_photo_id_array":[{"photo_id":"1325690440","filename":"file5"},{"photo_id":"1325690416","filename":"file2"},{"photo_id":"1325690437","filename":"file4"},{"photo_id":"1325690319","filename":"file1"},{"photo_id":"1325690228","filename":"file0"},{"photo_id":"1325690433","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325690440":["hashtag1","hashtag2"]},{"1325690437":["hashtag1","hashtag2"]},{"1325690416":["hashtag1","hashtag2"]},{"1325690433":["hashtag1","hashtag2"]},{"1325690319":["hashtag1","hashtag2"]},{"1325690228":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325690440, 1325690437, 1325690416, 1325690433, 1325690319, 1325690228)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.66535472869873 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 05:23:21.791891
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/05/22/image_03012025_05_22_02_975191_0001.jpg', '/home/pi/Desktop/images/03012025/05/22/image_03012025_05_22_02_975191_0002.jpg', '/home/pi/Desktop/images/03012025/05/22/image_03012025_05_22_02_975191_0003.jpg', '/home/pi/Desktop/images/03012025/05/23/image_03012025_05_23_02_642162_0000.jpg', '/home/pi/Desktop/images/03012025/05/23/image_03012025_05_23_02_642162_0001.jpg', '/home/pi/Desktop/images/03012025/05/23/image_03012025_05_23_02_642162_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/05/22/image_03012025_05_22_02_975191_0001.jpg
/home/pi/Desktop/images/03012025/05/22/image_03012025_05_22_02_975191_0002.jpg
/home/pi/Desktop/images/03012025/05/22/image_03012025_05_22_02_975191_0003.jpg
/home/pi/Desktop/images/03012025/05/23/image_03012025_05_23_02_642162_0000.jpg
/home/pi/Desktop/images/03012025/05/23/image_03012025_05_23_02_642162_0001.jpg
/home/pi/Desktop/images/03012025/05/23/image_03012025_05_23_02_642162_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":["1325690635","1325690979","1325690725","1325690574","1325691035","1325690558"],"photo_ids_order":["1325690558","1325690574","1325690635","1325690725","1325690979","1325691035"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/cb939e7f9289a5b3e80486196e904ebd.jpg","text":"TemporaryFile(/tmp/multipartBody6799870543916536960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735878276995,"filename":"image_03012025_05_22_02_975191_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/82de0ff94034b1cbeaa507e39c68714a.jpg","text":"TemporaryFile(/tmp/multipartBody6118527520338464452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735878276995,"filename":"image_03012025_05_23_02_642162_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6979edba222f6f1e6e635b35cc24037c.jpg","text":"TemporaryFile(/tmp/multipartBody7578935548136832496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735878276995,"filename":"image_03012025_05_23_02_642162_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ece3eee2b2962cbce41d04683df06679.jpg","text":"TemporaryFile(/tmp/multipartBody633823517019800776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735878276995,"filename":"image_03012025_05_22_02_975191_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/782e62feab583554754f4456d22675cd.jpg","text":"TemporaryFile(/tmp/multipartBody2611565277135022249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735878276995,"filename":"image_03012025_05_23_02_642162_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ad72e83871774b03b43953285a8ebd8c.jpg","text":"TemporaryFile(/tmp/multipartBody5140131330171586725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735878276995,"filename":"image_03012025_05_22_02_975191_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325690635","file1":"1325690574","file0":"1325690558","file4":"1325690979","file5":"1325691035","file3":"1325690725"},"map_files_photo_id_array":[{"photo_id":"1325691035","filename":"file5"},{"photo_id":"1325690635","filename":"file2"},{"photo_id":"1325690979","filename":"file4"},{"photo_id":"1325690574","filename":"file1"},{"photo_id":"1325690558","filename":"file0"},{"photo_id":"1325690725","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325690635":["hashtag1","hashtag2"]},{"1325690979":["hashtag1","hashtag2"]},{"1325690725":["hashtag1","hashtag2"]},{"1325690574":["hashtag1","hashtag2"]},{"1325691035":["hashtag1","hashtag2"]},{"1325690558":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325690635, 1325690979, 1325690725, 1325690574, 1325691035, 1325690558)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.66091012954712 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 05:25:02.407761
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/05/23/image_03012025_05_23_02_642162_0003.jpg', '/home/pi/Desktop/images/03012025/05/24/image_03012025_05_24_02_135105_0000.jpg', '/home/pi/Desktop/images/03012025/05/24/image_03012025_05_24_02_135105_0001.jpg', '/home/pi/Desktop/images/03012025/05/24/image_03012025_05_24_02_135105_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/05/23/image_03012025_05_23_02_642162_0003.jpg
/home/pi/Desktop/images/03012025/05/24/image_03012025_05_24_02_135105_0000.jpg
/home/pi/Desktop/images/03012025/05/24/image_03012025_05_24_02_135105_0001.jpg
/home/pi/Desktop/images/03012025/05/24/image_03012025_05_24_02_135105_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.111225366592407 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 05:25:21.748412
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/05/23/image_03012025_05_23_02_642162_0003.jpg', '/home/pi/Desktop/images/03012025/05/24/image_03012025_05_24_02_135105_0000.jpg', '/home/pi/Desktop/images/03012025/05/24/image_03012025_05_24_02_135105_0001.jpg', '/home/pi/Desktop/images/03012025/05/24/image_03012025_05_24_02_135105_0002.jpg', '/home/pi/Desktop/images/03012025/05/24/image_03012025_05_24_02_135105_0003.jpg', '/home/pi/Desktop/images/03012025/05/25/image_03012025_05_25_02_628979_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/05/23/image_03012025_05_23_02_642162_0003.jpg
/home/pi/Desktop/images/03012025/05/24/image_03012025_05_24_02_135105_0000.jpg
/home/pi/Desktop/images/03012025/05/24/image_03012025_05_24_02_135105_0001.jpg
/home/pi/Desktop/images/03012025/05/24/image_03012025_05_24_02_135105_0002.jpg
/home/pi/Desktop/images/03012025/05/24/image_03012025_05_24_02_135105_0003.jpg
/home/pi/Desktop/images/03012025/05/25/image_03012025_05_25_02_628979_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325691508","1325691498","1325691510","1325691501","1325691504","1325691506"],"photo_ids_order":["1325691498","1325691501","1325691504","1325691506","1325691508","1325691510"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/dd4165452773aded30573f620109b66a.jpg","text":"TemporaryFile(/tmp/multipartBody8334171786221923002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735878397120,"filename":"image_03012025_05_24_02_135105_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ca16c55e33237ad10d7a1f619084e57a.jpg","text":"TemporaryFile(/tmp/multipartBody4874426330358954912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735878397120,"filename":"image_03012025_05_23_02_642162_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/20f9edaab54150f3b45fbc30f91880c3.jpg","text":"TemporaryFile(/tmp/multipartBody1557469289211280083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735878397120,"filename":"image_03012025_05_25_02_628979_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/39d33331a8bed65d5d1aeb05fb9775b0.jpg","text":"TemporaryFile(/tmp/multipartBody3344868627394935515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735878397120,"filename":"image_03012025_05_24_02_135105_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8ecd71fd1fe49be19ab389e9aa4565d8.jpg","text":"TemporaryFile(/tmp/multipartBody2761270249305338876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735878397120,"filename":"image_03012025_05_24_02_135105_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/77738053ca87b1d83093100c6758f08b.jpg","text":"TemporaryFile(/tmp/multipartBody1554139296209602434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735878397120,"filename":"image_03012025_05_24_02_135105_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325691504","file1":"1325691501","file0":"1325691498","file4":"1325691508","file5":"1325691510","file3":"1325691506"},"map_files_photo_id_array":[{"photo_id":"1325691510","filename":"file5"},{"photo_id":"1325691504","filename":"file2"},{"photo_id":"1325691508","filename":"file4"},{"photo_id":"1325691501","filename":"file1"},{"photo_id":"1325691498","filename":"file0"},{"photo_id":"1325691506","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325691508":["hashtag1","hashtag2"]},{"1325691498":["hashtag1","hashtag2"]},{"1325691510":["hashtag1","hashtag2"]},{"1325691501":["hashtag1","hashtag2"]},{"1325691504":["hashtag1","hashtag2"]},{"1325691506":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325691508, 1325691498, 1325691510, 1325691501, 1325691504, 1325691506)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.60517859458923 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 05:26:22.494877
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/05/25/image_03012025_05_25_02_628979_0001.jpg', '/home/pi/Desktop/images/03012025/05/25/image_03012025_05_25_02_628979_0002.jpg', '/home/pi/Desktop/images/03012025/05/25/image_03012025_05_25_02_628979_0003.jpg', '/home/pi/Desktop/images/03012025/05/26/image_03012025_05_26_02_149298_0000.jpg', '/home/pi/Desktop/images/03012025/05/26/image_03012025_05_26_02_149298_0001.jpg', '/home/pi/Desktop/images/03012025/05/26/image_03012025_05_26_02_149298_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/05/25/image_03012025_05_25_02_628979_0001.jpg
/home/pi/Desktop/images/03012025/05/25/image_03012025_05_25_02_628979_0002.jpg
/home/pi/Desktop/images/03012025/05/25/image_03012025_05_25_02_628979_0003.jpg
/home/pi/Desktop/images/03012025/05/26/image_03012025_05_26_02_149298_0000.jpg
/home/pi/Desktop/images/03012025/05/26/image_03012025_05_26_02_149298_0001.jpg
/home/pi/Desktop/images/03012025/05/26/image_03012025_05_26_02_149298_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325692026","1325691864","1325691588","1325692428","1325691688","1325692219"],"photo_ids_order":["1325691588","1325691688","1325691864","1325692026","1325692219","1325692428"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8dec4a49512bf22f1da9e2e278492c2d.jpg","text":"TemporaryFile(/tmp/multipartBody2885523669287034387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735878457614,"filename":"image_03012025_05_26_02_149298_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4eff00dfe3fc58136b99edec00688733.jpg","text":"TemporaryFile(/tmp/multipartBody5170781275672526556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735878457614,"filename":"image_03012025_05_25_02_628979_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6d4e2250576908ddf9e0f0229cc42ada.jpg","text":"TemporaryFile(/tmp/multipartBody3466139836652758805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735878457614,"filename":"image_03012025_05_25_02_628979_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f44e1727dd13372753b36b3ccb24e464.jpg","text":"TemporaryFile(/tmp/multipartBody7188731237220290538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735878457614,"filename":"image_03012025_05_26_02_149298_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8ad288cb8a63d748f6601edb61db183a.jpg","text":"TemporaryFile(/tmp/multipartBody4554603242228771773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735878457614,"filename":"image_03012025_05_25_02_628979_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6ed637501f0b85e74df8a360dac796cc.jpg","text":"TemporaryFile(/tmp/multipartBody5476749852198117835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735878457614,"filename":"image_03012025_05_26_02_149298_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325691864","file1":"1325691688","file0":"1325691588","file4":"1325692219","file5":"1325692428","file3":"1325692026"},"map_files_photo_id_array":[{"photo_id":"1325692428","filename":"file5"},{"photo_id":"1325691864","filename":"file2"},{"photo_id":"1325692219","filename":"file4"},{"photo_id":"1325691688","filename":"file1"},{"photo_id":"1325691588","filename":"file0"},{"photo_id":"1325692026","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325692026":["hashtag1","hashtag2"]},{"1325691864":["hashtag1","hashtag2"]},{"1325691588":["hashtag1","hashtag2"]},{"1325692428":["hashtag1","hashtag2"]},{"1325691688":["hashtag1","hashtag2"]},{"1325692219":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325692026, 1325691864, 1325691588, 1325692428, 1325691688, 1325692219)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.89686679840088 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 05:27:22.000916
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/05/26/image_03012025_05_26_02_149298_0003.jpg', '/home/pi/Desktop/images/03012025/05/27/image_03012025_05_27_02_858090_0000.jpg', '/home/pi/Desktop/images/03012025/05/27/image_03012025_05_27_02_858090_0001.jpg', '/home/pi/Desktop/images/03012025/05/27/image_03012025_05_27_02_858090_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/05/26/image_03012025_05_26_02_149298_0003.jpg
/home/pi/Desktop/images/03012025/05/27/image_03012025_05_27_02_858090_0000.jpg
/home/pi/Desktop/images/03012025/05/27/image_03012025_05_27_02_858090_0001.jpg
/home/pi/Desktop/images/03012025/05/27/image_03012025_05_27_02_858090_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325694170","1325693972","1325693561","1325693770"],"photo_ids_order":["1325693561","1325693770","1325693972","1325694170"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7568758a1ac832eb5071db18410a0639.jpg","text":"TemporaryFile(/tmp/multipartBody1982465176010265924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735878512439,"filename":"image_03012025_05_27_02_858090_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3217c37645ab6f144e77b5feb903bf96.jpg","text":"TemporaryFile(/tmp/multipartBody607675622408634175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735878512439,"filename":"image_03012025_05_27_02_858090_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d6e21e961d113c133717519cd45531a2.jpg","text":"TemporaryFile(/tmp/multipartBody1661168650974620074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735878512439,"filename":"image_03012025_05_26_02_149298_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b4396738f9cf8e5d9288aa9af9da43c2.jpg","text":"TemporaryFile(/tmp/multipartBody4415684418045869362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735878512439,"filename":"image_03012025_05_27_02_858090_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325693972","file1":"1325693770","file0":"1325693561","file3":"1325694170"},"map_files_photo_id_array":[{"photo_id":"1325693972","filename":"file2"},{"photo_id":"1325693770","filename":"file1"},{"photo_id":"1325693561","filename":"file0"},{"photo_id":"1325694170","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325694170":["hashtag1","hashtag2"]},{"1325693972":["hashtag1","hashtag2"]},{"1325693561":["hashtag1","hashtag2"]},{"1325693770":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325694170, 1325693972, 1325693561, 1325693770)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.093151569366455 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 05:28:22.482853
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/05/27/image_03012025_05_27_02_858090_0003.jpg', '/home/pi/Desktop/images/03012025/05/28/image_03012025_05_28_02_366751_0000.jpg', '/home/pi/Desktop/images/03012025/05/28/image_03012025_05_28_02_366751_0001.jpg', '/home/pi/Desktop/images/03012025/05/28/image_03012025_05_28_02_366751_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/05/27/image_03012025_05_27_02_858090_0003.jpg
/home/pi/Desktop/images/03012025/05/28/image_03012025_05_28_02_366751_0000.jpg
/home/pi/Desktop/images/03012025/05/28/image_03012025_05_28_02_366751_0001.jpg
/home/pi/Desktop/images/03012025/05/28/image_03012025_05_28_02_366751_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.051891803741455 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 05:29:02.610562
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/05/27/image_03012025_05_27_02_858090_0003.jpg', '/home/pi/Desktop/images/03012025/05/28/image_03012025_05_28_02_366751_0000.jpg', '/home/pi/Desktop/images/03012025/05/28/image_03012025_05_28_02_366751_0001.jpg', '/home/pi/Desktop/images/03012025/05/28/image_03012025_05_28_02_366751_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/05/27/image_03012025_05_27_02_858090_0003.jpg
/home/pi/Desktop/images/03012025/05/28/image_03012025_05_28_02_366751_0000.jpg
/home/pi/Desktop/images/03012025/05/28/image_03012025_05_28_02_366751_0001.jpg
/home/pi/Desktop/images/03012025/05/28/image_03012025_05_28_02_366751_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325695690","1325695863","1325695764","1325695686"],"photo_ids_order":["1325695686","1325695690","1325695764","1325695863"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4e217277a3007f3942f78f11f749b60a.jpg","text":"TemporaryFile(/tmp/multipartBody3797069021796177703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735878613127,"filename":"image_03012025_05_28_02_366751_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a61981154175fe2d93d407bfd8d5103e.jpg","text":"TemporaryFile(/tmp/multipartBody7983672067223368926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735878613127,"filename":"image_03012025_05_28_02_366751_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c6c0a5b4874a784103156f9d9bb774b1.jpg","text":"TemporaryFile(/tmp/multipartBody4632641255766013873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735878613127,"filename":"image_03012025_05_28_02_366751_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/bab1778a79f436c42d41422c72c867bc.jpg","text":"TemporaryFile(/tmp/multipartBody3104481989796205798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735878613127,"filename":"image_03012025_05_27_02_858090_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325695764","file1":"1325695690","file0":"1325695686","file3":"1325695863"},"map_files_photo_id_array":[{"photo_id":"1325695764","filename":"file2"},{"photo_id":"1325695690","filename":"file1"},{"photo_id":"1325695686","filename":"file0"},{"photo_id":"1325695863","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325695690":["hashtag1","hashtag2"]},{"1325695863":["hashtag1","hashtag2"]},{"1325695764":["hashtag1","hashtag2"]},{"1325695686":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325695690, 1325695863, 1325695764, 1325695686)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.95468878746033 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 05:30:02.962662
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/05/28/image_03012025_05_28_02_366751_0003.jpg', '/home/pi/Desktop/images/03012025/05/29/image_03012025_05_29_02_907040_0000.jpg', '/home/pi/Desktop/images/03012025/05/29/image_03012025_05_29_02_907040_0001.jpg', '/home/pi/Desktop/images/03012025/05/29/image_03012025_05_29_02_907040_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/05/28/image_03012025_05_28_02_366751_0003.jpg
/home/pi/Desktop/images/03012025/05/29/image_03012025_05_29_02_907040_0000.jpg
/home/pi/Desktop/images/03012025/05/29/image_03012025_05_29_02_907040_0001.jpg
/home/pi/Desktop/images/03012025/05/29/image_03012025_05_29_02_907040_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325697145","1325696966","1325697148","1325697142"],"photo_ids_order":["1325696966","1325697142","1325697145","1325697148"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8a4c52efcf9b048a9a80d82ad1e6622b.jpg","text":"TemporaryFile(/tmp/multipartBody6328462312987181617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735878673194,"filename":"image_03012025_05_29_02_907040_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/151182e13283e0d0498805f750984a68.jpg","text":"TemporaryFile(/tmp/multipartBody1204993860889809299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735878673194,"filename":"image_03012025_05_28_02_366751_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/946e1742df9461e0221dfa395ed5da7f.jpg","text":"TemporaryFile(/tmp/multipartBody6091391647223358680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735878673194,"filename":"image_03012025_05_29_02_907040_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/61a3a58b9fa3c7554853c8b98b34735d.jpg","text":"TemporaryFile(/tmp/multipartBody7151735869587632476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735878673194,"filename":"image_03012025_05_29_02_907040_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325697145","file1":"1325697142","file0":"1325696966","file3":"1325697148"},"map_files_photo_id_array":[{"photo_id":"1325697145","filename":"file2"},{"photo_id":"1325697142","filename":"file1"},{"photo_id":"1325696966","filename":"file0"},{"photo_id":"1325697148","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325697145":["hashtag1","hashtag2"]},{"1325696966":["hashtag1","hashtag2"]},{"1325697148":["hashtag1","hashtag2"]},{"1325697142":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325697145, 1325696966, 1325697148, 1325697142)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.467477798461914 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 05:31:02.858923
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/05/29/image_03012025_05_29_02_907040_0003.jpg', '/home/pi/Desktop/images/03012025/05/30/image_03012025_05_30_02_398421_0000.jpg', '/home/pi/Desktop/images/03012025/05/30/image_03012025_05_30_02_398421_0001.jpg', '/home/pi/Desktop/images/03012025/05/30/image_03012025_05_30_02_398421_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/05/29/image_03012025_05_29_02_907040_0003.jpg
/home/pi/Desktop/images/03012025/05/30/image_03012025_05_30_02_398421_0000.jpg
/home/pi/Desktop/images/03012025/05/30/image_03012025_05_30_02_398421_0001.jpg
/home/pi/Desktop/images/03012025/05/30/image_03012025_05_30_02_398421_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.016679525375366 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 05:31:22.069936
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/05/29/image_03012025_05_29_02_907040_0003.jpg', '/home/pi/Desktop/images/03012025/05/30/image_03012025_05_30_02_398421_0000.jpg', '/home/pi/Desktop/images/03012025/05/30/image_03012025_05_30_02_398421_0001.jpg', '/home/pi/Desktop/images/03012025/05/30/image_03012025_05_30_02_398421_0002.jpg', '/home/pi/Desktop/images/03012025/05/30/image_03012025_05_30_02_398421_0003.jpg', '/home/pi/Desktop/images/03012025/05/31/image_03012025_05_31_02_987413_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/05/29/image_03012025_05_29_02_907040_0003.jpg
/home/pi/Desktop/images/03012025/05/30/image_03012025_05_30_02_398421_0000.jpg
/home/pi/Desktop/images/03012025/05/30/image_03012025_05_30_02_398421_0001.jpg
/home/pi/Desktop/images/03012025/05/30/image_03012025_05_30_02_398421_0002.jpg
/home/pi/Desktop/images/03012025/05/30/image_03012025_05_30_02_398421_0003.jpg
/home/pi/Desktop/images/03012025/05/31/image_03012025_05_31_02_987413_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325697446","1325697449","1325697440","1325697443","1325697565","1325697448"],"photo_ids_order":["1325697440","1325697443","1325697446","1325697448","1325697449","1325697565"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4756150381ca67cb6d88bfa7606e4997.jpg","text":"TemporaryFile(/tmp/multipartBody1842371894220241237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735878757253,"filename":"image_03012025_05_30_02_398421_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3e73b96cd05f7d70840e61c6d5c2ad56.jpg","text":"TemporaryFile(/tmp/multipartBody242219057175668400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735878757253,"filename":"image_03012025_05_30_02_398421_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2e833d2fd06f873481f680888fd6de31.jpg","text":"TemporaryFile(/tmp/multipartBody2203200953765173191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735878757253,"filename":"image_03012025_05_29_02_907040_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/53953f18aac29542bd346d94a4de596b.jpg","text":"TemporaryFile(/tmp/multipartBody6827867169910332000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735878757253,"filename":"image_03012025_05_30_02_398421_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/21b0a67d3623a6a32373627880748c7f.jpg","text":"TemporaryFile(/tmp/multipartBody2743869962284846113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735878757253,"filename":"image_03012025_05_31_02_987413_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/02bc2d71d27e0258107519431ab1bb23.jpg","text":"TemporaryFile(/tmp/multipartBody2034535555325935897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735878757253,"filename":"image_03012025_05_30_02_398421_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325697446","file1":"1325697443","file0":"1325697440","file4":"1325697449","file5":"1325697565","file3":"1325697448"},"map_files_photo_id_array":[{"photo_id":"1325697565","filename":"file5"},{"photo_id":"1325697446","filename":"file2"},{"photo_id":"1325697449","filename":"file4"},{"photo_id":"1325697443","filename":"file1"},{"photo_id":"1325697440","filename":"file0"},{"photo_id":"1325697448","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325697446":["hashtag1","hashtag2"]},{"1325697449":["hashtag1","hashtag2"]},{"1325697440":["hashtag1","hashtag2"]},{"1325697443":["hashtag1","hashtag2"]},{"1325697565":["hashtag1","hashtag2"]},{"1325697448":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325697446, 1325697449, 1325697440, 1325697443, 1325697565, 1325697448)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.3854079246521 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 05:32:22.714168
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/05/31/image_03012025_05_31_02_987413_0001.jpg', '/home/pi/Desktop/images/03012025/05/31/image_03012025_05_31_02_987413_0002.jpg', '/home/pi/Desktop/images/03012025/05/31/image_03012025_05_31_02_987413_0003.jpg', '/home/pi/Desktop/images/03012025/05/32/image_03012025_05_32_02_504813_0000.jpg', '/home/pi/Desktop/images/03012025/05/32/image_03012025_05_32_02_504813_0001.jpg', '/home/pi/Desktop/images/03012025/05/32/image_03012025_05_32_02_504813_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/05/31/image_03012025_05_31_02_987413_0001.jpg
/home/pi/Desktop/images/03012025/05/31/image_03012025_05_31_02_987413_0002.jpg
/home/pi/Desktop/images/03012025/05/31/image_03012025_05_31_02_987413_0003.jpg
/home/pi/Desktop/images/03012025/05/32/image_03012025_05_32_02_504813_0000.jpg
/home/pi/Desktop/images/03012025/05/32/image_03012025_05_32_02_504813_0001.jpg
/home/pi/Desktop/images/03012025/05/32/image_03012025_05_32_02_504813_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325697633","1325697636","1325697639","1325697630","1325697627","1325697622"],"photo_ids_order":["1325697622","1325697627","1325697630","1325697633","1325697636","1325697639"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/bb9c977987a936f0ab2fa297cb9d7058.jpg","text":"TemporaryFile(/tmp/multipartBody5972425847997069285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735878817787,"filename":"image_03012025_05_32_02_504813_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5f6960c75b964d2a3a6b8e28b892abbc.jpg","text":"TemporaryFile(/tmp/multipartBody5173795529118858768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735878817787,"filename":"image_03012025_05_32_02_504813_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0f829e9e61d8882232c128445c30b315.jpg","text":"TemporaryFile(/tmp/multipartBody821099619600611986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735878817787,"filename":"image_03012025_05_32_02_504813_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0269221d6c594f7e60c3724b3798fa13.jpg","text":"TemporaryFile(/tmp/multipartBody810947018427191459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735878817787,"filename":"image_03012025_05_31_02_987413_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/bf82a9f022a6e64d277d38ece556f732.jpg","text":"TemporaryFile(/tmp/multipartBody265256444616235726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735878817787,"filename":"image_03012025_05_31_02_987413_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/bd01d41d1dcbfca07bfb0316f5cb1644.jpg","text":"TemporaryFile(/tmp/multipartBody3184237938266758620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735878817787,"filename":"image_03012025_05_31_02_987413_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325697630","file1":"1325697627","file0":"1325697622","file4":"1325697636","file5":"1325697639","file3":"1325697633"},"map_files_photo_id_array":[{"photo_id":"1325697639","filename":"file5"},{"photo_id":"1325697630","filename":"file2"},{"photo_id":"1325697636","filename":"file4"},{"photo_id":"1325697627","filename":"file1"},{"photo_id":"1325697622","filename":"file0"},{"photo_id":"1325697633","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325697633":["hashtag1","hashtag2"]},{"1325697636":["hashtag1","hashtag2"]},{"1325697639":["hashtag1","hashtag2"]},{"1325697630":["hashtag1","hashtag2"]},{"1325697627":["hashtag1","hashtag2"]},{"1325697622":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325697633, 1325697636, 1325697639, 1325697630, 1325697627, 1325697622)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.982346534729004 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 05:33:22.134925
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/05/32/image_03012025_05_32_02_504813_0003.jpg', '/home/pi/Desktop/images/03012025/05/33/image_03012025_05_33_03_010787_0000.jpg', '/home/pi/Desktop/images/03012025/05/33/image_03012025_05_33_03_010787_0001.jpg', '/home/pi/Desktop/images/03012025/05/33/image_03012025_05_33_03_010787_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/05/32/image_03012025_05_32_02_504813_0003.jpg
/home/pi/Desktop/images/03012025/05/33/image_03012025_05_33_03_010787_0000.jpg
/home/pi/Desktop/images/03012025/05/33/image_03012025_05_33_03_010787_0001.jpg
/home/pi/Desktop/images/03012025/05/33/image_03012025_05_33_03_010787_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325697651","1325697782","1325697908","1325697643"],"photo_ids_order":["1325697643","1325697651","1325697782","1325697908"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/947f7ffec6c7496d83ce53a7fea8b84a.jpg","text":"TemporaryFile(/tmp/multipartBody8589753260931812705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735878872340,"filename":"image_03012025_05_33_03_010787_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/60f77c24c35c2f6c0842f91e5e041251.jpg","text":"TemporaryFile(/tmp/multipartBody8363308733229045250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735878872340,"filename":"image_03012025_05_33_03_010787_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d2fd4d8bd11f502c1791a0b05e669873.jpg","text":"TemporaryFile(/tmp/multipartBody7755349411988267257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735878872340,"filename":"image_03012025_05_33_03_010787_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f40a5f84be09305b6a879a4aff4f19fd.jpg","text":"TemporaryFile(/tmp/multipartBody345502299663405894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735878872340,"filename":"image_03012025_05_32_02_504813_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325697782","file1":"1325697651","file0":"1325697643","file3":"1325697908"},"map_files_photo_id_array":[{"photo_id":"1325697782","filename":"file2"},{"photo_id":"1325697651","filename":"file1"},{"photo_id":"1325697643","filename":"file0"},{"photo_id":"1325697908","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325697651":["hashtag1","hashtag2"]},{"1325697782":["hashtag1","hashtag2"]},{"1325697908":["hashtag1","hashtag2"]},{"1325697643":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325697651, 1325697782, 1325697908, 1325697643)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 49.32319951057434 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 05:34:22.726325
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/05/33/image_03012025_05_33_03_010787_0003.jpg', '/home/pi/Desktop/images/03012025/05/34/image_03012025_05_34_02_527206_0000.jpg', '/home/pi/Desktop/images/03012025/05/34/image_03012025_05_34_02_527206_0001.jpg', '/home/pi/Desktop/images/03012025/05/34/image_03012025_05_34_02_527206_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/05/33/image_03012025_05_33_03_010787_0003.jpg
/home/pi/Desktop/images/03012025/05/34/image_03012025_05_34_02_527206_0000.jpg
/home/pi/Desktop/images/03012025/05/34/image_03012025_05_34_02_527206_0001.jpg
/home/pi/Desktop/images/03012025/05/34/image_03012025_05_34_02_527206_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.948197364807129 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 05:35:02.759192
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/05/33/image_03012025_05_33_03_010787_0003.jpg', '/home/pi/Desktop/images/03012025/05/34/image_03012025_05_34_02_527206_0000.jpg', '/home/pi/Desktop/images/03012025/05/34/image_03012025_05_34_02_527206_0001.jpg', '/home/pi/Desktop/images/03012025/05/34/image_03012025_05_34_02_527206_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/05/33/image_03012025_05_33_03_010787_0003.jpg
/home/pi/Desktop/images/03012025/05/34/image_03012025_05_34_02_527206_0000.jpg
/home/pi/Desktop/images/03012025/05/34/image_03012025_05_34_02_527206_0001.jpg
/home/pi/Desktop/images/03012025/05/34/image_03012025_05_34_02_527206_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325697936","1325697935","1325697938","1325697940"],"photo_ids_order":["1325697935","1325697936","1325697938","1325697940"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/dd7e6fa93da2ed89450dd8ed5017bdbc.jpg","text":"TemporaryFile(/tmp/multipartBody1514877044954788481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735878973172,"filename":"image_03012025_05_34_02_527206_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4229d10beee15c374cd033c726f8b290.jpg","text":"TemporaryFile(/tmp/multipartBody6264783891243349567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735878973172,"filename":"image_03012025_05_33_03_010787_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/363e3a613b5ff340533c10091d2051ce.jpg","text":"TemporaryFile(/tmp/multipartBody2888168200331761256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735878973172,"filename":"image_03012025_05_34_02_527206_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3a19549e150a184a7996242e336ca531.jpg","text":"TemporaryFile(/tmp/multipartBody6095940846423097247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735878973172,"filename":"image_03012025_05_34_02_527206_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325697938","file1":"1325697936","file0":"1325697935","file3":"1325697940"},"map_files_photo_id_array":[{"photo_id":"1325697938","filename":"file2"},{"photo_id":"1325697936","filename":"file1"},{"photo_id":"1325697935","filename":"file0"},{"photo_id":"1325697940","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325697936":["hashtag1","hashtag2"]},{"1325697935":["hashtag1","hashtag2"]},{"1325697938":["hashtag1","hashtag2"]},{"1325697940":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325697936, 1325697935, 1325697938, 1325697940)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.67950940132141 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 05:36:02.224175
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/05/34/image_03012025_05_34_02_527206_0003.jpg', '/home/pi/Desktop/images/03012025/05/35/image_03012025_05_35_03_055976_0000.jpg', '/home/pi/Desktop/images/03012025/05/35/image_03012025_05_35_03_055976_0001.jpg', '/home/pi/Desktop/images/03012025/05/35/image_03012025_05_35_03_055976_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/05/34/image_03012025_05_34_02_527206_0003.jpg
/home/pi/Desktop/images/03012025/05/35/image_03012025_05_35_03_055976_0000.jpg
/home/pi/Desktop/images/03012025/05/35/image_03012025_05_35_03_055976_0001.jpg
/home/pi/Desktop/images/03012025/05/35/image_03012025_05_35_03_055976_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.044808149337769 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 05:36:21.876526
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/05/34/image_03012025_05_34_02_527206_0003.jpg', '/home/pi/Desktop/images/03012025/05/35/image_03012025_05_35_03_055976_0000.jpg', '/home/pi/Desktop/images/03012025/05/35/image_03012025_05_35_03_055976_0001.jpg', '/home/pi/Desktop/images/03012025/05/35/image_03012025_05_35_03_055976_0002.jpg', '/home/pi/Desktop/images/03012025/05/35/image_03012025_05_35_03_055976_0003.jpg', '/home/pi/Desktop/images/03012025/05/36/image_03012025_05_36_02_502949_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/05/34/image_03012025_05_34_02_527206_0003.jpg
/home/pi/Desktop/images/03012025/05/35/image_03012025_05_35_03_055976_0000.jpg
/home/pi/Desktop/images/03012025/05/35/image_03012025_05_35_03_055976_0001.jpg
/home/pi/Desktop/images/03012025/05/35/image_03012025_05_35_03_055976_0002.jpg
/home/pi/Desktop/images/03012025/05/35/image_03012025_05_35_03_055976_0003.jpg
/home/pi/Desktop/images/03012025/05/36/image_03012025_05_36_02_502949_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325698017","1325698019","1325698010","1325698013","1325698007","1325698015"],"photo_ids_order":["1325698007","1325698010","1325698013","1325698015","1325698017","1325698019"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a991455f51f05ef0325d5cb339e7dbbd.jpg","text":"TemporaryFile(/tmp/multipartBody7379750549376431580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735879057170,"filename":"image_03012025_05_35_03_055976_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7363e275c407c80cddc197bd1a9277de.jpg","text":"TemporaryFile(/tmp/multipartBody7068208899317248594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735879057170,"filename":"image_03012025_05_36_02_502949_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/31b8519025b8a73cb92d50fbd7c11e46.jpg","text":"TemporaryFile(/tmp/multipartBody7228078611869890550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735879057170,"filename":"image_03012025_05_35_03_055976_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f795539ea7499e0ac2c713aa1bba3d70.jpg","text":"TemporaryFile(/tmp/multipartBody603653865223235432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735879057170,"filename":"image_03012025_05_35_03_055976_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/33c732ad80e710d7c425f32fa379af94.jpg","text":"TemporaryFile(/tmp/multipartBody4990657999715151178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735879057170,"filename":"image_03012025_05_34_02_527206_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d5881dd25477508b796721840816152f.jpg","text":"TemporaryFile(/tmp/multipartBody5142889219704665528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735879057170,"filename":"image_03012025_05_35_03_055976_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325698013","file1":"1325698010","file0":"1325698007","file4":"1325698017","file5":"1325698019","file3":"1325698015"},"map_files_photo_id_array":[{"photo_id":"1325698019","filename":"file5"},{"photo_id":"1325698013","filename":"file2"},{"photo_id":"1325698017","filename":"file4"},{"photo_id":"1325698010","filename":"file1"},{"photo_id":"1325698007","filename":"file0"},{"photo_id":"1325698015","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325698017":["hashtag1","hashtag2"]},{"1325698019":["hashtag1","hashtag2"]},{"1325698010":["hashtag1","hashtag2"]},{"1325698013":["hashtag1","hashtag2"]},{"1325698007":["hashtag1","hashtag2"]},{"1325698015":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325698017, 1325698019, 1325698010, 1325698013, 1325698007, 1325698015)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.18045783042908 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 05:37:22.337663
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/05/36/image_03012025_05_36_02_502949_0001.jpg', '/home/pi/Desktop/images/03012025/05/36/image_03012025_05_36_02_502949_0002.jpg', '/home/pi/Desktop/images/03012025/05/36/image_03012025_05_36_02_502949_0003.jpg', '/home/pi/Desktop/images/03012025/05/37/image_03012025_05_37_02_186908_0000.jpg', '/home/pi/Desktop/images/03012025/05/37/image_03012025_05_37_02_186908_0001.jpg', '/home/pi/Desktop/images/03012025/05/37/image_03012025_05_37_02_186908_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/05/36/image_03012025_05_36_02_502949_0001.jpg
/home/pi/Desktop/images/03012025/05/36/image_03012025_05_36_02_502949_0002.jpg
/home/pi/Desktop/images/03012025/05/36/image_03012025_05_36_02_502949_0003.jpg
/home/pi/Desktop/images/03012025/05/37/image_03012025_05_37_02_186908_0000.jpg
/home/pi/Desktop/images/03012025/05/37/image_03012025_05_37_02_186908_0001.jpg
/home/pi/Desktop/images/03012025/05/37/image_03012025_05_37_02_186908_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325698035","1325698037","1325698033","1325698027","1325698030","1325698024"],"photo_ids_order":["1325698024","1325698027","1325698030","1325698033","1325698035","1325698037"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b1a90c4768ae43d50894cd0cfbd31a67.jpg","text":"TemporaryFile(/tmp/multipartBody8848722510807194335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735879117500,"filename":"image_03012025_05_37_02_186908_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f3e378e2922fc84648f7e7982b94654a.jpg","text":"TemporaryFile(/tmp/multipartBody1247915290016182177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735879117500,"filename":"image_03012025_05_37_02_186908_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3abb41d50c1c0c489430d7ca1cb791f2.jpg","text":"TemporaryFile(/tmp/multipartBody1644980476174396077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735879117500,"filename":"image_03012025_05_37_02_186908_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ea1e1e902d8ac9ddc8df2eb99a26eed8.jpg","text":"TemporaryFile(/tmp/multipartBody3215361656358585739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735879117500,"filename":"image_03012025_05_36_02_502949_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1bc4ac8bb42df62bb2eef6fdcba8488c.jpg","text":"TemporaryFile(/tmp/multipartBody2647759166803513371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735879117500,"filename":"image_03012025_05_36_02_502949_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/84033dcd99090eaeee1d1595494ad266.jpg","text":"TemporaryFile(/tmp/multipartBody6574041184041563645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735879117500,"filename":"image_03012025_05_36_02_502949_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325698030","file1":"1325698027","file0":"1325698024","file4":"1325698035","file5":"1325698037","file3":"1325698033"},"map_files_photo_id_array":[{"photo_id":"1325698037","filename":"file5"},{"photo_id":"1325698030","filename":"file2"},{"photo_id":"1325698035","filename":"file4"},{"photo_id":"1325698027","filename":"file1"},{"photo_id":"1325698024","filename":"file0"},{"photo_id":"1325698033","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325698035":["hashtag1","hashtag2"]},{"1325698037":["hashtag1","hashtag2"]},{"1325698033":["hashtag1","hashtag2"]},{"1325698027":["hashtag1","hashtag2"]},{"1325698030":["hashtag1","hashtag2"]},{"1325698024":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325698035, 1325698037, 1325698033, 1325698027, 1325698030, 1325698024)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.46414041519165 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 05:38:21.913064
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/05/37/image_03012025_05_37_02_186908_0003.jpg', '/home/pi/Desktop/images/03012025/05/38/image_03012025_05_38_02_722507_0000.jpg', '/home/pi/Desktop/images/03012025/05/38/image_03012025_05_38_02_722507_0001.jpg', '/home/pi/Desktop/images/03012025/05/38/image_03012025_05_38_02_722507_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/05/37/image_03012025_05_37_02_186908_0003.jpg
/home/pi/Desktop/images/03012025/05/38/image_03012025_05_38_02_722507_0000.jpg
/home/pi/Desktop/images/03012025/05/38/image_03012025_05_38_02_722507_0001.jpg
/home/pi/Desktop/images/03012025/05/38/image_03012025_05_38_02_722507_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325698044","1325698053","1325698049","1325698040"],"photo_ids_order":["1325698040","1325698044","1325698049","1325698053"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c453ecc3538726ba62f1b17532347c89.jpg","text":"TemporaryFile(/tmp/multipartBody3799208173999605877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735879172230,"filename":"image_03012025_05_38_02_722507_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2226516514518d701d8d9c4dde63d877.jpg","text":"TemporaryFile(/tmp/multipartBody8774714572780028254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735879172230,"filename":"image_03012025_05_38_02_722507_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9fb5d89dcdc2849d98f57ee8e4a6f7f6.jpg","text":"TemporaryFile(/tmp/multipartBody57120076338181786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735879172230,"filename":"image_03012025_05_38_02_722507_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6fb4904eaf3fff092194d98ac5d2e917.jpg","text":"TemporaryFile(/tmp/multipartBody1922903159912274123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735879172230,"filename":"image_03012025_05_37_02_186908_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325698049","file1":"1325698044","file0":"1325698040","file3":"1325698053"},"map_files_photo_id_array":[{"photo_id":"1325698049","filename":"file2"},{"photo_id":"1325698044","filename":"file1"},{"photo_id":"1325698040","filename":"file0"},{"photo_id":"1325698053","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325698044":["hashtag1","hashtag2"]},{"1325698053":["hashtag1","hashtag2"]},{"1325698049":["hashtag1","hashtag2"]},{"1325698040":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325698044, 1325698053, 1325698049, 1325698040)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.59843444824219 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 05:39:22.405362
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/05/38/image_03012025_05_38_02_722507_0003.jpg', '/home/pi/Desktop/images/03012025/05/39/image_03012025_05_39_02_263103_0000.jpg', '/home/pi/Desktop/images/03012025/05/39/image_03012025_05_39_02_263103_0001.jpg', '/home/pi/Desktop/images/03012025/05/39/image_03012025_05_39_02_263103_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/05/38/image_03012025_05_38_02_722507_0003.jpg
/home/pi/Desktop/images/03012025/05/39/image_03012025_05_39_02_263103_0000.jpg
/home/pi/Desktop/images/03012025/05/39/image_03012025_05_39_02_263103_0001.jpg
/home/pi/Desktop/images/03012025/05/39/image_03012025_05_39_02_263103_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325698070","1325698073","1325698076","1325698066"],"photo_ids_order":["1325698066","1325698070","1325698073","1325698076"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a70878b83bd5977033a5a613cb035674.jpg","text":"TemporaryFile(/tmp/multipartBody3774749334784204344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735879232830,"filename":"image_03012025_05_39_02_263103_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c4e29fda83113597712d775eb50a57a7.jpg","text":"TemporaryFile(/tmp/multipartBody8665297531142450946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735879232830,"filename":"image_03012025_05_39_02_263103_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e06f4a0e88012ba4954573a05de73da7.jpg","text":"TemporaryFile(/tmp/multipartBody6568843501731518384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735879232830,"filename":"image_03012025_05_39_02_263103_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/21de0a5fbfcbaa5ccaf55ccbabffa9a7.jpg","text":"TemporaryFile(/tmp/multipartBody6723048675235439503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735879232830,"filename":"image_03012025_05_38_02_722507_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325698073","file1":"1325698070","file0":"1325698066","file3":"1325698076"},"map_files_photo_id_array":[{"photo_id":"1325698073","filename":"file2"},{"photo_id":"1325698070","filename":"file1"},{"photo_id":"1325698066","filename":"file0"},{"photo_id":"1325698076","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325698070":["hashtag1","hashtag2"]},{"1325698073":["hashtag1","hashtag2"]},{"1325698076":["hashtag1","hashtag2"]},{"1325698066":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325698070, 1325698073, 1325698076, 1325698066)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.0605525970459 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 05:40:22.047374
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/05/39/image_03012025_05_39_02_263103_0003.jpg', '/home/pi/Desktop/images/03012025/05/40/image_03012025_05_40_02_744239_0000.jpg', '/home/pi/Desktop/images/03012025/05/40/image_03012025_05_40_02_744239_0001.jpg', '/home/pi/Desktop/images/03012025/05/40/image_03012025_05_40_02_744239_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/05/39/image_03012025_05_39_02_263103_0003.jpg
/home/pi/Desktop/images/03012025/05/40/image_03012025_05_40_02_744239_0000.jpg
/home/pi/Desktop/images/03012025/05/40/image_03012025_05_40_02_744239_0001.jpg
/home/pi/Desktop/images/03012025/05/40/image_03012025_05_40_02_744239_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.77206802368164 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 05:41:02.858565
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/05/39/image_03012025_05_39_02_263103_0003.jpg', '/home/pi/Desktop/images/03012025/05/40/image_03012025_05_40_02_744239_0000.jpg', '/home/pi/Desktop/images/03012025/05/40/image_03012025_05_40_02_744239_0001.jpg', '/home/pi/Desktop/images/03012025/05/40/image_03012025_05_40_02_744239_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/05/39/image_03012025_05_39_02_263103_0003.jpg
/home/pi/Desktop/images/03012025/05/40/image_03012025_05_40_02_744239_0000.jpg
/home/pi/Desktop/images/03012025/05/40/image_03012025_05_40_02_744239_0001.jpg
/home/pi/Desktop/images/03012025/05/40/image_03012025_05_40_02_744239_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325698098","1325698096","1325698100","1325698095"],"photo_ids_order":["1325698095","1325698096","1325698098","1325698100"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/aba8f9b0ad380e1ad8199a16d9eb056c.jpg","text":"TemporaryFile(/tmp/multipartBody4608722613218425128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735879333108,"filename":"image_03012025_05_40_02_744239_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/61859ae835df7b43272f4bdc4e4f47e4.jpg","text":"TemporaryFile(/tmp/multipartBody9124403048699064845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735879333108,"filename":"image_03012025_05_40_02_744239_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/84c8af0bfe04fc29d1f0201a40e5edb1.jpg","text":"TemporaryFile(/tmp/multipartBody2287312905854452541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735879333108,"filename":"image_03012025_05_40_02_744239_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6cf3ce6d3cec9511fa84192ce65c31b5.jpg","text":"TemporaryFile(/tmp/multipartBody691462622905767360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735879333108,"filename":"image_03012025_05_39_02_263103_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325698098","file1":"1325698096","file0":"1325698095","file3":"1325698100"},"map_files_photo_id_array":[{"photo_id":"1325698098","filename":"file2"},{"photo_id":"1325698096","filename":"file1"},{"photo_id":"1325698095","filename":"file0"},{"photo_id":"1325698100","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325698098":["hashtag1","hashtag2"]},{"1325698096":["hashtag1","hashtag2"]},{"1325698100":["hashtag1","hashtag2"]},{"1325698095":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325698098, 1325698096, 1325698100, 1325698095)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.43689846992493 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 05:42:02.485881
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/05/40/image_03012025_05_40_02_744239_0003.jpg', '/home/pi/Desktop/images/03012025/05/41/image_03012025_05_41_02_229855_0000.jpg', '/home/pi/Desktop/images/03012025/05/41/image_03012025_05_41_02_229855_0001.jpg', '/home/pi/Desktop/images/03012025/05/41/image_03012025_05_41_02_229855_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/05/40/image_03012025_05_40_02_744239_0003.jpg
/home/pi/Desktop/images/03012025/05/41/image_03012025_05_41_02_229855_0000.jpg
/home/pi/Desktop/images/03012025/05/41/image_03012025_05_41_02_229855_0001.jpg
/home/pi/Desktop/images/03012025/05/41/image_03012025_05_41_02_229855_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.84136152267456 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 05:42:22.038251
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/05/40/image_03012025_05_40_02_744239_0003.jpg', '/home/pi/Desktop/images/03012025/05/41/image_03012025_05_41_02_229855_0000.jpg', '/home/pi/Desktop/images/03012025/05/41/image_03012025_05_41_02_229855_0001.jpg', '/home/pi/Desktop/images/03012025/05/41/image_03012025_05_41_02_229855_0002.jpg', '/home/pi/Desktop/images/03012025/05/41/image_03012025_05_41_02_229855_0003.jpg', '/home/pi/Desktop/images/03012025/05/42/image_03012025_05_42_02_767171_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/05/40/image_03012025_05_40_02_744239_0003.jpg
/home/pi/Desktop/images/03012025/05/41/image_03012025_05_41_02_229855_0000.jpg
/home/pi/Desktop/images/03012025/05/41/image_03012025_05_41_02_229855_0001.jpg
/home/pi/Desktop/images/03012025/05/41/image_03012025_05_41_02_229855_0002.jpg
/home/pi/Desktop/images/03012025/05/41/image_03012025_05_41_02_229855_0003.jpg
/home/pi/Desktop/images/03012025/05/42/image_03012025_05_42_02_767171_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325698122","1325698118","1325698132","1325698126","1325698135","1325698129"],"photo_ids_order":["1325698118","1325698122","1325698126","1325698129","1325698132","1325698135"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3cd1d2c69e0c7707374a3ca56883f598.jpg","text":"TemporaryFile(/tmp/multipartBody343471142797692993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735879417084,"filename":"image_03012025_05_41_02_229855_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b07aac893d18db74ba44d7591f49723f.jpg","text":"TemporaryFile(/tmp/multipartBody3894101705742200062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735879417084,"filename":"image_03012025_05_40_02_744239_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f62619368df044827d74ed13af297515.jpg","text":"TemporaryFile(/tmp/multipartBody2110022831354004499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735879417084,"filename":"image_03012025_05_41_02_229855_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e6ce48826dc42f0f8755d88f883a262c.jpg","text":"TemporaryFile(/tmp/multipartBody3493478131201840244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735879417084,"filename":"image_03012025_05_41_02_229855_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0e8e36c63a9d765441ad17a608346417.jpg","text":"TemporaryFile(/tmp/multipartBody3197368914325421284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735879417084,"filename":"image_03012025_05_42_02_767171_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/89ce8eaf9730365c74b99df0900f14bd.jpg","text":"TemporaryFile(/tmp/multipartBody7846199159347305572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735879417084,"filename":"image_03012025_05_41_02_229855_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325698126","file1":"1325698122","file0":"1325698118","file4":"1325698132","file5":"1325698135","file3":"1325698129"},"map_files_photo_id_array":[{"photo_id":"1325698135","filename":"file5"},{"photo_id":"1325698126","filename":"file2"},{"photo_id":"1325698132","filename":"file4"},{"photo_id":"1325698122","filename":"file1"},{"photo_id":"1325698118","filename":"file0"},{"photo_id":"1325698129","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325698122":["hashtag1","hashtag2"]},{"1325698118":["hashtag1","hashtag2"]},{"1325698132":["hashtag1","hashtag2"]},{"1325698126":["hashtag1","hashtag2"]},{"1325698135":["hashtag1","hashtag2"]},{"1325698129":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325698122, 1325698118, 1325698132, 1325698126, 1325698135, 1325698129)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.84039878845215 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 05:43:22.600427
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/05/42/image_03012025_05_42_02_767171_0001.jpg', '/home/pi/Desktop/images/03012025/05/43/image_03012025_05_43_02_423001_0000.jpg', '/home/pi/Desktop/images/03012025/05/43/image_03012025_05_43_02_423001_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/05/42/image_03012025_05_42_02_767171_0001.jpg
/home/pi/Desktop/images/03012025/05/43/image_03012025_05_43_02_423001_0000.jpg
/home/pi/Desktop/images/03012025/05/43/image_03012025_05_43_02_423001_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325698142","1325698145","1325698139"],"photo_ids_order":["1325698139","1325698142","1325698145"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/108f651030527e4262cf40febe76f1be.jpg","text":"TemporaryFile(/tmp/multipartBody4646587174749598808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735879470253,"filename":"image_03012025_05_43_02_423001_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9b4b033e41c3cc8a6986083a6ce2c81d.jpg","text":"TemporaryFile(/tmp/multipartBody5619383122100334359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735879470253,"filename":"image_03012025_05_43_02_423001_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6603e4ca246ab1249e131ed027238cd9.jpg","text":"TemporaryFile(/tmp/multipartBody2433312989943617366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735879470253,"filename":"image_03012025_05_42_02_767171_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325698145","file1":"1325698142","file0":"1325698139"},"map_files_photo_id_array":[{"photo_id":"1325698145","filename":"file2"},{"photo_id":"1325698142","filename":"file1"},{"photo_id":"1325698139","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325698142":["hashtag1","hashtag2"]},{"1325698145":["hashtag1","hashtag2"]},{"1325698139":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325698142, 1325698145, 1325698139)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.44676375389099 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 05:44:02.591483
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 05:44:22.149753
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/05/43/image_03012025_05_43_02_423001_0002.jpg', '/home/pi/Desktop/images/03012025/05/44/image_03012025_05_44_03_030206_0001.jpg', '/home/pi/Desktop/images/03012025/05/44/image_03012025_05_44_03_030206_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/05/43/image_03012025_05_43_02_423001_0002.jpg
/home/pi/Desktop/images/03012025/05/44/image_03012025_05_44_03_030206_0001.jpg
/home/pi/Desktop/images/03012025/05/44/image_03012025_05_44_03_030206_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325698166","1325698169","1325698173"],"photo_ids_order":["1325698166","1325698169","1325698173"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/aa36e0cfb1b1408bbcf9bea6c117ca0d.jpg","text":"TemporaryFile(/tmp/multipartBody3061504601242259047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735879529813,"filename":"image_03012025_05_43_02_423001_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/27e65bee06214b50084fd653bcf387c5.jpg","text":"TemporaryFile(/tmp/multipartBody1214577305928107584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735879529813,"filename":"image_03012025_05_44_03_030206_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0e9de9b7c4d10b187976d2b0409b9b77.jpg","text":"TemporaryFile(/tmp/multipartBody5728671026179794517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735879529813,"filename":"image_03012025_05_44_03_030206_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325698173","file1":"1325698169","file0":"1325698166"},"map_files_photo_id_array":[{"photo_id":"1325698173","filename":"file2"},{"photo_id":"1325698169","filename":"file1"},{"photo_id":"1325698166","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325698166":["hashtag1","hashtag2"]},{"1325698169":["hashtag1","hashtag2"]},{"1325698173":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325698166, 1325698169, 1325698173)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.476123571395874 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 05:45:03.276348
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 05:45:22.633448
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/05/44/image_03012025_05_44_03_030206_0003.jpg', '/home/pi/Desktop/images/03012025/05/45/image_03012025_05_45_02_496415_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/05/44/image_03012025_05_44_03_030206_0003.jpg
/home/pi/Desktop/images/03012025/05/45/image_03012025_05_45_02_496415_0000.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325698182","1325698184"],"photo_ids_order":["1325698182","1325698184"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/940ff356e5c2d0a093b3a5f6fe20ea0a.jpg","text":"TemporaryFile(/tmp/multipartBody389567890524742176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735879588020,"filename":"image_03012025_05_44_03_030206_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e3b23ae7b82c709e1e0a31ea752e149c.jpg","text":"TemporaryFile(/tmp/multipartBody6962990705195225474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735879588020,"filename":"image_03012025_05_45_02_496415_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1325698184","file0":"1325698182"},"map_files_photo_id_array":[{"photo_id":"1325698184","filename":"file1"},{"photo_id":"1325698182","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325698182":["hashtag1","hashtag2"]},{"1325698184":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325698182, 1325698184)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.713210344314575 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 05:46:02.457549
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 05:46:22.117920
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/05/45/image_03012025_05_45_02_496415_0002.jpg', '/home/pi/Desktop/images/03012025/05/46/image_03012025_05_46_02_959131_0000.jpg', '/home/pi/Desktop/images/03012025/05/46/image_03012025_05_46_02_959131_0001.jpg', '/home/pi/Desktop/images/03012025/05/46/image_03012025_05_46_02_959131_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/05/45/image_03012025_05_45_02_496415_0002.jpg
/home/pi/Desktop/images/03012025/05/46/image_03012025_05_46_02_959131_0000.jpg
/home/pi/Desktop/images/03012025/05/46/image_03012025_05_46_02_959131_0001.jpg
/home/pi/Desktop/images/03012025/05/46/image_03012025_05_46_02_959131_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325698651","1325698645","1325698648","1325698639"],"photo_ids_order":["1325698639","1325698645","1325698648","1325698651"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/cbeb69826e17f8b2c7123b68d6851c57.jpg","text":"TemporaryFile(/tmp/multipartBody6822215402466807328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735879652017,"filename":"image_03012025_05_46_02_959131_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5e5ac3e1a086c389f9a153f497bc33f8.jpg","text":"TemporaryFile(/tmp/multipartBody1810434542524561248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735879652017,"filename":"image_03012025_05_46_02_959131_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/64f34a53a1c71c1af4495a0ab8e0fac2.jpg","text":"TemporaryFile(/tmp/multipartBody6434115376266284304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735879652017,"filename":"image_03012025_05_46_02_959131_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1cd5adb9886e7347f644cefcd1b27dab.jpg","text":"TemporaryFile(/tmp/multipartBody1372000510385237595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735879652017,"filename":"image_03012025_05_45_02_496415_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325698648","file1":"1325698645","file0":"1325698639","file3":"1325698651"},"map_files_photo_id_array":[{"photo_id":"1325698648","filename":"file2"},{"photo_id":"1325698645","filename":"file1"},{"photo_id":"1325698639","filename":"file0"},{"photo_id":"1325698651","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325698651":["hashtag1","hashtag2"]},{"1325698645":["hashtag1","hashtag2"]},{"1325698648":["hashtag1","hashtag2"]},{"1325698639":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325698651, 1325698645, 1325698648, 1325698639)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.76283931732178 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 05:47:22.703440
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/05/46/image_03012025_05_46_02_959131_0003.jpg', '/home/pi/Desktop/images/03012025/05/47/image_03012025_05_47_02_487482_0000.jpg', '/home/pi/Desktop/images/03012025/05/47/image_03012025_05_47_02_487482_0001.jpg', '/home/pi/Desktop/images/03012025/05/47/image_03012025_05_47_02_487482_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/05/46/image_03012025_05_46_02_959131_0003.jpg
/home/pi/Desktop/images/03012025/05/47/image_03012025_05_47_02_487482_0000.jpg
/home/pi/Desktop/images/03012025/05/47/image_03012025_05_47_02_487482_0001.jpg
/home/pi/Desktop/images/03012025/05/47/image_03012025_05_47_02_487482_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325698866","1325698908","1325698872","1325698869"],"photo_ids_order":["1325698866","1325698869","1325698872","1325698908"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7b08981c35bc0019f1083cd9ed3858fc.jpg","text":"TemporaryFile(/tmp/multipartBody240343036031883074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735879712771,"filename":"image_03012025_05_46_02_959131_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a183fa4daa7f9de4f256d323bb27b9b4.jpg","text":"TemporaryFile(/tmp/multipartBody2661551439011947162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735879712771,"filename":"image_03012025_05_47_02_487482_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8b6f8699de3bfccd0fe7fe7ecf381f2a.jpg","text":"TemporaryFile(/tmp/multipartBody6157705803313127274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735879712771,"filename":"image_03012025_05_47_02_487482_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/732d62394011c3cbe80d796126907df8.jpg","text":"TemporaryFile(/tmp/multipartBody4953224528936643644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735879712771,"filename":"image_03012025_05_47_02_487482_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325698872","file1":"1325698869","file0":"1325698866","file3":"1325698908"},"map_files_photo_id_array":[{"photo_id":"1325698872","filename":"file2"},{"photo_id":"1325698869","filename":"file1"},{"photo_id":"1325698866","filename":"file0"},{"photo_id":"1325698908","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325698866":["hashtag1","hashtag2"]},{"1325698908":["hashtag1","hashtag2"]},{"1325698872":["hashtag1","hashtag2"]},{"1325698869":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325698866, 1325698908, 1325698872, 1325698869)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.04827308654785 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 05:48:22.287220
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/05/47/image_03012025_05_47_02_487482_0003.jpg', '/home/pi/Desktop/images/03012025/05/48/image_03012025_05_48_03_107916_0000.jpg', '/home/pi/Desktop/images/03012025/05/48/image_03012025_05_48_03_107916_0001.jpg', '/home/pi/Desktop/images/03012025/05/48/image_03012025_05_48_03_107916_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/05/47/image_03012025_05_47_02_487482_0003.jpg
/home/pi/Desktop/images/03012025/05/48/image_03012025_05_48_03_107916_0000.jpg
/home/pi/Desktop/images/03012025/05/48/image_03012025_05_48_03_107916_0001.jpg
/home/pi/Desktop/images/03012025/05/48/image_03012025_05_48_03_107916_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325699019","1325699015","1325699011","1325699008"],"photo_ids_order":["1325699008","1325699011","1325699015","1325699019"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6da9dfdaff669ac9bd5adce891dd8811.jpg","text":"TemporaryFile(/tmp/multipartBody6415380370573157584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735879772379,"filename":"image_03012025_05_48_03_107916_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/99d2e54f6bbf833ccd0385ef5e41e3b0.jpg","text":"TemporaryFile(/tmp/multipartBody787041996023123256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735879772379,"filename":"image_03012025_05_48_03_107916_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c69db91a97b4d24dd178674247e413c6.jpg","text":"TemporaryFile(/tmp/multipartBody3130755495603910116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735879772379,"filename":"image_03012025_05_48_03_107916_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4ba07e80267fc6e4d491381bb4cae699.jpg","text":"TemporaryFile(/tmp/multipartBody697244326729536523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735879772379,"filename":"image_03012025_05_47_02_487482_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325699015","file1":"1325699011","file0":"1325699008","file3":"1325699019"},"map_files_photo_id_array":[{"photo_id":"1325699015","filename":"file2"},{"photo_id":"1325699011","filename":"file1"},{"photo_id":"1325699008","filename":"file0"},{"photo_id":"1325699019","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325699019":["hashtag1","hashtag2"]},{"1325699015":["hashtag1","hashtag2"]},{"1325699011":["hashtag1","hashtag2"]},{"1325699008":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325699019, 1325699015, 1325699011, 1325699008)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.40017509460449 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 05:49:21.769111
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/05/48/image_03012025_05_48_03_107916_0003.jpg', '/home/pi/Desktop/images/03012025/05/49/image_03012025_05_49_02_635936_0000.jpg', '/home/pi/Desktop/images/03012025/05/49/image_03012025_05_49_02_635936_0001.jpg', '/home/pi/Desktop/images/03012025/05/49/image_03012025_05_49_02_635936_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/05/48/image_03012025_05_48_03_107916_0003.jpg
/home/pi/Desktop/images/03012025/05/49/image_03012025_05_49_02_635936_0000.jpg
/home/pi/Desktop/images/03012025/05/49/image_03012025_05_49_02_635936_0001.jpg
/home/pi/Desktop/images/03012025/05/49/image_03012025_05_49_02_635936_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325699031","1325699028","1325699038","1325699034"],"photo_ids_order":["1325699028","1325699031","1325699034","1325699038"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8ea02f06e6cd8520c7bf1fb26a3940fe.jpg","text":"TemporaryFile(/tmp/multipartBody7221644660393446096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735879832091,"filename":"image_03012025_05_49_02_635936_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3bab0ccbec01ad9858d45edcd0a14ef8.jpg","text":"TemporaryFile(/tmp/multipartBody4997121212243403743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735879832091,"filename":"image_03012025_05_48_03_107916_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c6d396c0c978bef451b1c14b7807099c.jpg","text":"TemporaryFile(/tmp/multipartBody199899017308400421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735879832091,"filename":"image_03012025_05_49_02_635936_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b392c0fe6404577c87b76efb4c0f4759.jpg","text":"TemporaryFile(/tmp/multipartBody8757465746580059261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735879832091,"filename":"image_03012025_05_49_02_635936_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325699034","file1":"1325699031","file0":"1325699028","file3":"1325699038"},"map_files_photo_id_array":[{"photo_id":"1325699034","filename":"file2"},{"photo_id":"1325699031","filename":"file1"},{"photo_id":"1325699028","filename":"file0"},{"photo_id":"1325699038","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325699031":["hashtag1","hashtag2"]},{"1325699028":["hashtag1","hashtag2"]},{"1325699038":["hashtag1","hashtag2"]},{"1325699034":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325699031, 1325699028, 1325699038, 1325699034)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.18627095222473 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 05:50:02.636973
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 05:50:22.292044
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/05/49/image_03012025_05_49_02_635936_0003.jpg', '/home/pi/Desktop/images/03012025/05/50/image_03012025_05_50_02_138264_0000.jpg', '/home/pi/Desktop/images/03012025/05/50/image_03012025_05_50_02_138264_0001.jpg', '/home/pi/Desktop/images/03012025/05/50/image_03012025_05_50_02_138264_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/05/49/image_03012025_05_49_02_635936_0003.jpg
/home/pi/Desktop/images/03012025/05/50/image_03012025_05_50_02_138264_0000.jpg
/home/pi/Desktop/images/03012025/05/50/image_03012025_05_50_02_138264_0001.jpg
/home/pi/Desktop/images/03012025/05/50/image_03012025_05_50_02_138264_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325699045","1325699052","1325699055","1325699049"],"photo_ids_order":["1325699045","1325699049","1325699052","1325699055"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0c34b53f8b90497b137d01575fe21411.jpg","text":"TemporaryFile(/tmp/multipartBody6004387089446944967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735879892607,"filename":"image_03012025_05_49_02_635936_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/70b05f0ded62048aeea5575dfb0e4fc8.jpg","text":"TemporaryFile(/tmp/multipartBody1384987937864173709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735879892607,"filename":"image_03012025_05_50_02_138264_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ed4ec7b792d071fbba8f3198b6e738ed.jpg","text":"TemporaryFile(/tmp/multipartBody5389167250165830771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735879892607,"filename":"image_03012025_05_50_02_138264_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f02c688d8a04c4efd36a179860a0b358.jpg","text":"TemporaryFile(/tmp/multipartBody957609147855563759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735879892607,"filename":"image_03012025_05_50_02_138264_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325699052","file1":"1325699049","file0":"1325699045","file3":"1325699055"},"map_files_photo_id_array":[{"photo_id":"1325699052","filename":"file2"},{"photo_id":"1325699049","filename":"file1"},{"photo_id":"1325699045","filename":"file0"},{"photo_id":"1325699055","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325699045":["hashtag1","hashtag2"]},{"1325699052":["hashtag1","hashtag2"]},{"1325699055":["hashtag1","hashtag2"]},{"1325699049":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325699045, 1325699052, 1325699055, 1325699049)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.63626170158386 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 05:51:21.802030
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/05/50/image_03012025_05_50_02_138264_0003.jpg', '/home/pi/Desktop/images/03012025/05/51/image_03012025_05_51_02_643676_0000.jpg', '/home/pi/Desktop/images/03012025/05/51/image_03012025_05_51_02_643676_0001.jpg', '/home/pi/Desktop/images/03012025/05/51/image_03012025_05_51_02_643676_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/05/50/image_03012025_05_50_02_138264_0003.jpg
/home/pi/Desktop/images/03012025/05/51/image_03012025_05_51_02_643676_0000.jpg
/home/pi/Desktop/images/03012025/05/51/image_03012025_05_51_02_643676_0001.jpg
/home/pi/Desktop/images/03012025/05/51/image_03012025_05_51_02_643676_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325699066","1325699068","1325699061","1325699064"],"photo_ids_order":["1325699061","1325699064","1325699066","1325699068"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/dcdd819c276ea47d5081df350d9e10c1.jpg","text":"TemporaryFile(/tmp/multipartBody5346571776683381846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735879952156,"filename":"image_03012025_05_51_02_643676_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c2a65ebf1098f506037bfbff60dab50c.jpg","text":"TemporaryFile(/tmp/multipartBody4561304695696370150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735879952156,"filename":"image_03012025_05_51_02_643676_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c4180a63f3f3f90fdde61b33bd983464.jpg","text":"TemporaryFile(/tmp/multipartBody6604272920968158212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735879952156,"filename":"image_03012025_05_50_02_138264_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/67a82b6e89bedde8b75fb21070383aea.jpg","text":"TemporaryFile(/tmp/multipartBody5481636170980438212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735879952156,"filename":"image_03012025_05_51_02_643676_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325699066","file1":"1325699064","file0":"1325699061","file3":"1325699068"},"map_files_photo_id_array":[{"photo_id":"1325699066","filename":"file2"},{"photo_id":"1325699064","filename":"file1"},{"photo_id":"1325699061","filename":"file0"},{"photo_id":"1325699068","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325699066":["hashtag1","hashtag2"]},{"1325699068":["hashtag1","hashtag2"]},{"1325699061":["hashtag1","hashtag2"]},{"1325699064":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325699066, 1325699068, 1325699061, 1325699064)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.168570041656494 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 05:52:22.355546
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/05/51/image_03012025_05_51_02_643676_0003.jpg', '/home/pi/Desktop/images/03012025/05/52/image_03012025_05_52_02_181722_0000.jpg', '/home/pi/Desktop/images/03012025/05/52/image_03012025_05_52_02_181722_0001.jpg', '/home/pi/Desktop/images/03012025/05/52/image_03012025_05_52_02_181722_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/05/51/image_03012025_05_51_02_643676_0003.jpg
/home/pi/Desktop/images/03012025/05/52/image_03012025_05_52_02_181722_0000.jpg
/home/pi/Desktop/images/03012025/05/52/image_03012025_05_52_02_181722_0001.jpg
/home/pi/Desktop/images/03012025/05/52/image_03012025_05_52_02_181722_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325699077","1325699085","1325699079","1325699082"],"photo_ids_order":["1325699077","1325699079","1325699082","1325699085"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d84a07de04f37b42afbc8ba65d0da418.jpg","text":"TemporaryFile(/tmp/multipartBody6008017757962061392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735880012594,"filename":"image_03012025_05_51_02_643676_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8a8673660a0ea4b8386abddecce52a2e.jpg","text":"TemporaryFile(/tmp/multipartBody4409659381881894822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735880012594,"filename":"image_03012025_05_52_02_181722_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/626db644c9c2e594024e8323d75daca5.jpg","text":"TemporaryFile(/tmp/multipartBody3202680816142527888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735880012594,"filename":"image_03012025_05_52_02_181722_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5ea9ce614ae50a7440924c0de3056c39.jpg","text":"TemporaryFile(/tmp/multipartBody6605325201437895376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735880012594,"filename":"image_03012025_05_52_02_181722_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325699082","file1":"1325699079","file0":"1325699077","file3":"1325699085"},"map_files_photo_id_array":[{"photo_id":"1325699082","filename":"file2"},{"photo_id":"1325699079","filename":"file1"},{"photo_id":"1325699077","filename":"file0"},{"photo_id":"1325699085","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325699077":["hashtag1","hashtag2"]},{"1325699085":["hashtag1","hashtag2"]},{"1325699079":["hashtag1","hashtag2"]},{"1325699082":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325699077, 1325699085, 1325699079, 1325699082)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.549227714538574 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 05:53:21.802089
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/05/52/image_03012025_05_52_02_181722_0003.jpg', '/home/pi/Desktop/images/03012025/05/53/image_03012025_05_53_02_708825_0000.jpg', '/home/pi/Desktop/images/03012025/05/53/image_03012025_05_53_02_708825_0001.jpg', '/home/pi/Desktop/images/03012025/05/53/image_03012025_05_53_02_708825_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/05/52/image_03012025_05_52_02_181722_0003.jpg
/home/pi/Desktop/images/03012025/05/53/image_03012025_05_53_02_708825_0000.jpg
/home/pi/Desktop/images/03012025/05/53/image_03012025_05_53_02_708825_0001.jpg
/home/pi/Desktop/images/03012025/05/53/image_03012025_05_53_02_708825_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325699108","1325699102","1325699105","1325699110"],"photo_ids_order":["1325699102","1325699105","1325699108","1325699110"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1d3351bea87b6be59b3a1dfbbe355fe7.jpg","text":"TemporaryFile(/tmp/multipartBody8582697837788773164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735880072125,"filename":"image_03012025_05_53_02_708825_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/28383f0cb46fb5893eb4e36b63ec855d.jpg","text":"TemporaryFile(/tmp/multipartBody2781155193807263796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735880072125,"filename":"image_03012025_05_52_02_181722_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0f4710631bffd70f3f9b79d26e7daf98.jpg","text":"TemporaryFile(/tmp/multipartBody523321695775950047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735880072125,"filename":"image_03012025_05_53_02_708825_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b2fc10dbd82b747ab889d2314bf8aac7.jpg","text":"TemporaryFile(/tmp/multipartBody1698103962883983666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735880072125,"filename":"image_03012025_05_53_02_708825_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325699108","file1":"1325699105","file0":"1325699102","file3":"1325699110"},"map_files_photo_id_array":[{"photo_id":"1325699108","filename":"file2"},{"photo_id":"1325699105","filename":"file1"},{"photo_id":"1325699102","filename":"file0"},{"photo_id":"1325699110","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325699108":["hashtag1","hashtag2"]},{"1325699102":["hashtag1","hashtag2"]},{"1325699105":["hashtag1","hashtag2"]},{"1325699110":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325699108, 1325699102, 1325699105, 1325699110)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.58070492744446 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 05:54:22.374631
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/05/53/image_03012025_05_53_02_708825_0003.jpg', '/home/pi/Desktop/images/03012025/05/54/image_03012025_05_54_02_195045_0000.jpg', '/home/pi/Desktop/images/03012025/05/54/image_03012025_05_54_02_195045_0001.jpg', '/home/pi/Desktop/images/03012025/05/54/image_03012025_05_54_02_195045_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/05/53/image_03012025_05_53_02_708825_0003.jpg
/home/pi/Desktop/images/03012025/05/54/image_03012025_05_54_02_195045_0000.jpg
/home/pi/Desktop/images/03012025/05/54/image_03012025_05_54_02_195045_0001.jpg
/home/pi/Desktop/images/03012025/05/54/image_03012025_05_54_02_195045_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.968142747879028 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 05:55:02.327108
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/05/53/image_03012025_05_53_02_708825_0003.jpg', '/home/pi/Desktop/images/03012025/05/54/image_03012025_05_54_02_195045_0000.jpg', '/home/pi/Desktop/images/03012025/05/54/image_03012025_05_54_02_195045_0001.jpg', '/home/pi/Desktop/images/03012025/05/54/image_03012025_05_54_02_195045_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/05/53/image_03012025_05_53_02_708825_0003.jpg
/home/pi/Desktop/images/03012025/05/54/image_03012025_05_54_02_195045_0000.jpg
/home/pi/Desktop/images/03012025/05/54/image_03012025_05_54_02_195045_0001.jpg
/home/pi/Desktop/images/03012025/05/54/image_03012025_05_54_02_195045_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325699132","1325699131","1325699134","1325699136"],"photo_ids_order":["1325699131","1325699132","1325699134","1325699136"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2383c2c5315be4f5abb5876ef33504b9.jpg","text":"TemporaryFile(/tmp/multipartBody9091175244627846713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735880172780,"filename":"image_03012025_05_54_02_195045_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a4f71a7e44c2183b465278a12a3f092b.jpg","text":"TemporaryFile(/tmp/multipartBody893266888212002549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735880172780,"filename":"image_03012025_05_53_02_708825_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c0759425eb27dbbec78a44b1058f7bee.jpg","text":"TemporaryFile(/tmp/multipartBody1071962296528915004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735880172780,"filename":"image_03012025_05_54_02_195045_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/48789b7a6242497504c0af721eb23fb6.jpg","text":"TemporaryFile(/tmp/multipartBody4400696204157105125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735880172780,"filename":"image_03012025_05_54_02_195045_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325699134","file1":"1325699132","file0":"1325699131","file3":"1325699136"},"map_files_photo_id_array":[{"photo_id":"1325699134","filename":"file2"},{"photo_id":"1325699132","filename":"file1"},{"photo_id":"1325699131","filename":"file0"},{"photo_id":"1325699136","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325699132":["hashtag1","hashtag2"]},{"1325699131":["hashtag1","hashtag2"]},{"1325699134":["hashtag1","hashtag2"]},{"1325699136":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325699132, 1325699131, 1325699134, 1325699136)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.73544669151306 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 05:56:03.087300
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/05/54/image_03012025_05_54_02_195045_0003.jpg', '/home/pi/Desktop/images/03012025/05/55/image_03012025_05_55_02_748355_0000.jpg', '/home/pi/Desktop/images/03012025/05/55/image_03012025_05_55_02_748355_0001.jpg', '/home/pi/Desktop/images/03012025/05/55/image_03012025_05_55_02_748355_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/05/54/image_03012025_05_54_02_195045_0003.jpg
/home/pi/Desktop/images/03012025/05/55/image_03012025_05_55_02_748355_0000.jpg
/home/pi/Desktop/images/03012025/05/55/image_03012025_05_55_02_748355_0001.jpg
/home/pi/Desktop/images/03012025/05/55/image_03012025_05_55_02_748355_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.870755434036255 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 05:56:22.559150
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/05/54/image_03012025_05_54_02_195045_0003.jpg', '/home/pi/Desktop/images/03012025/05/55/image_03012025_05_55_02_748355_0000.jpg', '/home/pi/Desktop/images/03012025/05/55/image_03012025_05_55_02_748355_0001.jpg', '/home/pi/Desktop/images/03012025/05/55/image_03012025_05_55_02_748355_0002.jpg', '/home/pi/Desktop/images/03012025/05/55/image_03012025_05_55_02_748355_0003.jpg', '/home/pi/Desktop/images/03012025/05/56/image_03012025_05_56_02_265164_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/05/54/image_03012025_05_54_02_195045_0003.jpg
/home/pi/Desktop/images/03012025/05/55/image_03012025_05_55_02_748355_0000.jpg
/home/pi/Desktop/images/03012025/05/55/image_03012025_05_55_02_748355_0001.jpg
/home/pi/Desktop/images/03012025/05/55/image_03012025_05_55_02_748355_0002.jpg
/home/pi/Desktop/images/03012025/05/55/image_03012025_05_55_02_748355_0003.jpg
/home/pi/Desktop/images/03012025/05/56/image_03012025_05_56_02_265164_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":["1325699351","1325699359","1325699452","1325699356","1325699355","1325699328"],"photo_ids_order":["1325699328","1325699351","1325699355","1325699356","1325699359","1325699452"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/332cc11023edbe5b9f6dfe7353ad0e95.jpg","text":"TemporaryFile(/tmp/multipartBody2714394534537896627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735880257610,"filename":"image_03012025_05_55_02_748355_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4810a712397baa7d9154d72b4cc2aff5.jpg","text":"TemporaryFile(/tmp/multipartBody1830733077962628350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735880257610,"filename":"image_03012025_05_55_02_748355_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/775f931091811345a2cc93fed6230180.jpg","text":"TemporaryFile(/tmp/multipartBody7764788879967566714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735880257610,"filename":"image_03012025_05_56_02_265164_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/854e8bb2cdfeefabbdf248aaad584fc8.jpg","text":"TemporaryFile(/tmp/multipartBody500982846841262497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735880257610,"filename":"image_03012025_05_55_02_748355_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/37b4449a6368a967fbc1b6949ae451f0.jpg","text":"TemporaryFile(/tmp/multipartBody7260662129771348462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735880257610,"filename":"image_03012025_05_55_02_748355_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2093176bbdc604d0f206750e792c5755.jpg","text":"TemporaryFile(/tmp/multipartBody1058663695874195279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735880257610,"filename":"image_03012025_05_54_02_195045_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325699355","file1":"1325699351","file0":"1325699328","file4":"1325699359","file5":"1325699452","file3":"1325699356"},"map_files_photo_id_array":[{"photo_id":"1325699452","filename":"file5"},{"photo_id":"1325699355","filename":"file2"},{"photo_id":"1325699359","filename":"file4"},{"photo_id":"1325699351","filename":"file1"},{"photo_id":"1325699328","filename":"file0"},{"photo_id":"1325699356","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325699351":["hashtag1","hashtag2"]},{"1325699359":["hashtag1","hashtag2"]},{"1325699452":["hashtag1","hashtag2"]},{"1325699356":["hashtag1","hashtag2"]},{"1325699355":["hashtag1","hashtag2"]},{"1325699328":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325699351, 1325699359, 1325699452, 1325699356, 1325699355, 1325699328)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.79522633552551 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 05:59:03.406857
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/05/56/image_03012025_05_56_02_265164_0001.jpg', '/home/pi/Desktop/images/03012025/05/56/image_03012025_05_56_02_265164_0002.jpg', '/home/pi/Desktop/images/03012025/05/56/image_03012025_05_56_02_265164_0003.jpg', '/home/pi/Desktop/images/03012025/05/57/image_03012025_05_57_02_891976_0000.jpg', '/home/pi/Desktop/images/03012025/05/57/image_03012025_05_57_02_891976_0001.jpg', '/home/pi/Desktop/images/03012025/05/57/image_03012025_05_57_02_891976_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/05/56/image_03012025_05_56_02_265164_0001.jpg
/home/pi/Desktop/images/03012025/05/56/image_03012025_05_56_02_265164_0002.jpg
/home/pi/Desktop/images/03012025/05/56/image_03012025_05_56_02_265164_0003.jpg
/home/pi/Desktop/images/03012025/05/57/image_03012025_05_57_02_891976_0000.jpg
/home/pi/Desktop/images/03012025/05/57/image_03012025_05_57_02_891976_0001.jpg
/home/pi/Desktop/images/03012025/05/57/image_03012025_05_57_02_891976_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325700055","1325699992","1325700051","1325699932","1325699988","1325700074"],"photo_ids_order":["1325699932","1325699988","1325699992","1325700051","1325700055","1325700074"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1e9ac179604653f603c771ac7b7322be.jpg","text":"TemporaryFile(/tmp/multipartBody2661230963375608829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735880418441,"filename":"image_03012025_05_57_02_891976_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a850380c0c8c92f8582d4a37ad4d17ec.jpg","text":"TemporaryFile(/tmp/multipartBody6874974121420506434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735880418441,"filename":"image_03012025_05_56_02_265164_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/654f11defeb1b7002cc077acccb3ac91.jpg","text":"TemporaryFile(/tmp/multipartBody4256486698783710190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735880418441,"filename":"image_03012025_05_57_02_891976_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a8a5eef88a9f1c28cdb0733068b73802.jpg","text":"TemporaryFile(/tmp/multipartBody6212378501915280152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735880418441,"filename":"image_03012025_05_56_02_265164_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e5702de48bb4e8ee8834755aafde095d.jpg","text":"TemporaryFile(/tmp/multipartBody1860442962603044691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735880418441,"filename":"image_03012025_05_56_02_265164_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6c21aab063aba06924327bb7e0ff2164.jpg","text":"TemporaryFile(/tmp/multipartBody8805574215596985213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735880418441,"filename":"image_03012025_05_57_02_891976_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325699992","file1":"1325699988","file0":"1325699932","file4":"1325700055","file5":"1325700074","file3":"1325700051"},"map_files_photo_id_array":[{"photo_id":"1325700074","filename":"file5"},{"photo_id":"1325699992","filename":"file2"},{"photo_id":"1325700055","filename":"file4"},{"photo_id":"1325699988","filename":"file1"},{"photo_id":"1325699932","filename":"file0"},{"photo_id":"1325700051","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325700055":["hashtag1","hashtag2"]},{"1325699992":["hashtag1","hashtag2"]},{"1325700051":["hashtag1","hashtag2"]},{"1325699932":["hashtag1","hashtag2"]},{"1325699988":["hashtag1","hashtag2"]},{"1325700074":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325700055, 1325699992, 1325700051, 1325699932, 1325699988, 1325700074)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.97986435890198 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 06:00:02.724828
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/05/57/image_03012025_05_57_02_891976_0003.jpg', '/home/pi/Desktop/images/03012025/05/58/image_03012025_05_58_02_403491_0000.jpg', '/home/pi/Desktop/images/03012025/05/58/image_03012025_05_58_02_403491_0001.jpg', '/home/pi/Desktop/images/03012025/05/58/image_03012025_05_58_02_403491_0002.jpg', '/home/pi/Desktop/images/03012025/05/58/image_03012025_05_58_02_403491_0003.jpg', '/home/pi/Desktop/images/03012025/05/59/image_03012025_05_59_02_930073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/05/57/image_03012025_05_57_02_891976_0003.jpg
/home/pi/Desktop/images/03012025/05/58/image_03012025_05_58_02_403491_0000.jpg
/home/pi/Desktop/images/03012025/05/58/image_03012025_05_58_02_403491_0001.jpg
/home/pi/Desktop/images/03012025/05/58/image_03012025_05_58_02_403491_0002.jpg
/home/pi/Desktop/images/03012025/05/58/image_03012025_05_58_02_403491_0003.jpg
/home/pi/Desktop/images/03012025/05/59/image_03012025_05_59_02_930073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325700097","1325700100","1325700093","1325700105","1325700114","1325700108"],"photo_ids_order":["1325700093","1325700097","1325700100","1325700105","1325700108","1325700114"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/db391977347844df6e4372cd94e79abc.jpg","text":"TemporaryFile(/tmp/multipartBody509852613640266798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735880477979,"filename":"image_03012025_05_58_02_403491_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/484b6ead97553dc44e678639173f32ad.jpg","text":"TemporaryFile(/tmp/multipartBody1687377131529399902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735880477979,"filename":"image_03012025_05_58_02_403491_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3691d2e34758da3f204bc25bfb3fdf47.jpg","text":"TemporaryFile(/tmp/multipartBody1149392069431976013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735880477979,"filename":"image_03012025_05_57_02_891976_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f0456447adb0482935a7f999682ba131.jpg","text":"TemporaryFile(/tmp/multipartBody4321809537548645157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735880477979,"filename":"image_03012025_05_58_02_403491_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d3755493e19bb9bea17ad87135a8716f.jpg","text":"TemporaryFile(/tmp/multipartBody5266336366779235765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735880477979,"filename":"image_03012025_05_59_02_930073_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/22e22d361bfbf604f69f2843d8309dcc.jpg","text":"TemporaryFile(/tmp/multipartBody3828595642245870312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735880477979,"filename":"image_03012025_05_58_02_403491_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325700100","file1":"1325700097","file0":"1325700093","file4":"1325700108","file5":"1325700114","file3":"1325700105"},"map_files_photo_id_array":[{"photo_id":"1325700114","filename":"file5"},{"photo_id":"1325700100","filename":"file2"},{"photo_id":"1325700108","filename":"file4"},{"photo_id":"1325700097","filename":"file1"},{"photo_id":"1325700093","filename":"file0"},{"photo_id":"1325700105","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325700097":["hashtag1","hashtag2"]},{"1325700100":["hashtag1","hashtag2"]},{"1325700093":["hashtag1","hashtag2"]},{"1325700105":["hashtag1","hashtag2"]},{"1325700114":["hashtag1","hashtag2"]},{"1325700108":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325700097, 1325700100, 1325700093, 1325700105, 1325700114, 1325700108)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.58182716369629 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 06:01:02.283835
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/05/59/image_03012025_05_59_02_930073_0001.jpg', '/home/pi/Desktop/images/03012025/05/59/image_03012025_05_59_02_930073_0003.jpg', '/home/pi/Desktop/images/03012025/06/00/image_03012025_06_00_03_086985_0000.jpg', '/home/pi/Desktop/images/03012025/06/00/image_03012025_06_00_03_086985_0001.jpg', '/home/pi/Desktop/images/03012025/06/00/image_03012025_06_00_03_086985_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/05/59/image_03012025_05_59_02_930073_0001.jpg
/home/pi/Desktop/images/03012025/05/59/image_03012025_05_59_02_930073_0003.jpg
/home/pi/Desktop/images/03012025/06/00/image_03012025_06_00_03_086985_0000.jpg
/home/pi/Desktop/images/03012025/06/00/image_03012025_06_00_03_086985_0001.jpg
/home/pi/Desktop/images/03012025/06/00/image_03012025_06_00_03_086985_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325700130","1325700124","1325700138","1325700126","1325700134"],"photo_ids_order":["1325700124","1325700126","1325700130","1325700134","1325700138"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/981b5281b1eac46bc91151d5c06ad25a.jpg","text":"TemporaryFile(/tmp/multipartBody6805103950751846705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735880535107,"filename":"image_03012025_06_00_03_086985_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5367dac3c17520d9b42d63e5fc580eed.jpg","text":"TemporaryFile(/tmp/multipartBody6997832411289009437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735880535107,"filename":"image_03012025_05_59_02_930073_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f2829d3b23a2aa9631166715274ccb24.jpg","text":"TemporaryFile(/tmp/multipartBody6948875297703049102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735880535107,"filename":"image_03012025_06_00_03_086985_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8b37db7f67e55e9da76c49902cd494b5.jpg","text":"TemporaryFile(/tmp/multipartBody8586250684781306961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735880535107,"filename":"image_03012025_05_59_02_930073_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a185bc1bdffe79fef975a23b5b7c85b8.jpg","text":"TemporaryFile(/tmp/multipartBody4217024593793761525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735880535107,"filename":"image_03012025_06_00_03_086985_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325700130","file1":"1325700126","file0":"1325700124","file4":"1325700138","file3":"1325700134"},"map_files_photo_id_array":[{"photo_id":"1325700130","filename":"file2"},{"photo_id":"1325700138","filename":"file4"},{"photo_id":"1325700126","filename":"file1"},{"photo_id":"1325700124","filename":"file0"},{"photo_id":"1325700134","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325700130":["hashtag1","hashtag2"]},{"1325700124":["hashtag1","hashtag2"]},{"1325700138":["hashtag1","hashtag2"]},{"1325700126":["hashtag1","hashtag2"]},{"1325700134":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325700130, 1325700124, 1325700138, 1325700126, 1325700134)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 48.05392122268677 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 06:02:02.895915
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/06/00/image_03012025_06_00_03_086985_0003.jpg', '/home/pi/Desktop/images/03012025/06/01/image_03012025_06_01_02_685222_0000.jpg', '/home/pi/Desktop/images/03012025/06/01/image_03012025_06_01_02_685222_0001.jpg', '/home/pi/Desktop/images/03012025/06/01/image_03012025_06_01_02_685222_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/06/00/image_03012025_06_00_03_086985_0003.jpg
/home/pi/Desktop/images/03012025/06/01/image_03012025_06_01_02_685222_0000.jpg
/home/pi/Desktop/images/03012025/06/01/image_03012025_06_01_02_685222_0001.jpg
/home/pi/Desktop/images/03012025/06/01/image_03012025_06_01_02_685222_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.977716445922852 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 06:02:22.503504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/06/00/image_03012025_06_00_03_086985_0003.jpg', '/home/pi/Desktop/images/03012025/06/01/image_03012025_06_01_02_685222_0000.jpg', '/home/pi/Desktop/images/03012025/06/01/image_03012025_06_01_02_685222_0001.jpg', '/home/pi/Desktop/images/03012025/06/01/image_03012025_06_01_02_685222_0002.jpg', '/home/pi/Desktop/images/03012025/06/01/image_03012025_06_01_02_685222_0003.jpg', '/home/pi/Desktop/images/03012025/06/02/image_03012025_06_02_02_143558_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/06/00/image_03012025_06_00_03_086985_0003.jpg
/home/pi/Desktop/images/03012025/06/01/image_03012025_06_01_02_685222_0000.jpg
/home/pi/Desktop/images/03012025/06/01/image_03012025_06_01_02_685222_0001.jpg
/home/pi/Desktop/images/03012025/06/01/image_03012025_06_01_02_685222_0002.jpg
/home/pi/Desktop/images/03012025/06/01/image_03012025_06_01_02_685222_0003.jpg
/home/pi/Desktop/images/03012025/06/02/image_03012025_06_02_02_143558_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":["1325700361","1325700370","1325700364","1325700366","1325700354","1325700357"],"photo_ids_order":["1325700354","1325700357","1325700361","1325700364","1325700366","1325700370"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3e3404ea65516f4ed164abd580d80185.jpg","text":"TemporaryFile(/tmp/multipartBody3554049218853765789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735880617626,"filename":"image_03012025_06_01_02_685222_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/56127c0f5729f030b3e521871dbb167b.jpg","text":"TemporaryFile(/tmp/multipartBody3674271274028650588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735880617626,"filename":"image_03012025_06_02_02_143558_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/edadce00856003c57387ab09efaad20e.jpg","text":"TemporaryFile(/tmp/multipartBody1818389525610832890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735880617626,"filename":"image_03012025_06_01_02_685222_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3f613feb81930f52302aaefece539549.jpg","text":"TemporaryFile(/tmp/multipartBody3874270228132774902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735880617626,"filename":"image_03012025_06_01_02_685222_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5b2b1553ea9b2b14de5a0b9597f02c42.jpg","text":"TemporaryFile(/tmp/multipartBody3184734701068137666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735880617626,"filename":"image_03012025_06_00_03_086985_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e82d1e90863d96544351b990bc2cd885.jpg","text":"TemporaryFile(/tmp/multipartBody3261253866893124512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735880617626,"filename":"image_03012025_06_01_02_685222_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325700361","file1":"1325700357","file0":"1325700354","file4":"1325700366","file5":"1325700370","file3":"1325700364"},"map_files_photo_id_array":[{"photo_id":"1325700370","filename":"file5"},{"photo_id":"1325700361","filename":"file2"},{"photo_id":"1325700366","filename":"file4"},{"photo_id":"1325700357","filename":"file1"},{"photo_id":"1325700354","filename":"file0"},{"photo_id":"1325700364","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325700361":["hashtag1","hashtag2"]},{"1325700370":["hashtag1","hashtag2"]},{"1325700364":["hashtag1","hashtag2"]},{"1325700366":["hashtag1","hashtag2"]},{"1325700354":["hashtag1","hashtag2"]},{"1325700357":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325700361, 1325700370, 1325700364, 1325700366, 1325700354, 1325700357)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.46842837333679 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 06:04:03.074193
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/06/02/image_03012025_06_02_02_143558_0001.jpg', '/home/pi/Desktop/images/03012025/06/02/image_03012025_06_02_02_143558_0002.jpg', '/home/pi/Desktop/images/03012025/06/02/image_03012025_06_02_02_143558_0003.jpg', '/home/pi/Desktop/images/03012025/06/03/image_03012025_06_03_02_899731_0000.jpg', '/home/pi/Desktop/images/03012025/06/03/image_03012025_06_03_02_899731_0001.jpg', '/home/pi/Desktop/images/03012025/06/03/image_03012025_06_03_02_899731_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/06/02/image_03012025_06_02_02_143558_0001.jpg
/home/pi/Desktop/images/03012025/06/02/image_03012025_06_02_02_143558_0002.jpg
/home/pi/Desktop/images/03012025/06/02/image_03012025_06_02_02_143558_0003.jpg
/home/pi/Desktop/images/03012025/06/03/image_03012025_06_03_02_899731_0000.jpg
/home/pi/Desktop/images/03012025/06/03/image_03012025_06_03_02_899731_0001.jpg
/home/pi/Desktop/images/03012025/06/03/image_03012025_06_03_02_899731_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325700562","1325700564","1325700558","1325700567","1325700560","1325700623"],"photo_ids_order":["1325700558","1325700560","1325700562","1325700564","1325700567","1325700623"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/384dae22241f0181c1645236ed28890d.jpg","text":"TemporaryFile(/tmp/multipartBody7213780947270799961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735880718267,"filename":"image_03012025_06_02_02_143558_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/eea0013c4d3774697c26cff9bb940150.jpg","text":"TemporaryFile(/tmp/multipartBody741437998099152819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735880718267,"filename":"image_03012025_06_03_02_899731_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/36ba48de912097e785de24590e3613ad.jpg","text":"TemporaryFile(/tmp/multipartBody8729877278361206791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735880718267,"filename":"image_03012025_06_02_02_143558_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e2e6d8a1b783aecbe8b853fb0c2b07d0.jpg","text":"TemporaryFile(/tmp/multipartBody13191091589782153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735880718267,"filename":"image_03012025_06_03_02_899731_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/858d66937126aa35243cbd9a6520e86d.jpg","text":"TemporaryFile(/tmp/multipartBody6416864618042337778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735880718267,"filename":"image_03012025_06_02_02_143558_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d910a697c50113ed236f97e5ead488bd.jpg","text":"TemporaryFile(/tmp/multipartBody1852935623301136158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735880718267,"filename":"image_03012025_06_03_02_899731_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325700562","file1":"1325700560","file0":"1325700558","file4":"1325700567","file5":"1325700623","file3":"1325700564"},"map_files_photo_id_array":[{"photo_id":"1325700623","filename":"file5"},{"photo_id":"1325700562","filename":"file2"},{"photo_id":"1325700567","filename":"file4"},{"photo_id":"1325700560","filename":"file1"},{"photo_id":"1325700558","filename":"file0"},{"photo_id":"1325700564","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325700562":["hashtag1","hashtag2"]},{"1325700564":["hashtag1","hashtag2"]},{"1325700558":["hashtag1","hashtag2"]},{"1325700567":["hashtag1","hashtag2"]},{"1325700560":["hashtag1","hashtag2"]},{"1325700623":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325700562, 1325700564, 1325700558, 1325700567, 1325700560, 1325700623)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.41762709617615 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 06:05:02.683306
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/06/03/image_03012025_06_03_02_899731_0003.jpg', '/home/pi/Desktop/images/03012025/06/04/image_03012025_06_04_02_428071_0000.jpg', '/home/pi/Desktop/images/03012025/06/04/image_03012025_06_04_02_428071_0001.jpg', '/home/pi/Desktop/images/03012025/06/04/image_03012025_06_04_02_428071_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/06/03/image_03012025_06_03_02_899731_0003.jpg
/home/pi/Desktop/images/03012025/06/04/image_03012025_06_04_02_428071_0000.jpg
/home/pi/Desktop/images/03012025/06/04/image_03012025_06_04_02_428071_0001.jpg
/home/pi/Desktop/images/03012025/06/04/image_03012025_06_04_02_428071_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.089187860488892 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 06:05:22.004100
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/06/03/image_03012025_06_03_02_899731_0003.jpg', '/home/pi/Desktop/images/03012025/06/04/image_03012025_06_04_02_428071_0000.jpg', '/home/pi/Desktop/images/03012025/06/04/image_03012025_06_04_02_428071_0001.jpg', '/home/pi/Desktop/images/03012025/06/04/image_03012025_06_04_02_428071_0002.jpg', '/home/pi/Desktop/images/03012025/06/04/image_03012025_06_04_02_428071_0003.jpg', '/home/pi/Desktop/images/03012025/06/05/image_03012025_06_05_02_927725_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/06/03/image_03012025_06_03_02_899731_0003.jpg
/home/pi/Desktop/images/03012025/06/04/image_03012025_06_04_02_428071_0000.jpg
/home/pi/Desktop/images/03012025/06/04/image_03012025_06_04_02_428071_0001.jpg
/home/pi/Desktop/images/03012025/06/04/image_03012025_06_04_02_428071_0002.jpg
/home/pi/Desktop/images/03012025/06/04/image_03012025_06_04_02_428071_0003.jpg
/home/pi/Desktop/images/03012025/06/05/image_03012025_06_05_02_927725_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325700688","1325700736","1325700681","1325700783","1325700684","1325700678"],"photo_ids_order":["1325700678","1325700681","1325700684","1325700688","1325700736","1325700783"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3ebe1fbe71c46fd0b652c607f97a726a.jpg","text":"TemporaryFile(/tmp/multipartBody8789912673205185455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735880797270,"filename":"image_03012025_06_04_02_428071_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b93945a7f55656c3d4ae8ce34ec81fe5.jpg","text":"TemporaryFile(/tmp/multipartBody7207530901691598281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735880797270,"filename":"image_03012025_06_04_02_428071_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/494ff5bf1f75a80e41b14e0d869e83c7.jpg","text":"TemporaryFile(/tmp/multipartBody7843203197256971688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735880797270,"filename":"image_03012025_06_04_02_428071_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/30ba3a176d263853b231cfff51303f42.jpg","text":"TemporaryFile(/tmp/multipartBody5048733872820034057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735880797270,"filename":"image_03012025_06_05_02_927725_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/92d0052c7d51cbaa0d2ff55961a1ff69.jpg","text":"TemporaryFile(/tmp/multipartBody9094422116122658463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735880797270,"filename":"image_03012025_06_04_02_428071_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9fb6067f2d43a6f34f7660c6f3b85741.jpg","text":"TemporaryFile(/tmp/multipartBody6639452134450498721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735880797270,"filename":"image_03012025_06_03_02_899731_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325700684","file1":"1325700681","file0":"1325700678","file4":"1325700736","file5":"1325700783","file3":"1325700688"},"map_files_photo_id_array":[{"photo_id":"1325700783","filename":"file5"},{"photo_id":"1325700684","filename":"file2"},{"photo_id":"1325700736","filename":"file4"},{"photo_id":"1325700681","filename":"file1"},{"photo_id":"1325700678","filename":"file0"},{"photo_id":"1325700688","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325700688":["hashtag1","hashtag2"]},{"1325700736":["hashtag1","hashtag2"]},{"1325700681":["hashtag1","hashtag2"]},{"1325700783":["hashtag1","hashtag2"]},{"1325700684":["hashtag1","hashtag2"]},{"1325700678":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325700688, 1325700736, 1325700681, 1325700783, 1325700684, 1325700678)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.424108028411865 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 06:06:21.754893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/06/05/image_03012025_06_05_02_927725_0001.jpg', '/home/pi/Desktop/images/03012025/06/05/image_03012025_06_05_02_927725_0002.jpg', '/home/pi/Desktop/images/03012025/06/05/image_03012025_06_05_02_927725_0003.jpg', '/home/pi/Desktop/images/03012025/06/06/image_03012025_06_06_02_463507_0000.jpg', '/home/pi/Desktop/images/03012025/06/06/image_03012025_06_06_02_463507_0001.jpg', '/home/pi/Desktop/images/03012025/06/06/image_03012025_06_06_02_463507_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/06/05/image_03012025_06_05_02_927725_0001.jpg
/home/pi/Desktop/images/03012025/06/05/image_03012025_06_05_02_927725_0002.jpg
/home/pi/Desktop/images/03012025/06/05/image_03012025_06_05_02_927725_0003.jpg
/home/pi/Desktop/images/03012025/06/06/image_03012025_06_06_02_463507_0000.jpg
/home/pi/Desktop/images/03012025/06/06/image_03012025_06_06_02_463507_0001.jpg
/home/pi/Desktop/images/03012025/06/06/image_03012025_06_06_02_463507_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325701354","1325701051","1325701377","1325701410","1325701244","1325701406"],"photo_ids_order":["1325701051","1325701244","1325701354","1325701377","1325701406","1325701410"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/972099093e34256890f70a00b7ae1280.jpg","text":"TemporaryFile(/tmp/multipartBody6873464262560815542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735880857056,"filename":"image_03012025_06_05_02_927725_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5bb12d0139d062f8ac3763fec9be21ac.jpg","text":"TemporaryFile(/tmp/multipartBody5779262643813661694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735880857056,"filename":"image_03012025_06_05_02_927725_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/fca86705e85976096766eaa1e80d8ef9.jpg","text":"TemporaryFile(/tmp/multipartBody3291691621052302449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735880857056,"filename":"image_03012025_06_06_02_463507_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a9587ec5196a9c97ddf08d0f16e93976.jpg","text":"TemporaryFile(/tmp/multipartBody4665423183711579440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735880857056,"filename":"image_03012025_06_06_02_463507_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/eae86853a7a4b9332f51cbc9c41d012d.jpg","text":"TemporaryFile(/tmp/multipartBody7789628245829778978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735880857056,"filename":"image_03012025_06_05_02_927725_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c29253a902193bae95760eeeda5f1007.jpg","text":"TemporaryFile(/tmp/multipartBody2440006183470093087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735880857056,"filename":"image_03012025_06_06_02_463507_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325701354","file1":"1325701244","file0":"1325701051","file4":"1325701406","file5":"1325701410","file3":"1325701377"},"map_files_photo_id_array":[{"photo_id":"1325701410","filename":"file5"},{"photo_id":"1325701354","filename":"file2"},{"photo_id":"1325701406","filename":"file4"},{"photo_id":"1325701244","filename":"file1"},{"photo_id":"1325701051","filename":"file0"},{"photo_id":"1325701377","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325701354":["hashtag1","hashtag2"]},{"1325701051":["hashtag1","hashtag2"]},{"1325701377":["hashtag1","hashtag2"]},{"1325701410":["hashtag1","hashtag2"]},{"1325701244":["hashtag1","hashtag2"]},{"1325701406":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325701354, 1325701051, 1325701377, 1325701410, 1325701244, 1325701406)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.65601587295532 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 06:07:22.247160
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/06/06/image_03012025_06_06_02_463507_0003.jpg', '/home/pi/Desktop/images/03012025/06/07/image_03012025_06_07_02_146127_0000.jpg', '/home/pi/Desktop/images/03012025/06/07/image_03012025_06_07_02_146127_0001.jpg', '/home/pi/Desktop/images/03012025/06/07/image_03012025_06_07_02_146127_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/06/06/image_03012025_06_06_02_463507_0003.jpg
/home/pi/Desktop/images/03012025/06/07/image_03012025_06_07_02_146127_0000.jpg
/home/pi/Desktop/images/03012025/06/07/image_03012025_06_07_02_146127_0001.jpg
/home/pi/Desktop/images/03012025/06/07/image_03012025_06_07_02_146127_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325701599","1325701674","1325701586","1325701589"],"photo_ids_order":["1325701586","1325701589","1325701599","1325701674"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3832b62f4ab6d6e3b07f1be8500967e0.jpg","text":"TemporaryFile(/tmp/multipartBody6172668825222561985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735880912573,"filename":"image_03012025_06_07_02_146127_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e326da713d5577deb552d6efdf39cdc4.jpg","text":"TemporaryFile(/tmp/multipartBody8862357614868544251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735880912573,"filename":"image_03012025_06_07_02_146127_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7767dc35bf675c42bdc82793363570d6.jpg","text":"TemporaryFile(/tmp/multipartBody3732193404241156409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735880912573,"filename":"image_03012025_06_06_02_463507_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d3e538a7368376c854ac7513628cc826.jpg","text":"TemporaryFile(/tmp/multipartBody8391970959091958965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735880912573,"filename":"image_03012025_06_07_02_146127_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325701599","file1":"1325701589","file0":"1325701586","file3":"1325701674"},"map_files_photo_id_array":[{"photo_id":"1325701599","filename":"file2"},{"photo_id":"1325701589","filename":"file1"},{"photo_id":"1325701586","filename":"file0"},{"photo_id":"1325701674","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325701599":["hashtag1","hashtag2"]},{"1325701674":["hashtag1","hashtag2"]},{"1325701586":["hashtag1","hashtag2"]},{"1325701589":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325701599, 1325701674, 1325701586, 1325701589)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.58012914657593 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 06:08:03.169980
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 06:08:22.690099
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/06/07/image_03012025_06_07_02_146127_0003.jpg', '/home/pi/Desktop/images/03012025/06/08/image_03012025_06_08_02_624927_0000.jpg', '/home/pi/Desktop/images/03012025/06/08/image_03012025_06_08_02_624927_0001.jpg', '/home/pi/Desktop/images/03012025/06/08/image_03012025_06_08_02_624927_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/06/07/image_03012025_06_07_02_146127_0003.jpg
/home/pi/Desktop/images/03012025/06/08/image_03012025_06_08_02_624927_0000.jpg
/home/pi/Desktop/images/03012025/06/08/image_03012025_06_08_02_624927_0001.jpg
/home/pi/Desktop/images/03012025/06/08/image_03012025_06_08_02_624927_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.82407021522522 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 06:09:02.754650
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/06/07/image_03012025_06_07_02_146127_0003.jpg', '/home/pi/Desktop/images/03012025/06/08/image_03012025_06_08_02_624927_0000.jpg', '/home/pi/Desktop/images/03012025/06/08/image_03012025_06_08_02_624927_0001.jpg', '/home/pi/Desktop/images/03012025/06/08/image_03012025_06_08_02_624927_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/06/07/image_03012025_06_07_02_146127_0003.jpg
/home/pi/Desktop/images/03012025/06/08/image_03012025_06_08_02_624927_0000.jpg
/home/pi/Desktop/images/03012025/06/08/image_03012025_06_08_02_624927_0001.jpg
/home/pi/Desktop/images/03012025/06/08/image_03012025_06_08_02_624927_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325701837","1325701834","1325701839","1325701835"],"photo_ids_order":["1325701834","1325701835","1325701837","1325701839"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/62694ce9aef05f2e648421ad06d2c74b.jpg","text":"TemporaryFile(/tmp/multipartBody7383628964601367006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735881013123,"filename":"image_03012025_06_08_02_624927_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b223cf93a4bcf6724330f802df00d6e0.jpg","text":"TemporaryFile(/tmp/multipartBody6550223830624642908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735881013123,"filename":"image_03012025_06_07_02_146127_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/14d012300e8fd7ddd2c8492c5038f6e9.jpg","text":"TemporaryFile(/tmp/multipartBody4716454566686598160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735881013123,"filename":"image_03012025_06_08_02_624927_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d5fe09fa174bf755eda850a95553ecce.jpg","text":"TemporaryFile(/tmp/multipartBody4314464049054046830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735881013123,"filename":"image_03012025_06_08_02_624927_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325701837","file1":"1325701835","file0":"1325701834","file3":"1325701839"},"map_files_photo_id_array":[{"photo_id":"1325701837","filename":"file2"},{"photo_id":"1325701835","filename":"file1"},{"photo_id":"1325701834","filename":"file0"},{"photo_id":"1325701839","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325701837":["hashtag1","hashtag2"]},{"1325701834":["hashtag1","hashtag2"]},{"1325701839":["hashtag1","hashtag2"]},{"1325701835":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325701837, 1325701834, 1325701839, 1325701835)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.820980072021484 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 06:10:02.215761
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/06/08/image_03012025_06_08_02_624927_0003.jpg', '/home/pi/Desktop/images/03012025/06/09/image_03012025_06_09_03_064955_0000.jpg', '/home/pi/Desktop/images/03012025/06/09/image_03012025_06_09_03_064955_0001.jpg', '/home/pi/Desktop/images/03012025/06/09/image_03012025_06_09_03_064955_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/06/08/image_03012025_06_08_02_624927_0003.jpg
/home/pi/Desktop/images/03012025/06/09/image_03012025_06_09_03_064955_0000.jpg
/home/pi/Desktop/images/03012025/06/09/image_03012025_06_09_03_064955_0001.jpg
/home/pi/Desktop/images/03012025/06/09/image_03012025_06_09_03_064955_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.953796148300171 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 06:10:21.822686
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/06/08/image_03012025_06_08_02_624927_0003.jpg', '/home/pi/Desktop/images/03012025/06/09/image_03012025_06_09_03_064955_0000.jpg', '/home/pi/Desktop/images/03012025/06/09/image_03012025_06_09_03_064955_0001.jpg', '/home/pi/Desktop/images/03012025/06/09/image_03012025_06_09_03_064955_0002.jpg', '/home/pi/Desktop/images/03012025/06/09/image_03012025_06_09_03_064955_0003.jpg', '/home/pi/Desktop/images/03012025/06/10/image_03012025_06_10_02_564526_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/06/08/image_03012025_06_08_02_624927_0003.jpg
/home/pi/Desktop/images/03012025/06/09/image_03012025_06_09_03_064955_0000.jpg
/home/pi/Desktop/images/03012025/06/09/image_03012025_06_09_03_064955_0001.jpg
/home/pi/Desktop/images/03012025/06/09/image_03012025_06_09_03_064955_0002.jpg
/home/pi/Desktop/images/03012025/06/09/image_03012025_06_09_03_064955_0003.jpg
/home/pi/Desktop/images/03012025/06/10/image_03012025_06_10_02_564526_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325701861","1325701870","1325701864","1325701866","1325701857","1325701868"],"photo_ids_order":["1325701857","1325701861","1325701864","1325701866","1325701868","1325701870"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/32d3e8b58b730c69865db20e4b2e2061.jpg","text":"TemporaryFile(/tmp/multipartBody6941092630832482505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735881097094,"filename":"image_03012025_06_09_03_064955_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a0e57420de86d51df2bd5bf590944b30.jpg","text":"TemporaryFile(/tmp/multipartBody2490091028216213362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735881097094,"filename":"image_03012025_06_10_02_564526_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b4a7df68b5dd4d7f2039ecb0086f6b05.jpg","text":"TemporaryFile(/tmp/multipartBody1408829671882302689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735881097094,"filename":"image_03012025_06_09_03_064955_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/07e051f58288512cd66e56ebf4599335.jpg","text":"TemporaryFile(/tmp/multipartBody273482937739766996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735881097094,"filename":"image_03012025_06_09_03_064955_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9f8a815ede46c2230097bc5daaab52d5.jpg","text":"TemporaryFile(/tmp/multipartBody5864170721368233721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735881097094,"filename":"image_03012025_06_08_02_624927_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4755b6006f6738e8859e568b157d5e68.jpg","text":"TemporaryFile(/tmp/multipartBody3729635632718245900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735881097094,"filename":"image_03012025_06_09_03_064955_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325701864","file1":"1325701861","file0":"1325701857","file4":"1325701868","file5":"1325701870","file3":"1325701866"},"map_files_photo_id_array":[{"photo_id":"1325701870","filename":"file5"},{"photo_id":"1325701864","filename":"file2"},{"photo_id":"1325701868","filename":"file4"},{"photo_id":"1325701861","filename":"file1"},{"photo_id":"1325701857","filename":"file0"},{"photo_id":"1325701866","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325701861":["hashtag1","hashtag2"]},{"1325701870":["hashtag1","hashtag2"]},{"1325701864":["hashtag1","hashtag2"]},{"1325701866":["hashtag1","hashtag2"]},{"1325701857":["hashtag1","hashtag2"]},{"1325701868":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325701861, 1325701870, 1325701864, 1325701866, 1325701857, 1325701868)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.8245587348938 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 06:11:22.298101
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/06/10/image_03012025_06_10_02_564526_0001.jpg', '/home/pi/Desktop/images/03012025/06/10/image_03012025_06_10_02_564526_0002.jpg', '/home/pi/Desktop/images/03012025/06/10/image_03012025_06_10_02_564526_0003.jpg', '/home/pi/Desktop/images/03012025/06/11/image_03012025_06_11_02_183758_0000.jpg', '/home/pi/Desktop/images/03012025/06/11/image_03012025_06_11_02_183758_0001.jpg', '/home/pi/Desktop/images/03012025/06/11/image_03012025_06_11_02_183758_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/06/10/image_03012025_06_10_02_564526_0001.jpg
/home/pi/Desktop/images/03012025/06/10/image_03012025_06_10_02_564526_0002.jpg
/home/pi/Desktop/images/03012025/06/10/image_03012025_06_10_02_564526_0003.jpg
/home/pi/Desktop/images/03012025/06/11/image_03012025_06_11_02_183758_0000.jpg
/home/pi/Desktop/images/03012025/06/11/image_03012025_06_11_02_183758_0001.jpg
/home/pi/Desktop/images/03012025/06/11/image_03012025_06_11_02_183758_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325701882","1325701876","1325701874","1325701885","1325701879","1325701888"],"photo_ids_order":["1325701874","1325701876","1325701879","1325701882","1325701885","1325701888"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e657451d643922cd06b5a85ead2f4556.jpg","text":"TemporaryFile(/tmp/multipartBody3163787677578772425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735881157773,"filename":"image_03012025_06_11_02_183758_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/afd74f09f23ef68853935c3ad76a03fa.jpg","text":"TemporaryFile(/tmp/multipartBody6225069550920594611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735881157773,"filename":"image_03012025_06_10_02_564526_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4ce47669da53a8d8e80a4b374d4c6ac9.jpg","text":"TemporaryFile(/tmp/multipartBody2403077518593996970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735881157773,"filename":"image_03012025_06_10_02_564526_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4f543a488d30c3f2ed5d49af0394778d.jpg","text":"TemporaryFile(/tmp/multipartBody3206634201586603138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735881157773,"filename":"image_03012025_06_11_02_183758_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/01d183addffd4a9e6a843b8b66cafb79.jpg","text":"TemporaryFile(/tmp/multipartBody7953944723022719273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735881157773,"filename":"image_03012025_06_10_02_564526_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/637a81a282041928f43c1fcf06ed0025.jpg","text":"TemporaryFile(/tmp/multipartBody2368787032117243448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735881157773,"filename":"image_03012025_06_11_02_183758_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325701879","file1":"1325701876","file0":"1325701874","file4":"1325701885","file5":"1325701888","file3":"1325701882"},"map_files_photo_id_array":[{"photo_id":"1325701888","filename":"file5"},{"photo_id":"1325701879","filename":"file2"},{"photo_id":"1325701885","filename":"file4"},{"photo_id":"1325701876","filename":"file1"},{"photo_id":"1325701874","filename":"file0"},{"photo_id":"1325701882","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325701882":["hashtag1","hashtag2"]},{"1325701876":["hashtag1","hashtag2"]},{"1325701874":["hashtag1","hashtag2"]},{"1325701885":["hashtag1","hashtag2"]},{"1325701879":["hashtag1","hashtag2"]},{"1325701888":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325701882, 1325701876, 1325701874, 1325701885, 1325701879, 1325701888)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.758195638656616 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 06:12:21.843626
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/06/11/image_03012025_06_11_02_183758_0003.jpg', '/home/pi/Desktop/images/03012025/06/12/image_03012025_06_12_02_690446_0000.jpg', '/home/pi/Desktop/images/03012025/06/12/image_03012025_06_12_02_690446_0001.jpg', '/home/pi/Desktop/images/03012025/06/12/image_03012025_06_12_02_690446_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/06/11/image_03012025_06_11_02_183758_0003.jpg
/home/pi/Desktop/images/03012025/06/12/image_03012025_06_12_02_690446_0000.jpg
/home/pi/Desktop/images/03012025/06/12/image_03012025_06_12_02_690446_0001.jpg
/home/pi/Desktop/images/03012025/06/12/image_03012025_06_12_02_690446_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325701900","1325701892","1325701895","1325701904"],"photo_ids_order":["1325701892","1325701895","1325701900","1325701904"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/daf3e9014ad6c6c83858336112b240b9.jpg","text":"TemporaryFile(/tmp/multipartBody3439196900329498826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735881212369,"filename":"image_03012025_06_12_02_690446_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/17d66b09e06759833f02f339bf51ebba.jpg","text":"TemporaryFile(/tmp/multipartBody1233476260244535165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735881212369,"filename":"image_03012025_06_11_02_183758_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/42665c682a3ea29d872cf75e9ffab691.jpg","text":"TemporaryFile(/tmp/multipartBody6115031122121110941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735881212369,"filename":"image_03012025_06_12_02_690446_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e4c57d13d03011ec8a54b51e3b388967.jpg","text":"TemporaryFile(/tmp/multipartBody8218999037251563080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735881212369,"filename":"image_03012025_06_12_02_690446_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325701900","file1":"1325701895","file0":"1325701892","file3":"1325701904"},"map_files_photo_id_array":[{"photo_id":"1325701900","filename":"file2"},{"photo_id":"1325701895","filename":"file1"},{"photo_id":"1325701892","filename":"file0"},{"photo_id":"1325701904","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325701900":["hashtag1","hashtag2"]},{"1325701892":["hashtag1","hashtag2"]},{"1325701895":["hashtag1","hashtag2"]},{"1325701904":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325701900, 1325701892, 1325701895, 1325701904)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.41944622993469 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 06:13:22.355133
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/06/12/image_03012025_06_12_02_690446_0003.jpg', '/home/pi/Desktop/images/03012025/06/13/image_03012025_06_13_02_251503_0000.jpg', '/home/pi/Desktop/images/03012025/06/13/image_03012025_06_13_02_251503_0001.jpg', '/home/pi/Desktop/images/03012025/06/13/image_03012025_06_13_02_251503_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/06/12/image_03012025_06_12_02_690446_0003.jpg
/home/pi/Desktop/images/03012025/06/13/image_03012025_06_13_02_251503_0000.jpg
/home/pi/Desktop/images/03012025/06/13/image_03012025_06_13_02_251503_0001.jpg
/home/pi/Desktop/images/03012025/06/13/image_03012025_06_13_02_251503_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325701921","1325701924","1325701918","1325701927"],"photo_ids_order":["1325701918","1325701921","1325701924","1325701927"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/858552152f40e90969f623f9c9a5bd3c.jpg","text":"TemporaryFile(/tmp/multipartBody7698102119743905461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735881272774,"filename":"image_03012025_06_13_02_251503_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/480e133d2fb6126499a639d52da01d24.jpg","text":"TemporaryFile(/tmp/multipartBody8933238776920731015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735881272774,"filename":"image_03012025_06_13_02_251503_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/39be20bcb4543a3c4d447f7d2dbfdb69.jpg","text":"TemporaryFile(/tmp/multipartBody4162423440256745744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735881272774,"filename":"image_03012025_06_12_02_690446_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/22f6d34f282c835dcfc50e71279213bd.jpg","text":"TemporaryFile(/tmp/multipartBody5903396752786103874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735881272774,"filename":"image_03012025_06_13_02_251503_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325701924","file1":"1325701921","file0":"1325701918","file3":"1325701927"},"map_files_photo_id_array":[{"photo_id":"1325701924","filename":"file2"},{"photo_id":"1325701921","filename":"file1"},{"photo_id":"1325701918","filename":"file0"},{"photo_id":"1325701927","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325701921":["hashtag1","hashtag2"]},{"1325701924":["hashtag1","hashtag2"]},{"1325701918":["hashtag1","hashtag2"]},{"1325701927":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325701921, 1325701924, 1325701918, 1325701927)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.405980825424194 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 06:14:21.875553
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/06/13/image_03012025_06_13_02_251503_0003.jpg', '/home/pi/Desktop/images/03012025/06/14/image_03012025_06_14_02_742985_0000.jpg', '/home/pi/Desktop/images/03012025/06/14/image_03012025_06_14_02_742985_0001.jpg', '/home/pi/Desktop/images/03012025/06/14/image_03012025_06_14_02_742985_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/06/13/image_03012025_06_13_02_251503_0003.jpg
/home/pi/Desktop/images/03012025/06/14/image_03012025_06_14_02_742985_0000.jpg
/home/pi/Desktop/images/03012025/06/14/image_03012025_06_14_02_742985_0001.jpg
/home/pi/Desktop/images/03012025/06/14/image_03012025_06_14_02_742985_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325701942","1325701951","1325701956","1325701946"],"photo_ids_order":["1325701942","1325701946","1325701951","1325701956"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0858d85915704cea4385d512dfce7a0d.jpg","text":"TemporaryFile(/tmp/multipartBody5488915244134472928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735881332138,"filename":"image_03012025_06_13_02_251503_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3a3808ce53568854654763370e1d0633.jpg","text":"TemporaryFile(/tmp/multipartBody8194528349492484531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735881332138,"filename":"image_03012025_06_14_02_742985_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3e4bebc5d1467d0eb014765eb0a1ae45.jpg","text":"TemporaryFile(/tmp/multipartBody8934344627566217991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735881332138,"filename":"image_03012025_06_14_02_742985_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/80a7c67ccaddac2c4410a79e0828798a.jpg","text":"TemporaryFile(/tmp/multipartBody5011059313918314329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735881332138,"filename":"image_03012025_06_14_02_742985_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325701951","file1":"1325701946","file0":"1325701942","file3":"1325701956"},"map_files_photo_id_array":[{"photo_id":"1325701951","filename":"file2"},{"photo_id":"1325701946","filename":"file1"},{"photo_id":"1325701942","filename":"file0"},{"photo_id":"1325701956","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325701942":["hashtag1","hashtag2"]},{"1325701951":["hashtag1","hashtag2"]},{"1325701956":["hashtag1","hashtag2"]},{"1325701946":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325701942, 1325701951, 1325701956, 1325701946)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.2761025428772 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 06:15:22.366521
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/06/14/image_03012025_06_14_02_742985_0003.jpg', '/home/pi/Desktop/images/03012025/06/15/image_03012025_06_15_02_258105_0000.jpg', '/home/pi/Desktop/images/03012025/06/15/image_03012025_06_15_02_258105_0001.jpg', '/home/pi/Desktop/images/03012025/06/15/image_03012025_06_15_02_258105_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/06/14/image_03012025_06_14_02_742985_0003.jpg
/home/pi/Desktop/images/03012025/06/15/image_03012025_06_15_02_258105_0000.jpg
/home/pi/Desktop/images/03012025/06/15/image_03012025_06_15_02_258105_0001.jpg
/home/pi/Desktop/images/03012025/06/15/image_03012025_06_15_02_258105_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325701963","1325701971","1325701976","1325701966"],"photo_ids_order":["1325701963","1325701966","1325701971","1325701976"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/51f4d4ba5ddcc653a38fbff62b938ff6.jpg","text":"TemporaryFile(/tmp/multipartBody961856064220551458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735881392692,"filename":"image_03012025_06_14_02_742985_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a4da7779308a25d82ab3e87ad7fda681.jpg","text":"TemporaryFile(/tmp/multipartBody4330994449843711083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735881392692,"filename":"image_03012025_06_15_02_258105_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d45d08a13e35f705e72b56e5a720e98b.jpg","text":"TemporaryFile(/tmp/multipartBody6744636864952817346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735881392692,"filename":"image_03012025_06_15_02_258105_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ffa315e737fc63d4f56d64e93f5b3d39.jpg","text":"TemporaryFile(/tmp/multipartBody9018090248664932659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735881392692,"filename":"image_03012025_06_15_02_258105_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325701971","file1":"1325701966","file0":"1325701963","file3":"1325701976"},"map_files_photo_id_array":[{"photo_id":"1325701971","filename":"file2"},{"photo_id":"1325701966","filename":"file1"},{"photo_id":"1325701963","filename":"file0"},{"photo_id":"1325701976","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325701963":["hashtag1","hashtag2"]},{"1325701971":["hashtag1","hashtag2"]},{"1325701976":["hashtag1","hashtag2"]},{"1325701966":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325701963, 1325701971, 1325701976, 1325701966)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.442025899887085 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 06:16:21.949461
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/06/15/image_03012025_06_15_02_258105_0003.jpg', '/home/pi/Desktop/images/03012025/06/16/image_03012025_06_16_02_794737_0000.jpg', '/home/pi/Desktop/images/03012025/06/16/image_03012025_06_16_02_794737_0001.jpg', '/home/pi/Desktop/images/03012025/06/16/image_03012025_06_16_02_794737_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/06/15/image_03012025_06_15_02_258105_0003.jpg
/home/pi/Desktop/images/03012025/06/16/image_03012025_06_16_02_794737_0000.jpg
/home/pi/Desktop/images/03012025/06/16/image_03012025_06_16_02_794737_0001.jpg
/home/pi/Desktop/images/03012025/06/16/image_03012025_06_16_02_794737_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325701986","1325701991","1325701988","1325701993"],"photo_ids_order":["1325701986","1325701988","1325701991","1325701993"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/840c577461c2c9f241b1fd4e6cf68a64.jpg","text":"TemporaryFile(/tmp/multipartBody6415217604119237141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735881452311,"filename":"image_03012025_06_15_02_258105_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7c05c0469e4de394fd288ddc9a16a1a6.jpg","text":"TemporaryFile(/tmp/multipartBody835383713937864852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735881452311,"filename":"image_03012025_06_16_02_794737_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3f24b324349a2cb157276d1114b50e2a.jpg","text":"TemporaryFile(/tmp/multipartBody2632698175239196134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735881452311,"filename":"image_03012025_06_16_02_794737_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/cfdeadaa0d15414c0d5e8e99be388e58.jpg","text":"TemporaryFile(/tmp/multipartBody8943775575332133066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735881452311,"filename":"image_03012025_06_16_02_794737_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325701991","file1":"1325701988","file0":"1325701986","file3":"1325701993"},"map_files_photo_id_array":[{"photo_id":"1325701991","filename":"file2"},{"photo_id":"1325701988","filename":"file1"},{"photo_id":"1325701986","filename":"file0"},{"photo_id":"1325701993","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325701986":["hashtag1","hashtag2"]},{"1325701991":["hashtag1","hashtag2"]},{"1325701988":["hashtag1","hashtag2"]},{"1325701993":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325701986, 1325701991, 1325701988, 1325701993)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.02788305282593 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 06:17:03.059508
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 06:17:22.350685
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/06/16/image_03012025_06_16_02_794737_0003.jpg', '/home/pi/Desktop/images/03012025/06/17/image_03012025_06_17_02_271172_0000.jpg', '/home/pi/Desktop/images/03012025/06/17/image_03012025_06_17_02_271172_0001.jpg', '/home/pi/Desktop/images/03012025/06/17/image_03012025_06_17_02_271172_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/06/16/image_03012025_06_16_02_794737_0003.jpg
/home/pi/Desktop/images/03012025/06/17/image_03012025_06_17_02_271172_0000.jpg
/home/pi/Desktop/images/03012025/06/17/image_03012025_06_17_02_271172_0001.jpg
/home/pi/Desktop/images/03012025/06/17/image_03012025_06_17_02_271172_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325702005","1325702014","1325702008","1325702012"],"photo_ids_order":["1325702005","1325702008","1325702012","1325702014"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/97ad20c2ab198885c7b632ddc2da6ac0.jpg","text":"TemporaryFile(/tmp/multipartBody3052447541989654910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735881512534,"filename":"image_03012025_06_16_02_794737_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6652a9eabf2a5ce3939e3c2cf62d1664.jpg","text":"TemporaryFile(/tmp/multipartBody2209183848222441737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735881512534,"filename":"image_03012025_06_17_02_271172_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/615175ab4c5fccb13e9e41d292b60cd8.jpg","text":"TemporaryFile(/tmp/multipartBody4297008597830613403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735881512534,"filename":"image_03012025_06_17_02_271172_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a765ffce98adc89c0f2ac4bdf5533039.jpg","text":"TemporaryFile(/tmp/multipartBody5642711291150235490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735881512534,"filename":"image_03012025_06_17_02_271172_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325702012","file1":"1325702008","file0":"1325702005","file3":"1325702014"},"map_files_photo_id_array":[{"photo_id":"1325702012","filename":"file2"},{"photo_id":"1325702008","filename":"file1"},{"photo_id":"1325702005","filename":"file0"},{"photo_id":"1325702014","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325702005":["hashtag1","hashtag2"]},{"1325702014":["hashtag1","hashtag2"]},{"1325702008":["hashtag1","hashtag2"]},{"1325702012":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325702005, 1325702014, 1325702008, 1325702012)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.31420016288757 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 06:18:21.938614
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/06/17/image_03012025_06_17_02_271172_0003.jpg', '/home/pi/Desktop/images/03012025/06/18/image_03012025_06_18_02_716353_0000.jpg', '/home/pi/Desktop/images/03012025/06/18/image_03012025_06_18_02_716353_0001.jpg', '/home/pi/Desktop/images/03012025/06/18/image_03012025_06_18_02_716353_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/06/17/image_03012025_06_17_02_271172_0003.jpg
/home/pi/Desktop/images/03012025/06/18/image_03012025_06_18_02_716353_0000.jpg
/home/pi/Desktop/images/03012025/06/18/image_03012025_06_18_02_716353_0001.jpg
/home/pi/Desktop/images/03012025/06/18/image_03012025_06_18_02_716353_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325702024","1325702033","1325702021","1325702029"],"photo_ids_order":["1325702021","1325702024","1325702029","1325702033"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ded400dc81b45e1baece9749d7cdd178.jpg","text":"TemporaryFile(/tmp/multipartBody6540923426881431451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735881572400,"filename":"image_03012025_06_18_02_716353_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0c6eff83cf1f9385775fce712b54124e.jpg","text":"TemporaryFile(/tmp/multipartBody5991890892076626572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735881572400,"filename":"image_03012025_06_18_02_716353_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/fa6e762c79ac5e264998cad4fa65554a.jpg","text":"TemporaryFile(/tmp/multipartBody5945288189320455390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735881572400,"filename":"image_03012025_06_17_02_271172_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d703fcc7220204b06bc4ddc94fb7b7f5.jpg","text":"TemporaryFile(/tmp/multipartBody7441057400600072957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735881572400,"filename":"image_03012025_06_18_02_716353_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325702029","file1":"1325702024","file0":"1325702021","file3":"1325702033"},"map_files_photo_id_array":[{"photo_id":"1325702029","filename":"file2"},{"photo_id":"1325702024","filename":"file1"},{"photo_id":"1325702021","filename":"file0"},{"photo_id":"1325702033","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325702024":["hashtag1","hashtag2"]},{"1325702033":["hashtag1","hashtag2"]},{"1325702021":["hashtag1","hashtag2"]},{"1325702029":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325702024, 1325702033, 1325702021, 1325702029)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.691689252853394 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 06:19:22.437756
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/06/18/image_03012025_06_18_02_716353_0003.jpg', '/home/pi/Desktop/images/03012025/06/19/image_03012025_06_19_02_291308_0000.jpg', '/home/pi/Desktop/images/03012025/06/19/image_03012025_06_19_02_291308_0001.jpg', '/home/pi/Desktop/images/03012025/06/19/image_03012025_06_19_02_291308_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/06/18/image_03012025_06_18_02_716353_0003.jpg
/home/pi/Desktop/images/03012025/06/19/image_03012025_06_19_02_291308_0000.jpg
/home/pi/Desktop/images/03012025/06/19/image_03012025_06_19_02_291308_0001.jpg
/home/pi/Desktop/images/03012025/06/19/image_03012025_06_19_02_291308_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325702050","1325702058","1325702055","1325702047"],"photo_ids_order":["1325702047","1325702050","1325702055","1325702058"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e2f57d82eb519be18a9a9bec82554ad6.jpg","text":"TemporaryFile(/tmp/multipartBody3977721754809597546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735881632852,"filename":"image_03012025_06_19_02_291308_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/dabcffe07229d8b34f6aea7a03e9c2ad.jpg","text":"TemporaryFile(/tmp/multipartBody6749227726467194095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735881632852,"filename":"image_03012025_06_19_02_291308_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b8421b748cd9fc0023892c4b3e0845a3.jpg","text":"TemporaryFile(/tmp/multipartBody3311084523042521694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735881632852,"filename":"image_03012025_06_19_02_291308_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5b7cd75772707f54c35ba23e69bc7435.jpg","text":"TemporaryFile(/tmp/multipartBody2939161031360708081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735881632852,"filename":"image_03012025_06_18_02_716353_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325702055","file1":"1325702050","file0":"1325702047","file3":"1325702058"},"map_files_photo_id_array":[{"photo_id":"1325702055","filename":"file2"},{"photo_id":"1325702050","filename":"file1"},{"photo_id":"1325702047","filename":"file0"},{"photo_id":"1325702058","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325702050":["hashtag1","hashtag2"]},{"1325702058":["hashtag1","hashtag2"]},{"1325702055":["hashtag1","hashtag2"]},{"1325702047":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325702050, 1325702058, 1325702055, 1325702047)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.47361159324646 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 06:20:21.907430
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/06/19/image_03012025_06_19_02_291308_0003.jpg', '/home/pi/Desktop/images/03012025/06/20/image_03012025_06_20_02_788743_0000.jpg', '/home/pi/Desktop/images/03012025/06/20/image_03012025_06_20_02_788743_0001.jpg', '/home/pi/Desktop/images/03012025/06/20/image_03012025_06_20_02_788743_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/06/19/image_03012025_06_19_02_291308_0003.jpg
/home/pi/Desktop/images/03012025/06/20/image_03012025_06_20_02_788743_0000.jpg
/home/pi/Desktop/images/03012025/06/20/image_03012025_06_20_02_788743_0001.jpg
/home/pi/Desktop/images/03012025/06/20/image_03012025_06_20_02_788743_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.05595326423645 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 06:21:03.189698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/06/19/image_03012025_06_19_02_291308_0003.jpg', '/home/pi/Desktop/images/03012025/06/20/image_03012025_06_20_02_788743_0000.jpg', '/home/pi/Desktop/images/03012025/06/20/image_03012025_06_20_02_788743_0001.jpg', '/home/pi/Desktop/images/03012025/06/20/image_03012025_06_20_02_788743_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/06/19/image_03012025_06_19_02_291308_0003.jpg
/home/pi/Desktop/images/03012025/06/20/image_03012025_06_20_02_788743_0000.jpg
/home/pi/Desktop/images/03012025/06/20/image_03012025_06_20_02_788743_0001.jpg
/home/pi/Desktop/images/03012025/06/20/image_03012025_06_20_02_788743_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325702085","1325702087","1325702081","1325702083"],"photo_ids_order":["1325702081","1325702083","1325702085","1325702087"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a09839c4f664ea9f33e6126b2d23de8d.jpg","text":"TemporaryFile(/tmp/multipartBody2200956084157888644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735881733694,"filename":"image_03012025_06_20_02_788743_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/278fed19ce1dea1ccfc5a35623c04a2c.jpg","text":"TemporaryFile(/tmp/multipartBody1375206375359602886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735881733694,"filename":"image_03012025_06_20_02_788743_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6afe72c99ba21e01358e9a98d2d50c93.jpg","text":"TemporaryFile(/tmp/multipartBody6193069737159827591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735881733694,"filename":"image_03012025_06_19_02_291308_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6242e7a2aaf1cfd82a182e1a8e174a76.jpg","text":"TemporaryFile(/tmp/multipartBody4420896740561338161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735881733694,"filename":"image_03012025_06_20_02_788743_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325702085","file1":"1325702083","file0":"1325702081","file3":"1325702087"},"map_files_photo_id_array":[{"photo_id":"1325702085","filename":"file2"},{"photo_id":"1325702083","filename":"file1"},{"photo_id":"1325702081","filename":"file0"},{"photo_id":"1325702087","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325702085":["hashtag1","hashtag2"]},{"1325702087":["hashtag1","hashtag2"]},{"1325702081":["hashtag1","hashtag2"]},{"1325702083":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325702085, 1325702087, 1325702081, 1325702083)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.47902178764343 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 06:22:02.470999
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/06/20/image_03012025_06_20_02_788743_0003.jpg', '/home/pi/Desktop/images/03012025/06/21/image_03012025_06_21_02_292238_0000.jpg', '/home/pi/Desktop/images/03012025/06/21/image_03012025_06_21_02_292238_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/06/20/image_03012025_06_20_02_788743_0003.jpg
/home/pi/Desktop/images/03012025/06/21/image_03012025_06_21_02_292238_0000.jpg
/home/pi/Desktop/images/03012025/06/21/image_03012025_06_21_02_292238_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325702101","1325702104","1325702103"],"photo_ids_order":["1325702101","1325702103","1325702104"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/abb42a551be1d787285bc72a1c6cfa4d.jpg","text":"TemporaryFile(/tmp/multipartBody1814409231360960591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735881790465,"filename":"image_03012025_06_20_02_788743_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/11a0634e999eebb034a075bdc7a2d21a.jpg","text":"TemporaryFile(/tmp/multipartBody6920552733991452885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735881790465,"filename":"image_03012025_06_21_02_292238_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b6c3402faa9710b5052ec0b7dc7a68b2.jpg","text":"TemporaryFile(/tmp/multipartBody2096211512869918774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735881790465,"filename":"image_03012025_06_21_02_292238_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325702104","file1":"1325702103","file0":"1325702101"},"map_files_photo_id_array":[{"photo_id":"1325702104","filename":"file2"},{"photo_id":"1325702103","filename":"file1"},{"photo_id":"1325702101","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325702101":["hashtag1","hashtag2"]},{"1325702104":["hashtag1","hashtag2"]},{"1325702103":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325702101, 1325702104, 1325702103)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.66585159301758 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 06:23:03.154805
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/06/21/image_03012025_06_21_02_292238_0002.jpg', '/home/pi/Desktop/images/03012025/06/22/image_03012025_06_22_02_764044_0000.jpg', '/home/pi/Desktop/images/03012025/06/22/image_03012025_06_22_02_764044_0001.jpg', '/home/pi/Desktop/images/03012025/06/22/image_03012025_06_22_02_764044_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/06/21/image_03012025_06_21_02_292238_0002.jpg
/home/pi/Desktop/images/03012025/06/22/image_03012025_06_22_02_764044_0000.jpg
/home/pi/Desktop/images/03012025/06/22/image_03012025_06_22_02_764044_0001.jpg
/home/pi/Desktop/images/03012025/06/22/image_03012025_06_22_02_764044_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325702122","1325702124","1325702126","1325702128"],"photo_ids_order":["1325702122","1325702124","1325702126","1325702128"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/fd02d46dc501255de67f49a204a2e197.jpg","text":"TemporaryFile(/tmp/multipartBody5148222879610720712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735881853681,"filename":"image_03012025_06_21_02_292238_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c9ede8a575180ecc9299f150ee652c80.jpg","text":"TemporaryFile(/tmp/multipartBody7217303820491603125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735881853681,"filename":"image_03012025_06_22_02_764044_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7f2186482896f4863f24238f98cf265c.jpg","text":"TemporaryFile(/tmp/multipartBody6174938877533101028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735881853681,"filename":"image_03012025_06_22_02_764044_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d02182ef1b76286ca85a3ffff16a743b.jpg","text":"TemporaryFile(/tmp/multipartBody1803304280075842473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735881853681,"filename":"image_03012025_06_22_02_764044_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325702126","file1":"1325702124","file0":"1325702122","file3":"1325702128"},"map_files_photo_id_array":[{"photo_id":"1325702126","filename":"file2"},{"photo_id":"1325702124","filename":"file1"},{"photo_id":"1325702122","filename":"file0"},{"photo_id":"1325702128","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325702122":["hashtag1","hashtag2"]},{"1325702124":["hashtag1","hashtag2"]},{"1325702126":["hashtag1","hashtag2"]},{"1325702128":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325702122, 1325702124, 1325702126, 1325702128)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.27852177619934 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 06:24:02.923774
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/06/22/image_03012025_06_22_02_764044_0003.jpg', '/home/pi/Desktop/images/03012025/06/23/image_03012025_06_23_02_393360_0000.jpg', '/home/pi/Desktop/images/03012025/06/23/image_03012025_06_23_02_393360_0001.jpg', '/home/pi/Desktop/images/03012025/06/23/image_03012025_06_23_02_393360_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/06/22/image_03012025_06_22_02_764044_0003.jpg
/home/pi/Desktop/images/03012025/06/23/image_03012025_06_23_02_393360_0000.jpg
/home/pi/Desktop/images/03012025/06/23/image_03012025_06_23_02_393360_0001.jpg
/home/pi/Desktop/images/03012025/06/23/image_03012025_06_23_02_393360_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325702143","1325702139","1325702141","1325702138"],"photo_ids_order":["1325702138","1325702139","1325702141","1325702143"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c332db2e1e36bd6a5d872c326bd0aa02.jpg","text":"TemporaryFile(/tmp/multipartBody275880707864667877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735881913191,"filename":"image_03012025_06_23_02_393360_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f643e196a243e3a7c65062885b6740eb.jpg","text":"TemporaryFile(/tmp/multipartBody2659257388222899697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735881913191,"filename":"image_03012025_06_23_02_393360_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d557e6c4b767342cb2379a62930324de.jpg","text":"TemporaryFile(/tmp/multipartBody7441349199369737583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735881913191,"filename":"image_03012025_06_23_02_393360_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/29f3ff681328274a3fc1d742a37712b8.jpg","text":"TemporaryFile(/tmp/multipartBody8089601638145625738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735881913191,"filename":"image_03012025_06_22_02_764044_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325702141","file1":"1325702139","file0":"1325702138","file3":"1325702143"},"map_files_photo_id_array":[{"photo_id":"1325702141","filename":"file2"},{"photo_id":"1325702139","filename":"file1"},{"photo_id":"1325702138","filename":"file0"},{"photo_id":"1325702143","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325702143":["hashtag1","hashtag2"]},{"1325702139":["hashtag1","hashtag2"]},{"1325702141":["hashtag1","hashtag2"]},{"1325702138":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325702143, 1325702139, 1325702141, 1325702138)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.02360129356384 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 06:25:03.395452
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/06/23/image_03012025_06_23_02_393360_0003.jpg', '/home/pi/Desktop/images/03012025/06/24/image_03012025_06_24_02_920077_0000.jpg', '/home/pi/Desktop/images/03012025/06/24/image_03012025_06_24_02_920077_0001.jpg', '/home/pi/Desktop/images/03012025/06/24/image_03012025_06_24_02_920077_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/06/23/image_03012025_06_23_02_393360_0003.jpg
/home/pi/Desktop/images/03012025/06/24/image_03012025_06_24_02_920077_0000.jpg
/home/pi/Desktop/images/03012025/06/24/image_03012025_06_24_02_920077_0001.jpg
/home/pi/Desktop/images/03012025/06/24/image_03012025_06_24_02_920077_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.070360898971558 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 06:25:22.716235
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/06/23/image_03012025_06_23_02_393360_0003.jpg', '/home/pi/Desktop/images/03012025/06/24/image_03012025_06_24_02_920077_0000.jpg', '/home/pi/Desktop/images/03012025/06/24/image_03012025_06_24_02_920077_0001.jpg', '/home/pi/Desktop/images/03012025/06/24/image_03012025_06_24_02_920077_0002.jpg', '/home/pi/Desktop/images/03012025/06/24/image_03012025_06_24_02_920077_0003.jpg', '/home/pi/Desktop/images/03012025/06/25/image_03012025_06_25_02_559139_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/06/23/image_03012025_06_23_02_393360_0003.jpg
/home/pi/Desktop/images/03012025/06/24/image_03012025_06_24_02_920077_0000.jpg
/home/pi/Desktop/images/03012025/06/24/image_03012025_06_24_02_920077_0001.jpg
/home/pi/Desktop/images/03012025/06/24/image_03012025_06_24_02_920077_0002.jpg
/home/pi/Desktop/images/03012025/06/24/image_03012025_06_24_02_920077_0003.jpg
/home/pi/Desktop/images/03012025/06/25/image_03012025_06_25_02_559139_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325702172","1325702174","1325702168","1325702162","1325702165","1325702170"],"photo_ids_order":["1325702162","1325702165","1325702168","1325702170","1325702172","1325702174"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2dc3a93e18e8f6f7ed8150721544981b.jpg","text":"TemporaryFile(/tmp/multipartBody9124382850217942329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735881998059,"filename":"image_03012025_06_24_02_920077_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1ff4147f44a5d1e54e7394ed66a2b8c7.jpg","text":"TemporaryFile(/tmp/multipartBody4974840397402208783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735881998059,"filename":"image_03012025_06_25_02_559139_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/fd43f01a780f0eafd90744bfcb187bb4.jpg","text":"TemporaryFile(/tmp/multipartBody6000033912485499377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735881998059,"filename":"image_03012025_06_24_02_920077_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/211583953bb0f90412d2b1992c15d82d.jpg","text":"TemporaryFile(/tmp/multipartBody6267648301623167838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735881998059,"filename":"image_03012025_06_23_02_393360_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/94d9279df226154086e8970424dfc692.jpg","text":"TemporaryFile(/tmp/multipartBody1013288550930899518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735881998059,"filename":"image_03012025_06_24_02_920077_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a8392104a415aa58ca54c058ac0e4e10.jpg","text":"TemporaryFile(/tmp/multipartBody6147870269169807025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735881998059,"filename":"image_03012025_06_24_02_920077_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325702168","file1":"1325702165","file0":"1325702162","file4":"1325702172","file5":"1325702174","file3":"1325702170"},"map_files_photo_id_array":[{"photo_id":"1325702174","filename":"file5"},{"photo_id":"1325702168","filename":"file2"},{"photo_id":"1325702172","filename":"file4"},{"photo_id":"1325702165","filename":"file1"},{"photo_id":"1325702162","filename":"file0"},{"photo_id":"1325702170","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325702172":["hashtag1","hashtag2"]},{"1325702174":["hashtag1","hashtag2"]},{"1325702168":["hashtag1","hashtag2"]},{"1325702162":["hashtag1","hashtag2"]},{"1325702165":["hashtag1","hashtag2"]},{"1325702170":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325702172, 1325702174, 1325702168, 1325702162, 1325702165, 1325702170)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.03908371925354 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 06:26:22.411617
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/06/25/image_03012025_06_25_02_559139_0001.jpg', '/home/pi/Desktop/images/03012025/06/25/image_03012025_06_25_02_559139_0002.jpg', '/home/pi/Desktop/images/03012025/06/25/image_03012025_06_25_02_559139_0003.jpg', '/home/pi/Desktop/images/03012025/06/26/image_03012025_06_26_03_150540_0000.jpg', '/home/pi/Desktop/images/03012025/06/26/image_03012025_06_26_03_150540_0001.jpg', '/home/pi/Desktop/images/03012025/06/26/image_03012025_06_26_03_150540_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/06/25/image_03012025_06_25_02_559139_0001.jpg
/home/pi/Desktop/images/03012025/06/25/image_03012025_06_25_02_559139_0002.jpg
/home/pi/Desktop/images/03012025/06/25/image_03012025_06_25_02_559139_0003.jpg
/home/pi/Desktop/images/03012025/06/26/image_03012025_06_26_03_150540_0000.jpg
/home/pi/Desktop/images/03012025/06/26/image_03012025_06_26_03_150540_0001.jpg
/home/pi/Desktop/images/03012025/06/26/image_03012025_06_26_03_150540_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325702193","1325702187","1325702196","1325702190","1325702184","1325702180"],"photo_ids_order":["1325702180","1325702184","1325702187","1325702190","1325702193","1325702196"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c85b38122b363586a8eb40c5fbe11302.jpg","text":"TemporaryFile(/tmp/multipartBody1132186052199508299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735882057705,"filename":"image_03012025_06_26_03_150540_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ebd3316efed3ae4a91d8ea762d5c41ff.jpg","text":"TemporaryFile(/tmp/multipartBody2963526368966475421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735882057705,"filename":"image_03012025_06_25_02_559139_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/badb71bbb7b33723e38e791da877b474.jpg","text":"TemporaryFile(/tmp/multipartBody7914175269036460107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735882057705,"filename":"image_03012025_06_26_03_150540_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3b3749b93b573f1aaaf0bda5f814a6d4.jpg","text":"TemporaryFile(/tmp/multipartBody5690389477792653511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735882057705,"filename":"image_03012025_06_26_03_150540_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f12943dbdfeebae246695096c694af3c.jpg","text":"TemporaryFile(/tmp/multipartBody740841846902286578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735882057705,"filename":"image_03012025_06_25_02_559139_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ae4cf75229e6e2d88a076c87120e6be8.jpg","text":"TemporaryFile(/tmp/multipartBody6069413163210761345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735882057705,"filename":"image_03012025_06_25_02_559139_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325702187","file1":"1325702184","file0":"1325702180","file4":"1325702193","file5":"1325702196","file3":"1325702190"},"map_files_photo_id_array":[{"photo_id":"1325702196","filename":"file5"},{"photo_id":"1325702187","filename":"file2"},{"photo_id":"1325702193","filename":"file4"},{"photo_id":"1325702184","filename":"file1"},{"photo_id":"1325702180","filename":"file0"},{"photo_id":"1325702190","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325702193":["hashtag1","hashtag2"]},{"1325702187":["hashtag1","hashtag2"]},{"1325702196":["hashtag1","hashtag2"]},{"1325702190":["hashtag1","hashtag2"]},{"1325702184":["hashtag1","hashtag2"]},{"1325702180":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325702193, 1325702187, 1325702196, 1325702190, 1325702184, 1325702180)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.775917768478394 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 06:27:21.930881
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/06/26/image_03012025_06_26_03_150540_0003.jpg', '/home/pi/Desktop/images/03012025/06/27/image_03012025_06_27_02_799881_0000.jpg', '/home/pi/Desktop/images/03012025/06/27/image_03012025_06_27_02_799881_0001.jpg', '/home/pi/Desktop/images/03012025/06/27/image_03012025_06_27_02_799881_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/06/26/image_03012025_06_26_03_150540_0003.jpg
/home/pi/Desktop/images/03012025/06/27/image_03012025_06_27_02_799881_0000.jpg
/home/pi/Desktop/images/03012025/06/27/image_03012025_06_27_02_799881_0001.jpg
/home/pi/Desktop/images/03012025/06/27/image_03012025_06_27_02_799881_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325702200","1325702203","1325702210","1325702207"],"photo_ids_order":["1325702200","1325702203","1325702207","1325702210"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5b2dd6d6421058f6d7b848f672ddbf76.jpg","text":"TemporaryFile(/tmp/multipartBody8635911977992434447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735882112234,"filename":"image_03012025_06_26_03_150540_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ea778ae16265e380c2738eea73ef0abf.jpg","text":"TemporaryFile(/tmp/multipartBody5095864122661572176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735882112234,"filename":"image_03012025_06_27_02_799881_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/834fdd93f7f64979c27c6805d02a49b8.jpg","text":"TemporaryFile(/tmp/multipartBody8123723888701342444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735882112234,"filename":"image_03012025_06_27_02_799881_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d7348bafa5d0a7f2fa5e24d9a260f7aa.jpg","text":"TemporaryFile(/tmp/multipartBody7423140850898863934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735882112234,"filename":"image_03012025_06_27_02_799881_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325702207","file1":"1325702203","file0":"1325702200","file3":"1325702210"},"map_files_photo_id_array":[{"photo_id":"1325702207","filename":"file2"},{"photo_id":"1325702203","filename":"file1"},{"photo_id":"1325702200","filename":"file0"},{"photo_id":"1325702210","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325702200":["hashtag1","hashtag2"]},{"1325702203":["hashtag1","hashtag2"]},{"1325702210":["hashtag1","hashtag2"]},{"1325702207":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325702200, 1325702203, 1325702210, 1325702207)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.10969138145447 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 06:28:22.503969
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/06/27/image_03012025_06_27_02_799881_0003.jpg', '/home/pi/Desktop/images/03012025/06/28/image_03012025_06_28_02_395351_0000.jpg', '/home/pi/Desktop/images/03012025/06/28/image_03012025_06_28_02_395351_0001.jpg', '/home/pi/Desktop/images/03012025/06/28/image_03012025_06_28_02_395351_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/06/27/image_03012025_06_27_02_799881_0003.jpg
/home/pi/Desktop/images/03012025/06/28/image_03012025_06_28_02_395351_0000.jpg
/home/pi/Desktop/images/03012025/06/28/image_03012025_06_28_02_395351_0001.jpg
/home/pi/Desktop/images/03012025/06/28/image_03012025_06_28_02_395351_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.645947933197021 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 06:29:02.683076
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/06/27/image_03012025_06_27_02_799881_0003.jpg', '/home/pi/Desktop/images/03012025/06/28/image_03012025_06_28_02_395351_0000.jpg', '/home/pi/Desktop/images/03012025/06/28/image_03012025_06_28_02_395351_0001.jpg', '/home/pi/Desktop/images/03012025/06/28/image_03012025_06_28_02_395351_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/06/27/image_03012025_06_27_02_799881_0003.jpg
/home/pi/Desktop/images/03012025/06/28/image_03012025_06_28_02_395351_0000.jpg
/home/pi/Desktop/images/03012025/06/28/image_03012025_06_28_02_395351_0001.jpg
/home/pi/Desktop/images/03012025/06/28/image_03012025_06_28_02_395351_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325702244","1325702246","1325702237","1325702239"],"photo_ids_order":["1325702237","1325702239","1325702244","1325702246"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/38c8fe2af8a1b26a3c29b15830751d84.jpg","text":"TemporaryFile(/tmp/multipartBody6252819835790771302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735882212819,"filename":"image_03012025_06_28_02_395351_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/405ac8e6ae8332a9dc79a060ecb699ed.jpg","text":"TemporaryFile(/tmp/multipartBody1815877863463163127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735882212819,"filename":"image_03012025_06_28_02_395351_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b1cbe7396f3aea7ad0eb5568c183c97e.jpg","text":"TemporaryFile(/tmp/multipartBody450651752817661227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735882212819,"filename":"image_03012025_06_27_02_799881_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5369eda71a60008df78f0d3af6b2af0c.jpg","text":"TemporaryFile(/tmp/multipartBody6082363270337892604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735882212819,"filename":"image_03012025_06_28_02_395351_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325702244","file1":"1325702239","file0":"1325702237","file3":"1325702246"},"map_files_photo_id_array":[{"photo_id":"1325702244","filename":"file2"},{"photo_id":"1325702239","filename":"file1"},{"photo_id":"1325702237","filename":"file0"},{"photo_id":"1325702246","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325702244":["hashtag1","hashtag2"]},{"1325702246":["hashtag1","hashtag2"]},{"1325702237":["hashtag1","hashtag2"]},{"1325702239":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325702244, 1325702246, 1325702237, 1325702239)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.87313485145569 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 06:30:03.097785
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/06/28/image_03012025_06_28_02_395351_0003.jpg', '/home/pi/Desktop/images/03012025/06/29/image_03012025_06_29_02_926280_0000.jpg', '/home/pi/Desktop/images/03012025/06/29/image_03012025_06_29_02_926280_0001.jpg', '/home/pi/Desktop/images/03012025/06/29/image_03012025_06_29_02_926280_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/06/28/image_03012025_06_28_02_395351_0003.jpg
/home/pi/Desktop/images/03012025/06/29/image_03012025_06_29_02_926280_0000.jpg
/home/pi/Desktop/images/03012025/06/29/image_03012025_06_29_02_926280_0001.jpg
/home/pi/Desktop/images/03012025/06/29/image_03012025_06_29_02_926280_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325702274","1325702270","1325702272","1325702269"],"photo_ids_order":["1325702269","1325702270","1325702272","1325702274"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/adbb00b0abdb51542a2c36ff8f79fdca.jpg","text":"TemporaryFile(/tmp/multipartBody7415680540304782663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735882273512,"filename":"image_03012025_06_29_02_926280_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3c979ca210e77ad547f415cbc32cd1aa.jpg","text":"TemporaryFile(/tmp/multipartBody3026237988581695067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735882273512,"filename":"image_03012025_06_29_02_926280_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f91ea28c6450ac339df5ba18cd826262.jpg","text":"TemporaryFile(/tmp/multipartBody5233550746231579254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735882273512,"filename":"image_03012025_06_29_02_926280_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4e27956688f4c676a43813dc167be253.jpg","text":"TemporaryFile(/tmp/multipartBody3320952337331224462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735882273512,"filename":"image_03012025_06_28_02_395351_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325702272","file1":"1325702270","file0":"1325702269","file3":"1325702274"},"map_files_photo_id_array":[{"photo_id":"1325702272","filename":"file2"},{"photo_id":"1325702270","filename":"file1"},{"photo_id":"1325702269","filename":"file0"},{"photo_id":"1325702274","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325702274":["hashtag1","hashtag2"]},{"1325702270":["hashtag1","hashtag2"]},{"1325702272":["hashtag1","hashtag2"]},{"1325702269":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325702274, 1325702270, 1325702272, 1325702269)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.75428867340088 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 06:31:02.735886
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/06/29/image_03012025_06_29_02_926280_0003.jpg', '/home/pi/Desktop/images/03012025/06/30/image_03012025_06_30_02_433065_0000.jpg', '/home/pi/Desktop/images/03012025/06/30/image_03012025_06_30_02_433065_0001.jpg', '/home/pi/Desktop/images/03012025/06/30/image_03012025_06_30_02_433065_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/06/29/image_03012025_06_29_02_926280_0003.jpg
/home/pi/Desktop/images/03012025/06/30/image_03012025_06_30_02_433065_0000.jpg
/home/pi/Desktop/images/03012025/06/30/image_03012025_06_30_02_433065_0001.jpg
/home/pi/Desktop/images/03012025/06/30/image_03012025_06_30_02_433065_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325702286","1325702285","1325702288","1325702290"],"photo_ids_order":["1325702285","1325702286","1325702288","1325702290"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ba805c7ec5db8336ba3f4b6b6b700895.jpg","text":"TemporaryFile(/tmp/multipartBody582483288490649537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735882332896,"filename":"image_03012025_06_30_02_433065_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f34374bcde1fa78545aba45ff92fd6f3.jpg","text":"TemporaryFile(/tmp/multipartBody1386825754310580333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735882332896,"filename":"image_03012025_06_29_02_926280_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8b833c6b7f90f60bc9b245c55bdc1ea6.jpg","text":"TemporaryFile(/tmp/multipartBody5321049544109549221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735882332896,"filename":"image_03012025_06_30_02_433065_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/35505a1be8aa04a37d5bd3d074fd15f4.jpg","text":"TemporaryFile(/tmp/multipartBody3867861715281305638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735882332896,"filename":"image_03012025_06_30_02_433065_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325702288","file1":"1325702286","file0":"1325702285","file3":"1325702290"},"map_files_photo_id_array":[{"photo_id":"1325702288","filename":"file2"},{"photo_id":"1325702286","filename":"file1"},{"photo_id":"1325702285","filename":"file0"},{"photo_id":"1325702290","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325702286":["hashtag1","hashtag2"]},{"1325702285":["hashtag1","hashtag2"]},{"1325702288":["hashtag1","hashtag2"]},{"1325702290":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325702286, 1325702285, 1325702288, 1325702290)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.88894605636597 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 06:32:02.221635
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/06/30/image_03012025_06_30_02_433065_0003.jpg', '/home/pi/Desktop/images/03012025/06/31/image_03012025_06_31_03_026879_0001.jpg', '/home/pi/Desktop/images/03012025/06/31/image_03012025_06_31_03_026879_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/06/30/image_03012025_06_30_02_433065_0003.jpg
/home/pi/Desktop/images/03012025/06/31/image_03012025_06_31_03_026879_0001.jpg
/home/pi/Desktop/images/03012025/06/31/image_03012025_06_31_03_026879_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325702301","1325702303","1325702300"],"photo_ids_order":["1325702300","1325702301","1325702303"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9514c367fe978727a919c16f31be7093.jpg","text":"TemporaryFile(/tmp/multipartBody2425705271594450499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735882389870,"filename":"image_03012025_06_31_03_026879_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/281659eb21ee04dcdb9e0f8d1a60a53a.jpg","text":"TemporaryFile(/tmp/multipartBody1020877930849688078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735882389870,"filename":"image_03012025_06_31_03_026879_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2540027d7d5404e5b8de4d82bd8b506f.jpg","text":"TemporaryFile(/tmp/multipartBody6704282320385479240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735882389870,"filename":"image_03012025_06_30_02_433065_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325702303","file1":"1325702301","file0":"1325702300"},"map_files_photo_id_array":[{"photo_id":"1325702303","filename":"file2"},{"photo_id":"1325702301","filename":"file1"},{"photo_id":"1325702300","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325702301":["hashtag1","hashtag2"]},{"1325702303":["hashtag1","hashtag2"]},{"1325702300":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325702301, 1325702303, 1325702300)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 33.31111431121826 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 06:33:02.949052
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/06/31/image_03012025_06_31_03_026879_0003.jpg', '/home/pi/Desktop/images/03012025/06/32/image_03012025_06_32_02_527483_0000.jpg', '/home/pi/Desktop/images/03012025/06/32/image_03012025_06_32_02_527483_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/06/31/image_03012025_06_31_03_026879_0003.jpg
/home/pi/Desktop/images/03012025/06/32/image_03012025_06_32_02_527483_0000.jpg
/home/pi/Desktop/images/03012025/06/32/image_03012025_06_32_02_527483_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.406487464904785 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 06:33:22.321883
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/06/31/image_03012025_06_31_03_026879_0003.jpg', '/home/pi/Desktop/images/03012025/06/32/image_03012025_06_32_02_527483_0000.jpg', '/home/pi/Desktop/images/03012025/06/32/image_03012025_06_32_02_527483_0001.jpg', '/home/pi/Desktop/images/03012025/06/32/image_03012025_06_32_02_527483_0003.jpg', '/home/pi/Desktop/images/03012025/06/33/image_03012025_06_33_02_197348_0000.jpg', '/home/pi/Desktop/images/03012025/06/33/image_03012025_06_33_02_197348_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/06/31/image_03012025_06_31_03_026879_0003.jpg
/home/pi/Desktop/images/03012025/06/32/image_03012025_06_32_02_527483_0000.jpg
/home/pi/Desktop/images/03012025/06/32/image_03012025_06_32_02_527483_0001.jpg
/home/pi/Desktop/images/03012025/06/32/image_03012025_06_32_02_527483_0003.jpg
/home/pi/Desktop/images/03012025/06/33/image_03012025_06_33_02_197348_0000.jpg
/home/pi/Desktop/images/03012025/06/33/image_03012025_06_33_02_197348_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325702335","1325702337","1325702331","1325702325","1325702328","1325702333"],"photo_ids_order":["1325702325","1325702328","1325702331","1325702333","1325702335","1325702337"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7423b4553b27634687b8788f8f55df03.jpg","text":"TemporaryFile(/tmp/multipartBody5057280111212188072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735882477189,"filename":"image_03012025_06_33_02_197348_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6874a61bb2daa168a5aa984f7ef6b552.jpg","text":"TemporaryFile(/tmp/multipartBody2253796405013469934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735882477189,"filename":"image_03012025_06_33_02_197348_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d291b69911cf16db7a0d9cb0588491d5.jpg","text":"TemporaryFile(/tmp/multipartBody8031796011622530178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735882477189,"filename":"image_03012025_06_32_02_527483_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ff43552c73c2f12ada273de4cb5a3ee0.jpg","text":"TemporaryFile(/tmp/multipartBody6462224698823397513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735882477189,"filename":"image_03012025_06_31_03_026879_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/09a6c9cf315631152d11836e51346ec1.jpg","text":"TemporaryFile(/tmp/multipartBody7602904711360449860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735882477189,"filename":"image_03012025_06_32_02_527483_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/11a8352d461d2931dc996c833fee076e.jpg","text":"TemporaryFile(/tmp/multipartBody1560681600892631885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735882477189,"filename":"image_03012025_06_32_02_527483_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325702331","file1":"1325702328","file0":"1325702325","file4":"1325702335","file5":"1325702337","file3":"1325702333"},"map_files_photo_id_array":[{"photo_id":"1325702337","filename":"file5"},{"photo_id":"1325702331","filename":"file2"},{"photo_id":"1325702335","filename":"file4"},{"photo_id":"1325702328","filename":"file1"},{"photo_id":"1325702325","filename":"file0"},{"photo_id":"1325702333","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325702335":["hashtag1","hashtag2"]},{"1325702337":["hashtag1","hashtag2"]},{"1325702331":["hashtag1","hashtag2"]},{"1325702325":["hashtag1","hashtag2"]},{"1325702328":["hashtag1","hashtag2"]},{"1325702333":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325702335, 1325702337, 1325702331, 1325702325, 1325702328, 1325702333)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.41829824447632 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 06:34:21.947606
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/06/33/image_03012025_06_33_02_197348_0002.jpg', '/home/pi/Desktop/images/03012025/06/34/image_03012025_06_34_02_720080_0001.jpg', '/home/pi/Desktop/images/03012025/06/34/image_03012025_06_34_02_720080_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/06/33/image_03012025_06_33_02_197348_0002.jpg
/home/pi/Desktop/images/03012025/06/34/image_03012025_06_34_02_720080_0001.jpg
/home/pi/Desktop/images/03012025/06/34/image_03012025_06_34_02_720080_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325702340","1325702342","1325702347"],"photo_ids_order":["1325702340","1325702342","1325702347"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/86f9dce326940c24edc8d79163e20584.jpg","text":"TemporaryFile(/tmp/multipartBody4537904041703554918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735882529716,"filename":"image_03012025_06_33_02_197348_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/59363190cc77278174d1d79092382a99.jpg","text":"TemporaryFile(/tmp/multipartBody408405116191903832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735882529716,"filename":"image_03012025_06_34_02_720080_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/df6ebd2ea4f76a3faff1b9d4197a95f9.jpg","text":"TemporaryFile(/tmp/multipartBody96443947231900169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735882529716,"filename":"image_03012025_06_34_02_720080_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325702347","file1":"1325702342","file0":"1325702340"},"map_files_photo_id_array":[{"photo_id":"1325702347","filename":"file2"},{"photo_id":"1325702342","filename":"file1"},{"photo_id":"1325702340","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325702340":["hashtag1","hashtag2"]},{"1325702342":["hashtag1","hashtag2"]},{"1325702347":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325702340, 1325702342, 1325702347)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.85870885848999 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 06:35:03.104989
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 06:35:22.509899
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/06/34/image_03012025_06_34_02_720080_0003.jpg', '/home/pi/Desktop/images/03012025/06/35/image_03012025_06_35_02_349954_0000.jpg', '/home/pi/Desktop/images/03012025/06/35/image_03012025_06_35_02_349954_0001.jpg', '/home/pi/Desktop/images/03012025/06/35/image_03012025_06_35_02_349954_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/06/34/image_03012025_06_34_02_720080_0003.jpg
/home/pi/Desktop/images/03012025/06/35/image_03012025_06_35_02_349954_0000.jpg
/home/pi/Desktop/images/03012025/06/35/image_03012025_06_35_02_349954_0001.jpg
/home/pi/Desktop/images/03012025/06/35/image_03012025_06_35_02_349954_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325702367","1325702361","1325702370","1325702364"],"photo_ids_order":["1325702361","1325702364","1325702367","1325702370"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/50874924b1c47dc72a4d6846811241b0.jpg","text":"TemporaryFile(/tmp/multipartBody134146560791568880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735882592727,"filename":"image_03012025_06_35_02_349954_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4a5cb90301c6f2e3233d18b52cc30808.jpg","text":"TemporaryFile(/tmp/multipartBody2489777198651799207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735882592727,"filename":"image_03012025_06_34_02_720080_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8128bb03eb0540c3a37c8a97b235c8c6.jpg","text":"TemporaryFile(/tmp/multipartBody920156212179610894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735882592727,"filename":"image_03012025_06_35_02_349954_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/64671ad73a581889fd0a3ebcb9ff7be0.jpg","text":"TemporaryFile(/tmp/multipartBody6247236209768145429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735882592727,"filename":"image_03012025_06_35_02_349954_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325702367","file1":"1325702364","file0":"1325702361","file3":"1325702370"},"map_files_photo_id_array":[{"photo_id":"1325702367","filename":"file2"},{"photo_id":"1325702364","filename":"file1"},{"photo_id":"1325702361","filename":"file0"},{"photo_id":"1325702370","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325702367":["hashtag1","hashtag2"]},{"1325702361":["hashtag1","hashtag2"]},{"1325702370":["hashtag1","hashtag2"]},{"1325702364":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325702367, 1325702361, 1325702370, 1325702364)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.47922968864441 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 06:36:22.161638
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/06/35/image_03012025_06_35_02_349954_0003.jpg', '/home/pi/Desktop/images/03012025/06/36/image_03012025_06_36_02_875465_0000.jpg', '/home/pi/Desktop/images/03012025/06/36/image_03012025_06_36_02_875465_0001.jpg', '/home/pi/Desktop/images/03012025/06/36/image_03012025_06_36_02_875465_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/06/35/image_03012025_06_35_02_349954_0003.jpg
/home/pi/Desktop/images/03012025/06/36/image_03012025_06_36_02_875465_0000.jpg
/home/pi/Desktop/images/03012025/06/36/image_03012025_06_36_02_875465_0001.jpg
/home/pi/Desktop/images/03012025/06/36/image_03012025_06_36_02_875465_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.707199096679688 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 06:37:03.306505
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/06/35/image_03012025_06_35_02_349954_0003.jpg', '/home/pi/Desktop/images/03012025/06/36/image_03012025_06_36_02_875465_0000.jpg', '/home/pi/Desktop/images/03012025/06/36/image_03012025_06_36_02_875465_0001.jpg', '/home/pi/Desktop/images/03012025/06/36/image_03012025_06_36_02_875465_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/06/35/image_03012025_06_35_02_349954_0003.jpg
/home/pi/Desktop/images/03012025/06/36/image_03012025_06_36_02_875465_0000.jpg
/home/pi/Desktop/images/03012025/06/36/image_03012025_06_36_02_875465_0001.jpg
/home/pi/Desktop/images/03012025/06/36/image_03012025_06_36_02_875465_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325702391","1325702390","1325702393","1325702395"],"photo_ids_order":["1325702390","1325702391","1325702393","1325702395"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/cfd313266a0b995fba7d0dfc96b998ce.jpg","text":"TemporaryFile(/tmp/multipartBody2733490461559517602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735882693519,"filename":"image_03012025_06_36_02_875465_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/10323d37fe703f8247a3be631922e2af.jpg","text":"TemporaryFile(/tmp/multipartBody1526365115515086594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735882693519,"filename":"image_03012025_06_35_02_349954_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1ef33e2d625862b61ea77fdd0eea5dd4.jpg","text":"TemporaryFile(/tmp/multipartBody507337253460106965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735882693519,"filename":"image_03012025_06_36_02_875465_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c28a653308d16f76217c65716dce4dd6.jpg","text":"TemporaryFile(/tmp/multipartBody9214805082948943179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735882693519,"filename":"image_03012025_06_36_02_875465_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325702393","file1":"1325702391","file0":"1325702390","file3":"1325702395"},"map_files_photo_id_array":[{"photo_id":"1325702393","filename":"file2"},{"photo_id":"1325702391","filename":"file1"},{"photo_id":"1325702390","filename":"file0"},{"photo_id":"1325702395","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325702391":["hashtag1","hashtag2"]},{"1325702390":["hashtag1","hashtag2"]},{"1325702393":["hashtag1","hashtag2"]},{"1325702395":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325702391, 1325702390, 1325702393, 1325702395)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.73973035812378 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 06:38:03.036792
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/06/36/image_03012025_06_36_02_875465_0003.jpg', '/home/pi/Desktop/images/03012025/06/37/image_03012025_06_37_02_602438_0000.jpg', '/home/pi/Desktop/images/03012025/06/37/image_03012025_06_37_02_602438_0001.jpg', '/home/pi/Desktop/images/03012025/06/37/image_03012025_06_37_02_602438_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/06/36/image_03012025_06_36_02_875465_0003.jpg
/home/pi/Desktop/images/03012025/06/37/image_03012025_06_37_02_602438_0000.jpg
/home/pi/Desktop/images/03012025/06/37/image_03012025_06_37_02_602438_0001.jpg
/home/pi/Desktop/images/03012025/06/37/image_03012025_06_37_02_602438_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.771325588226318 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 06:38:22.592481
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/06/36/image_03012025_06_36_02_875465_0003.jpg', '/home/pi/Desktop/images/03012025/06/37/image_03012025_06_37_02_602438_0000.jpg', '/home/pi/Desktop/images/03012025/06/37/image_03012025_06_37_02_602438_0001.jpg', '/home/pi/Desktop/images/03012025/06/37/image_03012025_06_37_02_602438_0002.jpg', '/home/pi/Desktop/images/03012025/06/37/image_03012025_06_37_02_602438_0003.jpg', '/home/pi/Desktop/images/03012025/06/38/image_03012025_06_38_03_211894_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/06/36/image_03012025_06_36_02_875465_0003.jpg
/home/pi/Desktop/images/03012025/06/37/image_03012025_06_37_02_602438_0000.jpg
/home/pi/Desktop/images/03012025/06/37/image_03012025_06_37_02_602438_0001.jpg
/home/pi/Desktop/images/03012025/06/37/image_03012025_06_37_02_602438_0002.jpg
/home/pi/Desktop/images/03012025/06/37/image_03012025_06_37_02_602438_0003.jpg
/home/pi/Desktop/images/03012025/06/38/image_03012025_06_38_03_211894_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325702422","1325702424","1325702426","1325702420","1325702414","1325702417"],"photo_ids_order":["1325702414","1325702417","1325702420","1325702422","1325702424","1325702426"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/053d10c9635dd2e68bcf69d26019514c.jpg","text":"TemporaryFile(/tmp/multipartBody737836579982779234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735882777556,"filename":"image_03012025_06_37_02_602438_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/456f0b8b9aeecf7db233d60f1fb43725.jpg","text":"TemporaryFile(/tmp/multipartBody2851858374782658652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735882777556,"filename":"image_03012025_06_37_02_602438_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ac67012426629b461f15d00a28cc5fa8.jpg","text":"TemporaryFile(/tmp/multipartBody6429993277529988885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735882777556,"filename":"image_03012025_06_38_03_211894_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/252674fd9e630e4d263ba8891a324715.jpg","text":"TemporaryFile(/tmp/multipartBody1699822393653903392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735882777556,"filename":"image_03012025_06_37_02_602438_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e65b6a93e0de975ea08bbbc0ec7eb747.jpg","text":"TemporaryFile(/tmp/multipartBody6357405373668040818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735882777556,"filename":"image_03012025_06_36_02_875465_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5388631c93c34e42cdceea82c4d49e6b.jpg","text":"TemporaryFile(/tmp/multipartBody4755173446336892859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735882777556,"filename":"image_03012025_06_37_02_602438_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325702420","file1":"1325702417","file0":"1325702414","file4":"1325702424","file5":"1325702426","file3":"1325702422"},"map_files_photo_id_array":[{"photo_id":"1325702426","filename":"file5"},{"photo_id":"1325702420","filename":"file2"},{"photo_id":"1325702424","filename":"file4"},{"photo_id":"1325702417","filename":"file1"},{"photo_id":"1325702414","filename":"file0"},{"photo_id":"1325702422","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325702422":["hashtag1","hashtag2"]},{"1325702424":["hashtag1","hashtag2"]},{"1325702426":["hashtag1","hashtag2"]},{"1325702420":["hashtag1","hashtag2"]},{"1325702414":["hashtag1","hashtag2"]},{"1325702417":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325702422, 1325702424, 1325702426, 1325702420, 1325702414, 1325702417)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.82694387435913 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 06:39:22.052739
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/06/38/image_03012025_06_38_03_211894_0001.jpg', '/home/pi/Desktop/images/03012025/06/38/image_03012025_06_38_03_211894_0002.jpg', '/home/pi/Desktop/images/03012025/06/38/image_03012025_06_38_03_211894_0003.jpg', '/home/pi/Desktop/images/03012025/06/39/image_03012025_06_39_02_920682_0000.jpg', '/home/pi/Desktop/images/03012025/06/39/image_03012025_06_39_02_920682_0001.jpg', '/home/pi/Desktop/images/03012025/06/39/image_03012025_06_39_02_920682_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/06/38/image_03012025_06_38_03_211894_0001.jpg
/home/pi/Desktop/images/03012025/06/38/image_03012025_06_38_03_211894_0002.jpg
/home/pi/Desktop/images/03012025/06/38/image_03012025_06_38_03_211894_0003.jpg
/home/pi/Desktop/images/03012025/06/39/image_03012025_06_39_02_920682_0000.jpg
/home/pi/Desktop/images/03012025/06/39/image_03012025_06_39_02_920682_0001.jpg
/home/pi/Desktop/images/03012025/06/39/image_03012025_06_39_02_920682_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325702440","1325702434","1325702442","1325702444","1325702437","1325702431"],"photo_ids_order":["1325702431","1325702434","1325702437","1325702440","1325702442","1325702444"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/68034ed32ba11cae5c3ab508e58b06c5.jpg","text":"TemporaryFile(/tmp/multipartBody464472024282992992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735882837171,"filename":"image_03012025_06_39_02_920682_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4c0f4b501c1c5caa3963ecbdd4f77552.jpg","text":"TemporaryFile(/tmp/multipartBody1738309830355551054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735882837171,"filename":"image_03012025_06_38_03_211894_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c2a2ca963fd02eb5b0f3a4fc7c8211e6.jpg","text":"TemporaryFile(/tmp/multipartBody2716382062017622395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735882837171,"filename":"image_03012025_06_39_02_920682_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/08f0964f15b12ec4495139b753e5fbfb.jpg","text":"TemporaryFile(/tmp/multipartBody1297751582373349289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735882837171,"filename":"image_03012025_06_39_02_920682_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a95f426876db6950d2550c98ffea786d.jpg","text":"TemporaryFile(/tmp/multipartBody4222628248647208897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735882837171,"filename":"image_03012025_06_38_03_211894_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3460e7ee083667a653c14d47a5118508.jpg","text":"TemporaryFile(/tmp/multipartBody5412350823689189576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735882837171,"filename":"image_03012025_06_38_03_211894_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325702437","file1":"1325702434","file0":"1325702431","file4":"1325702442","file5":"1325702444","file3":"1325702440"},"map_files_photo_id_array":[{"photo_id":"1325702444","filename":"file5"},{"photo_id":"1325702437","filename":"file2"},{"photo_id":"1325702442","filename":"file4"},{"photo_id":"1325702434","filename":"file1"},{"photo_id":"1325702431","filename":"file0"},{"photo_id":"1325702440","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325702440":["hashtag1","hashtag2"]},{"1325702434":["hashtag1","hashtag2"]},{"1325702442":["hashtag1","hashtag2"]},{"1325702444":["hashtag1","hashtag2"]},{"1325702437":["hashtag1","hashtag2"]},{"1325702431":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325702440, 1325702434, 1325702442, 1325702444, 1325702437, 1325702431)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.161614179611206 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 06:40:22.585961
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/06/39/image_03012025_06_39_02_920682_0003.jpg', '/home/pi/Desktop/images/03012025/06/40/image_03012025_06_40_02_458689_0000.jpg', '/home/pi/Desktop/images/03012025/06/40/image_03012025_06_40_02_458689_0001.jpg', '/home/pi/Desktop/images/03012025/06/40/image_03012025_06_40_02_458689_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/06/39/image_03012025_06_39_02_920682_0003.jpg
/home/pi/Desktop/images/03012025/06/40/image_03012025_06_40_02_458689_0000.jpg
/home/pi/Desktop/images/03012025/06/40/image_03012025_06_40_02_458689_0001.jpg
/home/pi/Desktop/images/03012025/06/40/image_03012025_06_40_02_458689_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325702460","1325702450","1325702447","1325702455"],"photo_ids_order":["1325702447","1325702450","1325702455","1325702460"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/bbab1e8c4a0ae7a3591b4887b922978c.jpg","text":"TemporaryFile(/tmp/multipartBody8932061821750602208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735882892922,"filename":"image_03012025_06_40_02_458689_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/149d61451232b994254f6decea41a214.jpg","text":"TemporaryFile(/tmp/multipartBody3557956095152977527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735882892922,"filename":"image_03012025_06_40_02_458689_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f19771e2cf194b4a765261206447f7ca.jpg","text":"TemporaryFile(/tmp/multipartBody7069463955007954209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735882892922,"filename":"image_03012025_06_39_02_920682_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/eda8f72d654e50228462a3c21252bf53.jpg","text":"TemporaryFile(/tmp/multipartBody5468380570140631951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735882892922,"filename":"image_03012025_06_40_02_458689_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325702455","file1":"1325702450","file0":"1325702447","file3":"1325702460"},"map_files_photo_id_array":[{"photo_id":"1325702455","filename":"file2"},{"photo_id":"1325702450","filename":"file1"},{"photo_id":"1325702447","filename":"file0"},{"photo_id":"1325702460","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325702460":["hashtag1","hashtag2"]},{"1325702450":["hashtag1","hashtag2"]},{"1325702447":["hashtag1","hashtag2"]},{"1325702455":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325702460, 1325702450, 1325702447, 1325702455)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.66995453834534 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 06:41:02.604871
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 06:41:22.224236
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/06/40/image_03012025_06_40_02_458689_0003.jpg', '/home/pi/Desktop/images/03012025/06/41/image_03012025_06_41_02_956317_0000.jpg', '/home/pi/Desktop/images/03012025/06/41/image_03012025_06_41_02_956317_0001.jpg', '/home/pi/Desktop/images/03012025/06/41/image_03012025_06_41_02_956317_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/06/40/image_03012025_06_40_02_458689_0003.jpg
/home/pi/Desktop/images/03012025/06/41/image_03012025_06_41_02_956317_0000.jpg
/home/pi/Desktop/images/03012025/06/41/image_03012025_06_41_02_956317_0001.jpg
/home/pi/Desktop/images/03012025/06/41/image_03012025_06_41_02_956317_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325702484","1325702478","1325702475","1325702482"],"photo_ids_order":["1325702475","1325702478","1325702482","1325702484"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5834a51377ba2bc7f4649bd998ddd2a9.jpg","text":"TemporaryFile(/tmp/multipartBody6802903301615496134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735882952537,"filename":"image_03012025_06_41_02_956317_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/676534c3f364dfe0e644426dd220030f.jpg","text":"TemporaryFile(/tmp/multipartBody3986484000693843253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735882952537,"filename":"image_03012025_06_41_02_956317_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/579ef13b46de056454f3dca59280761e.jpg","text":"TemporaryFile(/tmp/multipartBody3994121601916575542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735882952537,"filename":"image_03012025_06_40_02_458689_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ca82216d040878729ff0b4e6ed292ca0.jpg","text":"TemporaryFile(/tmp/multipartBody8979200427166073328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735882952537,"filename":"image_03012025_06_41_02_956317_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325702482","file1":"1325702478","file0":"1325702475","file3":"1325702484"},"map_files_photo_id_array":[{"photo_id":"1325702482","filename":"file2"},{"photo_id":"1325702478","filename":"file1"},{"photo_id":"1325702475","filename":"file0"},{"photo_id":"1325702484","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325702484":["hashtag1","hashtag2"]},{"1325702478":["hashtag1","hashtag2"]},{"1325702475":["hashtag1","hashtag2"]},{"1325702482":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325702484, 1325702478, 1325702475, 1325702482)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.6541063785553 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 06:42:21.877051
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/06/41/image_03012025_06_41_02_956317_0003.jpg', '/home/pi/Desktop/images/03012025/06/42/image_03012025_06_42_02_518841_0000.jpg', '/home/pi/Desktop/images/03012025/06/42/image_03012025_06_42_02_518841_0001.jpg', '/home/pi/Desktop/images/03012025/06/42/image_03012025_06_42_02_518841_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/06/41/image_03012025_06_41_02_956317_0003.jpg
/home/pi/Desktop/images/03012025/06/42/image_03012025_06_42_02_518841_0000.jpg
/home/pi/Desktop/images/03012025/06/42/image_03012025_06_42_02_518841_0001.jpg
/home/pi/Desktop/images/03012025/06/42/image_03012025_06_42_02_518841_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.986710786819458 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 06:43:02.893648
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/06/41/image_03012025_06_41_02_956317_0003.jpg', '/home/pi/Desktop/images/03012025/06/42/image_03012025_06_42_02_518841_0000.jpg', '/home/pi/Desktop/images/03012025/06/42/image_03012025_06_42_02_518841_0001.jpg', '/home/pi/Desktop/images/03012025/06/42/image_03012025_06_42_02_518841_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/06/41/image_03012025_06_41_02_956317_0003.jpg
/home/pi/Desktop/images/03012025/06/42/image_03012025_06_42_02_518841_0000.jpg
/home/pi/Desktop/images/03012025/06/42/image_03012025_06_42_02_518841_0001.jpg
/home/pi/Desktop/images/03012025/06/42/image_03012025_06_42_02_518841_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325702503","1325702502","1325702505","1325702507"],"photo_ids_order":["1325702502","1325702503","1325702505","1325702507"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5dcf474e97a7e627883b811c3beb223b.jpg","text":"TemporaryFile(/tmp/multipartBody3234945822798963415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735883053363,"filename":"image_03012025_06_42_02_518841_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/70bcfab4325b9e7fd7b08a7a5c86aa02.jpg","text":"TemporaryFile(/tmp/multipartBody5631646394080521058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735883053363,"filename":"image_03012025_06_41_02_956317_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a4a764653960a5d56fa1609b8d49d292.jpg","text":"TemporaryFile(/tmp/multipartBody5408656456676137955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735883053363,"filename":"image_03012025_06_42_02_518841_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/63552c17df95bd6866f73c953f66b16a.jpg","text":"TemporaryFile(/tmp/multipartBody7355821786717733150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735883053363,"filename":"image_03012025_06_42_02_518841_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325702505","file1":"1325702503","file0":"1325702502","file3":"1325702507"},"map_files_photo_id_array":[{"photo_id":"1325702505","filename":"file2"},{"photo_id":"1325702503","filename":"file1"},{"photo_id":"1325702502","filename":"file0"},{"photo_id":"1325702507","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325702503":["hashtag1","hashtag2"]},{"1325702502":["hashtag1","hashtag2"]},{"1325702505":["hashtag1","hashtag2"]},{"1325702507":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325702503, 1325702502, 1325702505, 1325702507)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.62726426124573 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 06:44:02.421818
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/06/42/image_03012025_06_42_02_518841_0003.jpg', '/home/pi/Desktop/images/03012025/06/43/image_03012025_06_43_02_196951_0000.jpg', '/home/pi/Desktop/images/03012025/06/43/image_03012025_06_43_02_196951_0001.jpg', '/home/pi/Desktop/images/03012025/06/43/image_03012025_06_43_02_196951_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/06/42/image_03012025_06_42_02_518841_0003.jpg
/home/pi/Desktop/images/03012025/06/43/image_03012025_06_43_02_196951_0000.jpg
/home/pi/Desktop/images/03012025/06/43/image_03012025_06_43_02_196951_0001.jpg
/home/pi/Desktop/images/03012025/06/43/image_03012025_06_43_02_196951_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.832656860351562 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 06:44:22.014408
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/06/42/image_03012025_06_42_02_518841_0003.jpg', '/home/pi/Desktop/images/03012025/06/43/image_03012025_06_43_02_196951_0000.jpg', '/home/pi/Desktop/images/03012025/06/43/image_03012025_06_43_02_196951_0001.jpg', '/home/pi/Desktop/images/03012025/06/43/image_03012025_06_43_02_196951_0002.jpg', '/home/pi/Desktop/images/03012025/06/43/image_03012025_06_43_02_196951_0003.jpg', '/home/pi/Desktop/images/03012025/06/44/image_03012025_06_44_02_742480_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/06/42/image_03012025_06_42_02_518841_0003.jpg
/home/pi/Desktop/images/03012025/06/43/image_03012025_06_43_02_196951_0000.jpg
/home/pi/Desktop/images/03012025/06/43/image_03012025_06_43_02_196951_0001.jpg
/home/pi/Desktop/images/03012025/06/43/image_03012025_06_43_02_196951_0002.jpg
/home/pi/Desktop/images/03012025/06/43/image_03012025_06_43_02_196951_0003.jpg
/home/pi/Desktop/images/03012025/06/44/image_03012025_06_44_02_742480_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325702548","1325702538","1325702552","1325702534","1325702542","1325702545"],"photo_ids_order":["1325702534","1325702538","1325702542","1325702545","1325702548","1325702552"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c75537b1f203ec40d0a2ab698e9bf2de.jpg","text":"TemporaryFile(/tmp/multipartBody2579358343386990337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735883137017,"filename":"image_03012025_06_43_02_196951_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/71f3a65759177147dfbdf916f782cd6f.jpg","text":"TemporaryFile(/tmp/multipartBody7176107769992590891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735883137017,"filename":"image_03012025_06_43_02_196951_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7706bcdc2892dc32ea54c3216928f628.jpg","text":"TemporaryFile(/tmp/multipartBody1562534212798338646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735883137017,"filename":"image_03012025_06_44_02_742480_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/eba0c29ebca714e79bb45e375e95ad74.jpg","text":"TemporaryFile(/tmp/multipartBody3607796577626323043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735883137017,"filename":"image_03012025_06_42_02_518841_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c46daf2f9c4fb81ec1e1f76fa70cfb19.jpg","text":"TemporaryFile(/tmp/multipartBody206615649506808493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735883137017,"filename":"image_03012025_06_43_02_196951_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/eaac3f5051d1060fdaea98ae592b7d2d.jpg","text":"TemporaryFile(/tmp/multipartBody8686608296383821462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735883137017,"filename":"image_03012025_06_43_02_196951_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325702542","file1":"1325702538","file0":"1325702534","file4":"1325702548","file5":"1325702552","file3":"1325702545"},"map_files_photo_id_array":[{"photo_id":"1325702552","filename":"file5"},{"photo_id":"1325702542","filename":"file2"},{"photo_id":"1325702548","filename":"file4"},{"photo_id":"1325702538","filename":"file1"},{"photo_id":"1325702534","filename":"file0"},{"photo_id":"1325702545","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325702548":["hashtag1","hashtag2"]},{"1325702538":["hashtag1","hashtag2"]},{"1325702552":["hashtag1","hashtag2"]},{"1325702534":["hashtag1","hashtag2"]},{"1325702542":["hashtag1","hashtag2"]},{"1325702545":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325702548, 1325702538, 1325702552, 1325702534, 1325702542, 1325702545)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.854570388793945 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 06:45:22.517350
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/06/44/image_03012025_06_44_02_742480_0001.jpg', '/home/pi/Desktop/images/03012025/06/44/image_03012025_06_44_02_742480_0003.jpg', '/home/pi/Desktop/images/03012025/06/45/image_03012025_06_45_02_418417_0001.jpg', '/home/pi/Desktop/images/03012025/06/45/image_03012025_06_45_02_418417_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/06/44/image_03012025_06_44_02_742480_0001.jpg
/home/pi/Desktop/images/03012025/06/44/image_03012025_06_44_02_742480_0003.jpg
/home/pi/Desktop/images/03012025/06/45/image_03012025_06_45_02_418417_0001.jpg
/home/pi/Desktop/images/03012025/06/45/image_03012025_06_45_02_418417_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325702556","1325702561","1325702564","1325702558"],"photo_ids_order":["1325702556","1325702558","1325702561","1325702564"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/30dfc1ccc3cc4a44c34a6d46cab7e7f9.jpg","text":"TemporaryFile(/tmp/multipartBody705026407134175102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735883192761,"filename":"image_03012025_06_44_02_742480_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a96f42c6079df5143553bcd9c631242f.jpg","text":"TemporaryFile(/tmp/multipartBody1710352137510755978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735883192761,"filename":"image_03012025_06_45_02_418417_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/19a0356e14907af7d500edc8f4524063.jpg","text":"TemporaryFile(/tmp/multipartBody3901635188666477725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735883192761,"filename":"image_03012025_06_45_02_418417_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a83de35a17863068c11b363b347c1bda.jpg","text":"TemporaryFile(/tmp/multipartBody1753161480506238466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735883192761,"filename":"image_03012025_06_44_02_742480_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325702561","file1":"1325702558","file0":"1325702556","file3":"1325702564"},"map_files_photo_id_array":[{"photo_id":"1325702561","filename":"file2"},{"photo_id":"1325702558","filename":"file1"},{"photo_id":"1325702556","filename":"file0"},{"photo_id":"1325702564","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325702556":["hashtag1","hashtag2"]},{"1325702561":["hashtag1","hashtag2"]},{"1325702564":["hashtag1","hashtag2"]},{"1325702558":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325702556, 1325702561, 1325702564, 1325702558)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.9317626953125 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-03 06:46:22.108912
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/06/45/image_03012025_06_45_02_418417_0003.jpg', '/home/pi/Desktop/images/03012025/06/46/image_03012025_06_46_02_941687_0000.jpg', '/home/pi/Desktop/images/03012025/06/46/image_03012025_06_46_02_941687_0001.jpg', '/home/pi/Desktop/images/03012025/06/46/image_03012025_06_46_02_941687_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/06/45/image_03012025_06_45_02_418417_0003.jpg
/home/pi/Desktop/images/03012025/06/46/image_03012025_06_46_02_941687_0000.jpg
/home/pi/Desktop/images/03012025/06/46/image_03012025_06_46_02_941687_0001.jpg
/home/pi/Desktop/images/03012025/06/46/image_03012025_06_46_02_941687_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325702579","1325702572","1325702575","1325702584"],"photo_ids_order":["1325702572","1325702575","1325702579","1325702584"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6ee5fd9513f07896ccbb17a803ba8b3a.jpg","text":"TemporaryFile(/tmp/multipartBody1717649647191175105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735883252479,"filename":"image_03012025_06_46_02_941687_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6a9d0d153077b2bcf57b25df58bafc8d.jpg","text":"TemporaryFile(/tmp/multipartBody8455735074349571401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735883252479,"filename":"image_03012025_06_45_02_418417_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a2442a4ff94e6d306f3ae4db4b91e523.jpg","text":"TemporaryFile(/tmp/multipartBody1310174079507574194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735883252479,"filename":"image_03012025_06_46_02_941687_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3259dfceeddcffae8228e92d5ee1d72c.jpg","text":"TemporaryFile(/tmp/multipartBody3178035830683116716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735883252479,"filename":"image_03012025_06_46_02_941687_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325702579","file1":"1325702575","file0":"1325702572","file3":"1325702584"},"map_files_photo_id_array":[{"photo_id":"1325702579","filename":"file2"},{"photo_id":"1325702575","filename":"file1"},{"photo_id":"1325702572","filename":"file0"},{"photo_id":"1325702584","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325702579":["hashtag1","hashtag2"]},{"1325702572":["hashtag1","hashtag2"]},{"1325702575":["hashtag1","hashtag2"]},{"1325702584":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325702579, 1325702572, 1325702575, 1325702584)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 40.13992500305176 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 06:47:22.597423
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/06/46/image_03012025_06_46_02_941687_0003.jpg', '/home/pi/Desktop/images/03012025/06/47/image_03012025_06_47_02_435368_0000.jpg', '/home/pi/Desktop/images/03012025/06/47/image_03012025_06_47_02_435368_0001.jpg', '/home/pi/Desktop/images/03012025/06/47/image_03012025_06_47_02_435368_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/06/46/image_03012025_06_46_02_941687_0003.jpg
/home/pi/Desktop/images/03012025/06/47/image_03012025_06_47_02_435368_0000.jpg
/home/pi/Desktop/images/03012025/06/47/image_03012025_06_47_02_435368_0001.jpg
/home/pi/Desktop/images/03012025/06/47/image_03012025_06_47_02_435368_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325702601","1325702604","1325702594","1325702597"],"photo_ids_order":["1325702594","1325702597","1325702601","1325702604"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f5a2f64653e3652a07edfba69e4f23f1.jpg","text":"TemporaryFile(/tmp/multipartBody4197828348957234622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735883312991,"filename":"image_03012025_06_47_02_435368_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/cfb5ac4032951f6da608297bed44fd2a.jpg","text":"TemporaryFile(/tmp/multipartBody6609963844148408635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735883312991,"filename":"image_03012025_06_47_02_435368_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/60fb41e9dd1f6a91224e29cf7dcc8efe.jpg","text":"TemporaryFile(/tmp/multipartBody787034850041054261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735883312991,"filename":"image_03012025_06_46_02_941687_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/29aad737bea2fcf98acd430bbe0b77b2.jpg","text":"TemporaryFile(/tmp/multipartBody1704444484450122607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735883312991,"filename":"image_03012025_06_47_02_435368_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325702601","file1":"1325702597","file0":"1325702594","file3":"1325702604"},"map_files_photo_id_array":[{"photo_id":"1325702601","filename":"file2"},{"photo_id":"1325702597","filename":"file1"},{"photo_id":"1325702594","filename":"file0"},{"photo_id":"1325702604","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325702601":["hashtag1","hashtag2"]},{"1325702604":["hashtag1","hashtag2"]},{"1325702594":["hashtag1","hashtag2"]},{"1325702597":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325702601, 1325702604, 1325702594, 1325702597)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.95524311065674 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 06:48:22.129744
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/06/47/image_03012025_06_47_02_435368_0003.jpg', '/home/pi/Desktop/images/03012025/06/48/image_03012025_06_48_03_006798_0000.jpg', '/home/pi/Desktop/images/03012025/06/48/image_03012025_06_48_03_006798_0001.jpg', '/home/pi/Desktop/images/03012025/06/48/image_03012025_06_48_03_006798_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/06/47/image_03012025_06_47_02_435368_0003.jpg
/home/pi/Desktop/images/03012025/06/48/image_03012025_06_48_03_006798_0000.jpg
/home/pi/Desktop/images/03012025/06/48/image_03012025_06_48_03_006798_0001.jpg
/home/pi/Desktop/images/03012025/06/48/image_03012025_06_48_03_006798_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325702622","1325702612","1325702609","1325702617"],"photo_ids_order":["1325702609","1325702612","1325702617","1325702622"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/74632fe9064f8086e3b6742fd865c4f5.jpg","text":"TemporaryFile(/tmp/multipartBody4195420075481148694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735883372456,"filename":"image_03012025_06_48_03_006798_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/48a32b7ed0a6c7982e4e5ef4a9a20f3c.jpg","text":"TemporaryFile(/tmp/multipartBody9002020212455738967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735883372456,"filename":"image_03012025_06_48_03_006798_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1df462d52a67d8034a216681f229eb3e.jpg","text":"TemporaryFile(/tmp/multipartBody8349660262305364636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735883372456,"filename":"image_03012025_06_47_02_435368_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7e725d73b32fb7236ba5418cb9b0e810.jpg","text":"TemporaryFile(/tmp/multipartBody7720904413302586518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735883372456,"filename":"image_03012025_06_48_03_006798_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325702617","file1":"1325702612","file0":"1325702609","file3":"1325702622"},"map_files_photo_id_array":[{"photo_id":"1325702617","filename":"file2"},{"photo_id":"1325702612","filename":"file1"},{"photo_id":"1325702609","filename":"file0"},{"photo_id":"1325702622","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325702622":["hashtag1","hashtag2"]},{"1325702612":["hashtag1","hashtag2"]},{"1325702609":["hashtag1","hashtag2"]},{"1325702617":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325702622, 1325702612, 1325702609, 1325702617)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.766223192214966 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 06:49:22.626786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/06/48/image_03012025_06_48_03_006798_0003.jpg', '/home/pi/Desktop/images/03012025/06/49/image_03012025_06_49_02_481060_0000.jpg', '/home/pi/Desktop/images/03012025/06/49/image_03012025_06_49_02_481060_0001.jpg', '/home/pi/Desktop/images/03012025/06/49/image_03012025_06_49_02_481060_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/06/48/image_03012025_06_48_03_006798_0003.jpg
/home/pi/Desktop/images/03012025/06/49/image_03012025_06_49_02_481060_0000.jpg
/home/pi/Desktop/images/03012025/06/49/image_03012025_06_49_02_481060_0001.jpg
/home/pi/Desktop/images/03012025/06/49/image_03012025_06_49_02_481060_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325702646","1325702643","1325702639","1325702636"],"photo_ids_order":["1325702636","1325702639","1325702643","1325702646"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0ca2aeb6129a43a905ebc3a9ac8490de.jpg","text":"TemporaryFile(/tmp/multipartBody7362299243480421507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735883432891,"filename":"image_03012025_06_49_02_481060_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/15d982931f6c944e038cf406052e6a82.jpg","text":"TemporaryFile(/tmp/multipartBody3568825048228828530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735883432891,"filename":"image_03012025_06_49_02_481060_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/60a7b25ec76a6fa11c5fabdc7094494f.jpg","text":"TemporaryFile(/tmp/multipartBody2200541979251193879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735883432891,"filename":"image_03012025_06_49_02_481060_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c7296642b0598f24c618c5175cc0596c.jpg","text":"TemporaryFile(/tmp/multipartBody1983851349805955635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735883432891,"filename":"image_03012025_06_48_03_006798_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325702643","file1":"1325702639","file0":"1325702636","file3":"1325702646"},"map_files_photo_id_array":[{"photo_id":"1325702643","filename":"file2"},{"photo_id":"1325702639","filename":"file1"},{"photo_id":"1325702636","filename":"file0"},{"photo_id":"1325702646","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325702646":["hashtag1","hashtag2"]},{"1325702643":["hashtag1","hashtag2"]},{"1325702639":["hashtag1","hashtag2"]},{"1325702636":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325702646, 1325702643, 1325702639, 1325702636)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.73028516769409 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 06:50:22.116846
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/06/49/image_03012025_06_49_02_481060_0003.jpg', '/home/pi/Desktop/images/03012025/06/50/image_03012025_06_50_03_017795_0000.jpg', '/home/pi/Desktop/images/03012025/06/50/image_03012025_06_50_03_017795_0001.jpg', '/home/pi/Desktop/images/03012025/06/50/image_03012025_06_50_03_017795_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/06/49/image_03012025_06_49_02_481060_0003.jpg
/home/pi/Desktop/images/03012025/06/50/image_03012025_06_50_03_017795_0000.jpg
/home/pi/Desktop/images/03012025/06/50/image_03012025_06_50_03_017795_0001.jpg
/home/pi/Desktop/images/03012025/06/50/image_03012025_06_50_03_017795_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325702661","1325702653","1325702656","1325702659"],"photo_ids_order":["1325702653","1325702656","1325702659","1325702661"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/01de187be546ab230e3e3d3aeaaf0411.jpg","text":"TemporaryFile(/tmp/multipartBody1825100128272537003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735883492443,"filename":"image_03012025_06_50_03_017795_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8af692301116fa1c71fe426d976cf95e.jpg","text":"TemporaryFile(/tmp/multipartBody2038942271501901702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735883492443,"filename":"image_03012025_06_49_02_481060_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5bcd6ea6d94f1845dcffc8cfe6f23291.jpg","text":"TemporaryFile(/tmp/multipartBody8769797631838771021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735883492443,"filename":"image_03012025_06_50_03_017795_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5859192191e92454c9a4fb10f823dfd0.jpg","text":"TemporaryFile(/tmp/multipartBody341181761796978374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735883492443,"filename":"image_03012025_06_50_03_017795_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325702659","file1":"1325702656","file0":"1325702653","file3":"1325702661"},"map_files_photo_id_array":[{"photo_id":"1325702659","filename":"file2"},{"photo_id":"1325702656","filename":"file1"},{"photo_id":"1325702653","filename":"file0"},{"photo_id":"1325702661","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325702661":["hashtag1","hashtag2"]},{"1325702653":["hashtag1","hashtag2"]},{"1325702656":["hashtag1","hashtag2"]},{"1325702659":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325702661, 1325702653, 1325702656, 1325702659)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.8132803440094 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 06:51:03.271310
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 06:51:22.616558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/06/50/image_03012025_06_50_03_017795_0003.jpg', '/home/pi/Desktop/images/03012025/06/51/image_03012025_06_51_02_543762_0000.jpg', '/home/pi/Desktop/images/03012025/06/51/image_03012025_06_51_02_543762_0001.jpg', '/home/pi/Desktop/images/03012025/06/51/image_03012025_06_51_02_543762_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/06/50/image_03012025_06_50_03_017795_0003.jpg
/home/pi/Desktop/images/03012025/06/51/image_03012025_06_51_02_543762_0000.jpg
/home/pi/Desktop/images/03012025/06/51/image_03012025_06_51_02_543762_0001.jpg
/home/pi/Desktop/images/03012025/06/51/image_03012025_06_51_02_543762_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325702676","1325702669","1325702672","1325702680"],"photo_ids_order":["1325702669","1325702672","1325702676","1325702680"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/08a8a8e37a6b8c5681828e1a3159a46c.jpg","text":"TemporaryFile(/tmp/multipartBody1718827875451399619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735883552970,"filename":"image_03012025_06_51_02_543762_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/80b87eddbf6b794cb64e74a84cb4b464.jpg","text":"TemporaryFile(/tmp/multipartBody9012910421942789606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735883552970,"filename":"image_03012025_06_50_03_017795_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6b8dae890aa2d1ecfa7cc917f3b3b18e.jpg","text":"TemporaryFile(/tmp/multipartBody6012133621592023874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735883552970,"filename":"image_03012025_06_51_02_543762_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b93123417310cdb3a0c50d95fbe5b616.jpg","text":"TemporaryFile(/tmp/multipartBody621988011362899888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735883552970,"filename":"image_03012025_06_51_02_543762_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325702676","file1":"1325702672","file0":"1325702669","file3":"1325702680"},"map_files_photo_id_array":[{"photo_id":"1325702676","filename":"file2"},{"photo_id":"1325702672","filename":"file1"},{"photo_id":"1325702669","filename":"file0"},{"photo_id":"1325702680","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325702676":["hashtag1","hashtag2"]},{"1325702669":["hashtag1","hashtag2"]},{"1325702672":["hashtag1","hashtag2"]},{"1325702680":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325702676, 1325702669, 1325702672, 1325702680)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.975698471069336 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 06:52:02.817201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 06:52:22.276529
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/06/51/image_03012025_06_51_02_543762_0003.jpg', '/home/pi/Desktop/images/03012025/06/52/image_03012025_06_52_03_082983_0000.jpg', '/home/pi/Desktop/images/03012025/06/52/image_03012025_06_52_03_082983_0001.jpg', '/home/pi/Desktop/images/03012025/06/52/image_03012025_06_52_03_082983_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/06/51/image_03012025_06_51_02_543762_0003.jpg
/home/pi/Desktop/images/03012025/06/52/image_03012025_06_52_03_082983_0000.jpg
/home/pi/Desktop/images/03012025/06/52/image_03012025_06_52_03_082983_0001.jpg
/home/pi/Desktop/images/03012025/06/52/image_03012025_06_52_03_082983_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325702694","1325702691","1325702698","1325702702"],"photo_ids_order":["1325702691","1325702694","1325702698","1325702702"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9484bd285d5de40756b08cd988f0052e.jpg","text":"TemporaryFile(/tmp/multipartBody5346839728692694918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735883612691,"filename":"image_03012025_06_52_03_082983_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/afac849df5cea8a941a96765055d8b30.jpg","text":"TemporaryFile(/tmp/multipartBody1191435747095128492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735883612691,"filename":"image_03012025_06_51_02_543762_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a26a27a0f641ed76394d503c6210b1f4.jpg","text":"TemporaryFile(/tmp/multipartBody300812507536779834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735883612691,"filename":"image_03012025_06_52_03_082983_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f82adffcf746f5ce6e096478c1716878.jpg","text":"TemporaryFile(/tmp/multipartBody4550179487972250526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735883612691,"filename":"image_03012025_06_52_03_082983_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325702698","file1":"1325702694","file0":"1325702691","file3":"1325702702"},"map_files_photo_id_array":[{"photo_id":"1325702698","filename":"file2"},{"photo_id":"1325702694","filename":"file1"},{"photo_id":"1325702691","filename":"file0"},{"photo_id":"1325702702","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325702694":["hashtag1","hashtag2"]},{"1325702691":["hashtag1","hashtag2"]},{"1325702698":["hashtag1","hashtag2"]},{"1325702702":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325702694, 1325702691, 1325702698, 1325702702)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.50782752037048 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 06:53:21.855228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/06/52/image_03012025_06_52_03_082983_0003.jpg', '/home/pi/Desktop/images/03012025/06/53/image_03012025_06_53_02_752082_0000.jpg', '/home/pi/Desktop/images/03012025/06/53/image_03012025_06_53_02_752082_0001.jpg', '/home/pi/Desktop/images/03012025/06/53/image_03012025_06_53_02_752082_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/06/52/image_03012025_06_52_03_082983_0003.jpg
/home/pi/Desktop/images/03012025/06/53/image_03012025_06_53_02_752082_0000.jpg
/home/pi/Desktop/images/03012025/06/53/image_03012025_06_53_02_752082_0001.jpg
/home/pi/Desktop/images/03012025/06/53/image_03012025_06_53_02_752082_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325702725","1325702719","1325702722","1325702716"],"photo_ids_order":["1325702716","1325702719","1325702722","1325702725"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ef222f4b07814d269383ec79fab1f4da.jpg","text":"TemporaryFile(/tmp/multipartBody9062879589396942043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735883672172,"filename":"image_03012025_06_53_02_752082_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3923fabd0e9183b03c11e9daaa72f421.jpg","text":"TemporaryFile(/tmp/multipartBody4180494233972336473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735883672172,"filename":"image_03012025_06_53_02_752082_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/670edccaa22ab4f0707668326d90dd69.jpg","text":"TemporaryFile(/tmp/multipartBody5200973793987714771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735883672172,"filename":"image_03012025_06_53_02_752082_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/57dc36405708709043ccf39eabd2f567.jpg","text":"TemporaryFile(/tmp/multipartBody6535011179460763139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735883672172,"filename":"image_03012025_06_52_03_082983_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325702722","file1":"1325702719","file0":"1325702716","file3":"1325702725"},"map_files_photo_id_array":[{"photo_id":"1325702722","filename":"file2"},{"photo_id":"1325702719","filename":"file1"},{"photo_id":"1325702716","filename":"file0"},{"photo_id":"1325702725","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325702725":["hashtag1","hashtag2"]},{"1325702719":["hashtag1","hashtag2"]},{"1325702722":["hashtag1","hashtag2"]},{"1325702716":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325702725, 1325702719, 1325702722, 1325702716)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.85340857505798 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 06:54:02.802424
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 06:54:22.361016
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/06/53/image_03012025_06_53_02_752082_0003.jpg', '/home/pi/Desktop/images/03012025/06/54/image_03012025_06_54_02_255265_0000.jpg', '/home/pi/Desktop/images/03012025/06/54/image_03012025_06_54_02_255265_0001.jpg', '/home/pi/Desktop/images/03012025/06/54/image_03012025_06_54_02_255265_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/06/53/image_03012025_06_53_02_752082_0003.jpg
/home/pi/Desktop/images/03012025/06/54/image_03012025_06_54_02_255265_0000.jpg
/home/pi/Desktop/images/03012025/06/54/image_03012025_06_54_02_255265_0001.jpg
/home/pi/Desktop/images/03012025/06/54/image_03012025_06_54_02_255265_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.768937110900879 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 06:55:02.644073
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/06/53/image_03012025_06_53_02_752082_0003.jpg', '/home/pi/Desktop/images/03012025/06/54/image_03012025_06_54_02_255265_0000.jpg', '/home/pi/Desktop/images/03012025/06/54/image_03012025_06_54_02_255265_0001.jpg', '/home/pi/Desktop/images/03012025/06/54/image_03012025_06_54_02_255265_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/06/53/image_03012025_06_53_02_752082_0003.jpg
/home/pi/Desktop/images/03012025/06/54/image_03012025_06_54_02_255265_0000.jpg
/home/pi/Desktop/images/03012025/06/54/image_03012025_06_54_02_255265_0001.jpg
/home/pi/Desktop/images/03012025/06/54/image_03012025_06_54_02_255265_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325702748","1325702750","1325702753","1325702747"],"photo_ids_order":["1325702747","1325702748","1325702750","1325702753"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4b5bf7a474c2cb445c9b8d3b43e8b442.jpg","text":"TemporaryFile(/tmp/multipartBody2714062299302196680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735883772847,"filename":"image_03012025_06_54_02_255265_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a82f69612c6a085ae142d0efcc845872.jpg","text":"TemporaryFile(/tmp/multipartBody5173965428862520081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735883772847,"filename":"image_03012025_06_54_02_255265_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c8b4f9baa572b1082c7ae496bc99f946.jpg","text":"TemporaryFile(/tmp/multipartBody4524134504504980724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735883772847,"filename":"image_03012025_06_54_02_255265_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5e88a4501adda0ef5013dc4db5d2864c.jpg","text":"TemporaryFile(/tmp/multipartBody6337907054439153613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735883772847,"filename":"image_03012025_06_53_02_752082_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325702750","file1":"1325702748","file0":"1325702747","file3":"1325702753"},"map_files_photo_id_array":[{"photo_id":"1325702750","filename":"file2"},{"photo_id":"1325702748","filename":"file1"},{"photo_id":"1325702747","filename":"file0"},{"photo_id":"1325702753","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325702748":["hashtag1","hashtag2"]},{"1325702750":["hashtag1","hashtag2"]},{"1325702753":["hashtag1","hashtag2"]},{"1325702747":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325702748, 1325702750, 1325702753, 1325702747)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.78288292884827 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 06:56:02.777840
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/06/54/image_03012025_06_54_02_255265_0003.jpg', '/home/pi/Desktop/images/03012025/06/55/image_03012025_06_55_02_756281_0000.jpg', '/home/pi/Desktop/images/03012025/06/55/image_03012025_06_55_02_756281_0001.jpg', '/home/pi/Desktop/images/03012025/06/55/image_03012025_06_55_02_756281_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/06/54/image_03012025_06_54_02_255265_0003.jpg
/home/pi/Desktop/images/03012025/06/55/image_03012025_06_55_02_756281_0000.jpg
/home/pi/Desktop/images/03012025/06/55/image_03012025_06_55_02_756281_0001.jpg
/home/pi/Desktop/images/03012025/06/55/image_03012025_06_55_02_756281_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.065101146697998 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 06:56:22.507676
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/06/54/image_03012025_06_54_02_255265_0003.jpg', '/home/pi/Desktop/images/03012025/06/55/image_03012025_06_55_02_756281_0000.jpg', '/home/pi/Desktop/images/03012025/06/55/image_03012025_06_55_02_756281_0001.jpg', '/home/pi/Desktop/images/03012025/06/55/image_03012025_06_55_02_756281_0002.jpg', '/home/pi/Desktop/images/03012025/06/55/image_03012025_06_55_02_756281_0003.jpg', '/home/pi/Desktop/images/03012025/06/56/image_03012025_06_56_02_312295_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/06/54/image_03012025_06_54_02_255265_0003.jpg
/home/pi/Desktop/images/03012025/06/55/image_03012025_06_55_02_756281_0000.jpg
/home/pi/Desktop/images/03012025/06/55/image_03012025_06_55_02_756281_0001.jpg
/home/pi/Desktop/images/03012025/06/55/image_03012025_06_55_02_756281_0002.jpg
/home/pi/Desktop/images/03012025/06/55/image_03012025_06_55_02_756281_0003.jpg
/home/pi/Desktop/images/03012025/06/56/image_03012025_06_56_02_312295_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325702991","1325702793","1325703036","1325703039","1325702977","1325702974"],"photo_ids_order":["1325702793","1325702974","1325702977","1325702991","1325703036","1325703039"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/feeb98ec9105ecfc7a2de0a74562c671.jpg","text":"TemporaryFile(/tmp/multipartBody3630833954009042660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735883857736,"filename":"image_03012025_06_55_02_756281_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c8ea53916d28e29c9b2756a6e1194ff0.jpg","text":"TemporaryFile(/tmp/multipartBody5200207005035740958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735883857736,"filename":"image_03012025_06_54_02_255265_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1b81381dfaa76b7c4aad7e7c2b019881.jpg","text":"TemporaryFile(/tmp/multipartBody2679243709447912686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735883857736,"filename":"image_03012025_06_55_02_756281_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f4779a61286136a5e63ffa2695c5113e.jpg","text":"TemporaryFile(/tmp/multipartBody783963210662027436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735883857736,"filename":"image_03012025_06_56_02_312295_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3c8cbfb1acf8c5c4a18804831fd90286.jpg","text":"TemporaryFile(/tmp/multipartBody5624930516183847938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735883857736,"filename":"image_03012025_06_55_02_756281_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a61a110ad5414aedea26c150758c64e3.jpg","text":"TemporaryFile(/tmp/multipartBody8965012033857774160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735883857736,"filename":"image_03012025_06_55_02_756281_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325702977","file1":"1325702974","file0":"1325702793","file4":"1325703036","file5":"1325703039","file3":"1325702991"},"map_files_photo_id_array":[{"photo_id":"1325703039","filename":"file5"},{"photo_id":"1325702977","filename":"file2"},{"photo_id":"1325703036","filename":"file4"},{"photo_id":"1325702974","filename":"file1"},{"photo_id":"1325702793","filename":"file0"},{"photo_id":"1325702991","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325702991":["hashtag1","hashtag2"]},{"1325702793":["hashtag1","hashtag2"]},{"1325703036":["hashtag1","hashtag2"]},{"1325703039":["hashtag1","hashtag2"]},{"1325702977":["hashtag1","hashtag2"]},{"1325702974":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325702991, 1325702793, 1325703036, 1325703039, 1325702977, 1325702974)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.37913632392883 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 06:57:22.008538
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/06/56/image_03012025_06_56_02_312295_0001.jpg', '/home/pi/Desktop/images/03012025/06/56/image_03012025_06_56_02_312295_0002.jpg', '/home/pi/Desktop/images/03012025/06/56/image_03012025_06_56_02_312295_0003.jpg', '/home/pi/Desktop/images/03012025/06/57/image_03012025_06_57_02_888741_0000.jpg', '/home/pi/Desktop/images/03012025/06/57/image_03012025_06_57_02_888741_0001.jpg', '/home/pi/Desktop/images/03012025/06/57/image_03012025_06_57_02_888741_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/06/56/image_03012025_06_56_02_312295_0001.jpg
/home/pi/Desktop/images/03012025/06/56/image_03012025_06_56_02_312295_0002.jpg
/home/pi/Desktop/images/03012025/06/56/image_03012025_06_56_02_312295_0003.jpg
/home/pi/Desktop/images/03012025/06/57/image_03012025_06_57_02_888741_0000.jpg
/home/pi/Desktop/images/03012025/06/57/image_03012025_06_57_02_888741_0001.jpg
/home/pi/Desktop/images/03012025/06/57/image_03012025_06_57_02_888741_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-03 06:59:02.445092
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/06/56/image_03012025_06_56_02_312295_0001.jpg', '/home/pi/Desktop/images/03012025/06/56/image_03012025_06_56_02_312295_0002.jpg', '/home/pi/Desktop/images/03012025/06/56/image_03012025_06_56_02_312295_0003.jpg', '/home/pi/Desktop/images/03012025/06/57/image_03012025_06_57_02_888741_0000.jpg', '/home/pi/Desktop/images/03012025/06/57/image_03012025_06_57_02_888741_0001.jpg', '/home/pi/Desktop/images/03012025/06/57/image_03012025_06_57_02_888741_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/06/56/image_03012025_06_56_02_312295_0001.jpg
/home/pi/Desktop/images/03012025/06/56/image_03012025_06_56_02_312295_0002.jpg
/home/pi/Desktop/images/03012025/06/56/image_03012025_06_56_02_312295_0003.jpg
/home/pi/Desktop/images/03012025/06/57/image_03012025_06_57_02_888741_0000.jpg
/home/pi/Desktop/images/03012025/06/57/image_03012025_06_57_02_888741_0001.jpg
/home/pi/Desktop/images/03012025/06/57/image_03012025_06_57_02_888741_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":["1325704187","1325704130","1325704180","1325704153","1325704185","1325704188"],"photo_ids_order":["1325704130","1325704153","1325704180","1325704185","1325704187","1325704188"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1509ce9d16c351f9a64676d0bbf6dbb1.jpg","text":"TemporaryFile(/tmp/multipartBody8507758502550075569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735884017854,"filename":"image_03012025_06_57_02_888741_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/58ea4eec336058f12b8b6d0d65ee5509.jpg","text":"TemporaryFile(/tmp/multipartBody7870604099501279511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735884017854,"filename":"image_03012025_06_56_02_312295_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f1cea222f30f4473cf9883d1e7bae1f4.jpg","text":"TemporaryFile(/tmp/multipartBody704279134788000714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735884017854,"filename":"image_03012025_06_56_02_312295_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b3f24ca3a0ea19b0242d3e618a69953e.jpg","text":"TemporaryFile(/tmp/multipartBody6585152569025624581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735884017854,"filename":"image_03012025_06_56_02_312295_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9e69a705049ce1b05002ae593204c3db.jpg","text":"TemporaryFile(/tmp/multipartBody2616214246109412108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735884017854,"filename":"image_03012025_06_57_02_888741_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/fae740ee15360270acce27ea3c613c15.jpg","text":"TemporaryFile(/tmp/multipartBody7698776745780898217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735884017854,"filename":"image_03012025_06_57_02_888741_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325704180","file1":"1325704153","file0":"1325704130","file4":"1325704187","file5":"1325704188","file3":"1325704185"},"map_files_photo_id_array":[{"photo_id":"1325704188","filename":"file5"},{"photo_id":"1325704180","filename":"file2"},{"photo_id":"1325704187","filename":"file4"},{"photo_id":"1325704153","filename":"file1"},{"photo_id":"1325704130","filename":"file0"},{"photo_id":"1325704185","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325704187":["hashtag1","hashtag2"]},{"1325704130":["hashtag1","hashtag2"]},{"1325704180":["hashtag1","hashtag2"]},{"1325704153":["hashtag1","hashtag2"]},{"1325704185":["hashtag1","hashtag2"]},{"1325704188":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325704187, 1325704130, 1325704180, 1325704153, 1325704185, 1325704188)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.01995277404785 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 07:00:22.480144
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/06/57/image_03012025_06_57_02_888741_0003.jpg', '/home/pi/Desktop/images/03012025/06/58/image_03012025_06_58_02_502571_0000.jpg', '/home/pi/Desktop/images/03012025/06/58/image_03012025_06_58_02_502571_0001.jpg', '/home/pi/Desktop/images/03012025/06/58/image_03012025_06_58_02_502571_0002.jpg', '/home/pi/Desktop/images/03012025/06/58/image_03012025_06_58_02_502571_0003.jpg', '/home/pi/Desktop/images/03012025/06/59/image_03012025_06_59_03_004268_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/06/57/image_03012025_06_57_02_888741_0003.jpg
/home/pi/Desktop/images/03012025/06/58/image_03012025_06_58_02_502571_0000.jpg
/home/pi/Desktop/images/03012025/06/58/image_03012025_06_58_02_502571_0001.jpg
/home/pi/Desktop/images/03012025/06/58/image_03012025_06_58_02_502571_0002.jpg
/home/pi/Desktop/images/03012025/06/58/image_03012025_06_58_02_502571_0003.jpg
/home/pi/Desktop/images/03012025/06/59/image_03012025_06_59_03_004268_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325704218","1325704238","1325704226","1325704234","1325704222","1325704231"],"photo_ids_order":["1325704218","1325704222","1325704226","1325704231","1325704234","1325704238"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/48856bf80e8a88fb660b4e379a96a0ef.jpg","text":"TemporaryFile(/tmp/multipartBody314617847492735278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735884097722,"filename":"image_03012025_06_57_02_888741_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f5d2c65e4d495975ac4e83a09e8bbdb3.jpg","text":"TemporaryFile(/tmp/multipartBody3312973024534955240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735884097722,"filename":"image_03012025_06_59_03_004268_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c74a1f8d685b546b65c84bd4ee38c5a1.jpg","text":"TemporaryFile(/tmp/multipartBody3236922760793738609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735884097722,"filename":"image_03012025_06_58_02_502571_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/eaf880905c021c47932274bd4eeaedd6.jpg","text":"TemporaryFile(/tmp/multipartBody7646548407132240151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735884097722,"filename":"image_03012025_06_58_02_502571_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/09c59d432bf16ed6100cd015c1c180f4.jpg","text":"TemporaryFile(/tmp/multipartBody1440795073285044993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735884097722,"filename":"image_03012025_06_58_02_502571_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6d606b1a5752362d82cc59635fd0bb47.jpg","text":"TemporaryFile(/tmp/multipartBody2388691853583223525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735884097722,"filename":"image_03012025_06_58_02_502571_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325704226","file1":"1325704222","file0":"1325704218","file4":"1325704234","file5":"1325704238","file3":"1325704231"},"map_files_photo_id_array":[{"photo_id":"1325704238","filename":"file5"},{"photo_id":"1325704226","filename":"file2"},{"photo_id":"1325704234","filename":"file4"},{"photo_id":"1325704222","filename":"file1"},{"photo_id":"1325704218","filename":"file0"},{"photo_id":"1325704231","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325704218":["hashtag1","hashtag2"]},{"1325704238":["hashtag1","hashtag2"]},{"1325704226":["hashtag1","hashtag2"]},{"1325704234":["hashtag1","hashtag2"]},{"1325704222":["hashtag1","hashtag2"]},{"1325704231":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325704218, 1325704238, 1325704226, 1325704234, 1325704222, 1325704231)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.1926965713501 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 07:01:21.997104
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/06/59/image_03012025_06_59_03_004268_0001.jpg', '/home/pi/Desktop/images/03012025/06/59/image_03012025_06_59_03_004268_0002.jpg', '/home/pi/Desktop/images/03012025/06/59/image_03012025_06_59_03_004268_0003.jpg', '/home/pi/Desktop/images/03012025/07/00/image_03012025_07_00_02_203517_0000.jpg', '/home/pi/Desktop/images/03012025/07/00/image_03012025_07_00_02_203517_0001.jpg', '/home/pi/Desktop/images/03012025/07/00/image_03012025_07_00_02_203517_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/06/59/image_03012025_06_59_03_004268_0001.jpg
/home/pi/Desktop/images/03012025/06/59/image_03012025_06_59_03_004268_0002.jpg
/home/pi/Desktop/images/03012025/06/59/image_03012025_06_59_03_004268_0003.jpg
/home/pi/Desktop/images/03012025/07/00/image_03012025_07_00_02_203517_0000.jpg
/home/pi/Desktop/images/03012025/07/00/image_03012025_07_00_02_203517_0001.jpg
/home/pi/Desktop/images/03012025/07/00/image_03012025_07_00_02_203517_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325704262","1325704256","1325704259","1325704250","1325704264","1325704266"],"photo_ids_order":["1325704250","1325704256","1325704259","1325704262","1325704264","1325704266"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0fa06493024838e3cb215a2b69022afa.jpg","text":"TemporaryFile(/tmp/multipartBody1836274996925713822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735884157218,"filename":"image_03012025_07_00_02_203517_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0e3fff38acc1705f8fe0db0c5dc68287.jpg","text":"TemporaryFile(/tmp/multipartBody8750580712443911923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735884157218,"filename":"image_03012025_06_59_03_004268_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/cbfbbd7884d0e9b7b8efc2b6c61c76a9.jpg","text":"TemporaryFile(/tmp/multipartBody6940820769884790878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735884157218,"filename":"image_03012025_06_59_03_004268_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/120d9165ed16f949e90cfb3a5f15c2e1.jpg","text":"TemporaryFile(/tmp/multipartBody7537241434440095539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735884157218,"filename":"image_03012025_06_59_03_004268_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a1a709d45cb559d832f1cc285bf73bc7.jpg","text":"TemporaryFile(/tmp/multipartBody4780750692063831374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735884157218,"filename":"image_03012025_07_00_02_203517_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b8e4900c9b16a8f1d8056c3e6a256c18.jpg","text":"TemporaryFile(/tmp/multipartBody4307036371344633956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735884157218,"filename":"image_03012025_07_00_02_203517_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325704259","file1":"1325704256","file0":"1325704250","file4":"1325704264","file5":"1325704266","file3":"1325704262"},"map_files_photo_id_array":[{"photo_id":"1325704266","filename":"file5"},{"photo_id":"1325704259","filename":"file2"},{"photo_id":"1325704264","filename":"file4"},{"photo_id":"1325704256","filename":"file1"},{"photo_id":"1325704250","filename":"file0"},{"photo_id":"1325704262","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325704262":["hashtag1","hashtag2"]},{"1325704256":["hashtag1","hashtag2"]},{"1325704259":["hashtag1","hashtag2"]},{"1325704250":["hashtag1","hashtag2"]},{"1325704264":["hashtag1","hashtag2"]},{"1325704266":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325704262, 1325704256, 1325704259, 1325704250, 1325704264, 1325704266)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.26892399787903 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 07:02:22.506341
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/07/00/image_03012025_07_00_02_203517_0003.jpg', '/home/pi/Desktop/images/03012025/07/01/image_03012025_07_01_02_872597_0000.jpg', '/home/pi/Desktop/images/03012025/07/01/image_03012025_07_01_02_872597_0001.jpg', '/home/pi/Desktop/images/03012025/07/01/image_03012025_07_01_02_872597_0002.jpg', '/home/pi/Desktop/images/03012025/07/01/image_03012025_07_01_02_872597_0003.jpg', '/home/pi/Desktop/images/03012025/07/02/image_03012025_07_02_02_374558_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/07/00/image_03012025_07_00_02_203517_0003.jpg
/home/pi/Desktop/images/03012025/07/01/image_03012025_07_01_02_872597_0000.jpg
/home/pi/Desktop/images/03012025/07/01/image_03012025_07_01_02_872597_0001.jpg
/home/pi/Desktop/images/03012025/07/01/image_03012025_07_01_02_872597_0002.jpg
/home/pi/Desktop/images/03012025/07/01/image_03012025_07_01_02_872597_0003.jpg
/home/pi/Desktop/images/03012025/07/02/image_03012025_07_02_02_374558_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325704298","1325704286","1325704289","1325704274","1325704279","1325704293"],"photo_ids_order":["1325704274","1325704279","1325704286","1325704289","1325704293","1325704298"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2637e98de4c8be21bac057c97493e69b.jpg","text":"TemporaryFile(/tmp/multipartBody8315765332836730357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735884217441,"filename":"image_03012025_07_02_02_374558_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ff72ef92e83b04f4796c204eefe3c746.jpg","text":"TemporaryFile(/tmp/multipartBody2892439302552728641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735884217441,"filename":"image_03012025_07_01_02_872597_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e3a9ecd5a1094126e40f52be8371c562.jpg","text":"TemporaryFile(/tmp/multipartBody2446782967791046151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735884217441,"filename":"image_03012025_07_01_02_872597_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/211f378af47f901aa8c351b58f370eb0.jpg","text":"TemporaryFile(/tmp/multipartBody1657959833475381894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735884217441,"filename":"image_03012025_07_00_02_203517_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/36f3cf08ab79598cf7d44a93382aae4c.jpg","text":"TemporaryFile(/tmp/multipartBody4123210251386045706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735884217441,"filename":"image_03012025_07_01_02_872597_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/cb6975ad1fb293fec9f56c02c5f3c16f.jpg","text":"TemporaryFile(/tmp/multipartBody2166219600300560163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735884217441,"filename":"image_03012025_07_01_02_872597_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325704286","file1":"1325704279","file0":"1325704274","file4":"1325704293","file5":"1325704298","file3":"1325704289"},"map_files_photo_id_array":[{"photo_id":"1325704298","filename":"file5"},{"photo_id":"1325704286","filename":"file2"},{"photo_id":"1325704293","filename":"file4"},{"photo_id":"1325704279","filename":"file1"},{"photo_id":"1325704274","filename":"file0"},{"photo_id":"1325704289","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325704298":["hashtag1","hashtag2"]},{"1325704286":["hashtag1","hashtag2"]},{"1325704289":["hashtag1","hashtag2"]},{"1325704274":["hashtag1","hashtag2"]},{"1325704279":["hashtag1","hashtag2"]},{"1325704293":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325704298, 1325704286, 1325704289, 1325704274, 1325704279, 1325704293)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.80036401748657 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 07:03:21.994880
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/07/02/image_03012025_07_02_02_374558_0001.jpg', '/home/pi/Desktop/images/03012025/07/02/image_03012025_07_02_02_374558_0002.jpg', '/home/pi/Desktop/images/03012025/07/02/image_03012025_07_02_02_374558_0003.jpg', '/home/pi/Desktop/images/03012025/07/03/image_03012025_07_03_02_874207_0000.jpg', '/home/pi/Desktop/images/03012025/07/03/image_03012025_07_03_02_874207_0001.jpg', '/home/pi/Desktop/images/03012025/07/03/image_03012025_07_03_02_874207_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/07/02/image_03012025_07_02_02_374558_0001.jpg
/home/pi/Desktop/images/03012025/07/02/image_03012025_07_02_02_374558_0002.jpg
/home/pi/Desktop/images/03012025/07/02/image_03012025_07_02_02_374558_0003.jpg
/home/pi/Desktop/images/03012025/07/03/image_03012025_07_03_02_874207_0000.jpg
/home/pi/Desktop/images/03012025/07/03/image_03012025_07_03_02_874207_0001.jpg
/home/pi/Desktop/images/03012025/07/03/image_03012025_07_03_02_874207_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325704314","1325704308","1325704316","1325704321","1325704318","1325704312"],"photo_ids_order":["1325704308","1325704312","1325704314","1325704316","1325704318","1325704321"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/25b314b2b905b1000e7c2c4808929e44.jpg","text":"TemporaryFile(/tmp/multipartBody8904193601441493533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735884277257,"filename":"image_03012025_07_02_02_374558_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4f17800b2780f74b928e8825218512b0.jpg","text":"TemporaryFile(/tmp/multipartBody6347190284015200547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735884277257,"filename":"image_03012025_07_02_02_374558_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0cb731ed2e11d891d306b07c5df86bc2.jpg","text":"TemporaryFile(/tmp/multipartBody3203667900951191163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735884277257,"filename":"image_03012025_07_03_02_874207_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/52dbe3c745610a8687b5bee3157bef8f.jpg","text":"TemporaryFile(/tmp/multipartBody7220980718942483528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735884277257,"filename":"image_03012025_07_03_02_874207_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/feadb1df7ebd32bdb5b98ee69b3a2c91.jpg","text":"TemporaryFile(/tmp/multipartBody8744152402452690151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735884277257,"filename":"image_03012025_07_03_02_874207_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0b516d29f6bad342b9e9e9daee54f636.jpg","text":"TemporaryFile(/tmp/multipartBody9067556987222351585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735884277257,"filename":"image_03012025_07_02_02_374558_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325704314","file1":"1325704312","file0":"1325704308","file4":"1325704318","file5":"1325704321","file3":"1325704316"},"map_files_photo_id_array":[{"photo_id":"1325704321","filename":"file5"},{"photo_id":"1325704314","filename":"file2"},{"photo_id":"1325704318","filename":"file4"},{"photo_id":"1325704312","filename":"file1"},{"photo_id":"1325704308","filename":"file0"},{"photo_id":"1325704316","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325704314":["hashtag1","hashtag2"]},{"1325704308":["hashtag1","hashtag2"]},{"1325704316":["hashtag1","hashtag2"]},{"1325704321":["hashtag1","hashtag2"]},{"1325704318":["hashtag1","hashtag2"]},{"1325704312":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325704314, 1325704308, 1325704316, 1325704321, 1325704318, 1325704312)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.43363666534424 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 07:04:22.540821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/07/03/image_03012025_07_03_02_874207_0003.jpg', '/home/pi/Desktop/images/03012025/07/04/image_03012025_07_04_02_393424_0000.jpg', '/home/pi/Desktop/images/03012025/07/04/image_03012025_07_04_02_393424_0001.jpg', '/home/pi/Desktop/images/03012025/07/04/image_03012025_07_04_02_393424_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/07/03/image_03012025_07_03_02_874207_0003.jpg
/home/pi/Desktop/images/03012025/07/04/image_03012025_07_04_02_393424_0000.jpg
/home/pi/Desktop/images/03012025/07/04/image_03012025_07_04_02_393424_0001.jpg
/home/pi/Desktop/images/03012025/07/04/image_03012025_07_04_02_393424_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325704334","1325704331","1325704325","1325704328"],"photo_ids_order":["1325704325","1325704328","1325704331","1325704334"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8a567aa894a40e06f6c7eb4683d6b097.jpg","text":"TemporaryFile(/tmp/multipartBody2822529458099349306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735884332933,"filename":"image_03012025_07_04_02_393424_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/bb327392851931b221b9d445372cff75.jpg","text":"TemporaryFile(/tmp/multipartBody4512911406168544033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735884332933,"filename":"image_03012025_07_04_02_393424_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e3572cba314034a36285809e421cb2ca.jpg","text":"TemporaryFile(/tmp/multipartBody719459913423303665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735884332933,"filename":"image_03012025_07_03_02_874207_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/cf9799ffeeefd480879d9df6b5280172.jpg","text":"TemporaryFile(/tmp/multipartBody4260337772857568635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735884332933,"filename":"image_03012025_07_04_02_393424_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325704331","file1":"1325704328","file0":"1325704325","file3":"1325704334"},"map_files_photo_id_array":[{"photo_id":"1325704331","filename":"file2"},{"photo_id":"1325704328","filename":"file1"},{"photo_id":"1325704325","filename":"file0"},{"photo_id":"1325704334","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325704334":["hashtag1","hashtag2"]},{"1325704331":["hashtag1","hashtag2"]},{"1325704325":["hashtag1","hashtag2"]},{"1325704328":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325704334, 1325704331, 1325704325, 1325704328)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.4013454914093 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 07:05:02.489930
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 07:05:21.959278
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/07/04/image_03012025_07_04_02_393424_0003.jpg', '/home/pi/Desktop/images/03012025/07/05/image_03012025_07_05_02_884403_0000.jpg', '/home/pi/Desktop/images/03012025/07/05/image_03012025_07_05_02_884403_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/07/04/image_03012025_07_04_02_393424_0003.jpg
/home/pi/Desktop/images/03012025/07/05/image_03012025_07_05_02_884403_0000.jpg
/home/pi/Desktop/images/03012025/07/05/image_03012025_07_05_02_884403_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325704340","1325704343","1325704347"],"photo_ids_order":["1325704340","1325704343","1325704347"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/aabace3b2bcc8b48b4f477d9a3074db9.jpg","text":"TemporaryFile(/tmp/multipartBody1336176748149073802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735884390031,"filename":"image_03012025_07_04_02_393424_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7ee1262055d785117e6324dcc29a2e69.jpg","text":"TemporaryFile(/tmp/multipartBody3542312832522153947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735884390031,"filename":"image_03012025_07_05_02_884403_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/41a266e0faebef3d902858a97aee3285.jpg","text":"TemporaryFile(/tmp/multipartBody7417517707330034868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735884390031,"filename":"image_03012025_07_05_02_884403_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325704347","file1":"1325704343","file0":"1325704340"},"map_files_photo_id_array":[{"photo_id":"1325704347","filename":"file2"},{"photo_id":"1325704343","filename":"file1"},{"photo_id":"1325704340","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325704340":["hashtag1","hashtag2"]},{"1325704343":["hashtag1","hashtag2"]},{"1325704347":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325704340, 1325704343, 1325704347)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.07557249069214 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 07:06:02.990945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 07:06:22.510649
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/07/05/image_03012025_07_05_02_884403_0003.jpg', '/home/pi/Desktop/images/03012025/07/06/image_03012025_07_06_02_334159_0000.jpg', '/home/pi/Desktop/images/03012025/07/06/image_03012025_07_06_02_334159_0001.jpg', '/home/pi/Desktop/images/03012025/07/06/image_03012025_07_06_02_334159_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/07/05/image_03012025_07_05_02_884403_0003.jpg
/home/pi/Desktop/images/03012025/07/06/image_03012025_07_06_02_334159_0000.jpg
/home/pi/Desktop/images/03012025/07/06/image_03012025_07_06_02_334159_0001.jpg
/home/pi/Desktop/images/03012025/07/06/image_03012025_07_06_02_334159_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325704376","1325704381","1325704363","1325704371"],"photo_ids_order":["1325704363","1325704371","1325704376","1325704381"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c89eaade9405c1cc2a7d29b9a5f241f0.jpg","text":"TemporaryFile(/tmp/multipartBody452722059503743193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735884452714,"filename":"image_03012025_07_06_02_334159_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7004ae8bb9647fb61332db061e54a7ce.jpg","text":"TemporaryFile(/tmp/multipartBody5049784428159742146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735884452714,"filename":"image_03012025_07_06_02_334159_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/dd2533144d245fa1b57e494f2d76ec00.jpg","text":"TemporaryFile(/tmp/multipartBody5578128877101000144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735884452714,"filename":"image_03012025_07_05_02_884403_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f660d5c4bb30bc8fb0cd59bf125cc33e.jpg","text":"TemporaryFile(/tmp/multipartBody93942974017546640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735884452714,"filename":"image_03012025_07_06_02_334159_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325704376","file1":"1325704371","file0":"1325704363","file3":"1325704381"},"map_files_photo_id_array":[{"photo_id":"1325704376","filename":"file2"},{"photo_id":"1325704371","filename":"file1"},{"photo_id":"1325704363","filename":"file0"},{"photo_id":"1325704381","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325704376":["hashtag1","hashtag2"]},{"1325704381":["hashtag1","hashtag2"]},{"1325704363":["hashtag1","hashtag2"]},{"1325704371":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325704376, 1325704381, 1325704363, 1325704371)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.67949366569519 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 07:07:22.062102
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/07/06/image_03012025_07_06_02_334159_0003.jpg', '/home/pi/Desktop/images/03012025/07/07/image_03012025_07_07_02_957543_0000.jpg', '/home/pi/Desktop/images/03012025/07/07/image_03012025_07_07_02_957543_0001.jpg', '/home/pi/Desktop/images/03012025/07/07/image_03012025_07_07_02_957543_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/07/06/image_03012025_07_06_02_334159_0003.jpg
/home/pi/Desktop/images/03012025/07/07/image_03012025_07_07_02_957543_0000.jpg
/home/pi/Desktop/images/03012025/07/07/image_03012025_07_07_02_957543_0001.jpg
/home/pi/Desktop/images/03012025/07/07/image_03012025_07_07_02_957543_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325704397","1325704394","1325704418","1325704406"],"photo_ids_order":["1325704394","1325704397","1325704406","1325704418"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7ad8d26c74f1dc226d41898bc1ad0d28.jpg","text":"TemporaryFile(/tmp/multipartBody5560477490515790775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735884512406,"filename":"image_03012025_07_07_02_957543_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8379fa65dc682d700605ef75a8c2dbd5.jpg","text":"TemporaryFile(/tmp/multipartBody8509513403794229871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735884512406,"filename":"image_03012025_07_06_02_334159_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0abf1bbb2d39b67e14f3906007e9c11e.jpg","text":"TemporaryFile(/tmp/multipartBody8425816741491683838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735884512406,"filename":"image_03012025_07_07_02_957543_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/15e4262cecc589537774f608e04eadb3.jpg","text":"TemporaryFile(/tmp/multipartBody8742452369605710536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735884512406,"filename":"image_03012025_07_07_02_957543_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325704406","file1":"1325704397","file0":"1325704394","file3":"1325704418"},"map_files_photo_id_array":[{"photo_id":"1325704406","filename":"file2"},{"photo_id":"1325704397","filename":"file1"},{"photo_id":"1325704394","filename":"file0"},{"photo_id":"1325704418","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325704397":["hashtag1","hashtag2"]},{"1325704394":["hashtag1","hashtag2"]},{"1325704418":["hashtag1","hashtag2"]},{"1325704406":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325704397, 1325704394, 1325704418, 1325704406)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.42299747467041 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 07:08:02.915234
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 07:08:22.510697
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/07/07/image_03012025_07_07_02_957543_0003.jpg', '/home/pi/Desktop/images/03012025/07/08/image_03012025_07_08_02_450001_0000.jpg', '/home/pi/Desktop/images/03012025/07/08/image_03012025_07_08_02_450001_0001.jpg', '/home/pi/Desktop/images/03012025/07/08/image_03012025_07_08_02_450001_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/07/07/image_03012025_07_07_02_957543_0003.jpg
/home/pi/Desktop/images/03012025/07/08/image_03012025_07_08_02_450001_0000.jpg
/home/pi/Desktop/images/03012025/07/08/image_03012025_07_08_02_450001_0001.jpg
/home/pi/Desktop/images/03012025/07/08/image_03012025_07_08_02_450001_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>883781k81</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>883781k81</strong>.
uploaded 0 photos
time to upload: 39.60727667808533 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 07:09:22.072059
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/07/07/image_03012025_07_07_02_957543_0003.jpg', '/home/pi/Desktop/images/03012025/07/08/image_03012025_07_08_02_450001_0000.jpg', '/home/pi/Desktop/images/03012025/07/08/image_03012025_07_08_02_450001_0001.jpg', '/home/pi/Desktop/images/03012025/07/08/image_03012025_07_08_02_450001_0002.jpg', '/home/pi/Desktop/images/03012025/07/08/image_03012025_07_08_02_450001_0003.jpg', '/home/pi/Desktop/images/03012025/07/09/image_03012025_07_09_02_951794_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/07/07/image_03012025_07_07_02_957543_0003.jpg
/home/pi/Desktop/images/03012025/07/08/image_03012025_07_08_02_450001_0000.jpg
/home/pi/Desktop/images/03012025/07/08/image_03012025_07_08_02_450001_0001.jpg
/home/pi/Desktop/images/03012025/07/08/image_03012025_07_08_02_450001_0002.jpg
/home/pi/Desktop/images/03012025/07/08/image_03012025_07_08_02_450001_0003.jpg
/home/pi/Desktop/images/03012025/07/09/image_03012025_07_09_02_951794_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>883785bk1</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>883785bk1</strong>.
uploaded 0 photos
time to upload: 44.585349321365356 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 07:10:22.612178
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/07/07/image_03012025_07_07_02_957543_0003.jpg', '/home/pi/Desktop/images/03012025/07/08/image_03012025_07_08_02_450001_0000.jpg', '/home/pi/Desktop/images/03012025/07/08/image_03012025_07_08_02_450001_0001.jpg', '/home/pi/Desktop/images/03012025/07/08/image_03012025_07_08_02_450001_0002.jpg', '/home/pi/Desktop/images/03012025/07/08/image_03012025_07_08_02_450001_0003.jpg', '/home/pi/Desktop/images/03012025/07/09/image_03012025_07_09_02_951794_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/07/07/image_03012025_07_07_02_957543_0003.jpg
/home/pi/Desktop/images/03012025/07/08/image_03012025_07_08_02_450001_0000.jpg
/home/pi/Desktop/images/03012025/07/08/image_03012025_07_08_02_450001_0001.jpg
/home/pi/Desktop/images/03012025/07/08/image_03012025_07_08_02_450001_0002.jpg
/home/pi/Desktop/images/03012025/07/08/image_03012025_07_08_02_450001_0003.jpg
/home/pi/Desktop/images/03012025/07/09/image_03012025_07_09_02_951794_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>883788n8e</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>883788n8e</strong>.
uploaded 0 photos
time to upload: 44.58541011810303 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 07:11:22.170379
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/07/07/image_03012025_07_07_02_957543_0003.jpg', '/home/pi/Desktop/images/03012025/07/08/image_03012025_07_08_02_450001_0000.jpg', '/home/pi/Desktop/images/03012025/07/08/image_03012025_07_08_02_450001_0001.jpg', '/home/pi/Desktop/images/03012025/07/08/image_03012025_07_08_02_450001_0002.jpg', '/home/pi/Desktop/images/03012025/07/08/image_03012025_07_08_02_450001_0003.jpg', '/home/pi/Desktop/images/03012025/07/09/image_03012025_07_09_02_951794_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/07/07/image_03012025_07_07_02_957543_0003.jpg
/home/pi/Desktop/images/03012025/07/08/image_03012025_07_08_02_450001_0000.jpg
/home/pi/Desktop/images/03012025/07/08/image_03012025_07_08_02_450001_0001.jpg
/home/pi/Desktop/images/03012025/07/08/image_03012025_07_08_02_450001_0002.jpg
/home/pi/Desktop/images/03012025/07/08/image_03012025_07_08_02_450001_0003.jpg
/home/pi/Desktop/images/03012025/07/09/image_03012025_07_09_02_951794_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":["1325704490","1325704484","1325704487","1325704475","1325704482","1325704479"],"photo_ids_order":["1325704475","1325704479","1325704482","1325704484","1325704487","1325704490"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/664029aef7953dd6a0835f70b605e0da.jpg","text":"TemporaryFile(/tmp/multipartBody842920581229251147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735884757178,"filename":"image_03012025_07_09_02_951794_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c2b0071e725bd0d89cbf35d0de49bfbe.jpg","text":"TemporaryFile(/tmp/multipartBody4339139340977490621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735884757178,"filename":"image_03012025_07_08_02_450001_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e1ec8e48c64ccbf7608c7f6343b45ed5.jpg","text":"TemporaryFile(/tmp/multipartBody524705819819103889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735884757178,"filename":"image_03012025_07_08_02_450001_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1f7780b2989697bf34341b0383c7ebea.jpg","text":"TemporaryFile(/tmp/multipartBody5361910277511695733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735884757178,"filename":"image_03012025_07_07_02_957543_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6fc9b1fc0d25c65a2ea7880ae891e156.jpg","text":"TemporaryFile(/tmp/multipartBody2154518828814609585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735884757178,"filename":"image_03012025_07_08_02_450001_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3c9bc1fe81fe75f2ab78b64571f43f43.jpg","text":"TemporaryFile(/tmp/multipartBody5065302470875293223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735884757178,"filename":"image_03012025_07_08_02_450001_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325704482","file1":"1325704479","file0":"1325704475","file4":"1325704487","file5":"1325704490","file3":"1325704484"},"map_files_photo_id_array":[{"photo_id":"1325704490","filename":"file5"},{"photo_id":"1325704482","filename":"file2"},{"photo_id":"1325704487","filename":"file4"},{"photo_id":"1325704479","filename":"file1"},{"photo_id":"1325704475","filename":"file0"},{"photo_id":"1325704484","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325704490":["hashtag1","hashtag2"]},{"1325704484":["hashtag1","hashtag2"]},{"1325704487":["hashtag1","hashtag2"]},{"1325704475":["hashtag1","hashtag2"]},{"1325704482":["hashtag1","hashtag2"]},{"1325704479":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325704490, 1325704484, 1325704487, 1325704475, 1325704482, 1325704479)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.13952875137329 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 07:13:03.156642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/07/09/image_03012025_07_09_02_951794_0001.jpg', '/home/pi/Desktop/images/03012025/07/09/image_03012025_07_09_02_951794_0002.jpg', '/home/pi/Desktop/images/03012025/07/09/image_03012025_07_09_02_951794_0003.jpg', '/home/pi/Desktop/images/03012025/07/10/image_03012025_07_10_02_522302_0000.jpg', '/home/pi/Desktop/images/03012025/07/10/image_03012025_07_10_02_522302_0001.jpg', '/home/pi/Desktop/images/03012025/07/10/image_03012025_07_10_02_522302_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/07/09/image_03012025_07_09_02_951794_0001.jpg
/home/pi/Desktop/images/03012025/07/09/image_03012025_07_09_02_951794_0002.jpg
/home/pi/Desktop/images/03012025/07/09/image_03012025_07_09_02_951794_0003.jpg
/home/pi/Desktop/images/03012025/07/10/image_03012025_07_10_02_522302_0000.jpg
/home/pi/Desktop/images/03012025/07/10/image_03012025_07_10_02_522302_0001.jpg
/home/pi/Desktop/images/03012025/07/10/image_03012025_07_10_02_522302_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":["1325704512","1325704523","1325704526","1325704519","1325704516","1325704510"],"photo_ids_order":["1325704510","1325704512","1325704516","1325704519","1325704523","1325704526"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/20b1d98f04c5097b15cdee120fb0770f.jpg","text":"TemporaryFile(/tmp/multipartBody8137663616402284597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735884858316,"filename":"image_03012025_07_09_02_951794_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3818edfe8e91f427401f66622cdf96c5.jpg","text":"TemporaryFile(/tmp/multipartBody3690228987843282999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735884858316,"filename":"image_03012025_07_10_02_522302_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/234f37eef33647470940ac60b30e7558.jpg","text":"TemporaryFile(/tmp/multipartBody4502690637236916612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735884858316,"filename":"image_03012025_07_10_02_522302_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3087dc2000eaa6eeb96e15ee78c03db9.jpg","text":"TemporaryFile(/tmp/multipartBody2213356303448198749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735884858316,"filename":"image_03012025_07_10_02_522302_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8425eb7c66d1399e71b86fcd0cf3d042.jpg","text":"TemporaryFile(/tmp/multipartBody1382397191256737215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735884858316,"filename":"image_03012025_07_09_02_951794_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4d81f55a7dfd7a98dba5372b6d8876a1.jpg","text":"TemporaryFile(/tmp/multipartBody6528155787065242858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735884858316,"filename":"image_03012025_07_09_02_951794_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325704516","file1":"1325704512","file0":"1325704510","file4":"1325704523","file5":"1325704526","file3":"1325704519"},"map_files_photo_id_array":[{"photo_id":"1325704526","filename":"file5"},{"photo_id":"1325704516","filename":"file2"},{"photo_id":"1325704523","filename":"file4"},{"photo_id":"1325704512","filename":"file1"},{"photo_id":"1325704510","filename":"file0"},{"photo_id":"1325704519","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325704512":["hashtag1","hashtag2"]},{"1325704523":["hashtag1","hashtag2"]},{"1325704526":["hashtag1","hashtag2"]},{"1325704519":["hashtag1","hashtag2"]},{"1325704516":["hashtag1","hashtag2"]},{"1325704510":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325704512, 1325704523, 1325704526, 1325704519, 1325704516, 1325704510)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 66.5353639125824 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 07:14:22.157758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/07/10/image_03012025_07_10_02_522302_0003.jpg', '/home/pi/Desktop/images/03012025/07/11/image_03012025_07_11_03_026678_0000.jpg', '/home/pi/Desktop/images/03012025/07/11/image_03012025_07_11_03_026678_0001.jpg', '/home/pi/Desktop/images/03012025/07/11/image_03012025_07_11_03_026678_0002.jpg', '/home/pi/Desktop/images/03012025/07/11/image_03012025_07_11_03_026678_0003.jpg', '/home/pi/Desktop/images/03012025/07/12/image_03012025_07_12_02_594246_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/07/10/image_03012025_07_10_02_522302_0003.jpg
/home/pi/Desktop/images/03012025/07/11/image_03012025_07_11_03_026678_0000.jpg
/home/pi/Desktop/images/03012025/07/11/image_03012025_07_11_03_026678_0001.jpg
/home/pi/Desktop/images/03012025/07/11/image_03012025_07_11_03_026678_0002.jpg
/home/pi/Desktop/images/03012025/07/11/image_03012025_07_11_03_026678_0003.jpg
/home/pi/Desktop/images/03012025/07/12/image_03012025_07_12_02_594246_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.611314296722412 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 07:15:03.323200
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/07/10/image_03012025_07_10_02_522302_0003.jpg', '/home/pi/Desktop/images/03012025/07/11/image_03012025_07_11_03_026678_0000.jpg', '/home/pi/Desktop/images/03012025/07/11/image_03012025_07_11_03_026678_0001.jpg', '/home/pi/Desktop/images/03012025/07/11/image_03012025_07_11_03_026678_0002.jpg', '/home/pi/Desktop/images/03012025/07/11/image_03012025_07_11_03_026678_0003.jpg', '/home/pi/Desktop/images/03012025/07/12/image_03012025_07_12_02_594246_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/07/10/image_03012025_07_10_02_522302_0003.jpg
/home/pi/Desktop/images/03012025/07/11/image_03012025_07_11_03_026678_0000.jpg
/home/pi/Desktop/images/03012025/07/11/image_03012025_07_11_03_026678_0001.jpg
/home/pi/Desktop/images/03012025/07/11/image_03012025_07_11_03_026678_0002.jpg
/home/pi/Desktop/images/03012025/07/11/image_03012025_07_11_03_026678_0003.jpg
/home/pi/Desktop/images/03012025/07/12/image_03012025_07_12_02_594246_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325704592","1325704571","1325704574","1325704576","1325704585","1325704581"],"photo_ids_order":["1325704571","1325704574","1325704576","1325704581","1325704585","1325704592"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/82b987f9c45f9013f3eb5ed799dacefb.jpg","text":"TemporaryFile(/tmp/multipartBody5938695796013756413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735884978401,"filename":"image_03012025_07_12_02_594246_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/509b5dc3958e2dee36a52bfe2bd46943.jpg","text":"TemporaryFile(/tmp/multipartBody1566438366782310488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735884978401,"filename":"image_03012025_07_10_02_522302_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4f9ddbb91b0b774e3c6f36fb8364ebb5.jpg","text":"TemporaryFile(/tmp/multipartBody5299642123972113917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735884978401,"filename":"image_03012025_07_11_03_026678_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e7610bf9e0389c5af159a0af101f6e70.jpg","text":"TemporaryFile(/tmp/multipartBody7248961396111420175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735884978401,"filename":"image_03012025_07_11_03_026678_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/62a7b335d1439ad03930f6e55c68f7d6.jpg","text":"TemporaryFile(/tmp/multipartBody5670940222878481110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735884978401,"filename":"image_03012025_07_11_03_026678_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c9bd014e0c2c98ae0c628d289c880995.jpg","text":"TemporaryFile(/tmp/multipartBody5849891741341744713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735884978401,"filename":"image_03012025_07_11_03_026678_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325704576","file1":"1325704574","file0":"1325704571","file4":"1325704585","file5":"1325704592","file3":"1325704581"},"map_files_photo_id_array":[{"photo_id":"1325704592","filename":"file5"},{"photo_id":"1325704576","filename":"file2"},{"photo_id":"1325704585","filename":"file4"},{"photo_id":"1325704574","filename":"file1"},{"photo_id":"1325704571","filename":"file0"},{"photo_id":"1325704581","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325704592":["hashtag1","hashtag2"]},{"1325704571":["hashtag1","hashtag2"]},{"1325704574":["hashtag1","hashtag2"]},{"1325704576":["hashtag1","hashtag2"]},{"1325704585":["hashtag1","hashtag2"]},{"1325704581":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325704592, 1325704571, 1325704574, 1325704576, 1325704585, 1325704581)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.780237436294556 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 07:16:02.714159
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/07/12/image_03012025_07_12_02_594246_0001.jpg', '/home/pi/Desktop/images/03012025/07/12/image_03012025_07_12_02_594246_0002.jpg', '/home/pi/Desktop/images/03012025/07/12/image_03012025_07_12_02_594246_0003.jpg', '/home/pi/Desktop/images/03012025/07/13/image_03012025_07_13_02_137611_0000.jpg', '/home/pi/Desktop/images/03012025/07/13/image_03012025_07_13_02_137611_0001.jpg', '/home/pi/Desktop/images/03012025/07/13/image_03012025_07_13_02_137611_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/07/12/image_03012025_07_12_02_594246_0001.jpg
/home/pi/Desktop/images/03012025/07/12/image_03012025_07_12_02_594246_0002.jpg
/home/pi/Desktop/images/03012025/07/12/image_03012025_07_12_02_594246_0003.jpg
/home/pi/Desktop/images/03012025/07/13/image_03012025_07_13_02_137611_0000.jpg
/home/pi/Desktop/images/03012025/07/13/image_03012025_07_13_02_137611_0001.jpg
/home/pi/Desktop/images/03012025/07/13/image_03012025_07_13_02_137611_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325704631","1325704637","1325704627","1325704641","1325704635","1325704629"],"photo_ids_order":["1325704627","1325704629","1325704631","1325704635","1325704637","1325704641"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/95ade715977a9d32ba21411de218a2aa.jpg","text":"TemporaryFile(/tmp/multipartBody7265517369921756926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735885037794,"filename":"image_03012025_07_12_02_594246_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a0e488426c5d444a813fda57bb32696b.jpg","text":"TemporaryFile(/tmp/multipartBody7755188307628187679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735885037794,"filename":"image_03012025_07_13_02_137611_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3d20580a93088885d76206af65c5a069.jpg","text":"TemporaryFile(/tmp/multipartBody4936247232698055499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735885037794,"filename":"image_03012025_07_12_02_594246_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6b867e8f8121117ba5e4c31aeaa0116f.jpg","text":"TemporaryFile(/tmp/multipartBody1025655207902139488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735885037794,"filename":"image_03012025_07_13_02_137611_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/622e8fe3d3498710783bdc656d2d476c.jpg","text":"TemporaryFile(/tmp/multipartBody3989473786466224523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735885037794,"filename":"image_03012025_07_13_02_137611_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7a5478df8ea5c1116a63cd9384be3efa.jpg","text":"TemporaryFile(/tmp/multipartBody7099649566265230104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735885037794,"filename":"image_03012025_07_12_02_594246_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325704631","file1":"1325704629","file0":"1325704627","file4":"1325704637","file5":"1325704641","file3":"1325704635"},"map_files_photo_id_array":[{"photo_id":"1325704641","filename":"file5"},{"photo_id":"1325704631","filename":"file2"},{"photo_id":"1325704637","filename":"file4"},{"photo_id":"1325704629","filename":"file1"},{"photo_id":"1325704627","filename":"file0"},{"photo_id":"1325704635","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325704631":["hashtag1","hashtag2"]},{"1325704637":["hashtag1","hashtag2"]},{"1325704627":["hashtag1","hashtag2"]},{"1325704641":["hashtag1","hashtag2"]},{"1325704635":["hashtag1","hashtag2"]},{"1325704629":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325704631, 1325704637, 1325704627, 1325704641, 1325704635, 1325704629)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.65623641014099 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 07:17:02.604034
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/07/13/image_03012025_07_13_02_137611_0003.jpg', '/home/pi/Desktop/images/03012025/07/14/image_03012025_07_14_02_959858_0000.jpg', '/home/pi/Desktop/images/03012025/07/14/image_03012025_07_14_02_959858_0001.jpg', '/home/pi/Desktop/images/03012025/07/14/image_03012025_07_14_02_959858_0002.jpg', '/home/pi/Desktop/images/03012025/07/14/image_03012025_07_14_02_959858_0003.jpg', '/home/pi/Desktop/images/03012025/07/15/image_03012025_07_15_02_519262_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/07/13/image_03012025_07_13_02_137611_0003.jpg
/home/pi/Desktop/images/03012025/07/14/image_03012025_07_14_02_959858_0000.jpg
/home/pi/Desktop/images/03012025/07/14/image_03012025_07_14_02_959858_0001.jpg
/home/pi/Desktop/images/03012025/07/14/image_03012025_07_14_02_959858_0002.jpg
/home/pi/Desktop/images/03012025/07/14/image_03012025_07_14_02_959858_0003.jpg
/home/pi/Desktop/images/03012025/07/15/image_03012025_07_15_02_519262_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.495316505432129 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 07:17:21.871760
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/07/13/image_03012025_07_13_02_137611_0003.jpg', '/home/pi/Desktop/images/03012025/07/14/image_03012025_07_14_02_959858_0000.jpg', '/home/pi/Desktop/images/03012025/07/14/image_03012025_07_14_02_959858_0001.jpg', '/home/pi/Desktop/images/03012025/07/14/image_03012025_07_14_02_959858_0002.jpg', '/home/pi/Desktop/images/03012025/07/14/image_03012025_07_14_02_959858_0003.jpg', '/home/pi/Desktop/images/03012025/07/15/image_03012025_07_15_02_519262_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/07/13/image_03012025_07_13_02_137611_0003.jpg
/home/pi/Desktop/images/03012025/07/14/image_03012025_07_14_02_959858_0000.jpg
/home/pi/Desktop/images/03012025/07/14/image_03012025_07_14_02_959858_0001.jpg
/home/pi/Desktop/images/03012025/07/14/image_03012025_07_14_02_959858_0002.jpg
/home/pi/Desktop/images/03012025/07/14/image_03012025_07_14_02_959858_0003.jpg
/home/pi/Desktop/images/03012025/07/15/image_03012025_07_15_02_519262_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325704676","1325704670","1325704673","1325704661","1325704666","1325704680"],"photo_ids_order":["1325704661","1325704666","1325704670","1325704673","1325704676","1325704680"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f43ae9cbbc8ff93a111d7f0f0966132b.jpg","text":"TemporaryFile(/tmp/multipartBody1819794936626332049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735885116703,"filename":"image_03012025_07_14_02_959858_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/58c10b33ca6b7f61b3a319064cc07002.jpg","text":"TemporaryFile(/tmp/multipartBody1341863694986546763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735885116703,"filename":"image_03012025_07_14_02_959858_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2e77172f72ec87bd65b2ea885bdadc96.jpg","text":"TemporaryFile(/tmp/multipartBody6205796599441640795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735885116703,"filename":"image_03012025_07_14_02_959858_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f4b4e92fa2cc11ea58c98c28a8c947ee.jpg","text":"TemporaryFile(/tmp/multipartBody2254152170400491572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735885116703,"filename":"image_03012025_07_13_02_137611_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6989b1dfba6b6482c4cef08965494e9e.jpg","text":"TemporaryFile(/tmp/multipartBody5876820796206194349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735885116703,"filename":"image_03012025_07_14_02_959858_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e627f3b0a2c6966680f736fc7f637fd0.jpg","text":"TemporaryFile(/tmp/multipartBody5754005803491654473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735885116703,"filename":"image_03012025_07_15_02_519262_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325704670","file1":"1325704666","file0":"1325704661","file4":"1325704676","file5":"1325704680","file3":"1325704673"},"map_files_photo_id_array":[{"photo_id":"1325704680","filename":"file5"},{"photo_id":"1325704670","filename":"file2"},{"photo_id":"1325704676","filename":"file4"},{"photo_id":"1325704666","filename":"file1"},{"photo_id":"1325704661","filename":"file0"},{"photo_id":"1325704673","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325704676":["hashtag1","hashtag2"]},{"1325704670":["hashtag1","hashtag2"]},{"1325704673":["hashtag1","hashtag2"]},{"1325704661":["hashtag1","hashtag2"]},{"1325704666":["hashtag1","hashtag2"]},{"1325704680":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325704676, 1325704670, 1325704673, 1325704661, 1325704666, 1325704680)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.62389898300171 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 07:18:22.520439
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/07/15/image_03012025_07_15_02_519262_0001.jpg', '/home/pi/Desktop/images/03012025/07/15/image_03012025_07_15_02_519262_0002.jpg', '/home/pi/Desktop/images/03012025/07/15/image_03012025_07_15_02_519262_0003.jpg', '/home/pi/Desktop/images/03012025/07/16/image_03012025_07_16_03_008526_0000.jpg', '/home/pi/Desktop/images/03012025/07/16/image_03012025_07_16_03_008526_0001.jpg', '/home/pi/Desktop/images/03012025/07/16/image_03012025_07_16_03_008526_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/07/15/image_03012025_07_15_02_519262_0001.jpg
/home/pi/Desktop/images/03012025/07/15/image_03012025_07_15_02_519262_0002.jpg
/home/pi/Desktop/images/03012025/07/15/image_03012025_07_15_02_519262_0003.jpg
/home/pi/Desktop/images/03012025/07/16/image_03012025_07_16_03_008526_0000.jpg
/home/pi/Desktop/images/03012025/07/16/image_03012025_07_16_03_008526_0001.jpg
/home/pi/Desktop/images/03012025/07/16/image_03012025_07_16_03_008526_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325704725","1325704721","1325704732","1325704729","1325704686","1325704701"],"photo_ids_order":["1325704686","1325704701","1325704721","1325704725","1325704729","1325704732"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0287c3d0def950f86420536cd4c0442e.jpg","text":"TemporaryFile(/tmp/multipartBody5203575311428029152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735885177540,"filename":"image_03012025_07_16_03_008526_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e80a7be952d6a4237eebdd6dd01645fc.jpg","text":"TemporaryFile(/tmp/multipartBody5917185599839037441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735885177540,"filename":"image_03012025_07_15_02_519262_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9ca7fdc1d970089eed5c33641486257b.jpg","text":"TemporaryFile(/tmp/multipartBody4484067403369631340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735885177540,"filename":"image_03012025_07_16_03_008526_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/296c043c662161e9ff331ddaf7383646.jpg","text":"TemporaryFile(/tmp/multipartBody7175887819068221061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735885177540,"filename":"image_03012025_07_16_03_008526_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/dcac953aae641eebecb8e13a103d3868.jpg","text":"TemporaryFile(/tmp/multipartBody4649414913656742030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735885177540,"filename":"image_03012025_07_15_02_519262_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/af701c6bc9a6dfab7b3fac8a5dd51401.jpg","text":"TemporaryFile(/tmp/multipartBody7606604764985284677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735885177540,"filename":"image_03012025_07_15_02_519262_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325704721","file1":"1325704701","file0":"1325704686","file4":"1325704729","file5":"1325704732","file3":"1325704725"},"map_files_photo_id_array":[{"photo_id":"1325704732","filename":"file5"},{"photo_id":"1325704721","filename":"file2"},{"photo_id":"1325704729","filename":"file4"},{"photo_id":"1325704701","filename":"file1"},{"photo_id":"1325704686","filename":"file0"},{"photo_id":"1325704725","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325704725":["hashtag1","hashtag2"]},{"1325704721":["hashtag1","hashtag2"]},{"1325704732":["hashtag1","hashtag2"]},{"1325704729":["hashtag1","hashtag2"]},{"1325704686":["hashtag1","hashtag2"]},{"1325704701":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325704725, 1325704721, 1325704732, 1325704729, 1325704686, 1325704701)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.992714166641235 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 07:19:22.139923
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/07/16/image_03012025_07_16_03_008526_0003.jpg', '/home/pi/Desktop/images/03012025/07/17/image_03012025_07_17_02_736407_0000.jpg', '/home/pi/Desktop/images/03012025/07/17/image_03012025_07_17_02_736407_0001.jpg', '/home/pi/Desktop/images/03012025/07/17/image_03012025_07_17_02_736407_0002.jpg', '/home/pi/Desktop/images/03012025/07/17/image_03012025_07_17_02_736407_0003.jpg', '/home/pi/Desktop/images/03012025/07/18/image_03012025_07_18_02_252483_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/07/16/image_03012025_07_16_03_008526_0003.jpg
/home/pi/Desktop/images/03012025/07/17/image_03012025_07_17_02_736407_0000.jpg
/home/pi/Desktop/images/03012025/07/17/image_03012025_07_17_02_736407_0001.jpg
/home/pi/Desktop/images/03012025/07/17/image_03012025_07_17_02_736407_0002.jpg
/home/pi/Desktop/images/03012025/07/17/image_03012025_07_17_02_736407_0003.jpg
/home/pi/Desktop/images/03012025/07/18/image_03012025_07_18_02_252483_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325704763","1325704760","1325704748","1325704753","1325704756","1325704744"],"photo_ids_order":["1325704744","1325704748","1325704753","1325704756","1325704760","1325704763"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b4e3a91914c8e2e1694e65e5ba713e54.jpg","text":"TemporaryFile(/tmp/multipartBody106390927501599040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735885237143,"filename":"image_03012025_07_18_02_252483_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3be3e23868f9862d82ba0640b8c6b52c.jpg","text":"TemporaryFile(/tmp/multipartBody8775893961667782850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735885237143,"filename":"image_03012025_07_17_02_736407_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c4fbe2dde644ca3464ce836c46063967.jpg","text":"TemporaryFile(/tmp/multipartBody1678812473928771578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735885237143,"filename":"image_03012025_07_17_02_736407_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4ab0ff6eaf01b68875759add25362343.jpg","text":"TemporaryFile(/tmp/multipartBody3462315187844067965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735885237143,"filename":"image_03012025_07_17_02_736407_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6c7a7d164d9b0ff30504e3cd56f8e45d.jpg","text":"TemporaryFile(/tmp/multipartBody752531230185913826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735885237143,"filename":"image_03012025_07_17_02_736407_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/849540d7bc3c8097c211898b81c74dba.jpg","text":"TemporaryFile(/tmp/multipartBody2772199494911481152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735885237143,"filename":"image_03012025_07_16_03_008526_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325704753","file1":"1325704748","file0":"1325704744","file4":"1325704760","file5":"1325704763","file3":"1325704756"},"map_files_photo_id_array":[{"photo_id":"1325704763","filename":"file5"},{"photo_id":"1325704753","filename":"file2"},{"photo_id":"1325704760","filename":"file4"},{"photo_id":"1325704748","filename":"file1"},{"photo_id":"1325704744","filename":"file0"},{"photo_id":"1325704756","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325704763":["hashtag1","hashtag2"]},{"1325704760":["hashtag1","hashtag2"]},{"1325704748":["hashtag1","hashtag2"]},{"1325704753":["hashtag1","hashtag2"]},{"1325704756":["hashtag1","hashtag2"]},{"1325704744":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325704763, 1325704760, 1325704748, 1325704753, 1325704756, 1325704744)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.16874170303345 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 07:20:22.757132
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/07/18/image_03012025_07_18_02_252483_0001.jpg', '/home/pi/Desktop/images/03012025/07/18/image_03012025_07_18_02_252483_0002.jpg', '/home/pi/Desktop/images/03012025/07/18/image_03012025_07_18_02_252483_0003.jpg', '/home/pi/Desktop/images/03012025/07/19/image_03012025_07_19_02_910479_0000.jpg', '/home/pi/Desktop/images/03012025/07/19/image_03012025_07_19_02_910479_0001.jpg', '/home/pi/Desktop/images/03012025/07/19/image_03012025_07_19_02_910479_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/07/18/image_03012025_07_18_02_252483_0001.jpg
/home/pi/Desktop/images/03012025/07/18/image_03012025_07_18_02_252483_0002.jpg
/home/pi/Desktop/images/03012025/07/18/image_03012025_07_18_02_252483_0003.jpg
/home/pi/Desktop/images/03012025/07/19/image_03012025_07_19_02_910479_0000.jpg
/home/pi/Desktop/images/03012025/07/19/image_03012025_07_19_02_910479_0001.jpg
/home/pi/Desktop/images/03012025/07/19/image_03012025_07_19_02_910479_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325704781","1325704784","1325704772","1325704786","1325704789","1325704776"],"photo_ids_order":["1325704772","1325704776","1325704781","1325704784","1325704786","1325704789"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7fe5181675bdb879de31dfa5066e21f8.jpg","text":"TemporaryFile(/tmp/multipartBody497365665247398106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735885297841,"filename":"image_03012025_07_18_02_252483_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7bbbe10cd3c28bd40615b9ee8e308900.jpg","text":"TemporaryFile(/tmp/multipartBody6349024032672381139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735885297841,"filename":"image_03012025_07_19_02_910479_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/91f3ada08355e8cfa3ccb46d1b6fdfc0.jpg","text":"TemporaryFile(/tmp/multipartBody686219055165719888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735885297841,"filename":"image_03012025_07_18_02_252483_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e28e4e8abd6b8777fdaf428c8f9e9ab1.jpg","text":"TemporaryFile(/tmp/multipartBody4308436630975479359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735885297841,"filename":"image_03012025_07_19_02_910479_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b60500afe8e5c703aef0698e9a7f50f3.jpg","text":"TemporaryFile(/tmp/multipartBody4771356149644895043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735885297841,"filename":"image_03012025_07_19_02_910479_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/727e3c6d65d5bf02ce6f0527ae2baea2.jpg","text":"TemporaryFile(/tmp/multipartBody2238189676153759030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735885297841,"filename":"image_03012025_07_18_02_252483_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325704781","file1":"1325704776","file0":"1325704772","file4":"1325704786","file5":"1325704789","file3":"1325704784"},"map_files_photo_id_array":[{"photo_id":"1325704789","filename":"file5"},{"photo_id":"1325704781","filename":"file2"},{"photo_id":"1325704786","filename":"file4"},{"photo_id":"1325704776","filename":"file1"},{"photo_id":"1325704772","filename":"file0"},{"photo_id":"1325704784","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325704781":["hashtag1","hashtag2"]},{"1325704784":["hashtag1","hashtag2"]},{"1325704772":["hashtag1","hashtag2"]},{"1325704786":["hashtag1","hashtag2"]},{"1325704789":["hashtag1","hashtag2"]},{"1325704776":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325704781, 1325704784, 1325704772, 1325704786, 1325704789, 1325704776)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.57382822036743 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 07:21:22.243230
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/07/19/image_03012025_07_19_02_910479_0003.jpg', '/home/pi/Desktop/images/03012025/07/20/image_03012025_07_20_02_559707_0000.jpg', '/home/pi/Desktop/images/03012025/07/20/image_03012025_07_20_02_559707_0001.jpg', '/home/pi/Desktop/images/03012025/07/20/image_03012025_07_20_02_559707_0002.jpg', '/home/pi/Desktop/images/03012025/07/20/image_03012025_07_20_02_559707_0003.jpg', '/home/pi/Desktop/images/03012025/07/21/image_03012025_07_21_03_078536_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/07/19/image_03012025_07_19_02_910479_0003.jpg
/home/pi/Desktop/images/03012025/07/20/image_03012025_07_20_02_559707_0000.jpg
/home/pi/Desktop/images/03012025/07/20/image_03012025_07_20_02_559707_0001.jpg
/home/pi/Desktop/images/03012025/07/20/image_03012025_07_20_02_559707_0002.jpg
/home/pi/Desktop/images/03012025/07/20/image_03012025_07_20_02_559707_0003.jpg
/home/pi/Desktop/images/03012025/07/21/image_03012025_07_21_03_078536_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325704812","1325704796","1325704799","1325704802","1325704810","1325704836"],"photo_ids_order":["1325704796","1325704799","1325704802","1325704810","1325704812","1325704836"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/76e19de0a4e5ee79255bf27b63b7d12f.jpg","text":"TemporaryFile(/tmp/multipartBody9086819366840673942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735885357452,"filename":"image_03012025_07_20_02_559707_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1be978134591bebf792e8b0a630f25a7.jpg","text":"TemporaryFile(/tmp/multipartBody3792136085882705148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735885357452,"filename":"image_03012025_07_19_02_910479_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0c5ab5f73c696d1f47433f193af4e4e7.jpg","text":"TemporaryFile(/tmp/multipartBody811008789228483454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735885357452,"filename":"image_03012025_07_20_02_559707_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/beb3d9d4e26415eb591f62da3cda685a.jpg","text":"TemporaryFile(/tmp/multipartBody3546924229572981683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735885357452,"filename":"image_03012025_07_20_02_559707_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/97e656173555e66040f7d0dd3db2016b.jpg","text":"TemporaryFile(/tmp/multipartBody3078143048536312387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735885357452,"filename":"image_03012025_07_20_02_559707_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/81160f45cb23c0e2f5e16dd93fc82035.jpg","text":"TemporaryFile(/tmp/multipartBody5802128262102024992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735885357452,"filename":"image_03012025_07_21_03_078536_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325704802","file1":"1325704799","file0":"1325704796","file4":"1325704812","file5":"1325704836","file3":"1325704810"},"map_files_photo_id_array":[{"photo_id":"1325704836","filename":"file5"},{"photo_id":"1325704802","filename":"file2"},{"photo_id":"1325704812","filename":"file4"},{"photo_id":"1325704799","filename":"file1"},{"photo_id":"1325704796","filename":"file0"},{"photo_id":"1325704810","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325704812":["hashtag1","hashtag2"]},{"1325704796":["hashtag1","hashtag2"]},{"1325704799":["hashtag1","hashtag2"]},{"1325704802":["hashtag1","hashtag2"]},{"1325704810":["hashtag1","hashtag2"]},{"1325704836":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325704812, 1325704796, 1325704799, 1325704802, 1325704810, 1325704836)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.888797998428345 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 07:22:22.802975
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/07/21/image_03012025_07_21_03_078536_0001.jpg', '/home/pi/Desktop/images/03012025/07/21/image_03012025_07_21_03_078536_0002.jpg', '/home/pi/Desktop/images/03012025/07/21/image_03012025_07_21_03_078536_0003.jpg', '/home/pi/Desktop/images/03012025/07/22/image_03012025_07_22_02_615548_0000.jpg', '/home/pi/Desktop/images/03012025/07/22/image_03012025_07_22_02_615548_0001.jpg', '/home/pi/Desktop/images/03012025/07/22/image_03012025_07_22_02_615548_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/07/21/image_03012025_07_21_03_078536_0001.jpg
/home/pi/Desktop/images/03012025/07/21/image_03012025_07_21_03_078536_0002.jpg
/home/pi/Desktop/images/03012025/07/21/image_03012025_07_21_03_078536_0003.jpg
/home/pi/Desktop/images/03012025/07/22/image_03012025_07_22_02_615548_0000.jpg
/home/pi/Desktop/images/03012025/07/22/image_03012025_07_22_02_615548_0001.jpg
/home/pi/Desktop/images/03012025/07/22/image_03012025_07_22_02_615548_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":["1325704883","1325704877","1325704946","1325704867","1325704864","1325704860"],"photo_ids_order":["1325704860","1325704864","1325704867","1325704877","1325704883","1325704946"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d87b6d500f6112be3fbd35c3798f719d.jpg","text":"TemporaryFile(/tmp/multipartBody1801524018857240135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735885418205,"filename":"image_03012025_07_22_02_615548_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6f9898f869115ab7e37fec07a8aab755.jpg","text":"TemporaryFile(/tmp/multipartBody3042152492193257586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735885418205,"filename":"image_03012025_07_22_02_615548_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0c1054ce0d307cf04d10801684f10e71.jpg","text":"TemporaryFile(/tmp/multipartBody5642693155702090722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735885418205,"filename":"image_03012025_07_22_02_615548_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/62d4b0e0846a00741160484422bdbeab.jpg","text":"TemporaryFile(/tmp/multipartBody8905530926054770704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735885418205,"filename":"image_03012025_07_21_03_078536_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/19da1de5386144468cbe48da6e0337e9.jpg","text":"TemporaryFile(/tmp/multipartBody7291860919086341486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735885418205,"filename":"image_03012025_07_21_03_078536_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a86d7ccd9a2dc78b931c4f46a96463f9.jpg","text":"TemporaryFile(/tmp/multipartBody4050843109485087934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735885418205,"filename":"image_03012025_07_21_03_078536_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325704867","file1":"1325704864","file0":"1325704860","file4":"1325704883","file5":"1325704946","file3":"1325704877"},"map_files_photo_id_array":[{"photo_id":"1325704946","filename":"file5"},{"photo_id":"1325704867","filename":"file2"},{"photo_id":"1325704883","filename":"file4"},{"photo_id":"1325704864","filename":"file1"},{"photo_id":"1325704860","filename":"file0"},{"photo_id":"1325704877","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325704883":["hashtag1","hashtag2"]},{"1325704877":["hashtag1","hashtag2"]},{"1325704946":["hashtag1","hashtag2"]},{"1325704867":["hashtag1","hashtag2"]},{"1325704864":["hashtag1","hashtag2"]},{"1325704860":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325704883, 1325704877, 1325704946, 1325704867, 1325704864, 1325704860)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.680012702941895 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 07:24:02.217614
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/07/22/image_03012025_07_22_02_615548_0003.jpg', '/home/pi/Desktop/images/03012025/07/23/image_03012025_07_23_03_129753_0000.jpg', '/home/pi/Desktop/images/03012025/07/23/image_03012025_07_23_03_129753_0001.jpg', '/home/pi/Desktop/images/03012025/07/23/image_03012025_07_23_03_129753_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/07/22/image_03012025_07_22_02_615548_0003.jpg
/home/pi/Desktop/images/03012025/07/23/image_03012025_07_23_03_129753_0000.jpg
/home/pi/Desktop/images/03012025/07/23/image_03012025_07_23_03_129753_0001.jpg
/home/pi/Desktop/images/03012025/07/23/image_03012025_07_23_03_129753_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325704973","1325704970","1325704975","1325704971"],"photo_ids_order":["1325704970","1325704971","1325704973","1325704975"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/11c4d94b0b979cee2b908b18db6ca935.jpg","text":"TemporaryFile(/tmp/multipartBody3059300016904524620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735885512534,"filename":"image_03012025_07_23_03_129753_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b7d55a051fd67f69fce132c5bef80509.jpg","text":"TemporaryFile(/tmp/multipartBody1086328871936981472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735885512534,"filename":"image_03012025_07_22_02_615548_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f9044b6dc569890ab0b39c4efb1edc52.jpg","text":"TemporaryFile(/tmp/multipartBody9037656558746687745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735885512534,"filename":"image_03012025_07_23_03_129753_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c32d5f38f21c58d5c6ef36a5c512041f.jpg","text":"TemporaryFile(/tmp/multipartBody6558159805261841614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735885512534,"filename":"image_03012025_07_23_03_129753_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325704973","file1":"1325704971","file0":"1325704970","file3":"1325704975"},"map_files_photo_id_array":[{"photo_id":"1325704973","filename":"file2"},{"photo_id":"1325704971","filename":"file1"},{"photo_id":"1325704970","filename":"file0"},{"photo_id":"1325704975","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325704973":["hashtag1","hashtag2"]},{"1325704970":["hashtag1","hashtag2"]},{"1325704975":["hashtag1","hashtag2"]},{"1325704971":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325704973, 1325704970, 1325704975, 1325704971)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.49261975288391 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 07:25:02.922376
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/07/23/image_03012025_07_23_03_129753_0003.jpg', '/home/pi/Desktop/images/03012025/07/24/image_03012025_07_24_02_661482_0000.jpg', '/home/pi/Desktop/images/03012025/07/24/image_03012025_07_24_02_661482_0001.jpg', '/home/pi/Desktop/images/03012025/07/24/image_03012025_07_24_02_661482_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/07/23/image_03012025_07_23_03_129753_0003.jpg
/home/pi/Desktop/images/03012025/07/24/image_03012025_07_24_02_661482_0000.jpg
/home/pi/Desktop/images/03012025/07/24/image_03012025_07_24_02_661482_0001.jpg
/home/pi/Desktop/images/03012025/07/24/image_03012025_07_24_02_661482_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.917893171310425 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 07:25:22.221027
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/07/23/image_03012025_07_23_03_129753_0003.jpg', '/home/pi/Desktop/images/03012025/07/24/image_03012025_07_24_02_661482_0000.jpg', '/home/pi/Desktop/images/03012025/07/24/image_03012025_07_24_02_661482_0001.jpg', '/home/pi/Desktop/images/03012025/07/24/image_03012025_07_24_02_661482_0002.jpg', '/home/pi/Desktop/images/03012025/07/24/image_03012025_07_24_02_661482_0003.jpg', '/home/pi/Desktop/images/03012025/07/25/image_03012025_07_25_02_144569_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/07/23/image_03012025_07_23_03_129753_0003.jpg
/home/pi/Desktop/images/03012025/07/24/image_03012025_07_24_02_661482_0000.jpg
/home/pi/Desktop/images/03012025/07/24/image_03012025_07_24_02_661482_0001.jpg
/home/pi/Desktop/images/03012025/07/24/image_03012025_07_24_02_661482_0002.jpg
/home/pi/Desktop/images/03012025/07/24/image_03012025_07_24_02_661482_0003.jpg
/home/pi/Desktop/images/03012025/07/25/image_03012025_07_25_02_144569_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":["1325705042","1325705036","1325705033","1325705029","1325705038","1325705040"],"photo_ids_order":["1325705029","1325705033","1325705036","1325705038","1325705040","1325705042"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ad5c9bf0ebec144d5bcc24a895810319.jpg","text":"TemporaryFile(/tmp/multipartBody2347963803494440781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735885597307,"filename":"image_03012025_07_25_02_144569_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1021080fa1a4377b2b4e40a64abd5558.jpg","text":"TemporaryFile(/tmp/multipartBody3637264741268116437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735885597307,"filename":"image_03012025_07_24_02_661482_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8a6f18446d932afe593cd675f334d28f.jpg","text":"TemporaryFile(/tmp/multipartBody6593737615642137636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735885597307,"filename":"image_03012025_07_24_02_661482_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/07efb53a25c555584ca236c51b75840f.jpg","text":"TemporaryFile(/tmp/multipartBody6824847258891186537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735885597307,"filename":"image_03012025_07_23_03_129753_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/caa3c3821ef0dfae4e7a9f071b43642d.jpg","text":"TemporaryFile(/tmp/multipartBody2165862098787416110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735885597307,"filename":"image_03012025_07_24_02_661482_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a1ebb9e3b7b2cc7e8a392d009184af5e.jpg","text":"TemporaryFile(/tmp/multipartBody1890841499203377242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735885597307,"filename":"image_03012025_07_24_02_661482_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325705036","file1":"1325705033","file0":"1325705029","file4":"1325705040","file5":"1325705042","file3":"1325705038"},"map_files_photo_id_array":[{"photo_id":"1325705042","filename":"file5"},{"photo_id":"1325705036","filename":"file2"},{"photo_id":"1325705040","filename":"file4"},{"photo_id":"1325705033","filename":"file1"},{"photo_id":"1325705029","filename":"file0"},{"photo_id":"1325705038","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325705042":["hashtag1","hashtag2"]},{"1325705036":["hashtag1","hashtag2"]},{"1325705033":["hashtag1","hashtag2"]},{"1325705029":["hashtag1","hashtag2"]},{"1325705038":["hashtag1","hashtag2"]},{"1325705040":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325705042, 1325705036, 1325705033, 1325705029, 1325705038, 1325705040)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.24708843231201 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 07:27:02.988463
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/07/25/image_03012025_07_25_02_144569_0001.jpg', '/home/pi/Desktop/images/03012025/07/25/image_03012025_07_25_02_144569_0002.jpg', '/home/pi/Desktop/images/03012025/07/25/image_03012025_07_25_02_144569_0003.jpg', '/home/pi/Desktop/images/03012025/07/26/image_03012025_07_26_02_736401_0000.jpg', '/home/pi/Desktop/images/03012025/07/26/image_03012025_07_26_02_736401_0001.jpg', '/home/pi/Desktop/images/03012025/07/26/image_03012025_07_26_02_736401_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/07/25/image_03012025_07_25_02_144569_0001.jpg
/home/pi/Desktop/images/03012025/07/25/image_03012025_07_25_02_144569_0002.jpg
/home/pi/Desktop/images/03012025/07/25/image_03012025_07_25_02_144569_0003.jpg
/home/pi/Desktop/images/03012025/07/26/image_03012025_07_26_02_736401_0000.jpg
/home/pi/Desktop/images/03012025/07/26/image_03012025_07_26_02_736401_0001.jpg
/home/pi/Desktop/images/03012025/07/26/image_03012025_07_26_02_736401_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325705081","1325705078","1325705063","1325705065","1325705068","1325705061"],"photo_ids_order":["1325705061","1325705063","1325705065","1325705068","1325705078","1325705081"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/83f0a0838fb6997d23b0908e4c9430c7.jpg","text":"TemporaryFile(/tmp/multipartBody5677276046056238549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735885698259,"filename":"image_03012025_07_26_02_736401_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7133c26d94246b29e499112a98a582c5.jpg","text":"TemporaryFile(/tmp/multipartBody7015042522504950089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735885698259,"filename":"image_03012025_07_26_02_736401_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/dc78298e6227421799e39f8785965424.jpg","text":"TemporaryFile(/tmp/multipartBody1637828819336388315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735885698259,"filename":"image_03012025_07_25_02_144569_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/bf49e5744dceffcbae2a20c51e31fbbf.jpg","text":"TemporaryFile(/tmp/multipartBody3439869026418998250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735885698259,"filename":"image_03012025_07_25_02_144569_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/75a30d6d1d8aac1204003d77171a5fce.jpg","text":"TemporaryFile(/tmp/multipartBody6661989270568426870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735885698259,"filename":"image_03012025_07_26_02_736401_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/eaeae0ed9bc1992fad42eae8fac8cf2b.jpg","text":"TemporaryFile(/tmp/multipartBody2390300841991360753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735885698259,"filename":"image_03012025_07_25_02_144569_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325705065","file1":"1325705063","file0":"1325705061","file4":"1325705078","file5":"1325705081","file3":"1325705068"},"map_files_photo_id_array":[{"photo_id":"1325705081","filename":"file5"},{"photo_id":"1325705065","filename":"file2"},{"photo_id":"1325705078","filename":"file4"},{"photo_id":"1325705063","filename":"file1"},{"photo_id":"1325705061","filename":"file0"},{"photo_id":"1325705068","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325705081":["hashtag1","hashtag2"]},{"1325705078":["hashtag1","hashtag2"]},{"1325705063":["hashtag1","hashtag2"]},{"1325705065":["hashtag1","hashtag2"]},{"1325705068":["hashtag1","hashtag2"]},{"1325705061":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325705081, 1325705078, 1325705063, 1325705065, 1325705068, 1325705061)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.95893383026123 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 07:28:02.744428
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/07/26/image_03012025_07_26_02_736401_0003.jpg', '/home/pi/Desktop/images/03012025/07/27/image_03012025_07_27_02_378469_0000.jpg', '/home/pi/Desktop/images/03012025/07/27/image_03012025_07_27_02_378469_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/07/26/image_03012025_07_26_02_736401_0003.jpg
/home/pi/Desktop/images/03012025/07/27/image_03012025_07_27_02_378469_0000.jpg
/home/pi/Desktop/images/03012025/07/27/image_03012025_07_27_02_378469_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325705108","1325705112","1325705109"],"photo_ids_order":["1325705108","1325705109","1325705112"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/346143fc01bc5bd7ee3b7ce8815361e7.jpg","text":"TemporaryFile(/tmp/multipartBody2013289282603207708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735885750607,"filename":"image_03012025_07_26_02_736401_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2507d305bb4efa2c90fa3c5c061291e8.jpg","text":"TemporaryFile(/tmp/multipartBody9151441422220504071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735885750607,"filename":"image_03012025_07_27_02_378469_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3f0bb55287b3167eb8279187124339b8.jpg","text":"TemporaryFile(/tmp/multipartBody5778838132309884582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735885750607,"filename":"image_03012025_07_27_02_378469_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325705112","file1":"1325705109","file0":"1325705108"},"map_files_photo_id_array":[{"photo_id":"1325705112","filename":"file2"},{"photo_id":"1325705109","filename":"file1"},{"photo_id":"1325705108","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325705108":["hashtag1","hashtag2"]},{"1325705112":["hashtag1","hashtag2"]},{"1325705109":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325705108, 1325705112, 1325705109)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 34.750248670578 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 07:29:02.423434
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/07/27/image_03012025_07_27_02_378469_0003.jpg', '/home/pi/Desktop/images/03012025/07/28/image_03012025_07_28_02_967169_0000.jpg', '/home/pi/Desktop/images/03012025/07/28/image_03012025_07_28_02_967169_0001.jpg', '/home/pi/Desktop/images/03012025/07/28/image_03012025_07_28_02_967169_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/07/27/image_03012025_07_27_02_378469_0003.jpg
/home/pi/Desktop/images/03012025/07/28/image_03012025_07_28_02_967169_0000.jpg
/home/pi/Desktop/images/03012025/07/28/image_03012025_07_28_02_967169_0001.jpg
/home/pi/Desktop/images/03012025/07/28/image_03012025_07_28_02_967169_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325705153","1325705158","1325705160","1325705151"],"photo_ids_order":["1325705151","1325705153","1325705158","1325705160"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/64864b0f8a1b44e3da05a622012b482c.jpg","text":"TemporaryFile(/tmp/multipartBody4402509849336184016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735885812666,"filename":"image_03012025_07_28_02_967169_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/823b130d90047c56ac4aee7bc9af409c.jpg","text":"TemporaryFile(/tmp/multipartBody2166663355116359108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735885812666,"filename":"image_03012025_07_28_02_967169_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/95056192e3b72e3f7a5ce8ac9b655b54.jpg","text":"TemporaryFile(/tmp/multipartBody556796007313748363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735885812666,"filename":"image_03012025_07_28_02_967169_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a13358ff3612aeaeeb1ff5438c0659e1.jpg","text":"TemporaryFile(/tmp/multipartBody1596037251573144600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735885812666,"filename":"image_03012025_07_27_02_378469_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325705158","file1":"1325705153","file0":"1325705151","file3":"1325705160"},"map_files_photo_id_array":[{"photo_id":"1325705158","filename":"file2"},{"photo_id":"1325705153","filename":"file1"},{"photo_id":"1325705151","filename":"file0"},{"photo_id":"1325705160","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325705153":["hashtag1","hashtag2"]},{"1325705158":["hashtag1","hashtag2"]},{"1325705160":["hashtag1","hashtag2"]},{"1325705151":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325705153, 1325705158, 1325705160, 1325705151)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.1203932762146 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 07:30:02.849920
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/07/28/image_03012025_07_28_02_967169_0003.jpg', '/home/pi/Desktop/images/03012025/07/29/image_03012025_07_29_02_611854_0000.jpg', '/home/pi/Desktop/images/03012025/07/29/image_03012025_07_29_02_611854_0001.jpg', '/home/pi/Desktop/images/03012025/07/29/image_03012025_07_29_02_611854_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/07/28/image_03012025_07_28_02_967169_0003.jpg
/home/pi/Desktop/images/03012025/07/29/image_03012025_07_29_02_611854_0000.jpg
/home/pi/Desktop/images/03012025/07/29/image_03012025_07_29_02_611854_0001.jpg
/home/pi/Desktop/images/03012025/07/29/image_03012025_07_29_02_611854_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325705179","1325705173","1325705172","1325705175"],"photo_ids_order":["1325705172","1325705173","1325705175","1325705179"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5df914ecb21b4b6278a86e05006076ec.jpg","text":"TemporaryFile(/tmp/multipartBody3482622038201715556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735885873085,"filename":"image_03012025_07_29_02_611854_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f82e2cc747d5fbcf2f5efbeada753b15.jpg","text":"TemporaryFile(/tmp/multipartBody2798663281658843192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735885873085,"filename":"image_03012025_07_29_02_611854_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ca666e7abdc413f4049a188248a131db.jpg","text":"TemporaryFile(/tmp/multipartBody4999321264142477359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735885873085,"filename":"image_03012025_07_28_02_967169_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/45fae7afa3aa8ce88d8b41a919f64640.jpg","text":"TemporaryFile(/tmp/multipartBody1686221538955907762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735885873085,"filename":"image_03012025_07_29_02_611854_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325705175","file1":"1325705173","file0":"1325705172","file3":"1325705179"},"map_files_photo_id_array":[{"photo_id":"1325705175","filename":"file2"},{"photo_id":"1325705173","filename":"file1"},{"photo_id":"1325705172","filename":"file0"},{"photo_id":"1325705179","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325705179":["hashtag1","hashtag2"]},{"1325705173":["hashtag1","hashtag2"]},{"1325705172":["hashtag1","hashtag2"]},{"1325705175":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325705179, 1325705173, 1325705172, 1325705175)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.907440423965454 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 07:31:02.614615
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/07/29/image_03012025_07_29_02_611854_0003.jpg', '/home/pi/Desktop/images/03012025/07/30/image_03012025_07_30_02_244101_0000.jpg', '/home/pi/Desktop/images/03012025/07/30/image_03012025_07_30_02_244101_0001.jpg', '/home/pi/Desktop/images/03012025/07/30/image_03012025_07_30_02_244101_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/07/29/image_03012025_07_29_02_611854_0003.jpg
/home/pi/Desktop/images/03012025/07/30/image_03012025_07_30_02_244101_0000.jpg
/home/pi/Desktop/images/03012025/07/30/image_03012025_07_30_02_244101_0001.jpg
/home/pi/Desktop/images/03012025/07/30/image_03012025_07_30_02_244101_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325705207","1325705203","1325705205","1325705202"],"photo_ids_order":["1325705202","1325705203","1325705205","1325705207"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/424cd7ea870b42e4ac92475cbbc5b3ed.jpg","text":"TemporaryFile(/tmp/multipartBody421510070664896496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735885932925,"filename":"image_03012025_07_30_02_244101_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1a330d47fed50f7e9b9607706f1d8b29.jpg","text":"TemporaryFile(/tmp/multipartBody5648626333042619732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735885932925,"filename":"image_03012025_07_30_02_244101_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1e77adb4123c7d712605655c1cb56689.jpg","text":"TemporaryFile(/tmp/multipartBody3198883170214110067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735885932925,"filename":"image_03012025_07_30_02_244101_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f0f7db7104535895b171db1099a87a60.jpg","text":"TemporaryFile(/tmp/multipartBody5656599635655955846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735885932925,"filename":"image_03012025_07_29_02_611854_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325705205","file1":"1325705203","file0":"1325705202","file3":"1325705207"},"map_files_photo_id_array":[{"photo_id":"1325705205","filename":"file2"},{"photo_id":"1325705203","filename":"file1"},{"photo_id":"1325705202","filename":"file0"},{"photo_id":"1325705207","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325705207":["hashtag1","hashtag2"]},{"1325705203":["hashtag1","hashtag2"]},{"1325705205":["hashtag1","hashtag2"]},{"1325705202":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325705207, 1325705203, 1325705205, 1325705202)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.402358531951904 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 07:32:03.055039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/07/30/image_03012025_07_30_02_244101_0003.jpg', '/home/pi/Desktop/images/03012025/07/31/image_03012025_07_31_02_862360_0000.jpg', '/home/pi/Desktop/images/03012025/07/31/image_03012025_07_31_02_862360_0001.jpg', '/home/pi/Desktop/images/03012025/07/31/image_03012025_07_31_02_862360_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/07/30/image_03012025_07_30_02_244101_0003.jpg
/home/pi/Desktop/images/03012025/07/31/image_03012025_07_31_02_862360_0000.jpg
/home/pi/Desktop/images/03012025/07/31/image_03012025_07_31_02_862360_0001.jpg
/home/pi/Desktop/images/03012025/07/31/image_03012025_07_31_02_862360_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325705240","1325705237","1325705242","1325705238"],"photo_ids_order":["1325705237","1325705238","1325705240","1325705242"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b6d57333cbcf90096537b097b8fe8396.jpg","text":"TemporaryFile(/tmp/multipartBody1163335124531333203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735885993259,"filename":"image_03012025_07_31_02_862360_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9b0cf18ba8453ab7a818c47e0f69c826.jpg","text":"TemporaryFile(/tmp/multipartBody4469680053754939562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735885993259,"filename":"image_03012025_07_30_02_244101_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f631c60f2fe7dd235f374a40ad3d4666.jpg","text":"TemporaryFile(/tmp/multipartBody2880982329003904207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735885993259,"filename":"image_03012025_07_31_02_862360_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/51879dc5e0f555d768c0e2e4ae63fa0f.jpg","text":"TemporaryFile(/tmp/multipartBody9022210546036663324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735885993259,"filename":"image_03012025_07_31_02_862360_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325705240","file1":"1325705238","file0":"1325705237","file3":"1325705242"},"map_files_photo_id_array":[{"photo_id":"1325705240","filename":"file2"},{"photo_id":"1325705238","filename":"file1"},{"photo_id":"1325705237","filename":"file0"},{"photo_id":"1325705242","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325705240":["hashtag1","hashtag2"]},{"1325705237":["hashtag1","hashtag2"]},{"1325705242":["hashtag1","hashtag2"]},{"1325705238":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325705240, 1325705237, 1325705242, 1325705238)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.16340136528015 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 07:33:02.752901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/07/31/image_03012025_07_31_02_862360_0003.jpg', '/home/pi/Desktop/images/03012025/07/32/image_03012025_07_32_02_334705_0000.jpg', '/home/pi/Desktop/images/03012025/07/32/image_03012025_07_32_02_334705_0001.jpg', '/home/pi/Desktop/images/03012025/07/32/image_03012025_07_32_02_334705_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/07/31/image_03012025_07_31_02_862360_0003.jpg
/home/pi/Desktop/images/03012025/07/32/image_03012025_07_32_02_334705_0000.jpg
/home/pi/Desktop/images/03012025/07/32/image_03012025_07_32_02_334705_0001.jpg
/home/pi/Desktop/images/03012025/07/32/image_03012025_07_32_02_334705_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325705258","1325705254","1325705253","1325705256"],"photo_ids_order":["1325705253","1325705254","1325705256","1325705258"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1b226ff521b77fc85efc1c3395b98b7e.jpg","text":"TemporaryFile(/tmp/multipartBody8159085351835021870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735886052831,"filename":"image_03012025_07_32_02_334705_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d09c2047c449bfb28391728e8e968faf.jpg","text":"TemporaryFile(/tmp/multipartBody6853813786198933548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735886052831,"filename":"image_03012025_07_32_02_334705_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/83d09c53278703e760b3c459f3120fc2.jpg","text":"TemporaryFile(/tmp/multipartBody4057662696122273231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735886052831,"filename":"image_03012025_07_31_02_862360_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c62e7cf97273bb824ed4f7a42164d8fd.jpg","text":"TemporaryFile(/tmp/multipartBody2930548436720580804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735886052831,"filename":"image_03012025_07_32_02_334705_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325705256","file1":"1325705254","file0":"1325705253","file3":"1325705258"},"map_files_photo_id_array":[{"photo_id":"1325705256","filename":"file2"},{"photo_id":"1325705254","filename":"file1"},{"photo_id":"1325705253","filename":"file0"},{"photo_id":"1325705258","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325705258":["hashtag1","hashtag2"]},{"1325705254":["hashtag1","hashtag2"]},{"1325705253":["hashtag1","hashtag2"]},{"1325705256":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325705258, 1325705254, 1325705253, 1325705256)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.334123373031616 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 07:34:02.366898
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/07/32/image_03012025_07_32_02_334705_0003.jpg', '/home/pi/Desktop/images/03012025/07/33/image_03012025_07_33_02_995265_0000.jpg', '/home/pi/Desktop/images/03012025/07/33/image_03012025_07_33_02_995265_0001.jpg', '/home/pi/Desktop/images/03012025/07/33/image_03012025_07_33_02_995265_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/07/32/image_03012025_07_32_02_334705_0003.jpg
/home/pi/Desktop/images/03012025/07/33/image_03012025_07_33_02_995265_0000.jpg
/home/pi/Desktop/images/03012025/07/33/image_03012025_07_33_02_995265_0001.jpg
/home/pi/Desktop/images/03012025/07/33/image_03012025_07_33_02_995265_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.518784523010254 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 07:34:21.780022
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/07/32/image_03012025_07_32_02_334705_0003.jpg', '/home/pi/Desktop/images/03012025/07/33/image_03012025_07_33_02_995265_0000.jpg', '/home/pi/Desktop/images/03012025/07/33/image_03012025_07_33_02_995265_0001.jpg', '/home/pi/Desktop/images/03012025/07/33/image_03012025_07_33_02_995265_0002.jpg', '/home/pi/Desktop/images/03012025/07/33/image_03012025_07_33_02_995265_0003.jpg', '/home/pi/Desktop/images/03012025/07/34/image_03012025_07_34_02_631479_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/07/32/image_03012025_07_32_02_334705_0003.jpg
/home/pi/Desktop/images/03012025/07/33/image_03012025_07_33_02_995265_0000.jpg
/home/pi/Desktop/images/03012025/07/33/image_03012025_07_33_02_995265_0001.jpg
/home/pi/Desktop/images/03012025/07/33/image_03012025_07_33_02_995265_0002.jpg
/home/pi/Desktop/images/03012025/07/33/image_03012025_07_33_02_995265_0003.jpg
/home/pi/Desktop/images/03012025/07/34/image_03012025_07_34_02_631479_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325705345","1325705360","1325705354","1325705357","1325705314","1325705317"],"photo_ids_order":["1325705314","1325705317","1325705345","1325705354","1325705357","1325705360"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0056cc0f582b8ed24b1a2673c8891f2c.jpg","text":"TemporaryFile(/tmp/multipartBody6952575017174185177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735886136369,"filename":"image_03012025_07_33_02_995265_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b918569a1c5f9a3f6ac4c01a8ec39674.jpg","text":"TemporaryFile(/tmp/multipartBody6085115373209138719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735886136369,"filename":"image_03012025_07_34_02_631479_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2d9a06e571afc763679b3d9af0fd1ba6.jpg","text":"TemporaryFile(/tmp/multipartBody3461603466346654913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735886136369,"filename":"image_03012025_07_33_02_995265_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c54021f13f670db7406cea80d45f8791.jpg","text":"TemporaryFile(/tmp/multipartBody6645045214447407558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735886136369,"filename":"image_03012025_07_33_02_995265_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1b449f4a3148ba0c8f71ed5e1a0c50b7.jpg","text":"TemporaryFile(/tmp/multipartBody7929160045900194675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735886136369,"filename":"image_03012025_07_32_02_334705_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7a6088e01a2e970c9102ca6fca49d2e9.jpg","text":"TemporaryFile(/tmp/multipartBody780752246405318166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735886136369,"filename":"image_03012025_07_33_02_995265_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325705345","file1":"1325705317","file0":"1325705314","file4":"1325705357","file5":"1325705360","file3":"1325705354"},"map_files_photo_id_array":[{"photo_id":"1325705360","filename":"file5"},{"photo_id":"1325705345","filename":"file2"},{"photo_id":"1325705357","filename":"file4"},{"photo_id":"1325705317","filename":"file1"},{"photo_id":"1325705314","filename":"file0"},{"photo_id":"1325705354","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325705345":["hashtag1","hashtag2"]},{"1325705360":["hashtag1","hashtag2"]},{"1325705354":["hashtag1","hashtag2"]},{"1325705357":["hashtag1","hashtag2"]},{"1325705314":["hashtag1","hashtag2"]},{"1325705317":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325705345, 1325705360, 1325705354, 1325705357, 1325705314, 1325705317)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.22841739654541 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 07:35:22.390251
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/07/34/image_03012025_07_34_02_631479_0002.jpg', '/home/pi/Desktop/images/03012025/07/34/image_03012025_07_34_02_631479_0003.jpg', '/home/pi/Desktop/images/03012025/07/35/image_03012025_07_35_02_246122_0000.jpg', '/home/pi/Desktop/images/03012025/07/35/image_03012025_07_35_02_246122_0001.jpg', '/home/pi/Desktop/images/03012025/07/35/image_03012025_07_35_02_246122_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/07/34/image_03012025_07_34_02_631479_0002.jpg
/home/pi/Desktop/images/03012025/07/34/image_03012025_07_34_02_631479_0003.jpg
/home/pi/Desktop/images/03012025/07/35/image_03012025_07_35_02_246122_0000.jpg
/home/pi/Desktop/images/03012025/07/35/image_03012025_07_35_02_246122_0001.jpg
/home/pi/Desktop/images/03012025/07/35/image_03012025_07_35_02_246122_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325705444","1325705438","1325705435","1325705446","1325705442"],"photo_ids_order":["1325705435","1325705438","1325705442","1325705444","1325705446"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/73b9c73e3e25e7b9c564670fd06d41e1.jpg","text":"TemporaryFile(/tmp/multipartBody5148039808831912407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735886194772,"filename":"image_03012025_07_35_02_246122_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8199d3c085b803191e6ee8c8a93452cd.jpg","text":"TemporaryFile(/tmp/multipartBody7290900822036320651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735886194772,"filename":"image_03012025_07_34_02_631479_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f8daf1ded03a96fd52e8aefa4235cd6b.jpg","text":"TemporaryFile(/tmp/multipartBody8046052283835124280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735886194772,"filename":"image_03012025_07_34_02_631479_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7f8ddb6ffef4abfd6e1d74c2bb4be08a.jpg","text":"TemporaryFile(/tmp/multipartBody3617017233243285216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735886194772,"filename":"image_03012025_07_35_02_246122_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/88e80a41c0c3a172bd24084e59e022de.jpg","text":"TemporaryFile(/tmp/multipartBody2650740448207783782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735886194772,"filename":"image_03012025_07_35_02_246122_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325705442","file1":"1325705438","file0":"1325705435","file4":"1325705446","file3":"1325705444"},"map_files_photo_id_array":[{"photo_id":"1325705442","filename":"file2"},{"photo_id":"1325705446","filename":"file4"},{"photo_id":"1325705438","filename":"file1"},{"photo_id":"1325705435","filename":"file0"},{"photo_id":"1325705444","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325705444":["hashtag1","hashtag2"]},{"1325705438":["hashtag1","hashtag2"]},{"1325705435":["hashtag1","hashtag2"]},{"1325705446":["hashtag1","hashtag2"]},{"1325705442":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325705444, 1325705438, 1325705435, 1325705446, 1325705442)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 49.92084741592407 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 07:36:21.867322
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/07/35/image_03012025_07_35_02_246122_0003.jpg', '/home/pi/Desktop/images/03012025/07/36/image_03012025_07_36_02_747527_0000.jpg', '/home/pi/Desktop/images/03012025/07/36/image_03012025_07_36_02_747527_0001.jpg', '/home/pi/Desktop/images/03012025/07/36/image_03012025_07_36_02_747527_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/07/35/image_03012025_07_35_02_246122_0003.jpg
/home/pi/Desktop/images/03012025/07/36/image_03012025_07_36_02_747527_0000.jpg
/home/pi/Desktop/images/03012025/07/36/image_03012025_07_36_02_747527_0001.jpg
/home/pi/Desktop/images/03012025/07/36/image_03012025_07_36_02_747527_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325705450","1325705461","1325705454","1325705457"],"photo_ids_order":["1325705450","1325705454","1325705457","1325705461"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b0717800fe2002cb70d2e3d69b6708d1.jpg","text":"TemporaryFile(/tmp/multipartBody2657862171508170806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735886252041,"filename":"image_03012025_07_35_02_246122_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/326cdddcd257b3238425f98650ebf22e.jpg","text":"TemporaryFile(/tmp/multipartBody7070775535859762085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735886252041,"filename":"image_03012025_07_36_02_747527_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8c0668172c0f1ae78f5d83a30325fcab.jpg","text":"TemporaryFile(/tmp/multipartBody4952854919461844849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735886252041,"filename":"image_03012025_07_36_02_747527_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/63e25acbc1a50abad7732ee960f0e2a3.jpg","text":"TemporaryFile(/tmp/multipartBody21408283319382514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735886252041,"filename":"image_03012025_07_36_02_747527_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325705457","file1":"1325705454","file0":"1325705450","file3":"1325705461"},"map_files_photo_id_array":[{"photo_id":"1325705457","filename":"file2"},{"photo_id":"1325705454","filename":"file1"},{"photo_id":"1325705450","filename":"file0"},{"photo_id":"1325705461","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325705450":["hashtag1","hashtag2"]},{"1325705461":["hashtag1","hashtag2"]},{"1325705454":["hashtag1","hashtag2"]},{"1325705457":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325705450, 1325705461, 1325705454, 1325705457)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.68058443069458 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 07:37:03.018783
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 07:37:22.324108
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/07/36/image_03012025_07_36_02_747527_0003.jpg', '/home/pi/Desktop/images/03012025/07/37/image_03012025_07_37_02_224181_0000.jpg', '/home/pi/Desktop/images/03012025/07/37/image_03012025_07_37_02_224181_0001.jpg', '/home/pi/Desktop/images/03012025/07/37/image_03012025_07_37_02_224181_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/07/36/image_03012025_07_36_02_747527_0003.jpg
/home/pi/Desktop/images/03012025/07/37/image_03012025_07_37_02_224181_0000.jpg
/home/pi/Desktop/images/03012025/07/37/image_03012025_07_37_02_224181_0001.jpg
/home/pi/Desktop/images/03012025/07/37/image_03012025_07_37_02_224181_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325705560","1325705563","1325705524","1325705527"],"photo_ids_order":["1325705524","1325705527","1325705560","1325705563"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c22f58d0ccd358ad10420316fb5c400c.jpg","text":"TemporaryFile(/tmp/multipartBody1447875806431633763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735886312455,"filename":"image_03012025_07_37_02_224181_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/78a47c0681a591756f6c21fe5de36a85.jpg","text":"TemporaryFile(/tmp/multipartBody1858296067979673940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735886312455,"filename":"image_03012025_07_37_02_224181_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5c6f598d6c455d6306c8f817790303c5.jpg","text":"TemporaryFile(/tmp/multipartBody8075896718084061514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735886312455,"filename":"image_03012025_07_36_02_747527_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/345afdcabc86e32c281d6d7a7e57b0d7.jpg","text":"TemporaryFile(/tmp/multipartBody8714034812123745456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735886312455,"filename":"image_03012025_07_37_02_224181_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325705560","file1":"1325705527","file0":"1325705524","file3":"1325705563"},"map_files_photo_id_array":[{"photo_id":"1325705560","filename":"file2"},{"photo_id":"1325705527","filename":"file1"},{"photo_id":"1325705524","filename":"file0"},{"photo_id":"1325705563","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325705560":["hashtag1","hashtag2"]},{"1325705563":["hashtag1","hashtag2"]},{"1325705524":["hashtag1","hashtag2"]},{"1325705527":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325705560, 1325705563, 1325705524, 1325705527)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.84254455566406 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 07:38:02.372481
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 07:38:21.950502
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/07/37/image_03012025_07_37_02_224181_0003.jpg', '/home/pi/Desktop/images/03012025/07/38/image_03012025_07_38_02_699595_0000.jpg', '/home/pi/Desktop/images/03012025/07/38/image_03012025_07_38_02_699595_0001.jpg', '/home/pi/Desktop/images/03012025/07/38/image_03012025_07_38_02_699595_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/07/37/image_03012025_07_37_02_224181_0003.jpg
/home/pi/Desktop/images/03012025/07/38/image_03012025_07_38_02_699595_0000.jpg
/home/pi/Desktop/images/03012025/07/38/image_03012025_07_38_02_699595_0001.jpg
/home/pi/Desktop/images/03012025/07/38/image_03012025_07_38_02_699595_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325705612","1325705584","1325705608","1325705616"],"photo_ids_order":["1325705584","1325705608","1325705612","1325705616"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3b8ef17df774872b87ebe52c00f3a5ae.jpg","text":"TemporaryFile(/tmp/multipartBody1586902649830320548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735886372304,"filename":"image_03012025_07_38_02_699595_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/bcc4a432cb7771f67fd0bc9543044a7c.jpg","text":"TemporaryFile(/tmp/multipartBody5053473091478978817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735886372304,"filename":"image_03012025_07_37_02_224181_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e1cff439c3fc99aeb28f396ff437a638.jpg","text":"TemporaryFile(/tmp/multipartBody4668415895114332986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735886372304,"filename":"image_03012025_07_38_02_699595_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/698f5dc075add97dc72a2399867a8768.jpg","text":"TemporaryFile(/tmp/multipartBody7309197336020173230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735886372304,"filename":"image_03012025_07_38_02_699595_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325705612","file1":"1325705608","file0":"1325705584","file3":"1325705616"},"map_files_photo_id_array":[{"photo_id":"1325705612","filename":"file2"},{"photo_id":"1325705608","filename":"file1"},{"photo_id":"1325705584","filename":"file0"},{"photo_id":"1325705616","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325705612":["hashtag1","hashtag2"]},{"1325705584":["hashtag1","hashtag2"]},{"1325705608":["hashtag1","hashtag2"]},{"1325705616":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325705612, 1325705584, 1325705608, 1325705616)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.64796423912048 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 07:39:03.260329
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 07:39:22.466555
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/07/38/image_03012025_07_38_02_699595_0003.jpg', '/home/pi/Desktop/images/03012025/07/39/image_03012025_07_39_02_358084_0000.jpg', '/home/pi/Desktop/images/03012025/07/39/image_03012025_07_39_02_358084_0001.jpg', '/home/pi/Desktop/images/03012025/07/39/image_03012025_07_39_02_358084_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/07/38/image_03012025_07_38_02_699595_0003.jpg
/home/pi/Desktop/images/03012025/07/39/image_03012025_07_39_02_358084_0000.jpg
/home/pi/Desktop/images/03012025/07/39/image_03012025_07_39_02_358084_0001.jpg
/home/pi/Desktop/images/03012025/07/39/image_03012025_07_39_02_358084_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325705636","1325705629","1325705632","1325705626"],"photo_ids_order":["1325705626","1325705629","1325705632","1325705636"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/28c76bae4e26411bacb20a52934ce707.jpg","text":"TemporaryFile(/tmp/multipartBody584024257238204535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735886432777,"filename":"image_03012025_07_39_02_358084_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/489559656834faa3f18f396ff4263c6c.jpg","text":"TemporaryFile(/tmp/multipartBody7772654609936924811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735886432777,"filename":"image_03012025_07_39_02_358084_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/43f1c58f6f25c11cb0bd7bb736a488d7.jpg","text":"TemporaryFile(/tmp/multipartBody5083320301732661241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735886432777,"filename":"image_03012025_07_39_02_358084_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c2358daf5e69b77943c9571c5b157e9a.jpg","text":"TemporaryFile(/tmp/multipartBody2938296775239275913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735886432777,"filename":"image_03012025_07_38_02_699595_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325705632","file1":"1325705629","file0":"1325705626","file3":"1325705636"},"map_files_photo_id_array":[{"photo_id":"1325705632","filename":"file2"},{"photo_id":"1325705629","filename":"file1"},{"photo_id":"1325705626","filename":"file0"},{"photo_id":"1325705636","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325705636":["hashtag1","hashtag2"]},{"1325705629":["hashtag1","hashtag2"]},{"1325705632":["hashtag1","hashtag2"]},{"1325705626":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325705636, 1325705629, 1325705632, 1325705626)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.281139850616455 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 07:40:22.101459
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/07/39/image_03012025_07_39_02_358084_0003.jpg', '/home/pi/Desktop/images/03012025/07/40/image_03012025_07_40_02_873200_0000.jpg', '/home/pi/Desktop/images/03012025/07/40/image_03012025_07_40_02_873200_0001.jpg', '/home/pi/Desktop/images/03012025/07/40/image_03012025_07_40_02_873200_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/07/39/image_03012025_07_39_02_358084_0003.jpg
/home/pi/Desktop/images/03012025/07/40/image_03012025_07_40_02_873200_0000.jpg
/home/pi/Desktop/images/03012025/07/40/image_03012025_07_40_02_873200_0001.jpg
/home/pi/Desktop/images/03012025/07/40/image_03012025_07_40_02_873200_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325705642","1325705650","1325705646","1325705669"],"photo_ids_order":["1325705642","1325705646","1325705650","1325705669"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d2b0894500f4aaa86e50b4f9866a806e.jpg","text":"TemporaryFile(/tmp/multipartBody3050978043440419468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735886492498,"filename":"image_03012025_07_39_02_358084_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/56e9c73108ebc646f0c91871de295e5a.jpg","text":"TemporaryFile(/tmp/multipartBody6652661299614799714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735886492498,"filename":"image_03012025_07_40_02_873200_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a3698b9b695c93cceb4e9b817331a32a.jpg","text":"TemporaryFile(/tmp/multipartBody10985138407217716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735886492498,"filename":"image_03012025_07_40_02_873200_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/22e2399a92d251ab1bb8fdb18137a507.jpg","text":"TemporaryFile(/tmp/multipartBody6374616325220947094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735886492498,"filename":"image_03012025_07_40_02_873200_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325705650","file1":"1325705646","file0":"1325705642","file3":"1325705669"},"map_files_photo_id_array":[{"photo_id":"1325705650","filename":"file2"},{"photo_id":"1325705646","filename":"file1"},{"photo_id":"1325705642","filename":"file0"},{"photo_id":"1325705669","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325705642":["hashtag1","hashtag2"]},{"1325705650":["hashtag1","hashtag2"]},{"1325705646":["hashtag1","hashtag2"]},{"1325705669":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325705642, 1325705650, 1325705646, 1325705669)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.094043493270874 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 07:41:22.535053
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/07/40/image_03012025_07_40_02_873200_0003.jpg', '/home/pi/Desktop/images/03012025/07/41/image_03012025_07_41_02_449503_0000.jpg', '/home/pi/Desktop/images/03012025/07/41/image_03012025_07_41_02_449503_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/07/40/image_03012025_07_40_02_873200_0003.jpg
/home/pi/Desktop/images/03012025/07/41/image_03012025_07_41_02_449503_0000.jpg
/home/pi/Desktop/images/03012025/07/41/image_03012025_07_41_02_449503_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325705735","1325705732","1325705729"],"photo_ids_order":["1325705729","1325705732","1325705735"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0213ff4d4be3bb7fdefce3e72d2e2e85.jpg","text":"TemporaryFile(/tmp/multipartBody7875350544702002959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735886550464,"filename":"image_03012025_07_41_02_449503_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/95954ecb60f1c8bb816e7c7950cd5b75.jpg","text":"TemporaryFile(/tmp/multipartBody9018211744092290973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735886550464,"filename":"image_03012025_07_41_02_449503_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2c9293b954606f651a44fc150f7ac549.jpg","text":"TemporaryFile(/tmp/multipartBody3169947675231705420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735886550464,"filename":"image_03012025_07_40_02_873200_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325705735","file1":"1325705732","file0":"1325705729"},"map_files_photo_id_array":[{"photo_id":"1325705735","filename":"file2"},{"photo_id":"1325705732","filename":"file1"},{"photo_id":"1325705729","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325705735":["hashtag1","hashtag2"]},{"1325705732":["hashtag1","hashtag2"]},{"1325705729":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325705735, 1325705732, 1325705729)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.54157829284668 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 07:42:02.626689
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 07:42:22.073878
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/07/41/image_03012025_07_41_02_449503_0003.jpg', '/home/pi/Desktop/images/03012025/07/42/image_03012025_07_42_02_982359_0000.jpg', '/home/pi/Desktop/images/03012025/07/42/image_03012025_07_42_02_982359_0001.jpg', '/home/pi/Desktop/images/03012025/07/42/image_03012025_07_42_02_982359_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/07/41/image_03012025_07_41_02_449503_0003.jpg
/home/pi/Desktop/images/03012025/07/42/image_03012025_07_42_02_982359_0000.jpg
/home/pi/Desktop/images/03012025/07/42/image_03012025_07_42_02_982359_0001.jpg
/home/pi/Desktop/images/03012025/07/42/image_03012025_07_42_02_982359_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.777953863143921 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 07:43:03.106161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/07/41/image_03012025_07_41_02_449503_0003.jpg', '/home/pi/Desktop/images/03012025/07/42/image_03012025_07_42_02_982359_0000.jpg', '/home/pi/Desktop/images/03012025/07/42/image_03012025_07_42_02_982359_0001.jpg', '/home/pi/Desktop/images/03012025/07/42/image_03012025_07_42_02_982359_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/07/41/image_03012025_07_41_02_449503_0003.jpg
/home/pi/Desktop/images/03012025/07/42/image_03012025_07_42_02_982359_0000.jpg
/home/pi/Desktop/images/03012025/07/42/image_03012025_07_42_02_982359_0001.jpg
/home/pi/Desktop/images/03012025/07/42/image_03012025_07_42_02_982359_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325705816","1325705809","1325705818","1325705811"],"photo_ids_order":["1325705809","1325705811","1325705816","1325705818"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f9535b8be583ab9cb3e1395a8a98bce2.jpg","text":"TemporaryFile(/tmp/multipartBody7318574918400147577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735886653369,"filename":"image_03012025_07_42_02_982359_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9c5b3c23b6acc6ab5de5830f1467955d.jpg","text":"TemporaryFile(/tmp/multipartBody5397865005213818203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735886653369,"filename":"image_03012025_07_41_02_449503_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a999746cad367e3a8173e57832e28fd0.jpg","text":"TemporaryFile(/tmp/multipartBody5078839509328328575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735886653369,"filename":"image_03012025_07_42_02_982359_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/91855ec8c3d21f20a8a3f412139b086a.jpg","text":"TemporaryFile(/tmp/multipartBody90121386668314657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735886653369,"filename":"image_03012025_07_42_02_982359_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325705816","file1":"1325705811","file0":"1325705809","file3":"1325705818"},"map_files_photo_id_array":[{"photo_id":"1325705816","filename":"file2"},{"photo_id":"1325705811","filename":"file1"},{"photo_id":"1325705809","filename":"file0"},{"photo_id":"1325705818","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325705816":["hashtag1","hashtag2"]},{"1325705809":["hashtag1","hashtag2"]},{"1325705818":["hashtag1","hashtag2"]},{"1325705811":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325705816, 1325705809, 1325705818, 1325705811)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.0376296043396 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 07:44:02.685801
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/07/42/image_03012025_07_42_02_982359_0003.jpg', '/home/pi/Desktop/images/03012025/07/43/image_03012025_07_43_02_454251_0000.jpg', '/home/pi/Desktop/images/03012025/07/43/image_03012025_07_43_02_454251_0001.jpg', '/home/pi/Desktop/images/03012025/07/43/image_03012025_07_43_02_454251_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/07/42/image_03012025_07_42_02_982359_0003.jpg
/home/pi/Desktop/images/03012025/07/43/image_03012025_07_43_02_454251_0000.jpg
/home/pi/Desktop/images/03012025/07/43/image_03012025_07_43_02_454251_0001.jpg
/home/pi/Desktop/images/03012025/07/43/image_03012025_07_43_02_454251_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325705860","1325705862","1325705871","1325705867"],"photo_ids_order":["1325705860","1325705862","1325705867","1325705871"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c994e150b0d91e04eea0f857770ae55a.jpg","text":"TemporaryFile(/tmp/multipartBody8141126968692899440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735886712858,"filename":"image_03012025_07_42_02_982359_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3efe58b23a4e6acfd26028f8df44efe7.jpg","text":"TemporaryFile(/tmp/multipartBody3520927817578368478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735886712858,"filename":"image_03012025_07_43_02_454251_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9544bfe80561d3badb1b3cddaa25f166.jpg","text":"TemporaryFile(/tmp/multipartBody1153502843226606325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735886712858,"filename":"image_03012025_07_43_02_454251_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/19928daee0507d347c56ce8c694a5b7f.jpg","text":"TemporaryFile(/tmp/multipartBody7383023507595465560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735886712858,"filename":"image_03012025_07_43_02_454251_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325705867","file1":"1325705862","file0":"1325705860","file3":"1325705871"},"map_files_photo_id_array":[{"photo_id":"1325705867","filename":"file2"},{"photo_id":"1325705862","filename":"file1"},{"photo_id":"1325705860","filename":"file0"},{"photo_id":"1325705871","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325705860":["hashtag1","hashtag2"]},{"1325705862":["hashtag1","hashtag2"]},{"1325705871":["hashtag1","hashtag2"]},{"1325705867":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325705860, 1325705862, 1325705871, 1325705867)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.9567449092865 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 07:45:02.426316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/07/43/image_03012025_07_43_02_454251_0003.jpg', '/home/pi/Desktop/images/03012025/07/44/image_03012025_07_44_02_981977_0000.jpg', '/home/pi/Desktop/images/03012025/07/44/image_03012025_07_44_02_981977_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/07/43/image_03012025_07_43_02_454251_0003.jpg
/home/pi/Desktop/images/03012025/07/44/image_03012025_07_44_02_981977_0000.jpg
/home/pi/Desktop/images/03012025/07/44/image_03012025_07_44_02_981977_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.632944583892822 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 07:45:21.690467
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/07/43/image_03012025_07_43_02_454251_0003.jpg', '/home/pi/Desktop/images/03012025/07/44/image_03012025_07_44_02_981977_0000.jpg', '/home/pi/Desktop/images/03012025/07/44/image_03012025_07_44_02_981977_0001.jpg', '/home/pi/Desktop/images/03012025/07/44/image_03012025_07_44_02_981977_0003.jpg', '/home/pi/Desktop/images/03012025/07/45/image_03012025_07_45_02_638639_0000.jpg', '/home/pi/Desktop/images/03012025/07/45/image_03012025_07_45_02_638639_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/07/43/image_03012025_07_43_02_454251_0003.jpg
/home/pi/Desktop/images/03012025/07/44/image_03012025_07_44_02_981977_0000.jpg
/home/pi/Desktop/images/03012025/07/44/image_03012025_07_44_02_981977_0001.jpg
/home/pi/Desktop/images/03012025/07/44/image_03012025_07_44_02_981977_0003.jpg
/home/pi/Desktop/images/03012025/07/45/image_03012025_07_45_02_638639_0000.jpg
/home/pi/Desktop/images/03012025/07/45/image_03012025_07_45_02_638639_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325705948","1325705942","1325705950","1325705937","1325705946","1325705934"],"photo_ids_order":["1325705934","1325705937","1325705942","1325705946","1325705948","1325705950"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6c6eec0cb85369334f5ed5ccb1e58519.jpg","text":"TemporaryFile(/tmp/multipartBody1134726651246877074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735886796823,"filename":"image_03012025_07_45_02_638639_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/de60b32664f23d1b202b71e7f9442904.jpg","text":"TemporaryFile(/tmp/multipartBody4051263108012197871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735886796823,"filename":"image_03012025_07_44_02_981977_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/80bf5a7b42fd330fca068d130394b3bf.jpg","text":"TemporaryFile(/tmp/multipartBody5678677870780226998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735886796823,"filename":"image_03012025_07_45_02_638639_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d370b2f970c2e0d7aa97c03b2dfea73d.jpg","text":"TemporaryFile(/tmp/multipartBody9101699658170463496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735886796823,"filename":"image_03012025_07_44_02_981977_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/42d11c5cfa95aafa62367be9534bf3bf.jpg","text":"TemporaryFile(/tmp/multipartBody2354180304949347469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735886796823,"filename":"image_03012025_07_44_02_981977_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b156c56287ce1443664c16cf1cc301a4.jpg","text":"TemporaryFile(/tmp/multipartBody1880979421554929433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735886796823,"filename":"image_03012025_07_43_02_454251_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325705942","file1":"1325705937","file0":"1325705934","file4":"1325705948","file5":"1325705950","file3":"1325705946"},"map_files_photo_id_array":[{"photo_id":"1325705950","filename":"file5"},{"photo_id":"1325705942","filename":"file2"},{"photo_id":"1325705948","filename":"file4"},{"photo_id":"1325705937","filename":"file1"},{"photo_id":"1325705934","filename":"file0"},{"photo_id":"1325705946","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325705948":["hashtag1","hashtag2"]},{"1325705942":["hashtag1","hashtag2"]},{"1325705950":["hashtag1","hashtag2"]},{"1325705937":["hashtag1","hashtag2"]},{"1325705946":["hashtag1","hashtag2"]},{"1325705934":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325705948, 1325705942, 1325705950, 1325705937, 1325705946, 1325705934)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.96967601776123 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 07:46:22.261305
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/07/45/image_03012025_07_45_02_638639_0002.jpg', '/home/pi/Desktop/images/03012025/07/45/image_03012025_07_45_02_638639_0003.jpg', '/home/pi/Desktop/images/03012025/07/46/image_03012025_07_46_02_088360_0000.jpg', '/home/pi/Desktop/images/03012025/07/46/image_03012025_07_46_02_088360_0001.jpg', '/home/pi/Desktop/images/03012025/07/46/image_03012025_07_46_02_088360_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/07/45/image_03012025_07_45_02_638639_0002.jpg
/home/pi/Desktop/images/03012025/07/45/image_03012025_07_45_02_638639_0003.jpg
/home/pi/Desktop/images/03012025/07/46/image_03012025_07_46_02_088360_0000.jpg
/home/pi/Desktop/images/03012025/07/46/image_03012025_07_46_02_088360_0001.jpg
/home/pi/Desktop/images/03012025/07/46/image_03012025_07_46_02_088360_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325706110","1325706104","1325706136","1325706098","1325706086"],"photo_ids_order":["1325706086","1325706098","1325706104","1325706110","1325706136"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/517cfe8b7048b02296d0150258285ae6.jpg","text":"TemporaryFile(/tmp/multipartBody5513632998788941328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735886854843,"filename":"image_03012025_07_46_02_088360_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d421a9634eb8bd2789b9193ae4a8020d.jpg","text":"TemporaryFile(/tmp/multipartBody1863515724898945448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735886854843,"filename":"image_03012025_07_46_02_088360_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4f3e0df14d758c9b28334bc336ca4c46.jpg","text":"TemporaryFile(/tmp/multipartBody4879714774336637798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735886854843,"filename":"image_03012025_07_46_02_088360_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d40fb73b616353feb83f4f5eb9933130.jpg","text":"TemporaryFile(/tmp/multipartBody2581315997796954118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735886854843,"filename":"image_03012025_07_45_02_638639_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c4e011080306cc142b2eff363f0d2f9f.jpg","text":"TemporaryFile(/tmp/multipartBody3537364609579635897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735886854843,"filename":"image_03012025_07_45_02_638639_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325706104","file1":"1325706098","file0":"1325706086","file4":"1325706136","file3":"1325706110"},"map_files_photo_id_array":[{"photo_id":"1325706104","filename":"file2"},{"photo_id":"1325706136","filename":"file4"},{"photo_id":"1325706098","filename":"file1"},{"photo_id":"1325706086","filename":"file0"},{"photo_id":"1325706110","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325706110":["hashtag1","hashtag2"]},{"1325706104":["hashtag1","hashtag2"]},{"1325706136":["hashtag1","hashtag2"]},{"1325706098":["hashtag1","hashtag2"]},{"1325706086":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325706110, 1325706104, 1325706136, 1325706098, 1325706086)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 47.005300998687744 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 07:47:21.835847
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/07/46/image_03012025_07_46_02_088360_0003.jpg', '/home/pi/Desktop/images/03012025/07/47/image_03012025_07_47_02_678110_0000.jpg', '/home/pi/Desktop/images/03012025/07/47/image_03012025_07_47_02_678110_0001.jpg', '/home/pi/Desktop/images/03012025/07/47/image_03012025_07_47_02_678110_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/07/46/image_03012025_07_46_02_088360_0003.jpg
/home/pi/Desktop/images/03012025/07/47/image_03012025_07_47_02_678110_0000.jpg
/home/pi/Desktop/images/03012025/07/47/image_03012025_07_47_02_678110_0001.jpg
/home/pi/Desktop/images/03012025/07/47/image_03012025_07_47_02_678110_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325706142","1325706166","1325706156","1325706161"],"photo_ids_order":["1325706142","1325706156","1325706161","1325706166"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/58b04bfa1b9168f65cac414dbc6edfa0.jpg","text":"TemporaryFile(/tmp/multipartBody7348109845082387629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735886912065,"filename":"image_03012025_07_46_02_088360_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b68b272318f7928e9da63e9f876f3219.jpg","text":"TemporaryFile(/tmp/multipartBody2749649361266067517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735886912065,"filename":"image_03012025_07_47_02_678110_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ba7db1862575ca13ffce43f646c4c4c3.jpg","text":"TemporaryFile(/tmp/multipartBody7200116500252811137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735886912065,"filename":"image_03012025_07_47_02_678110_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4a02c22f523fcc2cc26b793317850a27.jpg","text":"TemporaryFile(/tmp/multipartBody2096573792076969487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735886912065,"filename":"image_03012025_07_47_02_678110_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325706161","file1":"1325706156","file0":"1325706142","file3":"1325706166"},"map_files_photo_id_array":[{"photo_id":"1325706161","filename":"file2"},{"photo_id":"1325706156","filename":"file1"},{"photo_id":"1325706142","filename":"file0"},{"photo_id":"1325706166","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325706142":["hashtag1","hashtag2"]},{"1325706166":["hashtag1","hashtag2"]},{"1325706156":["hashtag1","hashtag2"]},{"1325706161":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325706142, 1325706166, 1325706156, 1325706161)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.46838402748108 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 07:48:22.399638
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/07/47/image_03012025_07_47_02_678110_0003.jpg', '/home/pi/Desktop/images/03012025/07/48/image_03012025_07_48_02_301363_0000.jpg', '/home/pi/Desktop/images/03012025/07/48/image_03012025_07_48_02_301363_0001.jpg', '/home/pi/Desktop/images/03012025/07/48/image_03012025_07_48_02_301363_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/07/47/image_03012025_07_47_02_678110_0003.jpg
/home/pi/Desktop/images/03012025/07/48/image_03012025_07_48_02_301363_0000.jpg
/home/pi/Desktop/images/03012025/07/48/image_03012025_07_48_02_301363_0001.jpg
/home/pi/Desktop/images/03012025/07/48/image_03012025_07_48_02_301363_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325706292","1325706286","1325706295","1325706213"],"photo_ids_order":["1325706213","1325706286","1325706292","1325706295"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/373039d513de2c2c1876800566d36160.jpg","text":"TemporaryFile(/tmp/multipartBody7360315905466219517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735886972468,"filename":"image_03012025_07_48_02_301363_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1de41cdef77635d5d95ed1803576f64d.jpg","text":"TemporaryFile(/tmp/multipartBody3236660866676799772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735886972468,"filename":"image_03012025_07_48_02_301363_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b603a791176012c759e4427d551bf146.jpg","text":"TemporaryFile(/tmp/multipartBody81858691928664876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735886972468,"filename":"image_03012025_07_48_02_301363_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ab9ea3e49b8d78482d0e2b442639564a.jpg","text":"TemporaryFile(/tmp/multipartBody5109430409321633745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735886972468,"filename":"image_03012025_07_47_02_678110_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325706292","file1":"1325706286","file0":"1325706213","file3":"1325706295"},"map_files_photo_id_array":[{"photo_id":"1325706292","filename":"file2"},{"photo_id":"1325706286","filename":"file1"},{"photo_id":"1325706213","filename":"file0"},{"photo_id":"1325706295","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325706292":["hashtag1","hashtag2"]},{"1325706286":["hashtag1","hashtag2"]},{"1325706295":["hashtag1","hashtag2"]},{"1325706213":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325706292, 1325706286, 1325706295, 1325706213)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.46095085144043 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 07:49:21.906025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/07/48/image_03012025_07_48_02_301363_0003.jpg', '/home/pi/Desktop/images/03012025/07/49/image_03012025_07_49_02_789132_0000.jpg', '/home/pi/Desktop/images/03012025/07/49/image_03012025_07_49_02_789132_0001.jpg', '/home/pi/Desktop/images/03012025/07/49/image_03012025_07_49_02_789132_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/07/48/image_03012025_07_48_02_301363_0003.jpg
/home/pi/Desktop/images/03012025/07/49/image_03012025_07_49_02_789132_0000.jpg
/home/pi/Desktop/images/03012025/07/49/image_03012025_07_49_02_789132_0001.jpg
/home/pi/Desktop/images/03012025/07/49/image_03012025_07_49_02_789132_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325706308","1325706313","1325706301","1325706305"],"photo_ids_order":["1325706301","1325706305","1325706308","1325706313"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ae23f4297a121e7de207983f694682b8.jpg","text":"TemporaryFile(/tmp/multipartBody12513427504286657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735887032137,"filename":"image_03012025_07_49_02_789132_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4abbf70b5088391bcce2f619f4051eae.jpg","text":"TemporaryFile(/tmp/multipartBody2984940311572004261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735887032137,"filename":"image_03012025_07_49_02_789132_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/51f518a5461c5ea43715cf08cd6d8544.jpg","text":"TemporaryFile(/tmp/multipartBody8727675719943267774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735887032137,"filename":"image_03012025_07_48_02_301363_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/47841a31ba48f74e18e3a6012b5f03fe.jpg","text":"TemporaryFile(/tmp/multipartBody5514121043381165525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735887032137,"filename":"image_03012025_07_49_02_789132_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325706308","file1":"1325706305","file0":"1325706301","file3":"1325706313"},"map_files_photo_id_array":[{"photo_id":"1325706308","filename":"file2"},{"photo_id":"1325706305","filename":"file1"},{"photo_id":"1325706301","filename":"file0"},{"photo_id":"1325706313","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325706308":["hashtag1","hashtag2"]},{"1325706313":["hashtag1","hashtag2"]},{"1325706301":["hashtag1","hashtag2"]},{"1325706305":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325706308, 1325706313, 1325706301, 1325706305)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.355928897857666 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 07:50:02.762822
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 07:50:22.399749
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/07/49/image_03012025_07_49_02_789132_0003.jpg', '/home/pi/Desktop/images/03012025/07/50/image_03012025_07_50_02_299699_0000.jpg', '/home/pi/Desktop/images/03012025/07/50/image_03012025_07_50_02_299699_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/07/49/image_03012025_07_49_02_789132_0003.jpg
/home/pi/Desktop/images/03012025/07/50/image_03012025_07_50_02_299699_0000.jpg
/home/pi/Desktop/images/03012025/07/50/image_03012025_07_50_02_299699_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.5277628898620605 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 07:51:02.491036
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/07/49/image_03012025_07_49_02_789132_0003.jpg', '/home/pi/Desktop/images/03012025/07/50/image_03012025_07_50_02_299699_0000.jpg', '/home/pi/Desktop/images/03012025/07/50/image_03012025_07_50_02_299699_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/07/49/image_03012025_07_49_02_789132_0003.jpg
/home/pi/Desktop/images/03012025/07/50/image_03012025_07_50_02_299699_0000.jpg
/home/pi/Desktop/images/03012025/07/50/image_03012025_07_50_02_299699_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325706484","1325706481","1325706482"],"photo_ids_order":["1325706481","1325706482","1325706484"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/cacac0676af8c539a45db39935ae7fe7.jpg","text":"TemporaryFile(/tmp/multipartBody6566385329488386213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735887130507,"filename":"image_03012025_07_50_02_299699_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/fadf34d69cae0ee2c766937af26a72be.jpg","text":"TemporaryFile(/tmp/multipartBody2430936556328190234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735887130507,"filename":"image_03012025_07_49_02_789132_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/79af706c2387219eb0bd24ec3c3e7e3e.jpg","text":"TemporaryFile(/tmp/multipartBody2661822929853403569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735887130507,"filename":"image_03012025_07_50_02_299699_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325706484","file1":"1325706482","file0":"1325706481"},"map_files_photo_id_array":[{"photo_id":"1325706484","filename":"file2"},{"photo_id":"1325706482","filename":"file1"},{"photo_id":"1325706481","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325706484":["hashtag1","hashtag2"]},{"1325706481":["hashtag1","hashtag2"]},{"1325706482":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325706484, 1325706481, 1325706482)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 34.4147002696991 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 07:52:03.106172
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/07/50/image_03012025_07_50_02_299699_0002.jpg', '/home/pi/Desktop/images/03012025/07/51/image_03012025_07_51_02_802350_0000.jpg', '/home/pi/Desktop/images/03012025/07/51/image_03012025_07_51_02_802350_0001.jpg', '/home/pi/Desktop/images/03012025/07/51/image_03012025_07_51_02_802350_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/07/50/image_03012025_07_50_02_299699_0002.jpg
/home/pi/Desktop/images/03012025/07/51/image_03012025_07_51_02_802350_0000.jpg
/home/pi/Desktop/images/03012025/07/51/image_03012025_07_51_02_802350_0001.jpg
/home/pi/Desktop/images/03012025/07/51/image_03012025_07_51_02_802350_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325706496","1325706499","1325706495","1325706501"],"photo_ids_order":["1325706495","1325706496","1325706499","1325706501"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2c104024b707f2d81bb397796df9e489.jpg","text":"TemporaryFile(/tmp/multipartBody3554354777929036304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735887193324,"filename":"image_03012025_07_51_02_802350_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c4cdd0fa4774315982bdca2e8badd4a3.jpg","text":"TemporaryFile(/tmp/multipartBody7250784187185480649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735887193324,"filename":"image_03012025_07_51_02_802350_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f41edea0d0c97cc5f3473aa865e78fd0.jpg","text":"TemporaryFile(/tmp/multipartBody770630890983218093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735887193324,"filename":"image_03012025_07_50_02_299699_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4e8ebfdc4253772b516550db31b1abd8.jpg","text":"TemporaryFile(/tmp/multipartBody2624317799638443002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735887193324,"filename":"image_03012025_07_51_02_802350_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325706499","file1":"1325706496","file0":"1325706495","file3":"1325706501"},"map_files_photo_id_array":[{"photo_id":"1325706499","filename":"file2"},{"photo_id":"1325706496","filename":"file1"},{"photo_id":"1325706495","filename":"file0"},{"photo_id":"1325706501","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325706496":["hashtag1","hashtag2"]},{"1325706499":["hashtag1","hashtag2"]},{"1325706495":["hashtag1","hashtag2"]},{"1325706501":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325706496, 1325706499, 1325706495, 1325706501)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.835927963256836 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 07:53:02.670861
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/07/51/image_03012025_07_51_02_802350_0003.jpg', '/home/pi/Desktop/images/03012025/07/52/image_03012025_07_52_02_346149_0000.jpg', '/home/pi/Desktop/images/03012025/07/52/image_03012025_07_52_02_346149_0001.jpg', '/home/pi/Desktop/images/03012025/07/52/image_03012025_07_52_02_346149_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/07/51/image_03012025_07_51_02_802350_0003.jpg
/home/pi/Desktop/images/03012025/07/52/image_03012025_07_52_02_346149_0000.jpg
/home/pi/Desktop/images/03012025/07/52/image_03012025_07_52_02_346149_0001.jpg
/home/pi/Desktop/images/03012025/07/52/image_03012025_07_52_02_346149_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.968421936035156 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 07:53:22.065473
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/07/51/image_03012025_07_51_02_802350_0003.jpg', '/home/pi/Desktop/images/03012025/07/52/image_03012025_07_52_02_346149_0000.jpg', '/home/pi/Desktop/images/03012025/07/52/image_03012025_07_52_02_346149_0001.jpg', '/home/pi/Desktop/images/03012025/07/52/image_03012025_07_52_02_346149_0002.jpg', '/home/pi/Desktop/images/03012025/07/52/image_03012025_07_52_02_346149_0003.jpg', '/home/pi/Desktop/images/03012025/07/53/image_03012025_07_53_02_982313_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/07/51/image_03012025_07_51_02_802350_0003.jpg
/home/pi/Desktop/images/03012025/07/52/image_03012025_07_52_02_346149_0000.jpg
/home/pi/Desktop/images/03012025/07/52/image_03012025_07_52_02_346149_0001.jpg
/home/pi/Desktop/images/03012025/07/52/image_03012025_07_52_02_346149_0002.jpg
/home/pi/Desktop/images/03012025/07/52/image_03012025_07_52_02_346149_0003.jpg
/home/pi/Desktop/images/03012025/07/53/image_03012025_07_53_02_982313_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325706589","1325706553","1325706570","1325706567","1325706549","1325706557"],"photo_ids_order":["1325706549","1325706553","1325706557","1325706567","1325706570","1325706589"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/909aaff23e0b66ffac20812f0c024598.jpg","text":"TemporaryFile(/tmp/multipartBody5193205603461476970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735887277101,"filename":"image_03012025_07_53_02_982313_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7466c97cb23ec4ff66f544e43fe6f26c.jpg","text":"TemporaryFile(/tmp/multipartBody5482948097413303373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735887277101,"filename":"image_03012025_07_52_02_346149_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b55e42e626339e1de51a4168638aceb5.jpg","text":"TemporaryFile(/tmp/multipartBody799857522072179092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735887277101,"filename":"image_03012025_07_52_02_346149_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3aa0d2886e2f576cd2c700a971c9638f.jpg","text":"TemporaryFile(/tmp/multipartBody818119028030847142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735887277101,"filename":"image_03012025_07_52_02_346149_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/92669d1924fdaebd643c8b0c207f06b9.jpg","text":"TemporaryFile(/tmp/multipartBody716912676570624976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735887277101,"filename":"image_03012025_07_51_02_802350_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8e8be115332fe588409181e1aa7b6e3a.jpg","text":"TemporaryFile(/tmp/multipartBody7953800610836149778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735887277101,"filename":"image_03012025_07_52_02_346149_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325706557","file1":"1325706553","file0":"1325706549","file4":"1325706570","file5":"1325706589","file3":"1325706567"},"map_files_photo_id_array":[{"photo_id":"1325706589","filename":"file5"},{"photo_id":"1325706557","filename":"file2"},{"photo_id":"1325706570","filename":"file4"},{"photo_id":"1325706553","filename":"file1"},{"photo_id":"1325706549","filename":"file0"},{"photo_id":"1325706567","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325706589":["hashtag1","hashtag2"]},{"1325706553":["hashtag1","hashtag2"]},{"1325706570":["hashtag1","hashtag2"]},{"1325706567":["hashtag1","hashtag2"]},{"1325706549":["hashtag1","hashtag2"]},{"1325706557":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325706589, 1325706553, 1325706570, 1325706567, 1325706549, 1325706557)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.15265464782715 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 07:54:21.754194
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/07/53/image_03012025_07_53_02_982313_0001.jpg', '/home/pi/Desktop/images/03012025/07/53/image_03012025_07_53_02_982313_0002.jpg', '/home/pi/Desktop/images/03012025/07/53/image_03012025_07_53_02_982313_0003.jpg', '/home/pi/Desktop/images/03012025/07/54/image_03012025_07_54_02_481062_0000.jpg', '/home/pi/Desktop/images/03012025/07/54/image_03012025_07_54_02_481062_0001.jpg', '/home/pi/Desktop/images/03012025/07/54/image_03012025_07_54_02_481062_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/07/53/image_03012025_07_53_02_982313_0001.jpg
/home/pi/Desktop/images/03012025/07/53/image_03012025_07_53_02_982313_0002.jpg
/home/pi/Desktop/images/03012025/07/53/image_03012025_07_53_02_982313_0003.jpg
/home/pi/Desktop/images/03012025/07/54/image_03012025_07_54_02_481062_0000.jpg
/home/pi/Desktop/images/03012025/07/54/image_03012025_07_54_02_481062_0001.jpg
/home/pi/Desktop/images/03012025/07/54/image_03012025_07_54_02_481062_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325706643","1325706652","1325706678","1325706648","1325706603","1325706638"],"photo_ids_order":["1325706603","1325706638","1325706643","1325706648","1325706652","1325706678"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c517edbd8d75f2d1762c4a7099f0d5c6.jpg","text":"TemporaryFile(/tmp/multipartBody5391178919921562006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735887336770,"filename":"image_03012025_07_53_02_982313_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4efb7b5ed0b4dc04e9ec3bcd2449cd2c.jpg","text":"TemporaryFile(/tmp/multipartBody7717425310157385789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735887336770,"filename":"image_03012025_07_54_02_481062_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b48f833cbb624bd9b848c494920706f0.jpg","text":"TemporaryFile(/tmp/multipartBody2784186417332717192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735887336770,"filename":"image_03012025_07_54_02_481062_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/66f0dbe8a3e45f7d6a98061dabe944ba.jpg","text":"TemporaryFile(/tmp/multipartBody3501686164998739476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735887336770,"filename":"image_03012025_07_54_02_481062_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b2c98d89d6ee24926c84b83acfb9c4e6.jpg","text":"TemporaryFile(/tmp/multipartBody6536848517299963514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735887336770,"filename":"image_03012025_07_53_02_982313_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d9acdf1077d9abae7bdb1b014a63349f.jpg","text":"TemporaryFile(/tmp/multipartBody1114723223128933371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735887336770,"filename":"image_03012025_07_53_02_982313_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325706643","file1":"1325706638","file0":"1325706603","file4":"1325706652","file5":"1325706678","file3":"1325706648"},"map_files_photo_id_array":[{"photo_id":"1325706678","filename":"file5"},{"photo_id":"1325706643","filename":"file2"},{"photo_id":"1325706652","filename":"file4"},{"photo_id":"1325706638","filename":"file1"},{"photo_id":"1325706603","filename":"file0"},{"photo_id":"1325706648","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325706643":["hashtag1","hashtag2"]},{"1325706652":["hashtag1","hashtag2"]},{"1325706678":["hashtag1","hashtag2"]},{"1325706648":["hashtag1","hashtag2"]},{"1325706603":["hashtag1","hashtag2"]},{"1325706638":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325706643, 1325706652, 1325706678, 1325706648, 1325706603, 1325706638)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.54663586616516 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 07:55:22.286995
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/07/54/image_03012025_07_54_02_481062_0003.jpg', '/home/pi/Desktop/images/03012025/07/55/image_03012025_07_55_02_172860_0000.jpg', '/home/pi/Desktop/images/03012025/07/55/image_03012025_07_55_02_172860_0001.jpg', '/home/pi/Desktop/images/03012025/07/55/image_03012025_07_55_02_172860_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/07/54/image_03012025_07_54_02_481062_0003.jpg
/home/pi/Desktop/images/03012025/07/55/image_03012025_07_55_02_172860_0000.jpg
/home/pi/Desktop/images/03012025/07/55/image_03012025_07_55_02_172860_0001.jpg
/home/pi/Desktop/images/03012025/07/55/image_03012025_07_55_02_172860_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325706724","1325706721","1325706718","1325706714"],"photo_ids_order":["1325706714","1325706718","1325706721","1325706724"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/731c1d69edc43fa33e209b471d3189c6.jpg","text":"TemporaryFile(/tmp/multipartBody3642220083811142625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735887392561,"filename":"image_03012025_07_55_02_172860_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3f05ffefe67af3b6f9c26e82bde1bbfc.jpg","text":"TemporaryFile(/tmp/multipartBody2165398111521059581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735887392561,"filename":"image_03012025_07_55_02_172860_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d0e7ff349215e42e71e224230f99c227.jpg","text":"TemporaryFile(/tmp/multipartBody6790216286146003684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735887392561,"filename":"image_03012025_07_55_02_172860_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b10407d269b1f46181f580818fe23108.jpg","text":"TemporaryFile(/tmp/multipartBody6501873989196449423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735887392561,"filename":"image_03012025_07_54_02_481062_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325706721","file1":"1325706718","file0":"1325706714","file3":"1325706724"},"map_files_photo_id_array":[{"photo_id":"1325706721","filename":"file2"},{"photo_id":"1325706718","filename":"file1"},{"photo_id":"1325706714","filename":"file0"},{"photo_id":"1325706724","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325706724":["hashtag1","hashtag2"]},{"1325706721":["hashtag1","hashtag2"]},{"1325706718":["hashtag1","hashtag2"]},{"1325706714":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325706724, 1325706721, 1325706718, 1325706714)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.64540219306946 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 07:56:02.232948
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 07:56:21.766932
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/07/55/image_03012025_07_55_02_172860_0003.jpg', '/home/pi/Desktop/images/03012025/07/56/image_03012025_07_56_02_682054_0000.jpg', '/home/pi/Desktop/images/03012025/07/56/image_03012025_07_56_02_682054_0001.jpg', '/home/pi/Desktop/images/03012025/07/56/image_03012025_07_56_02_682054_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/07/55/image_03012025_07_55_02_172860_0003.jpg
/home/pi/Desktop/images/03012025/07/56/image_03012025_07_56_02_682054_0000.jpg
/home/pi/Desktop/images/03012025/07/56/image_03012025_07_56_02_682054_0001.jpg
/home/pi/Desktop/images/03012025/07/56/image_03012025_07_56_02_682054_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.676239013671875 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 07:57:02.845399
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/07/55/image_03012025_07_55_02_172860_0003.jpg', '/home/pi/Desktop/images/03012025/07/56/image_03012025_07_56_02_682054_0000.jpg', '/home/pi/Desktop/images/03012025/07/56/image_03012025_07_56_02_682054_0001.jpg', '/home/pi/Desktop/images/03012025/07/56/image_03012025_07_56_02_682054_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/07/55/image_03012025_07_55_02_172860_0003.jpg
/home/pi/Desktop/images/03012025/07/56/image_03012025_07_56_02_682054_0000.jpg
/home/pi/Desktop/images/03012025/07/56/image_03012025_07_56_02_682054_0001.jpg
/home/pi/Desktop/images/03012025/07/56/image_03012025_07_56_02_682054_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325706790","1325706783","1325706782","1325706821"],"photo_ids_order":["1325706782","1325706783","1325706790","1325706821"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a1f4fb3284b04bdc088c49df287ce6d6.jpg","text":"TemporaryFile(/tmp/multipartBody548865623194178156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735887493075,"filename":"image_03012025_07_56_02_682054_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/de5daf474e7d5d5ab9b58b2b61b00c35.jpg","text":"TemporaryFile(/tmp/multipartBody1432146779600861335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735887493075,"filename":"image_03012025_07_56_02_682054_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0ce0dd80285e1112453bec0452b32840.jpg","text":"TemporaryFile(/tmp/multipartBody5323319249246737613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735887493075,"filename":"image_03012025_07_55_02_172860_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/aa4cc9ee1b6af43dbd9e09c8831d9c4f.jpg","text":"TemporaryFile(/tmp/multipartBody822378145766123234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735887493075,"filename":"image_03012025_07_56_02_682054_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325706790","file1":"1325706783","file0":"1325706782","file3":"1325706821"},"map_files_photo_id_array":[{"photo_id":"1325706790","filename":"file2"},{"photo_id":"1325706783","filename":"file1"},{"photo_id":"1325706782","filename":"file0"},{"photo_id":"1325706821","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325706790":["hashtag1","hashtag2"]},{"1325706783":["hashtag1","hashtag2"]},{"1325706782":["hashtag1","hashtag2"]},{"1325706821":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325706790, 1325706783, 1325706782, 1325706821)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.99176502227783 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 07:59:02.961052
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 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-03 07:59:22.239729
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/07/56/image_03012025_07_56_02_682054_0003.jpg', '/home/pi/Desktop/images/03012025/07/57/image_03012025_07_57_02_168390_0000.jpg', '/home/pi/Desktop/images/03012025/07/57/image_03012025_07_57_02_168390_0001.jpg', '/home/pi/Desktop/images/03012025/07/57/image_03012025_07_57_02_168390_0002.jpg', '/home/pi/Desktop/images/03012025/07/57/image_03012025_07_57_02_168390_0003.jpg', '/home/pi/Desktop/images/03012025/07/58/image_03012025_07_58_02_664126_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/07/56/image_03012025_07_56_02_682054_0003.jpg
/home/pi/Desktop/images/03012025/07/57/image_03012025_07_57_02_168390_0000.jpg
/home/pi/Desktop/images/03012025/07/57/image_03012025_07_57_02_168390_0001.jpg
/home/pi/Desktop/images/03012025/07/57/image_03012025_07_57_02_168390_0002.jpg
/home/pi/Desktop/images/03012025/07/57/image_03012025_07_57_02_168390_0003.jpg
/home/pi/Desktop/images/03012025/07/58/image_03012025_07_58_02_664126_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325708214","1325708100","1325708258","1325708249","1325708144","1325708254"],"photo_ids_order":["1325708100","1325708144","1325708214","1325708249","1325708254","1325708258"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/dea13e3c26c92b0def3358af0af72dcd.jpg","text":"TemporaryFile(/tmp/multipartBody4135202533519954411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735887637355,"filename":"image_03012025_07_57_02_168390_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/df0e7d4ebcca7f5df07578f2ca754fa6.jpg","text":"TemporaryFile(/tmp/multipartBody5360642901144329330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735887637355,"filename":"image_03012025_07_56_02_682054_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/260a228aaba51d0af8d42f50af3bbdd3.jpg","text":"TemporaryFile(/tmp/multipartBody1579463179293722140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735887637355,"filename":"image_03012025_07_58_02_664126_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/366094e243d6922008d39e923484b87c.jpg","text":"TemporaryFile(/tmp/multipartBody2648267151731702950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735887637355,"filename":"image_03012025_07_57_02_168390_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/29ea9e0a6c89b5edbbda5c31e82869d9.jpg","text":"TemporaryFile(/tmp/multipartBody6859658963958733399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735887637355,"filename":"image_03012025_07_57_02_168390_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e6ad2f43af5ae0adbe38bfdf6f1a0757.jpg","text":"TemporaryFile(/tmp/multipartBody7119381232806770714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735887637355,"filename":"image_03012025_07_57_02_168390_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325708214","file1":"1325708144","file0":"1325708100","file4":"1325708254","file5":"1325708258","file3":"1325708249"},"map_files_photo_id_array":[{"photo_id":"1325708258","filename":"file5"},{"photo_id":"1325708214","filename":"file2"},{"photo_id":"1325708254","filename":"file4"},{"photo_id":"1325708144","filename":"file1"},{"photo_id":"1325708100","filename":"file0"},{"photo_id":"1325708249","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325708214":["hashtag1","hashtag2"]},{"1325708100":["hashtag1","hashtag2"]},{"1325708258":["hashtag1","hashtag2"]},{"1325708249":["hashtag1","hashtag2"]},{"1325708144":["hashtag1","hashtag2"]},{"1325708254":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325708214, 1325708100, 1325708258, 1325708249, 1325708144, 1325708254)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.89353275299072 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 08:00:21.856630
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/07/58/image_03012025_07_58_02_664126_0001.jpg', '/home/pi/Desktop/images/03012025/07/58/image_03012025_07_58_02_664126_0002.jpg', '/home/pi/Desktop/images/03012025/07/58/image_03012025_07_58_02_664126_0003.jpg', '/home/pi/Desktop/images/03012025/07/59/image_03012025_07_59_02_379015_0000.jpg', '/home/pi/Desktop/images/03012025/07/59/image_03012025_07_59_02_379015_0001.jpg', '/home/pi/Desktop/images/03012025/07/59/image_03012025_07_59_02_379015_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/07/58/image_03012025_07_58_02_664126_0001.jpg
/home/pi/Desktop/images/03012025/07/58/image_03012025_07_58_02_664126_0002.jpg
/home/pi/Desktop/images/03012025/07/58/image_03012025_07_58_02_664126_0003.jpg
/home/pi/Desktop/images/03012025/07/59/image_03012025_07_59_02_379015_0000.jpg
/home/pi/Desktop/images/03012025/07/59/image_03012025_07_59_02_379015_0001.jpg
/home/pi/Desktop/images/03012025/07/59/image_03012025_07_59_02_379015_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":["1325708286","1325708289","1325708276","1325708279","1325708284","1325708311"],"photo_ids_order":["1325708276","1325708279","1325708284","1325708286","1325708289","1325708311"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/44a47c2b4a46a02283c38fbd6a15b1f5.jpg","text":"TemporaryFile(/tmp/multipartBody7705734702102176449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735887696773,"filename":"image_03012025_07_59_02_379015_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f83014950e04ed50d5620bc9c215f13e.jpg","text":"TemporaryFile(/tmp/multipartBody771384393387833222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735887696773,"filename":"image_03012025_07_59_02_379015_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a04b547ec685a2b34f85c8c5be99cdf8.jpg","text":"TemporaryFile(/tmp/multipartBody7413127687007719510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735887696773,"filename":"image_03012025_07_58_02_664126_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f2c5a59ca6fa19028a19d4f26ada26c9.jpg","text":"TemporaryFile(/tmp/multipartBody7007784634803194893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735887696773,"filename":"image_03012025_07_58_02_664126_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9eb1920f2268c2f0bb2069128082c880.jpg","text":"TemporaryFile(/tmp/multipartBody1010088784131671549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735887696773,"filename":"image_03012025_07_58_02_664126_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/51502dfefa9e11f05622ab457c3ba981.jpg","text":"TemporaryFile(/tmp/multipartBody6134514768716150341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735887696773,"filename":"image_03012025_07_59_02_379015_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325708284","file1":"1325708279","file0":"1325708276","file4":"1325708289","file5":"1325708311","file3":"1325708286"},"map_files_photo_id_array":[{"photo_id":"1325708311","filename":"file5"},{"photo_id":"1325708284","filename":"file2"},{"photo_id":"1325708289","filename":"file4"},{"photo_id":"1325708279","filename":"file1"},{"photo_id":"1325708276","filename":"file0"},{"photo_id":"1325708286","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325708286":["hashtag1","hashtag2"]},{"1325708289":["hashtag1","hashtag2"]},{"1325708276":["hashtag1","hashtag2"]},{"1325708279":["hashtag1","hashtag2"]},{"1325708284":["hashtag1","hashtag2"]},{"1325708311":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325708286, 1325708289, 1325708276, 1325708279, 1325708284, 1325708311)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.08512258529663 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 08:02:02.333347
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/07/59/image_03012025_07_59_02_379015_0003.jpg', '/home/pi/Desktop/images/03012025/08/00/image_03012025_08_00_02_596369_0000.jpg', '/home/pi/Desktop/images/03012025/08/00/image_03012025_08_00_02_596369_0002.jpg', '/home/pi/Desktop/images/03012025/08/00/image_03012025_08_00_02_596369_0003.jpg', '/home/pi/Desktop/images/03012025/08/01/image_03012025_08_01_02_238576_0000.jpg', '/home/pi/Desktop/images/03012025/08/01/image_03012025_08_01_02_238576_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/07/59/image_03012025_07_59_02_379015_0003.jpg
/home/pi/Desktop/images/03012025/08/00/image_03012025_08_00_02_596369_0000.jpg
/home/pi/Desktop/images/03012025/08/00/image_03012025_08_00_02_596369_0002.jpg
/home/pi/Desktop/images/03012025/08/00/image_03012025_08_00_02_596369_0003.jpg
/home/pi/Desktop/images/03012025/08/01/image_03012025_08_01_02_238576_0000.jpg
/home/pi/Desktop/images/03012025/08/01/image_03012025_08_01_02_238576_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325708364","1325708328","1325708337","1325708339","1325708360","1325708324"],"photo_ids_order":["1325708324","1325708328","1325708337","1325708339","1325708360","1325708364"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2d683948b09981df4dc885eebf74d039.jpg","text":"TemporaryFile(/tmp/multipartBody6583672702311371967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735887797371,"filename":"image_03012025_08_01_02_238576_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/be00ed02e1deb17bcf9d71e0942dc0d6.jpg","text":"TemporaryFile(/tmp/multipartBody1144248425080641414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735887797371,"filename":"image_03012025_08_00_02_596369_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3daa8ef7c7fd386a4bbb400883be007e.jpg","text":"TemporaryFile(/tmp/multipartBody621413310727902033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735887797371,"filename":"image_03012025_08_00_02_596369_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d634e8ee8383130bd593123f27434fc8.jpg","text":"TemporaryFile(/tmp/multipartBody8968602890587756836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735887797371,"filename":"image_03012025_08_00_02_596369_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2faf0807e17ff64d646fb5288bb88522.jpg","text":"TemporaryFile(/tmp/multipartBody4866659304336400199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735887797371,"filename":"image_03012025_08_01_02_238576_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/33d019878e5afffc03f26395b6d43d8b.jpg","text":"TemporaryFile(/tmp/multipartBody360418684094731637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735887797371,"filename":"image_03012025_07_59_02_379015_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325708337","file1":"1325708328","file0":"1325708324","file4":"1325708360","file5":"1325708364","file3":"1325708339"},"map_files_photo_id_array":[{"photo_id":"1325708364","filename":"file5"},{"photo_id":"1325708337","filename":"file2"},{"photo_id":"1325708360","filename":"file4"},{"photo_id":"1325708328","filename":"file1"},{"photo_id":"1325708324","filename":"file0"},{"photo_id":"1325708339","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325708364":["hashtag1","hashtag2"]},{"1325708328":["hashtag1","hashtag2"]},{"1325708337":["hashtag1","hashtag2"]},{"1325708339":["hashtag1","hashtag2"]},{"1325708360":["hashtag1","hashtag2"]},{"1325708324":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325708364, 1325708328, 1325708337, 1325708339, 1325708360, 1325708324)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.3635995388031 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 08:03:03.021256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/08/01/image_03012025_08_01_02_238576_0002.jpg', '/home/pi/Desktop/images/03012025/08/01/image_03012025_08_01_02_238576_0003.jpg', '/home/pi/Desktop/images/03012025/08/02/image_03012025_08_02_02_744337_0000.jpg', '/home/pi/Desktop/images/03012025/08/02/image_03012025_08_02_02_744337_0001.jpg', '/home/pi/Desktop/images/03012025/08/02/image_03012025_08_02_02_744337_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/08/01/image_03012025_08_01_02_238576_0002.jpg
/home/pi/Desktop/images/03012025/08/01/image_03012025_08_01_02_238576_0003.jpg
/home/pi/Desktop/images/03012025/08/02/image_03012025_08_02_02_744337_0000.jpg
/home/pi/Desktop/images/03012025/08/02/image_03012025_08_02_02_744337_0001.jpg
/home/pi/Desktop/images/03012025/08/02/image_03012025_08_02_02_744337_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 12.324224472045898 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 08:03:22.465484
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/08/01/image_03012025_08_01_02_238576_0002.jpg', '/home/pi/Desktop/images/03012025/08/01/image_03012025_08_01_02_238576_0003.jpg', '/home/pi/Desktop/images/03012025/08/02/image_03012025_08_02_02_744337_0000.jpg', '/home/pi/Desktop/images/03012025/08/02/image_03012025_08_02_02_744337_0001.jpg', '/home/pi/Desktop/images/03012025/08/02/image_03012025_08_02_02_744337_0002.jpg', '/home/pi/Desktop/images/03012025/08/02/image_03012025_08_02_02_744337_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/08/01/image_03012025_08_01_02_238576_0002.jpg
/home/pi/Desktop/images/03012025/08/01/image_03012025_08_01_02_238576_0003.jpg
/home/pi/Desktop/images/03012025/08/02/image_03012025_08_02_02_744337_0000.jpg
/home/pi/Desktop/images/03012025/08/02/image_03012025_08_02_02_744337_0001.jpg
/home/pi/Desktop/images/03012025/08/02/image_03012025_08_02_02_744337_0002.jpg
/home/pi/Desktop/images/03012025/08/02/image_03012025_08_02_02_744337_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325708527","1325708538","1325708540","1325708533","1325708482","1325708536"],"photo_ids_order":["1325708482","1325708527","1325708533","1325708536","1325708538","1325708540"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/889937ab2df190f55ce0495722803d61.jpg","text":"TemporaryFile(/tmp/multipartBody6407149649610769451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735887877488,"filename":"image_03012025_08_01_02_238576_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/28bdc7ad885d0ba26b644280ea164008.jpg","text":"TemporaryFile(/tmp/multipartBody2474142433172103595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735887877488,"filename":"image_03012025_08_02_02_744337_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b8725cb75e98de3bdf867308f44a5fef.jpg","text":"TemporaryFile(/tmp/multipartBody6019517161386379359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735887877488,"filename":"image_03012025_08_02_02_744337_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/474f35b1d6a73b54e1170b1c6d0d978c.jpg","text":"TemporaryFile(/tmp/multipartBody2375982262390412042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735887877488,"filename":"image_03012025_08_02_02_744337_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/fb180444cfbf03c38002a62aad51f74a.jpg","text":"TemporaryFile(/tmp/multipartBody1625613380366949925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735887877488,"filename":"image_03012025_08_01_02_238576_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b9108b25dd06018b6332642d9403d272.jpg","text":"TemporaryFile(/tmp/multipartBody8170845044944435279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735887877488,"filename":"image_03012025_08_02_02_744337_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325708533","file1":"1325708527","file0":"1325708482","file4":"1325708538","file5":"1325708540","file3":"1325708536"},"map_files_photo_id_array":[{"photo_id":"1325708540","filename":"file5"},{"photo_id":"1325708533","filename":"file2"},{"photo_id":"1325708538","filename":"file4"},{"photo_id":"1325708527","filename":"file1"},{"photo_id":"1325708482","filename":"file0"},{"photo_id":"1325708536","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325708527":["hashtag1","hashtag2"]},{"1325708538":["hashtag1","hashtag2"]},{"1325708540":["hashtag1","hashtag2"]},{"1325708533":["hashtag1","hashtag2"]},{"1325708482":["hashtag1","hashtag2"]},{"1325708536":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325708527, 1325708538, 1325708540, 1325708533, 1325708482, 1325708536)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.81167268753052 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 08:04:22.094848
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/08/03/image_03012025_08_03_02_278478_0000.jpg', '/home/pi/Desktop/images/03012025/08/03/image_03012025_08_03_02_278478_0001.jpg', '/home/pi/Desktop/images/03012025/08/03/image_03012025_08_03_02_278478_0002.jpg', '/home/pi/Desktop/images/03012025/08/03/image_03012025_08_03_02_278478_0003.jpg', '/home/pi/Desktop/images/03012025/08/04/image_03012025_08_04_02_859208_0000.jpg', '/home/pi/Desktop/images/03012025/08/04/image_03012025_08_04_02_859208_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/08/03/image_03012025_08_03_02_278478_0000.jpg
/home/pi/Desktop/images/03012025/08/03/image_03012025_08_03_02_278478_0001.jpg
/home/pi/Desktop/images/03012025/08/03/image_03012025_08_03_02_278478_0002.jpg
/home/pi/Desktop/images/03012025/08/03/image_03012025_08_03_02_278478_0003.jpg
/home/pi/Desktop/images/03012025/08/04/image_03012025_08_04_02_859208_0000.jpg
/home/pi/Desktop/images/03012025/08/04/image_03012025_08_04_02_859208_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.760370254516602 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 08:05:03.193394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/08/03/image_03012025_08_03_02_278478_0000.jpg', '/home/pi/Desktop/images/03012025/08/03/image_03012025_08_03_02_278478_0001.jpg', '/home/pi/Desktop/images/03012025/08/03/image_03012025_08_03_02_278478_0002.jpg', '/home/pi/Desktop/images/03012025/08/03/image_03012025_08_03_02_278478_0003.jpg', '/home/pi/Desktop/images/03012025/08/04/image_03012025_08_04_02_859208_0000.jpg', '/home/pi/Desktop/images/03012025/08/04/image_03012025_08_04_02_859208_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/08/03/image_03012025_08_03_02_278478_0000.jpg
/home/pi/Desktop/images/03012025/08/03/image_03012025_08_03_02_278478_0001.jpg
/home/pi/Desktop/images/03012025/08/03/image_03012025_08_03_02_278478_0002.jpg
/home/pi/Desktop/images/03012025/08/03/image_03012025_08_03_02_278478_0003.jpg
/home/pi/Desktop/images/03012025/08/04/image_03012025_08_04_02_859208_0000.jpg
/home/pi/Desktop/images/03012025/08/04/image_03012025_08_04_02_859208_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325708613","1325708607","1325708616","1325708619","1325708610","1325708604"],"photo_ids_order":["1325708604","1325708607","1325708610","1325708613","1325708616","1325708619"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ed134e966869ea96ece72e1544e4ed1d.jpg","text":"TemporaryFile(/tmp/multipartBody5916690050308921041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735887978436,"filename":"image_03012025_08_03_02_278478_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2c4998972adfdce829f86a5ca944e5a3.jpg","text":"TemporaryFile(/tmp/multipartBody7417441561189760080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735887978436,"filename":"image_03012025_08_03_02_278478_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a7db1019577cce2bc8d6489409ce23d2.jpg","text":"TemporaryFile(/tmp/multipartBody4029726438527149977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735887978436,"filename":"image_03012025_08_04_02_859208_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/11f29eb0c450e86f752cf53319ef3cc2.jpg","text":"TemporaryFile(/tmp/multipartBody4531632604967908071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735887978436,"filename":"image_03012025_08_04_02_859208_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/cf9c0055b6e2aaf6fe1905a54d4f5843.jpg","text":"TemporaryFile(/tmp/multipartBody3168353129621464858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735887978436,"filename":"image_03012025_08_03_02_278478_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/615b89f8f661093476c99935ee869c5c.jpg","text":"TemporaryFile(/tmp/multipartBody7873343452194627081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735887978436,"filename":"image_03012025_08_03_02_278478_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325708610","file1":"1325708607","file0":"1325708604","file4":"1325708616","file5":"1325708619","file3":"1325708613"},"map_files_photo_id_array":[{"photo_id":"1325708619","filename":"file5"},{"photo_id":"1325708610","filename":"file2"},{"photo_id":"1325708616","filename":"file4"},{"photo_id":"1325708607","filename":"file1"},{"photo_id":"1325708604","filename":"file0"},{"photo_id":"1325708613","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325708613":["hashtag1","hashtag2"]},{"1325708607":["hashtag1","hashtag2"]},{"1325708616":["hashtag1","hashtag2"]},{"1325708619":["hashtag1","hashtag2"]},{"1325708610":["hashtag1","hashtag2"]},{"1325708604":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325708613, 1325708607, 1325708616, 1325708619, 1325708610, 1325708604)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.41906762123108 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 08:06:02.777114
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/08/04/image_03012025_08_04_02_859208_0002.jpg', '/home/pi/Desktop/images/03012025/08/04/image_03012025_08_04_02_859208_0003.jpg', '/home/pi/Desktop/images/03012025/08/05/image_03012025_08_05_02_491994_0000.jpg', '/home/pi/Desktop/images/03012025/08/05/image_03012025_08_05_02_491994_0001.jpg', '/home/pi/Desktop/images/03012025/08/05/image_03012025_08_05_02_491994_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/08/04/image_03012025_08_04_02_859208_0002.jpg
/home/pi/Desktop/images/03012025/08/04/image_03012025_08_04_02_859208_0003.jpg
/home/pi/Desktop/images/03012025/08/05/image_03012025_08_05_02_491994_0000.jpg
/home/pi/Desktop/images/03012025/08/05/image_03012025_08_05_02_491994_0001.jpg
/home/pi/Desktop/images/03012025/08/05/image_03012025_08_05_02_491994_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325708760","1325708625","1325708861","1325708636","1325708623"],"photo_ids_order":["1325708623","1325708625","1325708636","1325708760","1325708861"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3d92d8294c1e873d7b2796c2ec5eb15f.jpg","text":"TemporaryFile(/tmp/multipartBody425733177051090182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735888035580,"filename":"image_03012025_08_05_02_491994_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/455c6fb73794ccdba3b511d367ce3a76.jpg","text":"TemporaryFile(/tmp/multipartBody292569922016979752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735888035580,"filename":"image_03012025_08_04_02_859208_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b1ded8359cb58a876fee19c264cc92b6.jpg","text":"TemporaryFile(/tmp/multipartBody4003329856228376431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735888035580,"filename":"image_03012025_08_05_02_491994_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d9c4815c8845d38fbce5af1ee04731bc.jpg","text":"TemporaryFile(/tmp/multipartBody6067720251201002808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735888035580,"filename":"image_03012025_08_05_02_491994_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/14d9b3f41b38abfafe78076a9e4c9495.jpg","text":"TemporaryFile(/tmp/multipartBody9176494711660135049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735888035580,"filename":"image_03012025_08_04_02_859208_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325708636","file1":"1325708625","file0":"1325708623","file4":"1325708861","file3":"1325708760"},"map_files_photo_id_array":[{"photo_id":"1325708636","filename":"file2"},{"photo_id":"1325708861","filename":"file4"},{"photo_id":"1325708625","filename":"file1"},{"photo_id":"1325708623","filename":"file0"},{"photo_id":"1325708760","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325708760":["hashtag1","hashtag2"]},{"1325708625":["hashtag1","hashtag2"]},{"1325708861":["hashtag1","hashtag2"]},{"1325708636":["hashtag1","hashtag2"]},{"1325708623":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325708760, 1325708625, 1325708861, 1325708636, 1325708623)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 48.33351969718933 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 08:07:02.506663
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/08/05/image_03012025_08_05_02_491994_0003.jpg', '/home/pi/Desktop/images/03012025/08/06/image_03012025_08_06_03_042074_0000.jpg', '/home/pi/Desktop/images/03012025/08/06/image_03012025_08_06_03_042074_0001.jpg', '/home/pi/Desktop/images/03012025/08/06/image_03012025_08_06_03_042074_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/08/05/image_03012025_08_05_02_491994_0003.jpg
/home/pi/Desktop/images/03012025/08/06/image_03012025_08_06_03_042074_0000.jpg
/home/pi/Desktop/images/03012025/08/06/image_03012025_08_06_03_042074_0001.jpg
/home/pi/Desktop/images/03012025/08/06/image_03012025_08_06_03_042074_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325708904","1325708909","1325708932","1325708911"],"photo_ids_order":["1325708904","1325708909","1325708911","1325708932"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7654084390fcbbdb329593c0c6e34edc.jpg","text":"TemporaryFile(/tmp/multipartBody5249039187111069342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735888092974,"filename":"image_03012025_08_05_02_491994_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1bd5402adf746816fac418054aafcb31.jpg","text":"TemporaryFile(/tmp/multipartBody3123216904344708784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735888092974,"filename":"image_03012025_08_06_03_042074_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9e7e987ffae5e95869dddf056a4fae04.jpg","text":"TemporaryFile(/tmp/multipartBody5530629046169411898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735888092974,"filename":"image_03012025_08_06_03_042074_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/57eb72e756b107802fee22466da4d680.jpg","text":"TemporaryFile(/tmp/multipartBody3322312072969497278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735888092974,"filename":"image_03012025_08_06_03_042074_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325708911","file1":"1325708909","file0":"1325708904","file3":"1325708932"},"map_files_photo_id_array":[{"photo_id":"1325708911","filename":"file2"},{"photo_id":"1325708909","filename":"file1"},{"photo_id":"1325708904","filename":"file0"},{"photo_id":"1325708932","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325708904":["hashtag1","hashtag2"]},{"1325708909":["hashtag1","hashtag2"]},{"1325708932":["hashtag1","hashtag2"]},{"1325708911":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325708904, 1325708909, 1325708932, 1325708911)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.323216676712036 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 08:08:02.745408
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/08/06/image_03012025_08_06_03_042074_0003.jpg', '/home/pi/Desktop/images/03012025/08/07/image_03012025_08_07_02_661212_0000.jpg', '/home/pi/Desktop/images/03012025/08/07/image_03012025_08_07_02_661212_0001.jpg', '/home/pi/Desktop/images/03012025/08/07/image_03012025_08_07_02_661212_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/08/06/image_03012025_08_06_03_042074_0003.jpg
/home/pi/Desktop/images/03012025/08/07/image_03012025_08_07_02_661212_0000.jpg
/home/pi/Desktop/images/03012025/08/07/image_03012025_08_07_02_661212_0001.jpg
/home/pi/Desktop/images/03012025/08/07/image_03012025_08_07_02_661212_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325709029","1325709031","1325709034","1325709028"],"photo_ids_order":["1325709028","1325709029","1325709031","1325709034"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d328df1be7322c65548a8125daa69792.jpg","text":"TemporaryFile(/tmp/multipartBody5292938208621953346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735888152940,"filename":"image_03012025_08_07_02_661212_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/25d40d022a92653b9f6905ac8411f2e0.jpg","text":"TemporaryFile(/tmp/multipartBody5358970172671094058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735888152940,"filename":"image_03012025_08_07_02_661212_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/45c83ef32e5e076fafc2e7c5e6d33bef.jpg","text":"TemporaryFile(/tmp/multipartBody5312069486885526100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735888152940,"filename":"image_03012025_08_07_02_661212_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d9ceb1cfa06fe4339022812b0e1e0100.jpg","text":"TemporaryFile(/tmp/multipartBody2430193008669428178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735888152940,"filename":"image_03012025_08_06_03_042074_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325709031","file1":"1325709029","file0":"1325709028","file3":"1325709034"},"map_files_photo_id_array":[{"photo_id":"1325709031","filename":"file2"},{"photo_id":"1325709029","filename":"file1"},{"photo_id":"1325709028","filename":"file0"},{"photo_id":"1325709034","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325709029":["hashtag1","hashtag2"]},{"1325709031":["hashtag1","hashtag2"]},{"1325709034":["hashtag1","hashtag2"]},{"1325709028":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325709029, 1325709031, 1325709034, 1325709028)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.5121591091156 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 08:09:02.478532
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/08/07/image_03012025_08_07_02_661212_0003.jpg', '/home/pi/Desktop/images/03012025/08/08/image_03012025_08_08_02_148401_0000.jpg', '/home/pi/Desktop/images/03012025/08/08/image_03012025_08_08_02_148401_0001.jpg', '/home/pi/Desktop/images/03012025/08/08/image_03012025_08_08_02_148401_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/08/07/image_03012025_08_07_02_661212_0003.jpg
/home/pi/Desktop/images/03012025/08/08/image_03012025_08_08_02_148401_0000.jpg
/home/pi/Desktop/images/03012025/08/08/image_03012025_08_08_02_148401_0001.jpg
/home/pi/Desktop/images/03012025/08/08/image_03012025_08_08_02_148401_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325709075","1325709069","1325709080","1325709084"],"photo_ids_order":["1325709069","1325709075","1325709080","1325709084"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/fcd59279b505eb628fcf4abfb8b9322f.jpg","text":"TemporaryFile(/tmp/multipartBody1453375205433334550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735888212775,"filename":"image_03012025_08_08_02_148401_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/65aaa0f5358010d78d866dbfb154f379.jpg","text":"TemporaryFile(/tmp/multipartBody3360641025261430870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735888212775,"filename":"image_03012025_08_07_02_661212_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9287304b5ced842d4a0d306229884f72.jpg","text":"TemporaryFile(/tmp/multipartBody6609057947322512522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735888212775,"filename":"image_03012025_08_08_02_148401_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/51c4d498e8d2ff669d2424c713baddff.jpg","text":"TemporaryFile(/tmp/multipartBody3139382124508633115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735888212775,"filename":"image_03012025_08_08_02_148401_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325709080","file1":"1325709075","file0":"1325709069","file3":"1325709084"},"map_files_photo_id_array":[{"photo_id":"1325709080","filename":"file2"},{"photo_id":"1325709075","filename":"file1"},{"photo_id":"1325709069","filename":"file0"},{"photo_id":"1325709084","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325709075":["hashtag1","hashtag2"]},{"1325709069":["hashtag1","hashtag2"]},{"1325709080":["hashtag1","hashtag2"]},{"1325709084":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325709075, 1325709069, 1325709080, 1325709084)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.878957748413086 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 08:10:03.034798
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/08/08/image_03012025_08_08_02_148401_0003.jpg', '/home/pi/Desktop/images/03012025/08/09/image_03012025_08_09_02_707725_0000.jpg', '/home/pi/Desktop/images/03012025/08/09/image_03012025_08_09_02_707725_0001.jpg', '/home/pi/Desktop/images/03012025/08/09/image_03012025_08_09_02_707725_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/08/08/image_03012025_08_08_02_148401_0003.jpg
/home/pi/Desktop/images/03012025/08/09/image_03012025_08_09_02_707725_0000.jpg
/home/pi/Desktop/images/03012025/08/09/image_03012025_08_09_02_707725_0001.jpg
/home/pi/Desktop/images/03012025/08/09/image_03012025_08_09_02_707725_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325709105","1325709108","1325709101","1325709099"],"photo_ids_order":["1325709099","1325709101","1325709105","1325709108"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6493a9e0c73dbf0b185d0b35fb5f03c8.jpg","text":"TemporaryFile(/tmp/multipartBody5087814658033290461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735888273156,"filename":"image_03012025_08_09_02_707725_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/af6837df6303c9da34d72117e850e61b.jpg","text":"TemporaryFile(/tmp/multipartBody8421195589910822370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735888273156,"filename":"image_03012025_08_09_02_707725_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/80c118d2ab08f978c05b59a29c11348d.jpg","text":"TemporaryFile(/tmp/multipartBody6152061677389972066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735888273156,"filename":"image_03012025_08_09_02_707725_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/bdf806c2a1ebde5b99d5483da8590d92.jpg","text":"TemporaryFile(/tmp/multipartBody7094431900459026054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735888273156,"filename":"image_03012025_08_08_02_148401_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325709105","file1":"1325709101","file0":"1325709099","file3":"1325709108"},"map_files_photo_id_array":[{"photo_id":"1325709105","filename":"file2"},{"photo_id":"1325709101","filename":"file1"},{"photo_id":"1325709099","filename":"file0"},{"photo_id":"1325709108","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325709105":["hashtag1","hashtag2"]},{"1325709108":["hashtag1","hashtag2"]},{"1325709101":["hashtag1","hashtag2"]},{"1325709099":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325709105, 1325709108, 1325709101, 1325709099)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.034555196762085 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 08:11:02.610406
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/08/09/image_03012025_08_09_02_707725_0003.jpg', '/home/pi/Desktop/images/03012025/08/10/image_03012025_08_10_02_265806_0000.jpg', '/home/pi/Desktop/images/03012025/08/10/image_03012025_08_10_02_265806_0001.jpg', '/home/pi/Desktop/images/03012025/08/10/image_03012025_08_10_02_265806_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/08/09/image_03012025_08_09_02_707725_0003.jpg
/home/pi/Desktop/images/03012025/08/10/image_03012025_08_10_02_265806_0000.jpg
/home/pi/Desktop/images/03012025/08/10/image_03012025_08_10_02_265806_0001.jpg
/home/pi/Desktop/images/03012025/08/10/image_03012025_08_10_02_265806_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325709152","1325709154","1325709157","1325709150"],"photo_ids_order":["1325709150","1325709152","1325709154","1325709157"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3829362bc98f68a9b9a2f9b9a4d457d0.jpg","text":"TemporaryFile(/tmp/multipartBody7713180665473808545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735888333175,"filename":"image_03012025_08_10_02_265806_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/37d3c7d2f471f499c5dcdbb9d5655769.jpg","text":"TemporaryFile(/tmp/multipartBody8996013658074438391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735888333175,"filename":"image_03012025_08_10_02_265806_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/927aa07573d92a83da7ca4f65a134eb2.jpg","text":"TemporaryFile(/tmp/multipartBody2492364891049345425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735888333175,"filename":"image_03012025_08_10_02_265806_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d1de84cc4aafff9f47cc990b7bf7934b.jpg","text":"TemporaryFile(/tmp/multipartBody4123465476635542753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735888333175,"filename":"image_03012025_08_09_02_707725_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325709154","file1":"1325709152","file0":"1325709150","file3":"1325709157"},"map_files_photo_id_array":[{"photo_id":"1325709154","filename":"file2"},{"photo_id":"1325709152","filename":"file1"},{"photo_id":"1325709150","filename":"file0"},{"photo_id":"1325709157","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325709152":["hashtag1","hashtag2"]},{"1325709154":["hashtag1","hashtag2"]},{"1325709157":["hashtag1","hashtag2"]},{"1325709150":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325709152, 1325709154, 1325709157, 1325709150)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.9344699382782 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 08:12:02.300204
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/08/10/image_03012025_08_10_02_265806_0003.jpg', '/home/pi/Desktop/images/03012025/08/11/image_03012025_08_11_03_012644_0000.jpg', '/home/pi/Desktop/images/03012025/08/11/image_03012025_08_11_03_012644_0001.jpg', '/home/pi/Desktop/images/03012025/08/11/image_03012025_08_11_03_012644_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/08/10/image_03012025_08_10_02_265806_0003.jpg
/home/pi/Desktop/images/03012025/08/11/image_03012025_08_11_03_012644_0000.jpg
/home/pi/Desktop/images/03012025/08/11/image_03012025_08_11_03_012644_0001.jpg
/home/pi/Desktop/images/03012025/08/11/image_03012025_08_11_03_012644_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.974945068359375 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 08:12:21.784943
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/08/10/image_03012025_08_10_02_265806_0003.jpg', '/home/pi/Desktop/images/03012025/08/11/image_03012025_08_11_03_012644_0000.jpg', '/home/pi/Desktop/images/03012025/08/11/image_03012025_08_11_03_012644_0001.jpg', '/home/pi/Desktop/images/03012025/08/11/image_03012025_08_11_03_012644_0002.jpg', '/home/pi/Desktop/images/03012025/08/11/image_03012025_08_11_03_012644_0003.jpg', '/home/pi/Desktop/images/03012025/08/12/image_03012025_08_12_02_530982_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/08/10/image_03012025_08_10_02_265806_0003.jpg
/home/pi/Desktop/images/03012025/08/11/image_03012025_08_11_03_012644_0000.jpg
/home/pi/Desktop/images/03012025/08/11/image_03012025_08_11_03_012644_0001.jpg
/home/pi/Desktop/images/03012025/08/11/image_03012025_08_11_03_012644_0002.jpg
/home/pi/Desktop/images/03012025/08/11/image_03012025_08_11_03_012644_0003.jpg
/home/pi/Desktop/images/03012025/08/12/image_03012025_08_12_02_530982_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325709267","1325709272","1325709275","1325709269","1325709263","1325709280"],"photo_ids_order":["1325709263","1325709267","1325709269","1325709272","1325709275","1325709280"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d999226d05a6020db04ba2840b42d6e5.jpg","text":"TemporaryFile(/tmp/multipartBody8518166685191006134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735888417072,"filename":"image_03012025_08_11_03_012644_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0cb2229bf84e51e18fcd4030bca0a157.jpg","text":"TemporaryFile(/tmp/multipartBody6661604541857178414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735888417072,"filename":"image_03012025_08_11_03_012644_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/53f2478131202b1ae7ab0943ec2d3631.jpg","text":"TemporaryFile(/tmp/multipartBody2939235785823918361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735888417072,"filename":"image_03012025_08_11_03_012644_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8d9b6969ea5390088f8e202b422c74f0.jpg","text":"TemporaryFile(/tmp/multipartBody7604520497453413963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735888417072,"filename":"image_03012025_08_11_03_012644_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/bac614d495df81a6bb033a6194d174ea.jpg","text":"TemporaryFile(/tmp/multipartBody4462518910625420262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735888417072,"filename":"image_03012025_08_10_02_265806_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/087d23d6afc3c1ff416ab70310d13096.jpg","text":"TemporaryFile(/tmp/multipartBody8151996268666890892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735888417072,"filename":"image_03012025_08_12_02_530982_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325709269","file1":"1325709267","file0":"1325709263","file4":"1325709275","file5":"1325709280","file3":"1325709272"},"map_files_photo_id_array":[{"photo_id":"1325709280","filename":"file5"},{"photo_id":"1325709269","filename":"file2"},{"photo_id":"1325709275","filename":"file4"},{"photo_id":"1325709267","filename":"file1"},{"photo_id":"1325709263","filename":"file0"},{"photo_id":"1325709272","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325709267":["hashtag1","hashtag2"]},{"1325709272":["hashtag1","hashtag2"]},{"1325709275":["hashtag1","hashtag2"]},{"1325709269":["hashtag1","hashtag2"]},{"1325709263":["hashtag1","hashtag2"]},{"1325709280":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325709267, 1325709272, 1325709275, 1325709269, 1325709263, 1325709280)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.64768099784851 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 08:13:22.382628
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/08/12/image_03012025_08_12_02_530982_0002.jpg', '/home/pi/Desktop/images/03012025/08/12/image_03012025_08_12_02_530982_0003.jpg', '/home/pi/Desktop/images/03012025/08/13/image_03012025_08_13_02_196166_0000.jpg', '/home/pi/Desktop/images/03012025/08/13/image_03012025_08_13_02_196166_0001.jpg', '/home/pi/Desktop/images/03012025/08/13/image_03012025_08_13_02_196166_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/08/12/image_03012025_08_12_02_530982_0002.jpg
/home/pi/Desktop/images/03012025/08/12/image_03012025_08_12_02_530982_0003.jpg
/home/pi/Desktop/images/03012025/08/13/image_03012025_08_13_02_196166_0000.jpg
/home/pi/Desktop/images/03012025/08/13/image_03012025_08_13_02_196166_0001.jpg
/home/pi/Desktop/images/03012025/08/13/image_03012025_08_13_02_196166_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325709333","1325709300","1325709284","1325709304","1325709307"],"photo_ids_order":["1325709284","1325709300","1325709304","1325709307","1325709333"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/dc42ea8a70027f676d4174efbb4be08c.jpg","text":"TemporaryFile(/tmp/multipartBody3214306714512612163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735888475252,"filename":"image_03012025_08_13_02_196166_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2b917056919e19f89a96a0afecdb2816.jpg","text":"TemporaryFile(/tmp/multipartBody682260677501446809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735888475252,"filename":"image_03012025_08_12_02_530982_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f7b29d6f0f776100cdd934f8f901a619.jpg","text":"TemporaryFile(/tmp/multipartBody8616343177773418683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735888475252,"filename":"image_03012025_08_12_02_530982_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a15381e670a490b8f9156be850f17c9e.jpg","text":"TemporaryFile(/tmp/multipartBody521316609057263860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735888475252,"filename":"image_03012025_08_13_02_196166_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e4a9616ae332ead644f77140efe6b7c6.jpg","text":"TemporaryFile(/tmp/multipartBody4089002556475964662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735888475252,"filename":"image_03012025_08_13_02_196166_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325709304","file1":"1325709300","file0":"1325709284","file4":"1325709333","file3":"1325709307"},"map_files_photo_id_array":[{"photo_id":"1325709304","filename":"file2"},{"photo_id":"1325709333","filename":"file4"},{"photo_id":"1325709300","filename":"file1"},{"photo_id":"1325709284","filename":"file0"},{"photo_id":"1325709307","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325709333":["hashtag1","hashtag2"]},{"1325709300":["hashtag1","hashtag2"]},{"1325709284":["hashtag1","hashtag2"]},{"1325709304":["hashtag1","hashtag2"]},{"1325709307":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325709333, 1325709300, 1325709284, 1325709304, 1325709307)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 47.391106605529785 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 08:14:21.865491
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/08/13/image_03012025_08_13_02_196166_0003.jpg', '/home/pi/Desktop/images/03012025/08/14/image_03012025_08_14_02_696865_0000.jpg', '/home/pi/Desktop/images/03012025/08/14/image_03012025_08_14_02_696865_0001.jpg', '/home/pi/Desktop/images/03012025/08/14/image_03012025_08_14_02_696865_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/08/13/image_03012025_08_13_02_196166_0003.jpg
/home/pi/Desktop/images/03012025/08/14/image_03012025_08_14_02_696865_0000.jpg
/home/pi/Desktop/images/03012025/08/14/image_03012025_08_14_02_696865_0001.jpg
/home/pi/Desktop/images/03012025/08/14/image_03012025_08_14_02_696865_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325709531","1325709534","1325709520","1325709498"],"photo_ids_order":["1325709498","1325709520","1325709531","1325709534"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/00e5f77a8052668704ae21d0b1f2a879.jpg","text":"TemporaryFile(/tmp/multipartBody6181215735355136766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735888532178,"filename":"image_03012025_08_14_02_696865_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/985a7fd9f181aaecb03a3ce0cb6dd6d4.jpg","text":"TemporaryFile(/tmp/multipartBody4705496572906588613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735888532178,"filename":"image_03012025_08_14_02_696865_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f4a8d60c90d7462bf43df84bd4ef19d7.jpg","text":"TemporaryFile(/tmp/multipartBody6713150733796567208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735888532178,"filename":"image_03012025_08_14_02_696865_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0e91aa8f19e01e3c4e2e257f6b6f0807.jpg","text":"TemporaryFile(/tmp/multipartBody1677414029685186201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735888532178,"filename":"image_03012025_08_13_02_196166_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325709531","file1":"1325709520","file0":"1325709498","file3":"1325709534"},"map_files_photo_id_array":[{"photo_id":"1325709531","filename":"file2"},{"photo_id":"1325709520","filename":"file1"},{"photo_id":"1325709498","filename":"file0"},{"photo_id":"1325709534","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325709531":["hashtag1","hashtag2"]},{"1325709534":["hashtag1","hashtag2"]},{"1325709520":["hashtag1","hashtag2"]},{"1325709498":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325709531, 1325709534, 1325709520, 1325709498)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.02704405784607 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 08:15:22.347747
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/08/14/image_03012025_08_14_02_696865_0003.jpg', '/home/pi/Desktop/images/03012025/08/15/image_03012025_08_15_02_186962_0000.jpg', '/home/pi/Desktop/images/03012025/08/15/image_03012025_08_15_02_186962_0001.jpg', '/home/pi/Desktop/images/03012025/08/15/image_03012025_08_15_02_186962_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/08/14/image_03012025_08_14_02_696865_0003.jpg
/home/pi/Desktop/images/03012025/08/15/image_03012025_08_15_02_186962_0000.jpg
/home/pi/Desktop/images/03012025/08/15/image_03012025_08_15_02_186962_0001.jpg
/home/pi/Desktop/images/03012025/08/15/image_03012025_08_15_02_186962_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325709641","1325709620","1325709649","1325709616"],"photo_ids_order":["1325709616","1325709620","1325709641","1325709649"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1f22796fa21e3d65278c320a0d6a0be0.jpg","text":"TemporaryFile(/tmp/multipartBody537397205701469823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735888592784,"filename":"image_03012025_08_15_02_186962_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/88258abd97016463e0495029590a748d.jpg","text":"TemporaryFile(/tmp/multipartBody2356741597964872843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735888592784,"filename":"image_03012025_08_15_02_186962_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2b8c926a17aefd790a9ec9e1fd358378.jpg","text":"TemporaryFile(/tmp/multipartBody6513557380706741117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735888592784,"filename":"image_03012025_08_15_02_186962_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/147f13fc76c6040647b5d0a19b0b63ad.jpg","text":"TemporaryFile(/tmp/multipartBody1767294988936228656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735888592784,"filename":"image_03012025_08_14_02_696865_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325709641","file1":"1325709620","file0":"1325709616","file3":"1325709649"},"map_files_photo_id_array":[{"photo_id":"1325709641","filename":"file2"},{"photo_id":"1325709620","filename":"file1"},{"photo_id":"1325709616","filename":"file0"},{"photo_id":"1325709649","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325709641":["hashtag1","hashtag2"]},{"1325709620":["hashtag1","hashtag2"]},{"1325709649":["hashtag1","hashtag2"]},{"1325709616":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325709641, 1325709620, 1325709649, 1325709616)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.51823449134827 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 08:16:21.874716
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/08/15/image_03012025_08_15_02_186962_0003.jpg', '/home/pi/Desktop/images/03012025/08/16/image_03012025_08_16_02_689092_0000.jpg', '/home/pi/Desktop/images/03012025/08/16/image_03012025_08_16_02_689092_0001.jpg', '/home/pi/Desktop/images/03012025/08/16/image_03012025_08_16_02_689092_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/08/15/image_03012025_08_15_02_186962_0003.jpg
/home/pi/Desktop/images/03012025/08/16/image_03012025_08_16_02_689092_0000.jpg
/home/pi/Desktop/images/03012025/08/16/image_03012025_08_16_02_689092_0001.jpg
/home/pi/Desktop/images/03012025/08/16/image_03012025_08_16_02_689092_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325709921","1325709825","1325709912","1325709916"],"photo_ids_order":["1325709825","1325709912","1325709916","1325709921"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/faa433f565bd7bb7a48904eb2a8fda73.jpg","text":"TemporaryFile(/tmp/multipartBody1875776993715778486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735888652172,"filename":"image_03012025_08_16_02_689092_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/13c8c44aea748535218062f83a5b9399.jpg","text":"TemporaryFile(/tmp/multipartBody2194851849161840619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735888652172,"filename":"image_03012025_08_15_02_186962_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/14788ad3de4102bb46b8c439ead3e92e.jpg","text":"TemporaryFile(/tmp/multipartBody3385838648973665292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735888652172,"filename":"image_03012025_08_16_02_689092_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1bf4087b067302998039cda1f2140ebf.jpg","text":"TemporaryFile(/tmp/multipartBody575157567861391633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735888652172,"filename":"image_03012025_08_16_02_689092_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325709916","file1":"1325709912","file0":"1325709825","file3":"1325709921"},"map_files_photo_id_array":[{"photo_id":"1325709916","filename":"file2"},{"photo_id":"1325709912","filename":"file1"},{"photo_id":"1325709825","filename":"file0"},{"photo_id":"1325709921","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325709921":["hashtag1","hashtag2"]},{"1325709825":["hashtag1","hashtag2"]},{"1325709912":["hashtag1","hashtag2"]},{"1325709916":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325709921, 1325709825, 1325709912, 1325709916)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.3363516330719 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 08:17:03.021445
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 08:17:22.405134
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/08/16/image_03012025_08_16_02_689092_0003.jpg', '/home/pi/Desktop/images/03012025/08/17/image_03012025_08_17_02_264359_0000.jpg', '/home/pi/Desktop/images/03012025/08/17/image_03012025_08_17_02_264359_0001.jpg', '/home/pi/Desktop/images/03012025/08/17/image_03012025_08_17_02_264359_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/08/16/image_03012025_08_16_02_689092_0003.jpg
/home/pi/Desktop/images/03012025/08/17/image_03012025_08_17_02_264359_0000.jpg
/home/pi/Desktop/images/03012025/08/17/image_03012025_08_17_02_264359_0001.jpg
/home/pi/Desktop/images/03012025/08/17/image_03012025_08_17_02_264359_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325709933","1325709950","1325709944","1325709939"],"photo_ids_order":["1325709933","1325709939","1325709944","1325709950"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f45601839253c7005bd70023c27d47a6.jpg","text":"TemporaryFile(/tmp/multipartBody2837078205658506901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735888712620,"filename":"image_03012025_08_16_02_689092_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/437833d9c87b3ebe3ab583c17b6b197e.jpg","text":"TemporaryFile(/tmp/multipartBody1813301422969246256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735888712620,"filename":"image_03012025_08_17_02_264359_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/fd96be56aed8ff7ca90e902ccb5f86cf.jpg","text":"TemporaryFile(/tmp/multipartBody8311412872150769826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735888712620,"filename":"image_03012025_08_17_02_264359_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5a9f0c955c4cff5c909703a5a9ba73d3.jpg","text":"TemporaryFile(/tmp/multipartBody6739374573112845023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735888712620,"filename":"image_03012025_08_17_02_264359_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325709944","file1":"1325709939","file0":"1325709933","file3":"1325709950"},"map_files_photo_id_array":[{"photo_id":"1325709944","filename":"file2"},{"photo_id":"1325709939","filename":"file1"},{"photo_id":"1325709933","filename":"file0"},{"photo_id":"1325709950","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325709933":["hashtag1","hashtag2"]},{"1325709950":["hashtag1","hashtag2"]},{"1325709944":["hashtag1","hashtag2"]},{"1325709939":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325709933, 1325709950, 1325709944, 1325709939)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.812094926834106 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 08:18:02.418654
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 08:18:22.077962
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/08/17/image_03012025_08_17_02_264359_0003.jpg', '/home/pi/Desktop/images/03012025/08/18/image_03012025_08_18_02_748060_0000.jpg', '/home/pi/Desktop/images/03012025/08/18/image_03012025_08_18_02_748060_0001.jpg', '/home/pi/Desktop/images/03012025/08/18/image_03012025_08_18_02_748060_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/08/17/image_03012025_08_17_02_264359_0003.jpg
/home/pi/Desktop/images/03012025/08/18/image_03012025_08_18_02_748060_0000.jpg
/home/pi/Desktop/images/03012025/08/18/image_03012025_08_18_02_748060_0001.jpg
/home/pi/Desktop/images/03012025/08/18/image_03012025_08_18_02_748060_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.844383239746094 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 08:19:03.056175
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/08/17/image_03012025_08_17_02_264359_0003.jpg', '/home/pi/Desktop/images/03012025/08/18/image_03012025_08_18_02_748060_0000.jpg', '/home/pi/Desktop/images/03012025/08/18/image_03012025_08_18_02_748060_0001.jpg', '/home/pi/Desktop/images/03012025/08/18/image_03012025_08_18_02_748060_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/08/17/image_03012025_08_17_02_264359_0003.jpg
/home/pi/Desktop/images/03012025/08/18/image_03012025_08_18_02_748060_0000.jpg
/home/pi/Desktop/images/03012025/08/18/image_03012025_08_18_02_748060_0001.jpg
/home/pi/Desktop/images/03012025/08/18/image_03012025_08_18_02_748060_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325710015","1325710035","1325710093","1325710096"],"photo_ids_order":["1325710015","1325710035","1325710093","1325710096"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f1f5950ce0a74cd388be380278ae38c9.jpg","text":"TemporaryFile(/tmp/multipartBody1410405117501400908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735888813455,"filename":"image_03012025_08_17_02_264359_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/307115dfbf93fe4d3a909ef8f0325623.jpg","text":"TemporaryFile(/tmp/multipartBody9087564656857937787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735888813455,"filename":"image_03012025_08_18_02_748060_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d6f9f2a79d9271ab4c0a4fd84a023faf.jpg","text":"TemporaryFile(/tmp/multipartBody1909173938891461346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735888813455,"filename":"image_03012025_08_18_02_748060_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e3f535fc71cb71843c7be3f007041a74.jpg","text":"TemporaryFile(/tmp/multipartBody4606643054058078603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735888813455,"filename":"image_03012025_08_18_02_748060_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325710093","file1":"1325710035","file0":"1325710015","file3":"1325710096"},"map_files_photo_id_array":[{"photo_id":"1325710093","filename":"file2"},{"photo_id":"1325710035","filename":"file1"},{"photo_id":"1325710015","filename":"file0"},{"photo_id":"1325710096","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325710015":["hashtag1","hashtag2"]},{"1325710035":["hashtag1","hashtag2"]},{"1325710093":["hashtag1","hashtag2"]},{"1325710096":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325710015, 1325710035, 1325710093, 1325710096)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.35877990722656 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 08:20:02.747891
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/08/18/image_03012025_08_18_02_748060_0003.jpg', '/home/pi/Desktop/images/03012025/08/19/image_03012025_08_19_02_346213_0000.jpg', '/home/pi/Desktop/images/03012025/08/19/image_03012025_08_19_02_346213_0001.jpg', '/home/pi/Desktop/images/03012025/08/19/image_03012025_08_19_02_346213_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/08/18/image_03012025_08_18_02_748060_0003.jpg
/home/pi/Desktop/images/03012025/08/19/image_03012025_08_19_02_346213_0000.jpg
/home/pi/Desktop/images/03012025/08/19/image_03012025_08_19_02_346213_0001.jpg
/home/pi/Desktop/images/03012025/08/19/image_03012025_08_19_02_346213_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325710114","1325710116","1325710118","1325710121"],"photo_ids_order":["1325710114","1325710116","1325710118","1325710121"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/438e880ac843a7a15a7852f104ef6c74.jpg","text":"TemporaryFile(/tmp/multipartBody3289528731415782362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735888872812,"filename":"image_03012025_08_18_02_748060_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1531106dbfcd4ae219fa62af177b20da.jpg","text":"TemporaryFile(/tmp/multipartBody6099242784682540382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735888872812,"filename":"image_03012025_08_19_02_346213_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/10db061505fbef1c8946ddcc74576d1e.jpg","text":"TemporaryFile(/tmp/multipartBody7271922886984097977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735888872812,"filename":"image_03012025_08_19_02_346213_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/17190a0558969c939fb18933fa045b98.jpg","text":"TemporaryFile(/tmp/multipartBody3539073175231263885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735888872812,"filename":"image_03012025_08_19_02_346213_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325710118","file1":"1325710116","file0":"1325710114","file3":"1325710121"},"map_files_photo_id_array":[{"photo_id":"1325710118","filename":"file2"},{"photo_id":"1325710116","filename":"file1"},{"photo_id":"1325710114","filename":"file0"},{"photo_id":"1325710121","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325710114":["hashtag1","hashtag2"]},{"1325710116":["hashtag1","hashtag2"]},{"1325710118":["hashtag1","hashtag2"]},{"1325710121":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325710114, 1325710116, 1325710118, 1325710121)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.599425315856934 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 08:21:02.472539
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/08/19/image_03012025_08_19_02_346213_0003.jpg', '/home/pi/Desktop/images/03012025/08/20/image_03012025_08_20_02_812508_0000.jpg', '/home/pi/Desktop/images/03012025/08/20/image_03012025_08_20_02_812508_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/08/19/image_03012025_08_19_02_346213_0003.jpg
/home/pi/Desktop/images/03012025/08/20/image_03012025_08_20_02_812508_0000.jpg
/home/pi/Desktop/images/03012025/08/20/image_03012025_08_20_02_812508_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325710167","1325710151","1325710165"],"photo_ids_order":["1325710151","1325710165","1325710167"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3edc53d3daf7abce9fa8e2b4b13be311.jpg","text":"TemporaryFile(/tmp/multipartBody7914380195783137979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735888930265,"filename":"image_03012025_08_20_02_812508_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/768c3673812df7895fe95467541b8b20.jpg","text":"TemporaryFile(/tmp/multipartBody791432283579476849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735888930265,"filename":"image_03012025_08_19_02_346213_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8662605f9ec6053f8a9905742ee4f731.jpg","text":"TemporaryFile(/tmp/multipartBody1615704272632314387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735888930265,"filename":"image_03012025_08_20_02_812508_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325710167","file1":"1325710165","file0":"1325710151"},"map_files_photo_id_array":[{"photo_id":"1325710167","filename":"file2"},{"photo_id":"1325710165","filename":"file1"},{"photo_id":"1325710151","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325710167":["hashtag1","hashtag2"]},{"1325710151":["hashtag1","hashtag2"]},{"1325710165":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325710167, 1325710151, 1325710165)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.618417501449585 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 08:22:02.901806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/08/20/image_03012025_08_20_02_812508_0003.jpg', '/home/pi/Desktop/images/03012025/08/21/image_03012025_08_21_02_664481_0000.jpg', '/home/pi/Desktop/images/03012025/08/21/image_03012025_08_21_02_664481_0001.jpg', '/home/pi/Desktop/images/03012025/08/21/image_03012025_08_21_02_664481_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/08/20/image_03012025_08_20_02_812508_0003.jpg
/home/pi/Desktop/images/03012025/08/21/image_03012025_08_21_02_664481_0000.jpg
/home/pi/Desktop/images/03012025/08/21/image_03012025_08_21_02_664481_0001.jpg
/home/pi/Desktop/images/03012025/08/21/image_03012025_08_21_02_664481_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.566261291503906 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 08:22:22.379433
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/08/20/image_03012025_08_20_02_812508_0003.jpg', '/home/pi/Desktop/images/03012025/08/21/image_03012025_08_21_02_664481_0000.jpg', '/home/pi/Desktop/images/03012025/08/21/image_03012025_08_21_02_664481_0001.jpg', '/home/pi/Desktop/images/03012025/08/21/image_03012025_08_21_02_664481_0002.jpg', '/home/pi/Desktop/images/03012025/08/21/image_03012025_08_21_02_664481_0003.jpg', '/home/pi/Desktop/images/03012025/08/22/image_03012025_08_22_02_127789_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/08/20/image_03012025_08_20_02_812508_0003.jpg
/home/pi/Desktop/images/03012025/08/21/image_03012025_08_21_02_664481_0000.jpg
/home/pi/Desktop/images/03012025/08/21/image_03012025_08_21_02_664481_0001.jpg
/home/pi/Desktop/images/03012025/08/21/image_03012025_08_21_02_664481_0002.jpg
/home/pi/Desktop/images/03012025/08/21/image_03012025_08_21_02_664481_0003.jpg
/home/pi/Desktop/images/03012025/08/22/image_03012025_08_22_02_127789_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325710306","1325710305","1325710298","1325710302","1325710295","1325710300"],"photo_ids_order":["1325710295","1325710298","1325710300","1325710302","1325710305","1325710306"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d197e3c5f9fbd7da1f800444052df423.jpg","text":"TemporaryFile(/tmp/multipartBody2072348212691774968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735889016989,"filename":"image_03012025_08_22_02_127789_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c9837eb0b307bff61ccbb6776bfbec31.jpg","text":"TemporaryFile(/tmp/multipartBody6322898544036186872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735889016989,"filename":"image_03012025_08_21_02_664481_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2eecb2219f261f325d604dce6a13ecc6.jpg","text":"TemporaryFile(/tmp/multipartBody5614419727959034969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735889016989,"filename":"image_03012025_08_21_02_664481_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/df8cbb7d1062316b6259b8e8b11fec15.jpg","text":"TemporaryFile(/tmp/multipartBody5375739106597024160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735889016989,"filename":"image_03012025_08_21_02_664481_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/bc749dc24fe46a01997e307b11877f9a.jpg","text":"TemporaryFile(/tmp/multipartBody3038064060215720184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735889016989,"filename":"image_03012025_08_20_02_812508_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1c92bb99dc59884331be55b7f710f4c6.jpg","text":"TemporaryFile(/tmp/multipartBody4107463880680740068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735889016989,"filename":"image_03012025_08_21_02_664481_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325710300","file1":"1325710298","file0":"1325710295","file4":"1325710305","file5":"1325710306","file3":"1325710302"},"map_files_photo_id_array":[{"photo_id":"1325710306","filename":"file5"},{"photo_id":"1325710300","filename":"file2"},{"photo_id":"1325710305","filename":"file4"},{"photo_id":"1325710298","filename":"file1"},{"photo_id":"1325710295","filename":"file0"},{"photo_id":"1325710302","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325710306":["hashtag1","hashtag2"]},{"1325710305":["hashtag1","hashtag2"]},{"1325710298":["hashtag1","hashtag2"]},{"1325710302":["hashtag1","hashtag2"]},{"1325710295":["hashtag1","hashtag2"]},{"1325710300":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325710306, 1325710305, 1325710298, 1325710302, 1325710295, 1325710300)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.943071126937866 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 08:23:21.918600
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/08/22/image_03012025_08_22_02_127789_0002.jpg', '/home/pi/Desktop/images/03012025/08/22/image_03012025_08_22_02_127789_0003.jpg', '/home/pi/Desktop/images/03012025/08/23/image_03012025_08_23_02_785852_0000.jpg', '/home/pi/Desktop/images/03012025/08/23/image_03012025_08_23_02_785852_0001.jpg', '/home/pi/Desktop/images/03012025/08/23/image_03012025_08_23_02_785852_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/08/22/image_03012025_08_22_02_127789_0002.jpg
/home/pi/Desktop/images/03012025/08/22/image_03012025_08_22_02_127789_0003.jpg
/home/pi/Desktop/images/03012025/08/23/image_03012025_08_23_02_785852_0000.jpg
/home/pi/Desktop/images/03012025/08/23/image_03012025_08_23_02_785852_0001.jpg
/home/pi/Desktop/images/03012025/08/23/image_03012025_08_23_02_785852_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325710323","1325710326","1325710320","1325710316","1325710310"],"photo_ids_order":["1325710310","1325710316","1325710320","1325710323","1325710326"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3d100797870b83d9f15fbd74d1aef4ef.jpg","text":"TemporaryFile(/tmp/multipartBody4086228367714185722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735889074243,"filename":"image_03012025_08_23_02_785852_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b62170294c4179c90fbae700da510ddb.jpg","text":"TemporaryFile(/tmp/multipartBody3335839862055833401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735889074243,"filename":"image_03012025_08_23_02_785852_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b0f4e06e8e9652be27dc26853a311210.jpg","text":"TemporaryFile(/tmp/multipartBody2812940249857411318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735889074243,"filename":"image_03012025_08_23_02_785852_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/565e4036755396577787edc9662cd6af.jpg","text":"TemporaryFile(/tmp/multipartBody2845033867917206982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735889074243,"filename":"image_03012025_08_22_02_127789_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c55bf1c662ba71954a4e372df05170f3.jpg","text":"TemporaryFile(/tmp/multipartBody4249989449194254863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735889074243,"filename":"image_03012025_08_22_02_127789_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325710320","file1":"1325710316","file0":"1325710310","file4":"1325710326","file3":"1325710323"},"map_files_photo_id_array":[{"photo_id":"1325710320","filename":"file2"},{"photo_id":"1325710326","filename":"file4"},{"photo_id":"1325710316","filename":"file1"},{"photo_id":"1325710310","filename":"file0"},{"photo_id":"1325710323","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325710323":["hashtag1","hashtag2"]},{"1325710326":["hashtag1","hashtag2"]},{"1325710320":["hashtag1","hashtag2"]},{"1325710316":["hashtag1","hashtag2"]},{"1325710310":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325710323, 1325710326, 1325710320, 1325710316, 1325710310)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 50.804091453552246 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 08:24:22.460277
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/08/23/image_03012025_08_23_02_785852_0003.jpg', '/home/pi/Desktop/images/03012025/08/24/image_03012025_08_24_02_295376_0000.jpg', '/home/pi/Desktop/images/03012025/08/24/image_03012025_08_24_02_295376_0001.jpg', '/home/pi/Desktop/images/03012025/08/24/image_03012025_08_24_02_295376_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/08/23/image_03012025_08_23_02_785852_0003.jpg
/home/pi/Desktop/images/03012025/08/24/image_03012025_08_24_02_295376_0000.jpg
/home/pi/Desktop/images/03012025/08/24/image_03012025_08_24_02_295376_0001.jpg
/home/pi/Desktop/images/03012025/08/24/image_03012025_08_24_02_295376_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325710347","1325710340","1325710334","1325710337"],"photo_ids_order":["1325710334","1325710337","1325710340","1325710347"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/883c126f02b94b40b657d17d461b3fa0.jpg","text":"TemporaryFile(/tmp/multipartBody224747338774290254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735889132571,"filename":"image_03012025_08_24_02_295376_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e80f63c3d90147ccdbfca0ee5e66305a.jpg","text":"TemporaryFile(/tmp/multipartBody1655967958505878585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735889132571,"filename":"image_03012025_08_24_02_295376_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f594eec08714d7d0b841c7f630653065.jpg","text":"TemporaryFile(/tmp/multipartBody262584875379321551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735889132571,"filename":"image_03012025_08_23_02_785852_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/61e78003f94594fb77b5b38843efbfe0.jpg","text":"TemporaryFile(/tmp/multipartBody3297553467919798832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735889132571,"filename":"image_03012025_08_24_02_295376_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325710340","file1":"1325710337","file0":"1325710334","file3":"1325710347"},"map_files_photo_id_array":[{"photo_id":"1325710340","filename":"file2"},{"photo_id":"1325710337","filename":"file1"},{"photo_id":"1325710334","filename":"file0"},{"photo_id":"1325710347","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325710347":["hashtag1","hashtag2"]},{"1325710340":["hashtag1","hashtag2"]},{"1325710334":["hashtag1","hashtag2"]},{"1325710337":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325710347, 1325710340, 1325710334, 1325710337)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.70168495178223 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 08:25:02.505935
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 08:25:21.940253
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/08/24/image_03012025_08_24_02_295376_0003.jpg', '/home/pi/Desktop/images/03012025/08/25/image_03012025_08_25_02_822512_0000.jpg', '/home/pi/Desktop/images/03012025/08/25/image_03012025_08_25_02_822512_0001.jpg', '/home/pi/Desktop/images/03012025/08/25/image_03012025_08_25_02_822512_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/08/24/image_03012025_08_24_02_295376_0003.jpg
/home/pi/Desktop/images/03012025/08/25/image_03012025_08_25_02_822512_0000.jpg
/home/pi/Desktop/images/03012025/08/25/image_03012025_08_25_02_822512_0001.jpg
/home/pi/Desktop/images/03012025/08/25/image_03012025_08_25_02_822512_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325710371","1325710416","1325710391","1325710357"],"photo_ids_order":["1325710357","1325710371","1325710391","1325710416"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/90d20d0ef3f91bb03fa68737d4b40f05.jpg","text":"TemporaryFile(/tmp/multipartBody7745598198036979805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735889192108,"filename":"image_03012025_08_25_02_822512_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/872ee4758697a10ae811063e0d32f3e5.jpg","text":"TemporaryFile(/tmp/multipartBody5834716135668081902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735889192108,"filename":"image_03012025_08_25_02_822512_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/73d75f33f64bac725f59e5fd9d334f5c.jpg","text":"TemporaryFile(/tmp/multipartBody2623921614736358222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735889192108,"filename":"image_03012025_08_25_02_822512_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f100cfc02c817183b59ba13790ad6c87.jpg","text":"TemporaryFile(/tmp/multipartBody4667671389858938498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735889192108,"filename":"image_03012025_08_24_02_295376_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325710391","file1":"1325710371","file0":"1325710357","file3":"1325710416"},"map_files_photo_id_array":[{"photo_id":"1325710391","filename":"file2"},{"photo_id":"1325710371","filename":"file1"},{"photo_id":"1325710357","filename":"file0"},{"photo_id":"1325710416","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325710371":["hashtag1","hashtag2"]},{"1325710416":["hashtag1","hashtag2"]},{"1325710391":["hashtag1","hashtag2"]},{"1325710357":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325710371, 1325710416, 1325710391, 1325710357)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.157405614852905 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 08:26:22.589357
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/08/25/image_03012025_08_25_02_822512_0003.jpg', '/home/pi/Desktop/images/03012025/08/26/image_03012025_08_26_02_306690_0000.jpg', '/home/pi/Desktop/images/03012025/08/26/image_03012025_08_26_02_306690_0001.jpg', '/home/pi/Desktop/images/03012025/08/26/image_03012025_08_26_02_306690_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/08/25/image_03012025_08_25_02_822512_0003.jpg
/home/pi/Desktop/images/03012025/08/26/image_03012025_08_26_02_306690_0000.jpg
/home/pi/Desktop/images/03012025/08/26/image_03012025_08_26_02_306690_0001.jpg
/home/pi/Desktop/images/03012025/08/26/image_03012025_08_26_02_306690_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325710544","1325710475","1325710541","1325710531"],"photo_ids_order":["1325710475","1325710531","1325710541","1325710544"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6248ce409755dc14f015cfc712b51e9b.jpg","text":"TemporaryFile(/tmp/multipartBody8846892288166938421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735889252904,"filename":"image_03012025_08_26_02_306690_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/40293fa2d0ff3f3638fdc21ac9b3b9e9.jpg","text":"TemporaryFile(/tmp/multipartBody1586315390162320710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735889252904,"filename":"image_03012025_08_25_02_822512_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d97673a5eef6b8a34eb4ffd0894235c8.jpg","text":"TemporaryFile(/tmp/multipartBody4409622108875699425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735889252904,"filename":"image_03012025_08_26_02_306690_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9804a6c9b67ec54de54c6e9019de1a7a.jpg","text":"TemporaryFile(/tmp/multipartBody8230316859515341044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735889252904,"filename":"image_03012025_08_26_02_306690_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325710541","file1":"1325710531","file0":"1325710475","file3":"1325710544"},"map_files_photo_id_array":[{"photo_id":"1325710541","filename":"file2"},{"photo_id":"1325710531","filename":"file1"},{"photo_id":"1325710475","filename":"file0"},{"photo_id":"1325710544","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325710544":["hashtag1","hashtag2"]},{"1325710475":["hashtag1","hashtag2"]},{"1325710541":["hashtag1","hashtag2"]},{"1325710531":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325710544, 1325710475, 1325710541, 1325710531)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.23605728149414 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 08:27:22.195312
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/08/26/image_03012025_08_26_02_306690_0003.jpg', '/home/pi/Desktop/images/03012025/08/27/image_03012025_08_27_03_010944_0000.jpg', '/home/pi/Desktop/images/03012025/08/27/image_03012025_08_27_03_010944_0001.jpg', '/home/pi/Desktop/images/03012025/08/27/image_03012025_08_27_03_010944_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/08/26/image_03012025_08_26_02_306690_0003.jpg
/home/pi/Desktop/images/03012025/08/27/image_03012025_08_27_03_010944_0000.jpg
/home/pi/Desktop/images/03012025/08/27/image_03012025_08_27_03_010944_0001.jpg
/home/pi/Desktop/images/03012025/08/27/image_03012025_08_27_03_010944_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325710611","1325710571","1325710574","1325710567"],"photo_ids_order":["1325710567","1325710571","1325710574","1325710611"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b8dd9105ccda055a44110c4e6ab48b04.jpg","text":"TemporaryFile(/tmp/multipartBody3783773886858853833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735889312586,"filename":"image_03012025_08_27_03_010944_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1ccbf7ee42df715436770430e96c7b79.jpg","text":"TemporaryFile(/tmp/multipartBody2027589858233699147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735889312586,"filename":"image_03012025_08_27_03_010944_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6ff8bde3cfd22df8eb067624b8941e70.jpg","text":"TemporaryFile(/tmp/multipartBody5184749434939908360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735889312586,"filename":"image_03012025_08_27_03_010944_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/95a42a53806f5110c18c081daea5158d.jpg","text":"TemporaryFile(/tmp/multipartBody3080987476580380227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735889312586,"filename":"image_03012025_08_26_02_306690_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325710574","file1":"1325710571","file0":"1325710567","file3":"1325710611"},"map_files_photo_id_array":[{"photo_id":"1325710574","filename":"file2"},{"photo_id":"1325710571","filename":"file1"},{"photo_id":"1325710567","filename":"file0"},{"photo_id":"1325710611","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325710611":["hashtag1","hashtag2"]},{"1325710571":["hashtag1","hashtag2"]},{"1325710574":["hashtag1","hashtag2"]},{"1325710567":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325710611, 1325710571, 1325710574, 1325710567)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.80492901802063 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 08:28:22.674638
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/08/27/image_03012025_08_27_03_010944_0003.jpg', '/home/pi/Desktop/images/03012025/08/28/image_03012025_08_28_02_540512_0000.jpg', '/home/pi/Desktop/images/03012025/08/28/image_03012025_08_28_02_540512_0001.jpg', '/home/pi/Desktop/images/03012025/08/28/image_03012025_08_28_02_540512_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/08/27/image_03012025_08_27_03_010944_0003.jpg
/home/pi/Desktop/images/03012025/08/28/image_03012025_08_28_02_540512_0000.jpg
/home/pi/Desktop/images/03012025/08/28/image_03012025_08_28_02_540512_0001.jpg
/home/pi/Desktop/images/03012025/08/28/image_03012025_08_28_02_540512_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.970583200454712 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 08:29:02.887200
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/08/27/image_03012025_08_27_03_010944_0003.jpg', '/home/pi/Desktop/images/03012025/08/28/image_03012025_08_28_02_540512_0000.jpg', '/home/pi/Desktop/images/03012025/08/28/image_03012025_08_28_02_540512_0001.jpg', '/home/pi/Desktop/images/03012025/08/28/image_03012025_08_28_02_540512_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/08/27/image_03012025_08_27_03_010944_0003.jpg
/home/pi/Desktop/images/03012025/08/28/image_03012025_08_28_02_540512_0000.jpg
/home/pi/Desktop/images/03012025/08/28/image_03012025_08_28_02_540512_0001.jpg
/home/pi/Desktop/images/03012025/08/28/image_03012025_08_28_02_540512_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325710677","1325710679","1325710687","1325710684"],"photo_ids_order":["1325710677","1325710679","1325710684","1325710687"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8367a17be97bf94f1ceb706cb8165172.jpg","text":"TemporaryFile(/tmp/multipartBody5118908454828270663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735889413344,"filename":"image_03012025_08_27_03_010944_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/99977b3bcdbb07dbbbe4d882b2a07ee4.jpg","text":"TemporaryFile(/tmp/multipartBody3517969784901250612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735889413344,"filename":"image_03012025_08_28_02_540512_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4d5adf7f37a67be135c79c8ce07e98cf.jpg","text":"TemporaryFile(/tmp/multipartBody7591484519300673734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735889413344,"filename":"image_03012025_08_28_02_540512_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2348fdb43e3b8c22eb76fe9d9aadc1b9.jpg","text":"TemporaryFile(/tmp/multipartBody1452729537895012070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735889413344,"filename":"image_03012025_08_28_02_540512_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325710684","file1":"1325710679","file0":"1325710677","file3":"1325710687"},"map_files_photo_id_array":[{"photo_id":"1325710684","filename":"file2"},{"photo_id":"1325710679","filename":"file1"},{"photo_id":"1325710677","filename":"file0"},{"photo_id":"1325710687","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325710677":["hashtag1","hashtag2"]},{"1325710679":["hashtag1","hashtag2"]},{"1325710687":["hashtag1","hashtag2"]},{"1325710684":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325710677, 1325710679, 1325710687, 1325710684)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.15467858314514 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 08:30:02.319059
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/08/28/image_03012025_08_28_02_540512_0003.jpg', '/home/pi/Desktop/images/03012025/08/29/image_03012025_08_29_03_113675_0000.jpg', '/home/pi/Desktop/images/03012025/08/29/image_03012025_08_29_03_113675_0001.jpg', '/home/pi/Desktop/images/03012025/08/29/image_03012025_08_29_03_113675_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/08/28/image_03012025_08_28_02_540512_0003.jpg
/home/pi/Desktop/images/03012025/08/29/image_03012025_08_29_03_113675_0000.jpg
/home/pi/Desktop/images/03012025/08/29/image_03012025_08_29_03_113675_0001.jpg
/home/pi/Desktop/images/03012025/08/29/image_03012025_08_29_03_113675_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325710734","1325710739","1325710733","1325710736"],"photo_ids_order":["1325710733","1325710734","1325710736","1325710739"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b488f09eb43a30134a95ecad1c421bb0.jpg","text":"TemporaryFile(/tmp/multipartBody7669015977546024518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735889472641,"filename":"image_03012025_08_29_03_113675_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f3d3c6f9d2df074730a35029addf1e01.jpg","text":"TemporaryFile(/tmp/multipartBody5120074256115782078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735889472641,"filename":"image_03012025_08_29_03_113675_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8b3fc55b03602675c77a8e7dff49fe62.jpg","text":"TemporaryFile(/tmp/multipartBody2043589539679037214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735889472641,"filename":"image_03012025_08_28_02_540512_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/dcfb380fa2029e082da87aff3ba4ead3.jpg","text":"TemporaryFile(/tmp/multipartBody4928526089923119422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735889472641,"filename":"image_03012025_08_29_03_113675_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325710736","file1":"1325710734","file0":"1325710733","file3":"1325710739"},"map_files_photo_id_array":[{"photo_id":"1325710736","filename":"file2"},{"photo_id":"1325710734","filename":"file1"},{"photo_id":"1325710733","filename":"file0"},{"photo_id":"1325710739","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325710734":["hashtag1","hashtag2"]},{"1325710739":["hashtag1","hashtag2"]},{"1325710733":["hashtag1","hashtag2"]},{"1325710736":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325710734, 1325710739, 1325710733, 1325710736)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.16327786445618 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 08:31:03.024169
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/08/29/image_03012025_08_29_03_113675_0003.jpg', '/home/pi/Desktop/images/03012025/08/30/image_03012025_08_30_02_586638_0000.jpg', '/home/pi/Desktop/images/03012025/08/30/image_03012025_08_30_02_586638_0001.jpg', '/home/pi/Desktop/images/03012025/08/30/image_03012025_08_30_02_586638_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/08/29/image_03012025_08_29_03_113675_0003.jpg
/home/pi/Desktop/images/03012025/08/30/image_03012025_08_30_02_586638_0000.jpg
/home/pi/Desktop/images/03012025/08/30/image_03012025_08_30_02_586638_0001.jpg
/home/pi/Desktop/images/03012025/08/30/image_03012025_08_30_02_586638_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.04907774925232 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 08:31:22.432766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/08/29/image_03012025_08_29_03_113675_0003.jpg', '/home/pi/Desktop/images/03012025/08/30/image_03012025_08_30_02_586638_0000.jpg', '/home/pi/Desktop/images/03012025/08/30/image_03012025_08_30_02_586638_0001.jpg', '/home/pi/Desktop/images/03012025/08/30/image_03012025_08_30_02_586638_0002.jpg', '/home/pi/Desktop/images/03012025/08/30/image_03012025_08_30_02_586638_0003.jpg', '/home/pi/Desktop/images/03012025/08/31/image_03012025_08_31_02_275259_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/08/29/image_03012025_08_29_03_113675_0003.jpg
/home/pi/Desktop/images/03012025/08/30/image_03012025_08_30_02_586638_0000.jpg
/home/pi/Desktop/images/03012025/08/30/image_03012025_08_30_02_586638_0001.jpg
/home/pi/Desktop/images/03012025/08/30/image_03012025_08_30_02_586638_0002.jpg
/home/pi/Desktop/images/03012025/08/30/image_03012025_08_30_02_586638_0003.jpg
/home/pi/Desktop/images/03012025/08/31/image_03012025_08_31_02_275259_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325711043","1325711037","1325711049","1325711040","1325711033","1325711027"],"photo_ids_order":["1325711027","1325711033","1325711037","1325711040","1325711043","1325711049"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2072648a620985fed846222a24e06fee.jpg","text":"TemporaryFile(/tmp/multipartBody8293975440542496563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735889557520,"filename":"image_03012025_08_30_02_586638_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/de13d734359944ae2be99ca66fcc574f.jpg","text":"TemporaryFile(/tmp/multipartBody5602614513906799889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735889557520,"filename":"image_03012025_08_30_02_586638_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/caa42e192d0664b368ef2045692d7996.jpg","text":"TemporaryFile(/tmp/multipartBody4448334508622113588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735889557520,"filename":"image_03012025_08_31_02_275259_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/969f356c325242a2dbc5a9d3880ca056.jpg","text":"TemporaryFile(/tmp/multipartBody8783317865453151412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735889557520,"filename":"image_03012025_08_30_02_586638_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b789f410f49096dbd620b3dc5f9a543c.jpg","text":"TemporaryFile(/tmp/multipartBody360988661105156680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735889557520,"filename":"image_03012025_08_30_02_586638_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6c02054e9e4a5210b0fe57e930d6d762.jpg","text":"TemporaryFile(/tmp/multipartBody2858122311027581631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735889557520,"filename":"image_03012025_08_29_03_113675_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325711037","file1":"1325711033","file0":"1325711027","file4":"1325711043","file5":"1325711049","file3":"1325711040"},"map_files_photo_id_array":[{"photo_id":"1325711049","filename":"file5"},{"photo_id":"1325711037","filename":"file2"},{"photo_id":"1325711043","filename":"file4"},{"photo_id":"1325711033","filename":"file1"},{"photo_id":"1325711027","filename":"file0"},{"photo_id":"1325711040","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325711043":["hashtag1","hashtag2"]},{"1325711037":["hashtag1","hashtag2"]},{"1325711049":["hashtag1","hashtag2"]},{"1325711040":["hashtag1","hashtag2"]},{"1325711033":["hashtag1","hashtag2"]},{"1325711027":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325711043, 1325711037, 1325711049, 1325711040, 1325711033, 1325711027)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.10422372817993 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 08:32:22.034089
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/08/31/image_03012025_08_31_02_275259_0001.jpg', '/home/pi/Desktop/images/03012025/08/31/image_03012025_08_31_02_275259_0002.jpg', '/home/pi/Desktop/images/03012025/08/31/image_03012025_08_31_02_275259_0003.jpg', '/home/pi/Desktop/images/03012025/08/32/image_03012025_08_32_02_832011_0000.jpg', '/home/pi/Desktop/images/03012025/08/32/image_03012025_08_32_02_832011_0001.jpg', '/home/pi/Desktop/images/03012025/08/32/image_03012025_08_32_02_832011_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/08/31/image_03012025_08_31_02_275259_0001.jpg
/home/pi/Desktop/images/03012025/08/31/image_03012025_08_31_02_275259_0002.jpg
/home/pi/Desktop/images/03012025/08/31/image_03012025_08_31_02_275259_0003.jpg
/home/pi/Desktop/images/03012025/08/32/image_03012025_08_32_02_832011_0000.jpg
/home/pi/Desktop/images/03012025/08/32/image_03012025_08_32_02_832011_0001.jpg
/home/pi/Desktop/images/03012025/08/32/image_03012025_08_32_02_832011_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325711070","1325711067","1325711057","1325711073","1325711076","1325711061"],"photo_ids_order":["1325711057","1325711061","1325711067","1325711070","1325711073","1325711076"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/34bcb2b2419d274915a7b21d1ce2af3b.jpg","text":"TemporaryFile(/tmp/multipartBody6218612277944253066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735889617087,"filename":"image_03012025_08_32_02_832011_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/dad3e21eba3aa1fd3fcb0e8a50435c19.jpg","text":"TemporaryFile(/tmp/multipartBody6957574109535983873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735889617087,"filename":"image_03012025_08_31_02_275259_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/59319598e3b9e76e0d3827c988a74edb.jpg","text":"TemporaryFile(/tmp/multipartBody146182995911484531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735889617087,"filename":"image_03012025_08_31_02_275259_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c3652e725ef01a07d2ad7fcdc271c510.jpg","text":"TemporaryFile(/tmp/multipartBody2139392362204080154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735889617087,"filename":"image_03012025_08_32_02_832011_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/04d50c397ca1b63ec4eb275eb2dcd90f.jpg","text":"TemporaryFile(/tmp/multipartBody6029503229252687932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735889617087,"filename":"image_03012025_08_32_02_832011_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c9c871881dd2cc21e197fd385ae7fa15.jpg","text":"TemporaryFile(/tmp/multipartBody3842793602405826836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735889617087,"filename":"image_03012025_08_31_02_275259_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325711067","file1":"1325711061","file0":"1325711057","file4":"1325711073","file5":"1325711076","file3":"1325711070"},"map_files_photo_id_array":[{"photo_id":"1325711076","filename":"file5"},{"photo_id":"1325711067","filename":"file2"},{"photo_id":"1325711073","filename":"file4"},{"photo_id":"1325711061","filename":"file1"},{"photo_id":"1325711057","filename":"file0"},{"photo_id":"1325711070","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325711070":["hashtag1","hashtag2"]},{"1325711067":["hashtag1","hashtag2"]},{"1325711057":["hashtag1","hashtag2"]},{"1325711073":["hashtag1","hashtag2"]},{"1325711076":["hashtag1","hashtag2"]},{"1325711061":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325711070, 1325711067, 1325711057, 1325711073, 1325711076, 1325711061)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.458099603652954 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 08:33:22.552590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/08/32/image_03012025_08_32_02_832011_0003.jpg', '/home/pi/Desktop/images/03012025/08/33/image_03012025_08_33_02_402025_0000.jpg', '/home/pi/Desktop/images/03012025/08/33/image_03012025_08_33_02_402025_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/08/32/image_03012025_08_32_02_832011_0003.jpg
/home/pi/Desktop/images/03012025/08/33/image_03012025_08_33_02_402025_0000.jpg
/home/pi/Desktop/images/03012025/08/33/image_03012025_08_33_02_402025_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325711085","1325711081","1325711089"],"photo_ids_order":["1325711081","1325711085","1325711089"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/fb717f9783e61ec4fef4198f61ed9dde.jpg","text":"TemporaryFile(/tmp/multipartBody8533489579252964058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735889670441,"filename":"image_03012025_08_33_02_402025_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/125568470e905d3eeff7619f30e87995.jpg","text":"TemporaryFile(/tmp/multipartBody3323681217649739438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735889670441,"filename":"image_03012025_08_32_02_832011_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/845777a2548491ffaa669cb47d1e6456.jpg","text":"TemporaryFile(/tmp/multipartBody3210209959754950123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735889670441,"filename":"image_03012025_08_33_02_402025_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325711089","file1":"1325711085","file0":"1325711081"},"map_files_photo_id_array":[{"photo_id":"1325711089","filename":"file2"},{"photo_id":"1325711085","filename":"file1"},{"photo_id":"1325711081","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325711085":["hashtag1","hashtag2"]},{"1325711081":["hashtag1","hashtag2"]},{"1325711089":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325711085, 1325711081, 1325711089)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.5832576751709 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 08:34:02.498853
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 08:34:22.102524
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/08/33/image_03012025_08_33_02_402025_0003.jpg', '/home/pi/Desktop/images/03012025/08/34/image_03012025_08_34_02_919771_0000.jpg', '/home/pi/Desktop/images/03012025/08/34/image_03012025_08_34_02_919771_0001.jpg', '/home/pi/Desktop/images/03012025/08/34/image_03012025_08_34_02_919771_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/08/33/image_03012025_08_33_02_402025_0003.jpg
/home/pi/Desktop/images/03012025/08/34/image_03012025_08_34_02_919771_0000.jpg
/home/pi/Desktop/images/03012025/08/34/image_03012025_08_34_02_919771_0001.jpg
/home/pi/Desktop/images/03012025/08/34/image_03012025_08_34_02_919771_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325711130","1325711126","1325711134","1325711122"],"photo_ids_order":["1325711122","1325711126","1325711130","1325711134"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f19d65d8354e4f90be83a4fc9daee448.jpg","text":"TemporaryFile(/tmp/multipartBody7541411961021263095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735889732442,"filename":"image_03012025_08_34_02_919771_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b5921003e69f0d728de8e4a02d6ebf5f.jpg","text":"TemporaryFile(/tmp/multipartBody1199731339433906246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735889732442,"filename":"image_03012025_08_34_02_919771_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/45a1c61d53293a083f448b4039fd7d4a.jpg","text":"TemporaryFile(/tmp/multipartBody4969869874387549083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735889732442,"filename":"image_03012025_08_34_02_919771_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9a949170d3538042e612c3c973d7bde8.jpg","text":"TemporaryFile(/tmp/multipartBody8606167574504693316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735889732442,"filename":"image_03012025_08_33_02_402025_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325711130","file1":"1325711126","file0":"1325711122","file3":"1325711134"},"map_files_photo_id_array":[{"photo_id":"1325711130","filename":"file2"},{"photo_id":"1325711126","filename":"file1"},{"photo_id":"1325711122","filename":"file0"},{"photo_id":"1325711134","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325711130":["hashtag1","hashtag2"]},{"1325711126":["hashtag1","hashtag2"]},{"1325711134":["hashtag1","hashtag2"]},{"1325711122":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325711130, 1325711126, 1325711134, 1325711122)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.12178421020508 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 08:35:22.636601
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/08/34/image_03012025_08_34_02_919771_0003.jpg', '/home/pi/Desktop/images/03012025/08/35/image_03012025_08_35_02_464427_0000.jpg', '/home/pi/Desktop/images/03012025/08/35/image_03012025_08_35_02_464427_0001.jpg', '/home/pi/Desktop/images/03012025/08/35/image_03012025_08_35_02_464427_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/08/34/image_03012025_08_34_02_919771_0003.jpg
/home/pi/Desktop/images/03012025/08/35/image_03012025_08_35_02_464427_0000.jpg
/home/pi/Desktop/images/03012025/08/35/image_03012025_08_35_02_464427_0001.jpg
/home/pi/Desktop/images/03012025/08/35/image_03012025_08_35_02_464427_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325711304","1325711300","1325711158","1325711292"],"photo_ids_order":["1325711158","1325711292","1325711300","1325711304"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ee4d66f008c1120e946638851484afa2.jpg","text":"TemporaryFile(/tmp/multipartBody4200669989523017045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735889792908,"filename":"image_03012025_08_35_02_464427_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/baf4aaeb19497d6f8db6fa595c0dde40.jpg","text":"TemporaryFile(/tmp/multipartBody8923742618722692606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735889792908,"filename":"image_03012025_08_35_02_464427_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8cb4603ef836ba7b570d13f7ff40af92.jpg","text":"TemporaryFile(/tmp/multipartBody1301951683827138022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735889792908,"filename":"image_03012025_08_34_02_919771_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8948568a7cf7b868789d8801758c5d55.jpg","text":"TemporaryFile(/tmp/multipartBody7788966846362432240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735889792908,"filename":"image_03012025_08_35_02_464427_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325711300","file1":"1325711292","file0":"1325711158","file3":"1325711304"},"map_files_photo_id_array":[{"photo_id":"1325711300","filename":"file2"},{"photo_id":"1325711292","filename":"file1"},{"photo_id":"1325711158","filename":"file0"},{"photo_id":"1325711304","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325711304":["hashtag1","hashtag2"]},{"1325711300":["hashtag1","hashtag2"]},{"1325711158":["hashtag1","hashtag2"]},{"1325711292":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325711304, 1325711300, 1325711158, 1325711292)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.761367321014404 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 08:36:22.140373
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/08/35/image_03012025_08_35_02_464427_0003.jpg', '/home/pi/Desktop/images/03012025/08/36/image_03012025_08_36_02_997055_0000.jpg', '/home/pi/Desktop/images/03012025/08/36/image_03012025_08_36_02_997055_0001.jpg', '/home/pi/Desktop/images/03012025/08/36/image_03012025_08_36_02_997055_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/08/35/image_03012025_08_35_02_464427_0003.jpg
/home/pi/Desktop/images/03012025/08/36/image_03012025_08_36_02_997055_0000.jpg
/home/pi/Desktop/images/03012025/08/36/image_03012025_08_36_02_997055_0001.jpg
/home/pi/Desktop/images/03012025/08/36/image_03012025_08_36_02_997055_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325711313","1325711324","1325711318","1325711329"],"photo_ids_order":["1325711313","1325711318","1325711324","1325711329"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a359ca0f1080b346dcf61426074dd4fe.jpg","text":"TemporaryFile(/tmp/multipartBody4425969485809403084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735889852448,"filename":"image_03012025_08_35_02_464427_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/718c9d264d653e5cba6759faee4e3ad9.jpg","text":"TemporaryFile(/tmp/multipartBody468203177308964653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735889852448,"filename":"image_03012025_08_36_02_997055_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2b83e07e3ad357210aead19670f0d95e.jpg","text":"TemporaryFile(/tmp/multipartBody5805808084217364891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735889852448,"filename":"image_03012025_08_36_02_997055_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8e3e77352b9b71da6c14e75a28717580.jpg","text":"TemporaryFile(/tmp/multipartBody6175845289807788272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735889852448,"filename":"image_03012025_08_36_02_997055_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325711324","file1":"1325711318","file0":"1325711313","file3":"1325711329"},"map_files_photo_id_array":[{"photo_id":"1325711324","filename":"file2"},{"photo_id":"1325711318","filename":"file1"},{"photo_id":"1325711313","filename":"file0"},{"photo_id":"1325711329","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325711313":["hashtag1","hashtag2"]},{"1325711324":["hashtag1","hashtag2"]},{"1325711318":["hashtag1","hashtag2"]},{"1325711329":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325711313, 1325711324, 1325711318, 1325711329)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.263418674468994 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 08:37:03.322483
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 08:37:22.657096
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/08/36/image_03012025_08_36_02_997055_0003.jpg', '/home/pi/Desktop/images/03012025/08/37/image_03012025_08_37_02_552338_0000.jpg', '/home/pi/Desktop/images/03012025/08/37/image_03012025_08_37_02_552338_0001.jpg', '/home/pi/Desktop/images/03012025/08/37/image_03012025_08_37_02_552338_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/08/36/image_03012025_08_36_02_997055_0003.jpg
/home/pi/Desktop/images/03012025/08/37/image_03012025_08_37_02_552338_0000.jpg
/home/pi/Desktop/images/03012025/08/37/image_03012025_08_37_02_552338_0001.jpg
/home/pi/Desktop/images/03012025/08/37/image_03012025_08_37_02_552338_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325711378","1325711386","1325711374","1325711382"],"photo_ids_order":["1325711374","1325711378","1325711382","1325711386"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/cd8201ac77e0671df5c6c14c8b944a99.jpg","text":"TemporaryFile(/tmp/multipartBody7868806297143862157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735889912950,"filename":"image_03012025_08_37_02_552338_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1d486c7061bc1b860692a5685bcb2aa9.jpg","text":"TemporaryFile(/tmp/multipartBody8746514085056143411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735889912950,"filename":"image_03012025_08_37_02_552338_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c69715db5fd16c6e8b3560eb0db29651.jpg","text":"TemporaryFile(/tmp/multipartBody3778847959947127843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735889912950,"filename":"image_03012025_08_36_02_997055_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c7deaf78434c120fb747257c2366f299.jpg","text":"TemporaryFile(/tmp/multipartBody4283764406774983711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735889912950,"filename":"image_03012025_08_37_02_552338_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325711382","file1":"1325711378","file0":"1325711374","file3":"1325711386"},"map_files_photo_id_array":[{"photo_id":"1325711382","filename":"file2"},{"photo_id":"1325711378","filename":"file1"},{"photo_id":"1325711374","filename":"file0"},{"photo_id":"1325711386","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325711378":["hashtag1","hashtag2"]},{"1325711386":["hashtag1","hashtag2"]},{"1325711374":["hashtag1","hashtag2"]},{"1325711382":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325711378, 1325711386, 1325711374, 1325711382)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.92489552497864 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 08:38:02.753544
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 08:38:22.223880
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/08/37/image_03012025_08_37_02_552338_0003.jpg', '/home/pi/Desktop/images/03012025/08/38/image_03012025_08_38_03_042361_0000.jpg', '/home/pi/Desktop/images/03012025/08/38/image_03012025_08_38_03_042361_0001.jpg', '/home/pi/Desktop/images/03012025/08/38/image_03012025_08_38_03_042361_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/08/37/image_03012025_08_37_02_552338_0003.jpg
/home/pi/Desktop/images/03012025/08/38/image_03012025_08_38_03_042361_0000.jpg
/home/pi/Desktop/images/03012025/08/38/image_03012025_08_38_03_042361_0001.jpg
/home/pi/Desktop/images/03012025/08/38/image_03012025_08_38_03_042361_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325711448","1325711433","1325711458","1325711437"],"photo_ids_order":["1325711433","1325711437","1325711448","1325711458"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4d7ef18d449989ba357917bb4a60e56b.jpg","text":"TemporaryFile(/tmp/multipartBody3688176148134079361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735889972584,"filename":"image_03012025_08_38_03_042361_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/32d549ab45cfe09234c80089cdb3cb2c.jpg","text":"TemporaryFile(/tmp/multipartBody1872891211750196859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735889972584,"filename":"image_03012025_08_37_02_552338_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8f1afdcfc85f423b539f4f9b64ac6234.jpg","text":"TemporaryFile(/tmp/multipartBody4064650357271340167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735889972584,"filename":"image_03012025_08_38_03_042361_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2fcb638072d23e4720610807aa7082fc.jpg","text":"TemporaryFile(/tmp/multipartBody4151684794444438932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735889972584,"filename":"image_03012025_08_38_03_042361_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325711448","file1":"1325711437","file0":"1325711433","file3":"1325711458"},"map_files_photo_id_array":[{"photo_id":"1325711448","filename":"file2"},{"photo_id":"1325711437","filename":"file1"},{"photo_id":"1325711433","filename":"file0"},{"photo_id":"1325711458","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325711448":["hashtag1","hashtag2"]},{"1325711433":["hashtag1","hashtag2"]},{"1325711458":["hashtag1","hashtag2"]},{"1325711437":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325711448, 1325711433, 1325711458, 1325711437)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.232895851135254 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 08:39:21.759247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/08/38/image_03012025_08_38_03_042361_0003.jpg', '/home/pi/Desktop/images/03012025/08/39/image_03012025_08_39_02_620579_0000.jpg', '/home/pi/Desktop/images/03012025/08/39/image_03012025_08_39_02_620579_0001.jpg', '/home/pi/Desktop/images/03012025/08/39/image_03012025_08_39_02_620579_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/08/38/image_03012025_08_38_03_042361_0003.jpg
/home/pi/Desktop/images/03012025/08/39/image_03012025_08_39_02_620579_0000.jpg
/home/pi/Desktop/images/03012025/08/39/image_03012025_08_39_02_620579_0001.jpg
/home/pi/Desktop/images/03012025/08/39/image_03012025_08_39_02_620579_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325711474","1325711482","1325711470","1325711478"],"photo_ids_order":["1325711470","1325711474","1325711478","1325711482"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8dc9c4b258b82a5fd33f4421d8fa20f0.jpg","text":"TemporaryFile(/tmp/multipartBody1445409423744267180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735890032208,"filename":"image_03012025_08_39_02_620579_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f92f2538cf047700b0205684afd98163.jpg","text":"TemporaryFile(/tmp/multipartBody7458601832949788253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735890032208,"filename":"image_03012025_08_39_02_620579_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/39fb494fe3e875c982fed231041bf983.jpg","text":"TemporaryFile(/tmp/multipartBody8815955757167531788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735890032208,"filename":"image_03012025_08_38_03_042361_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0514315b073d12f51c01742117919a44.jpg","text":"TemporaryFile(/tmp/multipartBody129312169838036338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735890032208,"filename":"image_03012025_08_39_02_620579_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325711478","file1":"1325711474","file0":"1325711470","file3":"1325711482"},"map_files_photo_id_array":[{"photo_id":"1325711478","filename":"file2"},{"photo_id":"1325711474","filename":"file1"},{"photo_id":"1325711470","filename":"file0"},{"photo_id":"1325711482","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325711474":["hashtag1","hashtag2"]},{"1325711482":["hashtag1","hashtag2"]},{"1325711470":["hashtag1","hashtag2"]},{"1325711478":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325711474, 1325711482, 1325711470, 1325711478)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.56610465049744 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 08:40:02.735934
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 08:40:22.265883
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/08/39/image_03012025_08_39_02_620579_0003.jpg', '/home/pi/Desktop/images/03012025/08/40/image_03012025_08_40_02_139534_0000.jpg', '/home/pi/Desktop/images/03012025/08/40/image_03012025_08_40_02_139534_0001.jpg', '/home/pi/Desktop/images/03012025/08/40/image_03012025_08_40_02_139534_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/08/39/image_03012025_08_39_02_620579_0003.jpg
/home/pi/Desktop/images/03012025/08/40/image_03012025_08_40_02_139534_0000.jpg
/home/pi/Desktop/images/03012025/08/40/image_03012025_08_40_02_139534_0001.jpg
/home/pi/Desktop/images/03012025/08/40/image_03012025_08_40_02_139534_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325711532","1325711508","1325711538","1325711542"],"photo_ids_order":["1325711508","1325711532","1325711538","1325711542"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3078c0759bfcadab1c6b0f5b68c550ea.jpg","text":"TemporaryFile(/tmp/multipartBody6716918780602966848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735890092737,"filename":"image_03012025_08_40_02_139534_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/be2ee620558cb5624f011649a0f8866f.jpg","text":"TemporaryFile(/tmp/multipartBody7886006696463498261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735890092737,"filename":"image_03012025_08_39_02_620579_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/39a89b8cb574e6d5fa087adea4cb1151.jpg","text":"TemporaryFile(/tmp/multipartBody2842307604544237966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735890092737,"filename":"image_03012025_08_40_02_139534_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4a65957b75ea4aff5615626e53c868f3.jpg","text":"TemporaryFile(/tmp/multipartBody8251045409063850741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735890092737,"filename":"image_03012025_08_40_02_139534_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325711538","file1":"1325711532","file0":"1325711508","file3":"1325711542"},"map_files_photo_id_array":[{"photo_id":"1325711538","filename":"file2"},{"photo_id":"1325711532","filename":"file1"},{"photo_id":"1325711508","filename":"file0"},{"photo_id":"1325711542","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325711532":["hashtag1","hashtag2"]},{"1325711508":["hashtag1","hashtag2"]},{"1325711538":["hashtag1","hashtag2"]},{"1325711542":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325711532, 1325711508, 1325711538, 1325711542)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.74078822135925 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 08:41:02.404893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 08:41:21.817643
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/08/40/image_03012025_08_40_02_139534_0003.jpg', '/home/pi/Desktop/images/03012025/08/41/image_03012025_08_41_02_609113_0000.jpg', '/home/pi/Desktop/images/03012025/08/41/image_03012025_08_41_02_609113_0001.jpg', '/home/pi/Desktop/images/03012025/08/41/image_03012025_08_41_02_609113_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/08/40/image_03012025_08_40_02_139534_0003.jpg
/home/pi/Desktop/images/03012025/08/41/image_03012025_08_41_02_609113_0000.jpg
/home/pi/Desktop/images/03012025/08/41/image_03012025_08_41_02_609113_0001.jpg
/home/pi/Desktop/images/03012025/08/41/image_03012025_08_41_02_609113_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325711622","1325711573","1325711618","1325711577"],"photo_ids_order":["1325711573","1325711577","1325711618","1325711622"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b6f299b642ad99274212cec61435d3af.jpg","text":"TemporaryFile(/tmp/multipartBody4144676169459492315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735890152169,"filename":"image_03012025_08_41_02_609113_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3c8ce90f072571ebeaf40c4e159d7d9a.jpg","text":"TemporaryFile(/tmp/multipartBody542764912609205165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735890152169,"filename":"image_03012025_08_40_02_139534_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d7d29277fefcf5137b6f6a9a9dd19941.jpg","text":"TemporaryFile(/tmp/multipartBody6521169831066758380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735890152169,"filename":"image_03012025_08_41_02_609113_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b8c64a7e7086838015d7ee6a65403c6a.jpg","text":"TemporaryFile(/tmp/multipartBody9116925595084585955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735890152169,"filename":"image_03012025_08_41_02_609113_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325711618","file1":"1325711577","file0":"1325711573","file3":"1325711622"},"map_files_photo_id_array":[{"photo_id":"1325711618","filename":"file2"},{"photo_id":"1325711577","filename":"file1"},{"photo_id":"1325711573","filename":"file0"},{"photo_id":"1325711622","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325711622":["hashtag1","hashtag2"]},{"1325711573":["hashtag1","hashtag2"]},{"1325711618":["hashtag1","hashtag2"]},{"1325711577":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325711622, 1325711573, 1325711618, 1325711577)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.63848948478699 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 08:42:22.490477
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/08/41/image_03012025_08_41_02_609113_0003.jpg', '/home/pi/Desktop/images/03012025/08/42/image_03012025_08_42_02_171906_0000.jpg', '/home/pi/Desktop/images/03012025/08/42/image_03012025_08_42_02_171906_0001.jpg', '/home/pi/Desktop/images/03012025/08/42/image_03012025_08_42_02_171906_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/08/41/image_03012025_08_41_02_609113_0003.jpg
/home/pi/Desktop/images/03012025/08/42/image_03012025_08_42_02_171906_0000.jpg
/home/pi/Desktop/images/03012025/08/42/image_03012025_08_42_02_171906_0001.jpg
/home/pi/Desktop/images/03012025/08/42/image_03012025_08_42_02_171906_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325711649","1325711640","1325711645","1325711635"],"photo_ids_order":["1325711635","1325711640","1325711645","1325711649"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d5cdb44866f35fa34d1c798016069aa7.jpg","text":"TemporaryFile(/tmp/multipartBody5322200420483119286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735890212814,"filename":"image_03012025_08_42_02_171906_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e7d4ca84e430f3b54f89a8f50a7d59fe.jpg","text":"TemporaryFile(/tmp/multipartBody6666040620105580931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735890212814,"filename":"image_03012025_08_42_02_171906_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6d7657423c78e8f227ae7e2adb75ac82.jpg","text":"TemporaryFile(/tmp/multipartBody5885923793385692904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735890212814,"filename":"image_03012025_08_42_02_171906_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/82f5085298e88b9c289bc6684a1af304.jpg","text":"TemporaryFile(/tmp/multipartBody7872886925602531360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735890212814,"filename":"image_03012025_08_41_02_609113_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325711645","file1":"1325711640","file0":"1325711635","file3":"1325711649"},"map_files_photo_id_array":[{"photo_id":"1325711645","filename":"file2"},{"photo_id":"1325711640","filename":"file1"},{"photo_id":"1325711635","filename":"file0"},{"photo_id":"1325711649","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325711649":["hashtag1","hashtag2"]},{"1325711640":["hashtag1","hashtag2"]},{"1325711645":["hashtag1","hashtag2"]},{"1325711635":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325711649, 1325711640, 1325711645, 1325711635)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.00172138214111 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 08:43:02.422943
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 08:43:22.041562
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/08/42/image_03012025_08_42_02_171906_0003.jpg', '/home/pi/Desktop/images/03012025/08/43/image_03012025_08_43_02_860023_0000.jpg', '/home/pi/Desktop/images/03012025/08/43/image_03012025_08_43_02_860023_0001.jpg', '/home/pi/Desktop/images/03012025/08/43/image_03012025_08_43_02_860023_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/08/42/image_03012025_08_42_02_171906_0003.jpg
/home/pi/Desktop/images/03012025/08/43/image_03012025_08_43_02_860023_0000.jpg
/home/pi/Desktop/images/03012025/08/43/image_03012025_08_43_02_860023_0001.jpg
/home/pi/Desktop/images/03012025/08/43/image_03012025_08_43_02_860023_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.977091789245605 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 08:44:03.024525
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/08/42/image_03012025_08_42_02_171906_0003.jpg', '/home/pi/Desktop/images/03012025/08/43/image_03012025_08_43_02_860023_0000.jpg', '/home/pi/Desktop/images/03012025/08/43/image_03012025_08_43_02_860023_0001.jpg', '/home/pi/Desktop/images/03012025/08/43/image_03012025_08_43_02_860023_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/08/42/image_03012025_08_42_02_171906_0003.jpg
/home/pi/Desktop/images/03012025/08/43/image_03012025_08_43_02_860023_0000.jpg
/home/pi/Desktop/images/03012025/08/43/image_03012025_08_43_02_860023_0001.jpg
/home/pi/Desktop/images/03012025/08/43/image_03012025_08_43_02_860023_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325711724","1325711733","1325711728","1325711737"],"photo_ids_order":["1325711724","1325711728","1325711733","1325711737"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/baf5a65ad53ae27fad7d2c4e769bb547.jpg","text":"TemporaryFile(/tmp/multipartBody4645963388141051903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735890313421,"filename":"image_03012025_08_42_02_171906_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/cf83a46db6442143aa4511c8ded32ba1.jpg","text":"TemporaryFile(/tmp/multipartBody1074640429625053045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735890313421,"filename":"image_03012025_08_43_02_860023_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3a5cec61d231064c4d77c82075e3ff09.jpg","text":"TemporaryFile(/tmp/multipartBody1854492813192288709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735890313421,"filename":"image_03012025_08_43_02_860023_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/295838061aa8246c6cd4e73d4f618605.jpg","text":"TemporaryFile(/tmp/multipartBody8951062346679344718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735890313421,"filename":"image_03012025_08_43_02_860023_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325711733","file1":"1325711728","file0":"1325711724","file3":"1325711737"},"map_files_photo_id_array":[{"photo_id":"1325711733","filename":"file2"},{"photo_id":"1325711728","filename":"file1"},{"photo_id":"1325711724","filename":"file0"},{"photo_id":"1325711737","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325711724":["hashtag1","hashtag2"]},{"1325711733":["hashtag1","hashtag2"]},{"1325711728":["hashtag1","hashtag2"]},{"1325711737":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325711724, 1325711733, 1325711728, 1325711737)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.98907017707825 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 08:45:02.794257
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/08/43/image_03012025_08_43_02_860023_0003.jpg', '/home/pi/Desktop/images/03012025/08/44/image_03012025_08_44_02_376618_0000.jpg', '/home/pi/Desktop/images/03012025/08/44/image_03012025_08_44_02_376618_0001.jpg', '/home/pi/Desktop/images/03012025/08/44/image_03012025_08_44_02_376618_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/08/43/image_03012025_08_43_02_860023_0003.jpg
/home/pi/Desktop/images/03012025/08/44/image_03012025_08_44_02_376618_0000.jpg
/home/pi/Desktop/images/03012025/08/44/image_03012025_08_44_02_376618_0001.jpg
/home/pi/Desktop/images/03012025/08/44/image_03012025_08_44_02_376618_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325711765","1325711807","1325711767","1325711796"],"photo_ids_order":["1325711765","1325711767","1325711796","1325711807"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0bf62a348ca6b29cf88c3d18c903b847.jpg","text":"TemporaryFile(/tmp/multipartBody7862867673104094776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735890373341,"filename":"image_03012025_08_43_02_860023_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f490f3025fc89c2980e911272b37647f.jpg","text":"TemporaryFile(/tmp/multipartBody1802164206466224007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735890373341,"filename":"image_03012025_08_44_02_376618_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/27d9d830b65585cbf5d24d5ce53ffefb.jpg","text":"TemporaryFile(/tmp/multipartBody3271765946535871974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735890373341,"filename":"image_03012025_08_44_02_376618_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f9e57f9994600f7d069444c2c37ef63a.jpg","text":"TemporaryFile(/tmp/multipartBody5936655405312003315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735890373341,"filename":"image_03012025_08_44_02_376618_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325711796","file1":"1325711767","file0":"1325711765","file3":"1325711807"},"map_files_photo_id_array":[{"photo_id":"1325711796","filename":"file2"},{"photo_id":"1325711767","filename":"file1"},{"photo_id":"1325711765","filename":"file0"},{"photo_id":"1325711807","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325711765":["hashtag1","hashtag2"]},{"1325711807":["hashtag1","hashtag2"]},{"1325711767":["hashtag1","hashtag2"]},{"1325711796":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325711765, 1325711807, 1325711767, 1325711796)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.95078420639038 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 08:46:02.347286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/08/44/image_03012025_08_44_02_376618_0003.jpg', '/home/pi/Desktop/images/03012025/08/45/image_03012025_08_45_03_063110_0000.jpg', '/home/pi/Desktop/images/03012025/08/45/image_03012025_08_45_03_063110_0001.jpg', '/home/pi/Desktop/images/03012025/08/45/image_03012025_08_45_03_063110_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/08/44/image_03012025_08_44_02_376618_0003.jpg
/home/pi/Desktop/images/03012025/08/45/image_03012025_08_45_03_063110_0000.jpg
/home/pi/Desktop/images/03012025/08/45/image_03012025_08_45_03_063110_0001.jpg
/home/pi/Desktop/images/03012025/08/45/image_03012025_08_45_03_063110_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325711969","1325711948","1325711843","1325711892"],"photo_ids_order":["1325711843","1325711892","1325711948","1325711969"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d0c8668dcb09a89d5776b437d16a4b7b.jpg","text":"TemporaryFile(/tmp/multipartBody7597389299370728202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735890432820,"filename":"image_03012025_08_45_03_063110_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2af5008799436b0e228f753806ed1ac8.jpg","text":"TemporaryFile(/tmp/multipartBody8012750831648356998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735890432820,"filename":"image_03012025_08_45_03_063110_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c763cea5180b36750709dc799f25d8d5.jpg","text":"TemporaryFile(/tmp/multipartBody4270285143584563391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735890432820,"filename":"image_03012025_08_44_02_376618_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c03a03bab8fb6791d00c5b223ef264db.jpg","text":"TemporaryFile(/tmp/multipartBody5883144328737298792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735890432820,"filename":"image_03012025_08_45_03_063110_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325711948","file1":"1325711892","file0":"1325711843","file3":"1325711969"},"map_files_photo_id_array":[{"photo_id":"1325711948","filename":"file2"},{"photo_id":"1325711892","filename":"file1"},{"photo_id":"1325711843","filename":"file0"},{"photo_id":"1325711969","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325711969":["hashtag1","hashtag2"]},{"1325711948":["hashtag1","hashtag2"]},{"1325711843":["hashtag1","hashtag2"]},{"1325711892":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325711969, 1325711948, 1325711843, 1325711892)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.399991035461426 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 08:47:02.962542
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/08/45/image_03012025_08_45_03_063110_0003.jpg', '/home/pi/Desktop/images/03012025/08/46/image_03012025_08_46_02_573556_0000.jpg', '/home/pi/Desktop/images/03012025/08/46/image_03012025_08_46_02_573556_0001.jpg', '/home/pi/Desktop/images/03012025/08/46/image_03012025_08_46_02_573556_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/08/45/image_03012025_08_45_03_063110_0003.jpg
/home/pi/Desktop/images/03012025/08/46/image_03012025_08_46_02_573556_0000.jpg
/home/pi/Desktop/images/03012025/08/46/image_03012025_08_46_02_573556_0001.jpg
/home/pi/Desktop/images/03012025/08/46/image_03012025_08_46_02_573556_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.99420690536499 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 08:47:22.313759
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/08/45/image_03012025_08_45_03_063110_0003.jpg', '/home/pi/Desktop/images/03012025/08/46/image_03012025_08_46_02_573556_0000.jpg', '/home/pi/Desktop/images/03012025/08/46/image_03012025_08_46_02_573556_0001.jpg', '/home/pi/Desktop/images/03012025/08/46/image_03012025_08_46_02_573556_0002.jpg', '/home/pi/Desktop/images/03012025/08/46/image_03012025_08_46_02_573556_0003.jpg', '/home/pi/Desktop/images/03012025/08/47/image_03012025_08_47_02_204723_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/08/45/image_03012025_08_45_03_063110_0003.jpg
/home/pi/Desktop/images/03012025/08/46/image_03012025_08_46_02_573556_0000.jpg
/home/pi/Desktop/images/03012025/08/46/image_03012025_08_46_02_573556_0001.jpg
/home/pi/Desktop/images/03012025/08/46/image_03012025_08_46_02_573556_0002.jpg
/home/pi/Desktop/images/03012025/08/46/image_03012025_08_46_02_573556_0003.jpg
/home/pi/Desktop/images/03012025/08/47/image_03012025_08_47_02_204723_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325712080","1325712073","1325712082","1325712076","1325712085","1325712078"],"photo_ids_order":["1325712073","1325712076","1325712078","1325712080","1325712082","1325712085"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d43221fdfd0a7ecbc24457dbea2d8319.jpg","text":"TemporaryFile(/tmp/multipartBody465644660306103807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735890517338,"filename":"image_03012025_08_46_02_573556_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9ab99c6270790e97e3a7c1b6d90c31f9.jpg","text":"TemporaryFile(/tmp/multipartBody3318416149573310980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735890517338,"filename":"image_03012025_08_45_03_063110_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/87f8b32dcc6445a1a0df463c9dfa5b80.jpg","text":"TemporaryFile(/tmp/multipartBody5853038756619313079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735890517338,"filename":"image_03012025_08_46_02_573556_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5d7243c7bd12749987ebe507a471abfb.jpg","text":"TemporaryFile(/tmp/multipartBody4982070862301232956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735890517338,"filename":"image_03012025_08_46_02_573556_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c7690ab76c127a891fddabe86f03e747.jpg","text":"TemporaryFile(/tmp/multipartBody8634448431715220008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735890517338,"filename":"image_03012025_08_47_02_204723_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/798216bf56b1c1d99e8db9d7222628c3.jpg","text":"TemporaryFile(/tmp/multipartBody8804182295221408035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735890517338,"filename":"image_03012025_08_46_02_573556_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325712078","file1":"1325712076","file0":"1325712073","file4":"1325712082","file5":"1325712085","file3":"1325712080"},"map_files_photo_id_array":[{"photo_id":"1325712085","filename":"file5"},{"photo_id":"1325712078","filename":"file2"},{"photo_id":"1325712082","filename":"file4"},{"photo_id":"1325712076","filename":"file1"},{"photo_id":"1325712073","filename":"file0"},{"photo_id":"1325712080","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325712080":["hashtag1","hashtag2"]},{"1325712073":["hashtag1","hashtag2"]},{"1325712082":["hashtag1","hashtag2"]},{"1325712076":["hashtag1","hashtag2"]},{"1325712085":["hashtag1","hashtag2"]},{"1325712078":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325712080, 1325712073, 1325712082, 1325712076, 1325712085, 1325712078)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.399126291275024 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 08:48:21.954876
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/08/47/image_03012025_08_47_02_204723_0001.jpg', '/home/pi/Desktop/images/03012025/08/47/image_03012025_08_47_02_204723_0002.jpg', '/home/pi/Desktop/images/03012025/08/47/image_03012025_08_47_02_204723_0003.jpg', '/home/pi/Desktop/images/03012025/08/48/image_03012025_08_48_02_698340_0000.jpg', '/home/pi/Desktop/images/03012025/08/48/image_03012025_08_48_02_698340_0001.jpg', '/home/pi/Desktop/images/03012025/08/48/image_03012025_08_48_02_698340_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/08/47/image_03012025_08_47_02_204723_0001.jpg
/home/pi/Desktop/images/03012025/08/47/image_03012025_08_47_02_204723_0002.jpg
/home/pi/Desktop/images/03012025/08/47/image_03012025_08_47_02_204723_0003.jpg
/home/pi/Desktop/images/03012025/08/48/image_03012025_08_48_02_698340_0000.jpg
/home/pi/Desktop/images/03012025/08/48/image_03012025_08_48_02_698340_0001.jpg
/home/pi/Desktop/images/03012025/08/48/image_03012025_08_48_02_698340_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325712101","1325712091","1325712094","1325712097","1325712099","1325712103"],"photo_ids_order":["1325712091","1325712094","1325712097","1325712099","1325712101","1325712103"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a133c0ac26b59ddf6645796555ef9f0c.jpg","text":"TemporaryFile(/tmp/multipartBody2532539583547965066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735890576844,"filename":"image_03012025_08_48_02_698340_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1aa79246535b915043cf8fb9f40a884a.jpg","text":"TemporaryFile(/tmp/multipartBody240202513892870846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735890576844,"filename":"image_03012025_08_47_02_204723_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/445587c6ddc4bbca0fa1cf859ab28258.jpg","text":"TemporaryFile(/tmp/multipartBody3031372889429830745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735890576844,"filename":"image_03012025_08_47_02_204723_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/16948f43920bf5cb39eec3a23ab5ab15.jpg","text":"TemporaryFile(/tmp/multipartBody8477327102613928682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735890576844,"filename":"image_03012025_08_47_02_204723_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3b9c4f7693133443c4a26161f178192d.jpg","text":"TemporaryFile(/tmp/multipartBody5271729653003705011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735890576844,"filename":"image_03012025_08_48_02_698340_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c815462b834b241db69710a891963a49.jpg","text":"TemporaryFile(/tmp/multipartBody1415728646853748705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735890576844,"filename":"image_03012025_08_48_02_698340_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325712097","file1":"1325712094","file0":"1325712091","file4":"1325712101","file5":"1325712103","file3":"1325712099"},"map_files_photo_id_array":[{"photo_id":"1325712103","filename":"file5"},{"photo_id":"1325712097","filename":"file2"},{"photo_id":"1325712101","filename":"file4"},{"photo_id":"1325712094","filename":"file1"},{"photo_id":"1325712091","filename":"file0"},{"photo_id":"1325712099","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325712101":["hashtag1","hashtag2"]},{"1325712091":["hashtag1","hashtag2"]},{"1325712094":["hashtag1","hashtag2"]},{"1325712097":["hashtag1","hashtag2"]},{"1325712099":["hashtag1","hashtag2"]},{"1325712103":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325712101, 1325712091, 1325712094, 1325712097, 1325712099, 1325712103)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.425227642059326 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 08:49:22.428929
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/08/48/image_03012025_08_48_02_698340_0003.jpg', '/home/pi/Desktop/images/03012025/08/49/image_03012025_08_49_02_315615_0000.jpg', '/home/pi/Desktop/images/03012025/08/49/image_03012025_08_49_02_315615_0001.jpg', '/home/pi/Desktop/images/03012025/08/49/image_03012025_08_49_02_315615_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/08/48/image_03012025_08_48_02_698340_0003.jpg
/home/pi/Desktop/images/03012025/08/49/image_03012025_08_49_02_315615_0000.jpg
/home/pi/Desktop/images/03012025/08/49/image_03012025_08_49_02_315615_0001.jpg
/home/pi/Desktop/images/03012025/08/49/image_03012025_08_49_02_315615_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325712140","1325712128","1325712136","1325712132"],"photo_ids_order":["1325712128","1325712132","1325712136","1325712140"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/bdb91780827655f85c3483cef64686fa.jpg","text":"TemporaryFile(/tmp/multipartBody486449643427068116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735890632718,"filename":"image_03012025_08_49_02_315615_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b5429b591421191c04489d382d718ead.jpg","text":"TemporaryFile(/tmp/multipartBody6081412385672946806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735890632718,"filename":"image_03012025_08_48_02_698340_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e9c039b11a24858c85fb1386385920d5.jpg","text":"TemporaryFile(/tmp/multipartBody6641878472763595274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735890632718,"filename":"image_03012025_08_49_02_315615_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a6305740acd7dc981921db6254cb2c02.jpg","text":"TemporaryFile(/tmp/multipartBody5030524825755300957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735890632718,"filename":"image_03012025_08_49_02_315615_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325712136","file1":"1325712132","file0":"1325712128","file3":"1325712140"},"map_files_photo_id_array":[{"photo_id":"1325712136","filename":"file2"},{"photo_id":"1325712132","filename":"file1"},{"photo_id":"1325712128","filename":"file0"},{"photo_id":"1325712140","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325712140":["hashtag1","hashtag2"]},{"1325712128":["hashtag1","hashtag2"]},{"1325712136":["hashtag1","hashtag2"]},{"1325712132":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325712140, 1325712128, 1325712136, 1325712132)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.98089385032654 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-03 08:50:21.965061
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/08/49/image_03012025_08_49_02_315615_0003.jpg', '/home/pi/Desktop/images/03012025/08/50/image_03012025_08_50_02_802178_0000.jpg', '/home/pi/Desktop/images/03012025/08/50/image_03012025_08_50_02_802178_0001.jpg', '/home/pi/Desktop/images/03012025/08/50/image_03012025_08_50_02_802178_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/08/49/image_03012025_08_49_02_315615_0003.jpg
/home/pi/Desktop/images/03012025/08/50/image_03012025_08_50_02_802178_0000.jpg
/home/pi/Desktop/images/03012025/08/50/image_03012025_08_50_02_802178_0001.jpg
/home/pi/Desktop/images/03012025/08/50/image_03012025_08_50_02_802178_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325712194","1325712190","1325712198","1325712177"],"photo_ids_order":["1325712177","1325712190","1325712194","1325712198"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ebc95a1353b5232668395b99061c39a8.jpg","text":"TemporaryFile(/tmp/multipartBody5197536354917422679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735890692401,"filename":"image_03012025_08_50_02_802178_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9868a50444bf02ed89c96831955f7a31.jpg","text":"TemporaryFile(/tmp/multipartBody3909031102644089766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735890692401,"filename":"image_03012025_08_50_02_802178_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f4e7684cf8214542a6436b7853961830.jpg","text":"TemporaryFile(/tmp/multipartBody5357707274835853559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735890692401,"filename":"image_03012025_08_50_02_802178_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1b742995c5f46fe7c34159d8e9b650b7.jpg","text":"TemporaryFile(/tmp/multipartBody6715032901034730835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735890692401,"filename":"image_03012025_08_49_02_315615_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325712194","file1":"1325712190","file0":"1325712177","file3":"1325712198"},"map_files_photo_id_array":[{"photo_id":"1325712194","filename":"file2"},{"photo_id":"1325712190","filename":"file1"},{"photo_id":"1325712177","filename":"file0"},{"photo_id":"1325712198","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325712194":["hashtag1","hashtag2"]},{"1325712190":["hashtag1","hashtag2"]},{"1325712198":["hashtag1","hashtag2"]},{"1325712177":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325712194, 1325712190, 1325712198, 1325712177)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.74017834663391 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 08:51:03.007580
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 08:51:22.435250
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/08/50/image_03012025_08_50_02_802178_0003.jpg', '/home/pi/Desktop/images/03012025/08/51/image_03012025_08_51_02_301665_0000.jpg', '/home/pi/Desktop/images/03012025/08/51/image_03012025_08_51_02_301665_0001.jpg', '/home/pi/Desktop/images/03012025/08/51/image_03012025_08_51_02_301665_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/08/50/image_03012025_08_50_02_802178_0003.jpg
/home/pi/Desktop/images/03012025/08/51/image_03012025_08_51_02_301665_0000.jpg
/home/pi/Desktop/images/03012025/08/51/image_03012025_08_51_02_301665_0001.jpg
/home/pi/Desktop/images/03012025/08/51/image_03012025_08_51_02_301665_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325712347","1325712340","1325712343","1325712351"],"photo_ids_order":["1325712340","1325712343","1325712347","1325712351"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9af7c40d20e29d32adc07e8274c0cc6d.jpg","text":"TemporaryFile(/tmp/multipartBody2400486169855078552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735890752892,"filename":"image_03012025_08_51_02_301665_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/dc4c8f90b7e726c98257968589bd26fa.jpg","text":"TemporaryFile(/tmp/multipartBody5579410446463173009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735890752892,"filename":"image_03012025_08_50_02_802178_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5fa59cb1a6f64adbc9a3f76dbabd2868.jpg","text":"TemporaryFile(/tmp/multipartBody4896153621111398293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735890752892,"filename":"image_03012025_08_51_02_301665_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/268b00aaa95d94ce884871c08aee822f.jpg","text":"TemporaryFile(/tmp/multipartBody6628414852702350151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735890752892,"filename":"image_03012025_08_51_02_301665_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325712347","file1":"1325712343","file0":"1325712340","file3":"1325712351"},"map_files_photo_id_array":[{"photo_id":"1325712347","filename":"file2"},{"photo_id":"1325712343","filename":"file1"},{"photo_id":"1325712340","filename":"file0"},{"photo_id":"1325712351","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325712347":["hashtag1","hashtag2"]},{"1325712340":["hashtag1","hashtag2"]},{"1325712343":["hashtag1","hashtag2"]},{"1325712351":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325712347, 1325712340, 1325712343, 1325712351)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.67688798904419 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 08:52:22.140241
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/08/51/image_03012025_08_51_02_301665_0003.jpg', '/home/pi/Desktop/images/03012025/08/52/image_03012025_08_52_02_831904_0000.jpg', '/home/pi/Desktop/images/03012025/08/52/image_03012025_08_52_02_831904_0001.jpg', '/home/pi/Desktop/images/03012025/08/52/image_03012025_08_52_02_831904_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/08/51/image_03012025_08_51_02_301665_0003.jpg
/home/pi/Desktop/images/03012025/08/52/image_03012025_08_52_02_831904_0000.jpg
/home/pi/Desktop/images/03012025/08/52/image_03012025_08_52_02_831904_0001.jpg
/home/pi/Desktop/images/03012025/08/52/image_03012025_08_52_02_831904_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325712392","1325712388","1325712396","1325712399"],"photo_ids_order":["1325712388","1325712392","1325712396","1325712399"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b4b074fc24828cd90a6f6a1e59acfb76.jpg","text":"TemporaryFile(/tmp/multipartBody8812362217469249261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735890812620,"filename":"image_03012025_08_52_02_831904_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/85bdcc790bc3014084f8c855214c02a7.jpg","text":"TemporaryFile(/tmp/multipartBody5073815581907256717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735890812620,"filename":"image_03012025_08_51_02_301665_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/740a96e931438c529cc033129f278ac6.jpg","text":"TemporaryFile(/tmp/multipartBody7563284355805258101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735890812620,"filename":"image_03012025_08_52_02_831904_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f2679a8cadac7835c3942aa970c1593d.jpg","text":"TemporaryFile(/tmp/multipartBody8401925558327755302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735890812620,"filename":"image_03012025_08_52_02_831904_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325712396","file1":"1325712392","file0":"1325712388","file3":"1325712399"},"map_files_photo_id_array":[{"photo_id":"1325712396","filename":"file2"},{"photo_id":"1325712392","filename":"file1"},{"photo_id":"1325712388","filename":"file0"},{"photo_id":"1325712399","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325712392":["hashtag1","hashtag2"]},{"1325712388":["hashtag1","hashtag2"]},{"1325712396":["hashtag1","hashtag2"]},{"1325712399":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325712392, 1325712388, 1325712396, 1325712399)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.24183440208435 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 08:53:03.239107
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 08:53:22.602070
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/08/52/image_03012025_08_52_02_831904_0003.jpg', '/home/pi/Desktop/images/03012025/08/53/image_03012025_08_53_02_474592_0000.jpg', '/home/pi/Desktop/images/03012025/08/53/image_03012025_08_53_02_474592_0001.jpg', '/home/pi/Desktop/images/03012025/08/53/image_03012025_08_53_02_474592_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/08/52/image_03012025_08_52_02_831904_0003.jpg
/home/pi/Desktop/images/03012025/08/53/image_03012025_08_53_02_474592_0000.jpg
/home/pi/Desktop/images/03012025/08/53/image_03012025_08_53_02_474592_0001.jpg
/home/pi/Desktop/images/03012025/08/53/image_03012025_08_53_02_474592_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.87396764755249 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 08:54:02.589736
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/08/52/image_03012025_08_52_02_831904_0003.jpg', '/home/pi/Desktop/images/03012025/08/53/image_03012025_08_53_02_474592_0000.jpg', '/home/pi/Desktop/images/03012025/08/53/image_03012025_08_53_02_474592_0001.jpg', '/home/pi/Desktop/images/03012025/08/53/image_03012025_08_53_02_474592_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/08/52/image_03012025_08_52_02_831904_0003.jpg
/home/pi/Desktop/images/03012025/08/53/image_03012025_08_53_02_474592_0000.jpg
/home/pi/Desktop/images/03012025/08/53/image_03012025_08_53_02_474592_0001.jpg
/home/pi/Desktop/images/03012025/08/53/image_03012025_08_53_02_474592_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325712530","1325712509","1325712510","1325712534"],"photo_ids_order":["1325712509","1325712510","1325712530","1325712534"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/42ab075b86e340b852c6c523097264dd.jpg","text":"TemporaryFile(/tmp/multipartBody839202285229102562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735890912863,"filename":"image_03012025_08_53_02_474592_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3aa2378efed141ed547e855d2f21d3b6.jpg","text":"TemporaryFile(/tmp/multipartBody8371198631622229098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735890912863,"filename":"image_03012025_08_52_02_831904_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1c772971df3291e7c19c64d9e1d15bec.jpg","text":"TemporaryFile(/tmp/multipartBody4681689862162726404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735890912863,"filename":"image_03012025_08_53_02_474592_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c52ba7d5d4730fc58810e01c6139a977.jpg","text":"TemporaryFile(/tmp/multipartBody2937620506679011046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735890912863,"filename":"image_03012025_08_53_02_474592_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325712530","file1":"1325712510","file0":"1325712509","file3":"1325712534"},"map_files_photo_id_array":[{"photo_id":"1325712530","filename":"file2"},{"photo_id":"1325712510","filename":"file1"},{"photo_id":"1325712509","filename":"file0"},{"photo_id":"1325712534","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325712530":["hashtag1","hashtag2"]},{"1325712509":["hashtag1","hashtag2"]},{"1325712510":["hashtag1","hashtag2"]},{"1325712534":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325712530, 1325712509, 1325712510, 1325712534)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.0239155292511 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 08:55:03.427274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/08/53/image_03012025_08_53_02_474592_0003.jpg', '/home/pi/Desktop/images/03012025/08/54/image_03012025_08_54_02_923686_0000.jpg', '/home/pi/Desktop/images/03012025/08/54/image_03012025_08_54_02_923686_0001.jpg', '/home/pi/Desktop/images/03012025/08/54/image_03012025_08_54_02_923686_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/08/53/image_03012025_08_53_02_474592_0003.jpg
/home/pi/Desktop/images/03012025/08/54/image_03012025_08_54_02_923686_0000.jpg
/home/pi/Desktop/images/03012025/08/54/image_03012025_08_54_02_923686_0001.jpg
/home/pi/Desktop/images/03012025/08/54/image_03012025_08_54_02_923686_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325712581","1325712554","1325712558","1325712606"],"photo_ids_order":["1325712554","1325712558","1325712581","1325712606"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/cef17cbb7d4ba0abba350dee557de35e.jpg","text":"TemporaryFile(/tmp/multipartBody2751728102750035223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735890973749,"filename":"image_03012025_08_54_02_923686_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5ece53f39317b67f4b487cd534b4323a.jpg","text":"TemporaryFile(/tmp/multipartBody1811132450432589926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735890973749,"filename":"image_03012025_08_53_02_474592_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8a17e56a48fa6c23c428b79a3a9a5452.jpg","text":"TemporaryFile(/tmp/multipartBody7792283186136290702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735890973749,"filename":"image_03012025_08_54_02_923686_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4d82c0c881ead9cadae6dc9680c746cd.jpg","text":"TemporaryFile(/tmp/multipartBody5090416585076461586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735890973749,"filename":"image_03012025_08_54_02_923686_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325712581","file1":"1325712558","file0":"1325712554","file3":"1325712606"},"map_files_photo_id_array":[{"photo_id":"1325712581","filename":"file2"},{"photo_id":"1325712558","filename":"file1"},{"photo_id":"1325712554","filename":"file0"},{"photo_id":"1325712606","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325712581":["hashtag1","hashtag2"]},{"1325712554":["hashtag1","hashtag2"]},{"1325712558":["hashtag1","hashtag2"]},{"1325712606":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325712581, 1325712554, 1325712558, 1325712606)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.50443196296692 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 08:56:02.674447
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/08/54/image_03012025_08_54_02_923686_0003.jpg', '/home/pi/Desktop/images/03012025/08/55/image_03012025_08_55_02_586830_0000.jpg', '/home/pi/Desktop/images/03012025/08/55/image_03012025_08_55_02_586830_0001.jpg', '/home/pi/Desktop/images/03012025/08/55/image_03012025_08_55_02_586830_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/08/54/image_03012025_08_54_02_923686_0003.jpg
/home/pi/Desktop/images/03012025/08/55/image_03012025_08_55_02_586830_0000.jpg
/home/pi/Desktop/images/03012025/08/55/image_03012025_08_55_02_586830_0001.jpg
/home/pi/Desktop/images/03012025/08/55/image_03012025_08_55_02_586830_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325712698","1325712697","1325712840","1325712732"],"photo_ids_order":["1325712697","1325712698","1325712732","1325712840"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0d214df4154ad2921f11ed34634e9682.jpg","text":"TemporaryFile(/tmp/multipartBody2209034516108411251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735891032986,"filename":"image_03012025_08_55_02_586830_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3c2780b5f7c480abcd1af3cd34fdc2a7.jpg","text":"TemporaryFile(/tmp/multipartBody266013031916503608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735891032986,"filename":"image_03012025_08_54_02_923686_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c2ed17ab50edba43eed7bc2bc445ac23.jpg","text":"TemporaryFile(/tmp/multipartBody7692901139420173969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735891032986,"filename":"image_03012025_08_55_02_586830_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8d61cd8a31892f5156c7977e8a5445a3.jpg","text":"TemporaryFile(/tmp/multipartBody1161323595828330345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735891032986,"filename":"image_03012025_08_55_02_586830_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325712732","file1":"1325712698","file0":"1325712697","file3":"1325712840"},"map_files_photo_id_array":[{"photo_id":"1325712732","filename":"file2"},{"photo_id":"1325712698","filename":"file1"},{"photo_id":"1325712697","filename":"file0"},{"photo_id":"1325712840","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325712698":["hashtag1","hashtag2"]},{"1325712697":["hashtag1","hashtag2"]},{"1325712840":["hashtag1","hashtag2"]},{"1325712732":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325712698, 1325712697, 1325712840, 1325712732)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.18562126159668 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 08:57:02.658503
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/08/55/image_03012025_08_55_02_586830_0003.jpg', '/home/pi/Desktop/images/03012025/08/56/image_03012025_08_56_03_101978_0000.jpg', '/home/pi/Desktop/images/03012025/08/56/image_03012025_08_56_03_101978_0001.jpg', '/home/pi/Desktop/images/03012025/08/56/image_03012025_08_56_03_101978_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/08/55/image_03012025_08_55_02_586830_0003.jpg
/home/pi/Desktop/images/03012025/08/56/image_03012025_08_56_03_101978_0000.jpg
/home/pi/Desktop/images/03012025/08/56/image_03012025_08_56_03_101978_0001.jpg
/home/pi/Desktop/images/03012025/08/56/image_03012025_08_56_03_101978_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325712875","1325712869","1325712870","1325712873"],"photo_ids_order":["1325712869","1325712870","1325712873","1325712875"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/726ebef1ee0166b49e4aed4028d93217.jpg","text":"TemporaryFile(/tmp/multipartBody7226802627565504353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735891093050,"filename":"image_03012025_08_56_03_101978_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e8501ea6b5e41b54f0ab128d20128777.jpg","text":"TemporaryFile(/tmp/multipartBody1510116741874512390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735891093050,"filename":"image_03012025_08_55_02_586830_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/62d30708d9be37a7ee3e1e84e69899e5.jpg","text":"TemporaryFile(/tmp/multipartBody937842289212207940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735891093050,"filename":"image_03012025_08_56_03_101978_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/18cd1cf680f53587d7cb11c5324d53be.jpg","text":"TemporaryFile(/tmp/multipartBody6119083475129384265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735891093050,"filename":"image_03012025_08_56_03_101978_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325712873","file1":"1325712870","file0":"1325712869","file3":"1325712875"},"map_files_photo_id_array":[{"photo_id":"1325712873","filename":"file2"},{"photo_id":"1325712870","filename":"file1"},{"photo_id":"1325712869","filename":"file0"},{"photo_id":"1325712875","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325712875":["hashtag1","hashtag2"]},{"1325712869":["hashtag1","hashtag2"]},{"1325712870":["hashtag1","hashtag2"]},{"1325712873":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325712875, 1325712869, 1325712870, 1325712873)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.00410556793213 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 08:59:02.568322
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/08/56/image_03012025_08_56_03_101978_0003.jpg', '/home/pi/Desktop/images/03012025/08/57/image_03012025_08_57_02_765615_0000.jpg', '/home/pi/Desktop/images/03012025/08/57/image_03012025_08_57_02_765615_0001.jpg', '/home/pi/Desktop/images/03012025/08/57/image_03012025_08_57_02_765615_0002.jpg', '/home/pi/Desktop/images/03012025/08/57/image_03012025_08_57_02_765615_0003.jpg', '/home/pi/Desktop/images/03012025/08/58/image_03012025_08_58_02_320097_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/08/56/image_03012025_08_56_03_101978_0003.jpg
/home/pi/Desktop/images/03012025/08/57/image_03012025_08_57_02_765615_0000.jpg
/home/pi/Desktop/images/03012025/08/57/image_03012025_08_57_02_765615_0001.jpg
/home/pi/Desktop/images/03012025/08/57/image_03012025_08_57_02_765615_0002.jpg
/home/pi/Desktop/images/03012025/08/57/image_03012025_08_57_02_765615_0003.jpg
/home/pi/Desktop/images/03012025/08/58/image_03012025_08_58_02_320097_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325714185","1325714116","1325714295","1325714229","1325713863","1325714232"],"photo_ids_order":["1325713863","1325714116","1325714185","1325714229","1325714232","1325714295"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3415b520ba5eae3705621557c9d3c4f1.jpg","text":"TemporaryFile(/tmp/multipartBody5018021513160909133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735891217648,"filename":"image_03012025_08_57_02_765615_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/59a1c601f03fd07cd3985ed6a2d4849a.jpg","text":"TemporaryFile(/tmp/multipartBody3665918573179631551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735891217648,"filename":"image_03012025_08_57_02_765615_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/dfdda8f887afad27a1a3b22b43873e75.jpg","text":"TemporaryFile(/tmp/multipartBody537764765181383781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735891217648,"filename":"image_03012025_08_58_02_320097_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a6329d7c46ce67b9f9e6801c6d006835.jpg","text":"TemporaryFile(/tmp/multipartBody1393906102769116896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735891217648,"filename":"image_03012025_08_57_02_765615_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a8576047b90ff1f04ada96db6e925ddf.jpg","text":"TemporaryFile(/tmp/multipartBody8273209220705461338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735891217648,"filename":"image_03012025_08_56_03_101978_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1fa0b9affc837367748e38725f194637.jpg","text":"TemporaryFile(/tmp/multipartBody2579255674475221738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735891217648,"filename":"image_03012025_08_57_02_765615_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325714185","file1":"1325714116","file0":"1325713863","file4":"1325714232","file5":"1325714295","file3":"1325714229"},"map_files_photo_id_array":[{"photo_id":"1325714295","filename":"file5"},{"photo_id":"1325714185","filename":"file2"},{"photo_id":"1325714232","filename":"file4"},{"photo_id":"1325714116","filename":"file1"},{"photo_id":"1325713863","filename":"file0"},{"photo_id":"1325714229","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325714185":["hashtag1","hashtag2"]},{"1325714116":["hashtag1","hashtag2"]},{"1325714295":["hashtag1","hashtag2"]},{"1325714229":["hashtag1","hashtag2"]},{"1325713863":["hashtag1","hashtag2"]},{"1325714232":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325714185, 1325714116, 1325714295, 1325714229, 1325713863, 1325714232)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.222456216812134 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 09:00:02.958835
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/08/58/image_03012025_08_58_02_320097_0001.jpg', '/home/pi/Desktop/images/03012025/08/58/image_03012025_08_58_02_320097_0002.jpg', '/home/pi/Desktop/images/03012025/08/58/image_03012025_08_58_02_320097_0003.jpg', '/home/pi/Desktop/images/03012025/08/59/image_03012025_08_59_03_014709_0000.jpg', '/home/pi/Desktop/images/03012025/08/59/image_03012025_08_59_03_014709_0001.jpg', '/home/pi/Desktop/images/03012025/08/59/image_03012025_08_59_03_014709_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/08/58/image_03012025_08_58_02_320097_0001.jpg
/home/pi/Desktop/images/03012025/08/58/image_03012025_08_58_02_320097_0002.jpg
/home/pi/Desktop/images/03012025/08/58/image_03012025_08_58_02_320097_0003.jpg
/home/pi/Desktop/images/03012025/08/59/image_03012025_08_59_03_014709_0000.jpg
/home/pi/Desktop/images/03012025/08/59/image_03012025_08_59_03_014709_0001.jpg
/home/pi/Desktop/images/03012025/08/59/image_03012025_08_59_03_014709_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325714317","1325714311","1325714314","1325714325","1325714307","1325714321"],"photo_ids_order":["1325714307","1325714311","1325714314","1325714317","1325714321","1325714325"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2a75afe36d35c622312ae8aa1b0d7c5a.jpg","text":"TemporaryFile(/tmp/multipartBody2365264151783199973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735891277859,"filename":"image_03012025_08_59_03_014709_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8b31d351fcb0ae16e72be862a8f2abe1.jpg","text":"TemporaryFile(/tmp/multipartBody3669575300950236161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735891277859,"filename":"image_03012025_08_58_02_320097_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ca0b6f6df7e62cc83435d59e0e8c9f8c.jpg","text":"TemporaryFile(/tmp/multipartBody4770865791042909086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735891277859,"filename":"image_03012025_08_58_02_320097_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1b82b70048a510a69b89b049d63eeb25.jpg","text":"TemporaryFile(/tmp/multipartBody1607833380539042877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735891277859,"filename":"image_03012025_08_59_03_014709_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/31ea04f1415b32affc5e61cc16b641f3.jpg","text":"TemporaryFile(/tmp/multipartBody5385210622143525213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735891277859,"filename":"image_03012025_08_58_02_320097_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1007d5e7e1e3022dd0102bfbf65bad49.jpg","text":"TemporaryFile(/tmp/multipartBody1523474296600126929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735891277859,"filename":"image_03012025_08_59_03_014709_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325714314","file1":"1325714311","file0":"1325714307","file4":"1325714321","file5":"1325714325","file3":"1325714317"},"map_files_photo_id_array":[{"photo_id":"1325714325","filename":"file5"},{"photo_id":"1325714314","filename":"file2"},{"photo_id":"1325714321","filename":"file4"},{"photo_id":"1325714311","filename":"file1"},{"photo_id":"1325714307","filename":"file0"},{"photo_id":"1325714317","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325714317":["hashtag1","hashtag2"]},{"1325714311":["hashtag1","hashtag2"]},{"1325714314":["hashtag1","hashtag2"]},{"1325714325":["hashtag1","hashtag2"]},{"1325714307":["hashtag1","hashtag2"]},{"1325714321":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325714317, 1325714311, 1325714314, 1325714325, 1325714307, 1325714321)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.44450259208679 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 09:01:02.629881
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/08/59/image_03012025_08_59_03_014709_0003.jpg', '/home/pi/Desktop/images/03012025/09/00/image_03012025_09_00_02_264056_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/08/59/image_03012025_08_59_03_014709_0003.jpg
/home/pi/Desktop/images/03012025/09/00/image_03012025_09_00_02_264056_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325714338","1325714336"],"photo_ids_order":["1325714336","1325714338"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/23e0fb1acd5e5d1220a161f07496ec8b.jpg","text":"TemporaryFile(/tmp/multipartBody6195185974615970319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735891328156,"filename":"image_03012025_09_00_02_264056_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f1e0133754a3f6ca48c695c3c7b3e144.jpg","text":"TemporaryFile(/tmp/multipartBody302037876627383018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735891328156,"filename":"image_03012025_08_59_03_014709_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1325714338","file0":"1325714336"},"map_files_photo_id_array":[{"photo_id":"1325714338","filename":"file1"},{"photo_id":"1325714336","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325714338":["hashtag1","hashtag2"]},{"1325714336":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325714338, 1325714336)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.608442544937134 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 09:02:02.247638
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/09/00/image_03012025_09_00_02_264056_0003.jpg', '/home/pi/Desktop/images/03012025/09/01/image_03012025_09_01_02_914179_0000.jpg', '/home/pi/Desktop/images/03012025/09/01/image_03012025_09_01_02_914179_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/09/00/image_03012025_09_00_02_264056_0003.jpg
/home/pi/Desktop/images/03012025/09/01/image_03012025_09_01_02_914179_0000.jpg
/home/pi/Desktop/images/03012025/09/01/image_03012025_09_01_02_914179_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.50968861579895 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 09:02:21.766097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/09/00/image_03012025_09_00_02_264056_0003.jpg', '/home/pi/Desktop/images/03012025/09/01/image_03012025_09_01_02_914179_0000.jpg', '/home/pi/Desktop/images/03012025/09/01/image_03012025_09_01_02_914179_0001.jpg', '/home/pi/Desktop/images/03012025/09/01/image_03012025_09_01_02_914179_0003.jpg', '/home/pi/Desktop/images/03012025/09/02/image_03012025_09_02_02_422275_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/09/00/image_03012025_09_00_02_264056_0003.jpg
/home/pi/Desktop/images/03012025/09/01/image_03012025_09_01_02_914179_0000.jpg
/home/pi/Desktop/images/03012025/09/01/image_03012025_09_01_02_914179_0001.jpg
/home/pi/Desktop/images/03012025/09/01/image_03012025_09_01_02_914179_0003.jpg
/home/pi/Desktop/images/03012025/09/02/image_03012025_09_02_02_422275_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325714380","1325714382","1325714373","1325714367","1325714378"],"photo_ids_order":["1325714367","1325714373","1325714378","1325714380","1325714382"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d7045666b82f3b2c4a6cbfd6b625d88c.jpg","text":"TemporaryFile(/tmp/multipartBody8457068402878957667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735891414436,"filename":"image_03012025_09_01_02_914179_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9491e1e6ca14a69fc14720743609c145.jpg","text":"TemporaryFile(/tmp/multipartBody8055117135026912334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735891414436,"filename":"image_03012025_09_02_02_422275_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f0b6f80f923530f0fe653547dd01b576.jpg","text":"TemporaryFile(/tmp/multipartBody2078196536066379606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735891414436,"filename":"image_03012025_09_01_02_914179_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ff49637fa2c0b136e99e33eb7901ae89.jpg","text":"TemporaryFile(/tmp/multipartBody3996694884924976990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735891414436,"filename":"image_03012025_09_00_02_264056_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4e9a37f2dd1a02d72fb9d0ab5d080796.jpg","text":"TemporaryFile(/tmp/multipartBody7488729079483670109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735891414436,"filename":"image_03012025_09_01_02_914179_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325714378","file1":"1325714373","file0":"1325714367","file4":"1325714382","file3":"1325714380"},"map_files_photo_id_array":[{"photo_id":"1325714378","filename":"file2"},{"photo_id":"1325714382","filename":"file4"},{"photo_id":"1325714373","filename":"file1"},{"photo_id":"1325714367","filename":"file0"},{"photo_id":"1325714380","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325714380":["hashtag1","hashtag2"]},{"1325714382":["hashtag1","hashtag2"]},{"1325714373":["hashtag1","hashtag2"]},{"1325714367":["hashtag1","hashtag2"]},{"1325714378":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325714380, 1325714382, 1325714373, 1325714367, 1325714378)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 48.13950300216675 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 09:03:22.410268
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/09/02/image_03012025_09_02_02_422275_0002.jpg', '/home/pi/Desktop/images/03012025/09/03/image_03012025_09_03_02_244940_0000.jpg', '/home/pi/Desktop/images/03012025/09/03/image_03012025_09_03_02_244940_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/09/02/image_03012025_09_02_02_422275_0002.jpg
/home/pi/Desktop/images/03012025/09/03/image_03012025_09_03_02_244940_0000.jpg
/home/pi/Desktop/images/03012025/09/03/image_03012025_09_03_02_244940_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325714411","1325714414","1325714408"],"photo_ids_order":["1325714408","1325714411","1325714414"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/49c2ba7afce76d91b1866d09933ee68c.jpg","text":"TemporaryFile(/tmp/multipartBody3569827017443598363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735891470313,"filename":"image_03012025_09_03_02_244940_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/737bf93eaf23fba78c51e59473d0b623.jpg","text":"TemporaryFile(/tmp/multipartBody4750768577430301348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735891470313,"filename":"image_03012025_09_03_02_244940_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/67ac9ed760d231640981614e69c9e4f5.jpg","text":"TemporaryFile(/tmp/multipartBody3193857023748330551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735891470313,"filename":"image_03012025_09_02_02_422275_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325714414","file1":"1325714411","file0":"1325714408"},"map_files_photo_id_array":[{"photo_id":"1325714414","filename":"file2"},{"photo_id":"1325714411","filename":"file1"},{"photo_id":"1325714408","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325714411":["hashtag1","hashtag2"]},{"1325714414":["hashtag1","hashtag2"]},{"1325714408":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325714411, 1325714414, 1325714408)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.17669701576233 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 09:04:02.370273
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 09:04:21.985534
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/09/03/image_03012025_09_03_02_244940_0003.jpg', '/home/pi/Desktop/images/03012025/09/04/image_03012025_09_04_02_848010_0000.jpg', '/home/pi/Desktop/images/03012025/09/04/image_03012025_09_04_02_848010_0001.jpg', '/home/pi/Desktop/images/03012025/09/04/image_03012025_09_04_02_848010_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/09/03/image_03012025_09_03_02_244940_0003.jpg
/home/pi/Desktop/images/03012025/09/04/image_03012025_09_04_02_848010_0000.jpg
/home/pi/Desktop/images/03012025/09/04/image_03012025_09_04_02_848010_0001.jpg
/home/pi/Desktop/images/03012025/09/04/image_03012025_09_04_02_848010_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325714488","1325714482","1325714495","1325714456"],"photo_ids_order":["1325714456","1325714482","1325714488","1325714495"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/cdaa9d21dede327c75250e66d23d9a6e.jpg","text":"TemporaryFile(/tmp/multipartBody7759180794721291231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735891532252,"filename":"image_03012025_09_04_02_848010_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/150b4c5e8a5044611dd6068eb251b0b4.jpg","text":"TemporaryFile(/tmp/multipartBody1115516565816678920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735891532252,"filename":"image_03012025_09_04_02_848010_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/dc086d4a0cf076c32bbb87b96aae605d.jpg","text":"TemporaryFile(/tmp/multipartBody3417837259610730962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735891532252,"filename":"image_03012025_09_04_02_848010_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/23348a83f23dd2ea56a2d3f9291685d5.jpg","text":"TemporaryFile(/tmp/multipartBody2022667523605358233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735891532252,"filename":"image_03012025_09_03_02_244940_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325714488","file1":"1325714482","file0":"1325714456","file3":"1325714495"},"map_files_photo_id_array":[{"photo_id":"1325714488","filename":"file2"},{"photo_id":"1325714482","filename":"file1"},{"photo_id":"1325714456","filename":"file0"},{"photo_id":"1325714495","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325714488":["hashtag1","hashtag2"]},{"1325714482":["hashtag1","hashtag2"]},{"1325714495":["hashtag1","hashtag2"]},{"1325714456":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325714488, 1325714482, 1325714495, 1325714456)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.51242113113403 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 09:05:03.100569
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 09:05:22.496308
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/09/04/image_03012025_09_04_02_848010_0003.jpg', '/home/pi/Desktop/images/03012025/09/05/image_03012025_09_05_02_357969_0000.jpg', '/home/pi/Desktop/images/03012025/09/05/image_03012025_09_05_02_357969_0001.jpg', '/home/pi/Desktop/images/03012025/09/05/image_03012025_09_05_02_357969_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/09/04/image_03012025_09_04_02_848010_0003.jpg
/home/pi/Desktop/images/03012025/09/05/image_03012025_09_05_02_357969_0000.jpg
/home/pi/Desktop/images/03012025/09/05/image_03012025_09_05_02_357969_0001.jpg
/home/pi/Desktop/images/03012025/09/05/image_03012025_09_05_02_357969_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325714615","1325714619","1325714597","1325714537"],"photo_ids_order":["1325714537","1325714597","1325714615","1325714619"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8458369fa8319d0f36c6e48613a8ae1c.jpg","text":"TemporaryFile(/tmp/multipartBody2992954907036437201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735891592758,"filename":"image_03012025_09_05_02_357969_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2a2cace826ab4f883b765dc1c732f54b.jpg","text":"TemporaryFile(/tmp/multipartBody7243455634335472227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735891592758,"filename":"image_03012025_09_05_02_357969_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c125027742a5352594f2a0e8bf6a4255.jpg","text":"TemporaryFile(/tmp/multipartBody5702224428057537756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735891592758,"filename":"image_03012025_09_05_02_357969_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3269282e50ab6bcfcee2693f752a7496.jpg","text":"TemporaryFile(/tmp/multipartBody1618621094517614308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735891592758,"filename":"image_03012025_09_04_02_848010_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325714615","file1":"1325714597","file0":"1325714537","file3":"1325714619"},"map_files_photo_id_array":[{"photo_id":"1325714615","filename":"file2"},{"photo_id":"1325714597","filename":"file1"},{"photo_id":"1325714537","filename":"file0"},{"photo_id":"1325714619","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325714615":["hashtag1","hashtag2"]},{"1325714619":["hashtag1","hashtag2"]},{"1325714597":["hashtag1","hashtag2"]},{"1325714537":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325714615, 1325714619, 1325714597, 1325714537)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.06995129585266 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 09:06:22.258306
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/09/05/image_03012025_09_05_02_357969_0003.jpg', '/home/pi/Desktop/images/03012025/09/06/image_03012025_09_06_02_939370_0000.jpg', '/home/pi/Desktop/images/03012025/09/06/image_03012025_09_06_02_939370_0001.jpg', '/home/pi/Desktop/images/03012025/09/06/image_03012025_09_06_02_939370_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/09/05/image_03012025_09_05_02_357969_0003.jpg
/home/pi/Desktop/images/03012025/09/06/image_03012025_09_06_02_939370_0000.jpg
/home/pi/Desktop/images/03012025/09/06/image_03012025_09_06_02_939370_0001.jpg
/home/pi/Desktop/images/03012025/09/06/image_03012025_09_06_02_939370_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325714635","1325714638","1325714646","1325714642"],"photo_ids_order":["1325714635","1325714638","1325714642","1325714646"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/395a4287630cf02d67c88cbe83ab6a52.jpg","text":"TemporaryFile(/tmp/multipartBody2703570989048816505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735891652526,"filename":"image_03012025_09_05_02_357969_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/758c3c3f2c2aee23b8d6701e785dfda5.jpg","text":"TemporaryFile(/tmp/multipartBody1179166770003302459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735891652526,"filename":"image_03012025_09_06_02_939370_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/795dc0ac17b65228f49e38ec348e2d71.jpg","text":"TemporaryFile(/tmp/multipartBody3989959313634154869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735891652526,"filename":"image_03012025_09_06_02_939370_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2a7c0f8dcb6b275581f090865022ea51.jpg","text":"TemporaryFile(/tmp/multipartBody2761498206281704427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735891652526,"filename":"image_03012025_09_06_02_939370_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325714642","file1":"1325714638","file0":"1325714635","file3":"1325714646"},"map_files_photo_id_array":[{"photo_id":"1325714642","filename":"file2"},{"photo_id":"1325714638","filename":"file1"},{"photo_id":"1325714635","filename":"file0"},{"photo_id":"1325714646","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325714635":["hashtag1","hashtag2"]},{"1325714638":["hashtag1","hashtag2"]},{"1325714646":["hashtag1","hashtag2"]},{"1325714642":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325714635, 1325714638, 1325714646, 1325714642)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.52855038642883 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 09:07:03.372992
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 09:07:22.711298
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/09/06/image_03012025_09_06_02_939370_0003.jpg', '/home/pi/Desktop/images/03012025/09/07/image_03012025_09_07_02_539619_0000.jpg', '/home/pi/Desktop/images/03012025/09/07/image_03012025_09_07_02_539619_0001.jpg', '/home/pi/Desktop/images/03012025/09/07/image_03012025_09_07_02_539619_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/09/06/image_03012025_09_06_02_939370_0003.jpg
/home/pi/Desktop/images/03012025/09/07/image_03012025_09_07_02_539619_0000.jpg
/home/pi/Desktop/images/03012025/09/07/image_03012025_09_07_02_539619_0001.jpg
/home/pi/Desktop/images/03012025/09/07/image_03012025_09_07_02_539619_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325714688","1325714684","1325714663","1325714680"],"photo_ids_order":["1325714663","1325714680","1325714684","1325714688"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/cd41e05af35831cd5323dd0660b0d01a.jpg","text":"TemporaryFile(/tmp/multipartBody535491617245740342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735891712989,"filename":"image_03012025_09_07_02_539619_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/edccc4d9526cacef35f28744c3d142b8.jpg","text":"TemporaryFile(/tmp/multipartBody4544939473290727237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735891712989,"filename":"image_03012025_09_07_02_539619_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f77224743add06a5c1c20b3ea8a8dada.jpg","text":"TemporaryFile(/tmp/multipartBody6289722055065817103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735891712989,"filename":"image_03012025_09_06_02_939370_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/76820b438a85ffde973f3ca873de158e.jpg","text":"TemporaryFile(/tmp/multipartBody2020255484998691435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735891712989,"filename":"image_03012025_09_07_02_539619_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325714684","file1":"1325714680","file0":"1325714663","file3":"1325714688"},"map_files_photo_id_array":[{"photo_id":"1325714684","filename":"file2"},{"photo_id":"1325714680","filename":"file1"},{"photo_id":"1325714663","filename":"file0"},{"photo_id":"1325714688","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325714688":["hashtag1","hashtag2"]},{"1325714684":["hashtag1","hashtag2"]},{"1325714663":["hashtag1","hashtag2"]},{"1325714680":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325714688, 1325714684, 1325714663, 1325714680)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.03203272819519 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 09:08:02.829680
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 09:08:22.273665
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/09/07/image_03012025_09_07_02_539619_0003.jpg', '/home/pi/Desktop/images/03012025/09/08/image_03012025_09_08_03_036002_0000.jpg', '/home/pi/Desktop/images/03012025/09/08/image_03012025_09_08_03_036002_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/09/07/image_03012025_09_07_02_539619_0003.jpg
/home/pi/Desktop/images/03012025/09/08/image_03012025_09_08_03_036002_0000.jpg
/home/pi/Desktop/images/03012025/09/08/image_03012025_09_08_03_036002_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325714707","1325714701","1325714704"],"photo_ids_order":["1325714701","1325714704","1325714707"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f2ef3cfe9161b446b1b97d9e79a57119.jpg","text":"TemporaryFile(/tmp/multipartBody3386801037253355127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735891770195,"filename":"image_03012025_09_08_03_036002_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/765ea12bd135a3c5c7e30995358471fd.jpg","text":"TemporaryFile(/tmp/multipartBody8741947045903035636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735891770195,"filename":"image_03012025_09_07_02_539619_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e8a4310b8d49dfe121230c2478614f4f.jpg","text":"TemporaryFile(/tmp/multipartBody5688613393122636696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735891770195,"filename":"image_03012025_09_08_03_036002_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325714707","file1":"1325714704","file0":"1325714701"},"map_files_photo_id_array":[{"photo_id":"1325714707","filename":"file2"},{"photo_id":"1325714704","filename":"file1"},{"photo_id":"1325714701","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325714707":["hashtag1","hashtag2"]},{"1325714701":["hashtag1","hashtag2"]},{"1325714704":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325714707, 1325714701, 1325714704)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.28467559814453 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 09:09:02.411161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 09:09:21.909676
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/09/08/image_03012025_09_08_03_036002_0003.jpg', '/home/pi/Desktop/images/03012025/09/09/image_03012025_09_09_02_766804_0000.jpg', '/home/pi/Desktop/images/03012025/09/09/image_03012025_09_09_02_766804_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/09/08/image_03012025_09_08_03_036002_0003.jpg
/home/pi/Desktop/images/03012025/09/09/image_03012025_09_09_02_766804_0000.jpg
/home/pi/Desktop/images/03012025/09/09/image_03012025_09_09_02_766804_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325714728","1325714724","1325714732"],"photo_ids_order":["1325714724","1325714728","1325714732"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3dbbe21b65faaf8057f6dc2a40479f43.jpg","text":"TemporaryFile(/tmp/multipartBody7480281182162387040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735891829789,"filename":"image_03012025_09_09_02_766804_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e39c660ae69d2e118f02fe1310bf50be.jpg","text":"TemporaryFile(/tmp/multipartBody5156380551212172918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735891829789,"filename":"image_03012025_09_08_03_036002_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8ea0775c7692feeb2c905a2c5ebb5fa3.jpg","text":"TemporaryFile(/tmp/multipartBody1762721646416280333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735891829789,"filename":"image_03012025_09_09_02_766804_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325714732","file1":"1325714728","file0":"1325714724"},"map_files_photo_id_array":[{"photo_id":"1325714732","filename":"file2"},{"photo_id":"1325714728","filename":"file1"},{"photo_id":"1325714724","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325714728":["hashtag1","hashtag2"]},{"1325714724":["hashtag1","hashtag2"]},{"1325714732":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325714728, 1325714724, 1325714732)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.780628442764282 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 09:10:02.968472
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 09:10:22.589977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/09/09/image_03012025_09_09_02_766804_0002.jpg', '/home/pi/Desktop/images/03012025/09/10/image_03012025_09_10_02_263565_0000.jpg', '/home/pi/Desktop/images/03012025/09/10/image_03012025_09_10_02_263565_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/09/09/image_03012025_09_09_02_766804_0002.jpg
/home/pi/Desktop/images/03012025/09/10/image_03012025_09_10_02_263565_0000.jpg
/home/pi/Desktop/images/03012025/09/10/image_03012025_09_10_02_263565_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325714791","1325714795","1325714788"],"photo_ids_order":["1325714788","1325714791","1325714795"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/abaeff3b08d70602e91a560ba064cb87.jpg","text":"TemporaryFile(/tmp/multipartBody1148888979649421430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735891890450,"filename":"image_03012025_09_10_02_263565_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8112680210c6a8730d22296d377e4e44.jpg","text":"TemporaryFile(/tmp/multipartBody8608513262636512217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735891890450,"filename":"image_03012025_09_10_02_263565_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/70cf4ba0a78752d41dc35097a2d69538.jpg","text":"TemporaryFile(/tmp/multipartBody7834565029224171567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735891890450,"filename":"image_03012025_09_09_02_766804_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325714795","file1":"1325714791","file0":"1325714788"},"map_files_photo_id_array":[{"photo_id":"1325714795","filename":"file2"},{"photo_id":"1325714791","filename":"file1"},{"photo_id":"1325714788","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325714791":["hashtag1","hashtag2"]},{"1325714795":["hashtag1","hashtag2"]},{"1325714788":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325714791, 1325714795, 1325714788)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.650712728500366 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 09:11:02.786235
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 09:11:22.140945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/09/10/image_03012025_09_10_02_263565_0003.jpg', '/home/pi/Desktop/images/03012025/09/11/image_03012025_09_11_03_013620_0000.jpg', '/home/pi/Desktop/images/03012025/09/11/image_03012025_09_11_03_013620_0001.jpg', '/home/pi/Desktop/images/03012025/09/11/image_03012025_09_11_03_013620_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/09/10/image_03012025_09_10_02_263565_0003.jpg
/home/pi/Desktop/images/03012025/09/11/image_03012025_09_11_03_013620_0000.jpg
/home/pi/Desktop/images/03012025/09/11/image_03012025_09_11_03_013620_0001.jpg
/home/pi/Desktop/images/03012025/09/11/image_03012025_09_11_03_013620_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325715046","1325715051","1325715057","1325715042"],"photo_ids_order":["1325715042","1325715046","1325715051","1325715057"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a358b7811cd364707c82bb8ac1317dce.jpg","text":"TemporaryFile(/tmp/multipartBody2494209026981247436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735891952581,"filename":"image_03012025_09_11_03_013620_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/48ab15d53d703568586bd77e369a0675.jpg","text":"TemporaryFile(/tmp/multipartBody3506279423477400078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735891952581,"filename":"image_03012025_09_11_03_013620_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f783443a31c49f0eafdc3965470630b3.jpg","text":"TemporaryFile(/tmp/multipartBody4955580631705948148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735891952581,"filename":"image_03012025_09_11_03_013620_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4c86e8195afc750e43b40debdd8ef5f1.jpg","text":"TemporaryFile(/tmp/multipartBody6951452313193663651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735891952581,"filename":"image_03012025_09_10_02_263565_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325715051","file1":"1325715046","file0":"1325715042","file3":"1325715057"},"map_files_photo_id_array":[{"photo_id":"1325715051","filename":"file2"},{"photo_id":"1325715046","filename":"file1"},{"photo_id":"1325715042","filename":"file0"},{"photo_id":"1325715057","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325715046":["hashtag1","hashtag2"]},{"1325715051":["hashtag1","hashtag2"]},{"1325715057":["hashtag1","hashtag2"]},{"1325715042":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325715046, 1325715051, 1325715057, 1325715042)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.76203989982605 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 09:12:03.240531
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 09:12:22.749062
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/09/11/image_03012025_09_11_03_013620_0003.jpg', '/home/pi/Desktop/images/03012025/09/12/image_03012025_09_12_02_593636_0000.jpg', '/home/pi/Desktop/images/03012025/09/12/image_03012025_09_12_02_593636_0001.jpg', '/home/pi/Desktop/images/03012025/09/12/image_03012025_09_12_02_593636_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/09/11/image_03012025_09_11_03_013620_0003.jpg
/home/pi/Desktop/images/03012025/09/12/image_03012025_09_12_02_593636_0000.jpg
/home/pi/Desktop/images/03012025/09/12/image_03012025_09_12_02_593636_0001.jpg
/home/pi/Desktop/images/03012025/09/12/image_03012025_09_12_02_593636_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325715080","1325715086","1325715091","1325715097"],"photo_ids_order":["1325715080","1325715086","1325715091","1325715097"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1f7d32f06d9076ba5af0228bc7f560a0.jpg","text":"TemporaryFile(/tmp/multipartBody8166228757580978097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735892013357,"filename":"image_03012025_09_11_03_013620_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d7bdcabcc0a80df43667332322c0359d.jpg","text":"TemporaryFile(/tmp/multipartBody1751024993846790316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735892013357,"filename":"image_03012025_09_12_02_593636_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3b2cd8b54665a93eab53f7fcc118a200.jpg","text":"TemporaryFile(/tmp/multipartBody5873889783768220562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735892013357,"filename":"image_03012025_09_12_02_593636_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/35339207714fc96f067dcfdb6b5facf7.jpg","text":"TemporaryFile(/tmp/multipartBody8274134409160142158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735892013357,"filename":"image_03012025_09_12_02_593636_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325715091","file1":"1325715086","file0":"1325715080","file3":"1325715097"},"map_files_photo_id_array":[{"photo_id":"1325715091","filename":"file2"},{"photo_id":"1325715086","filename":"file1"},{"photo_id":"1325715080","filename":"file0"},{"photo_id":"1325715097","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325715080":["hashtag1","hashtag2"]},{"1325715086":["hashtag1","hashtag2"]},{"1325715091":["hashtag1","hashtag2"]},{"1325715097":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325715080, 1325715086, 1325715091, 1325715097)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.42461585998535 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 09:13:22.231228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/09/12/image_03012025_09_12_02_593636_0003.jpg', '/home/pi/Desktop/images/03012025/09/13/image_03012025_09_13_03_100709_0000.jpg', '/home/pi/Desktop/images/03012025/09/13/image_03012025_09_13_03_100709_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/09/12/image_03012025_09_12_02_593636_0003.jpg
/home/pi/Desktop/images/03012025/09/13/image_03012025_09_13_03_100709_0000.jpg
/home/pi/Desktop/images/03012025/09/13/image_03012025_09_13_03_100709_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325715114","1325715143","1325715119"],"photo_ids_order":["1325715114","1325715119","1325715143"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8af11fe1479be62bb7fc60d75836760e.jpg","text":"TemporaryFile(/tmp/multipartBody6808252126521557364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735892070359,"filename":"image_03012025_09_12_02_593636_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a13f0b95bebe00c5809b3f248f5b81b2.jpg","text":"TemporaryFile(/tmp/multipartBody5534456594074078113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735892070359,"filename":"image_03012025_09_13_03_100709_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b8a1368815264fcd138e4b4a02b632b1.jpg","text":"TemporaryFile(/tmp/multipartBody1546712331226852980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735892070359,"filename":"image_03012025_09_13_03_100709_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325715143","file1":"1325715119","file0":"1325715114"},"map_files_photo_id_array":[{"photo_id":"1325715143","filename":"file2"},{"photo_id":"1325715119","filename":"file1"},{"photo_id":"1325715114","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325715114":["hashtag1","hashtag2"]},{"1325715143":["hashtag1","hashtag2"]},{"1325715119":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325715114, 1325715143, 1325715119)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.3135347366333 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 09:14:02.278427
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 09:14:21.787096
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/09/13/image_03012025_09_13_03_100709_0002.jpg', '/home/pi/Desktop/images/03012025/09/14/image_03012025_09_14_02_647168_0000.jpg', '/home/pi/Desktop/images/03012025/09/14/image_03012025_09_14_02_647168_0001.jpg', '/home/pi/Desktop/images/03012025/09/14/image_03012025_09_14_02_647168_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/09/13/image_03012025_09_13_03_100709_0002.jpg
/home/pi/Desktop/images/03012025/09/14/image_03012025_09_14_02_647168_0000.jpg
/home/pi/Desktop/images/03012025/09/14/image_03012025_09_14_02_647168_0001.jpg
/home/pi/Desktop/images/03012025/09/14/image_03012025_09_14_02_647168_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325715205","1325715201","1325715191","1325715197"],"photo_ids_order":["1325715191","1325715197","1325715201","1325715205"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/165c413ae57899aa15662c9d34b4a233.jpg","text":"TemporaryFile(/tmp/multipartBody8053222202954845989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735892132415,"filename":"image_03012025_09_14_02_647168_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5799d5595e33f1bf34e9fe0403f15783.jpg","text":"TemporaryFile(/tmp/multipartBody2400512322794780717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735892132415,"filename":"image_03012025_09_14_02_647168_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/84c458425cebfad2e1192172a4004e82.jpg","text":"TemporaryFile(/tmp/multipartBody5868571446555963856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735892132415,"filename":"image_03012025_09_13_03_100709_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c10b6a67b4768e7850f5953d8980f973.jpg","text":"TemporaryFile(/tmp/multipartBody8004378631293396143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735892132415,"filename":"image_03012025_09_14_02_647168_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325715201","file1":"1325715197","file0":"1325715191","file3":"1325715205"},"map_files_photo_id_array":[{"photo_id":"1325715201","filename":"file2"},{"photo_id":"1325715197","filename":"file1"},{"photo_id":"1325715191","filename":"file0"},{"photo_id":"1325715205","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325715205":["hashtag1","hashtag2"]},{"1325715201":["hashtag1","hashtag2"]},{"1325715191":["hashtag1","hashtag2"]},{"1325715197":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325715205, 1325715201, 1325715191, 1325715197)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.875343561172485 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 09:15:22.360325
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/09/14/image_03012025_09_14_02_647168_0003.jpg', '/home/pi/Desktop/images/03012025/09/15/image_03012025_09_15_02_142888_0000.jpg', '/home/pi/Desktop/images/03012025/09/15/image_03012025_09_15_02_142888_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/09/14/image_03012025_09_14_02_647168_0003.jpg
/home/pi/Desktop/images/03012025/09/15/image_03012025_09_15_02_142888_0000.jpg
/home/pi/Desktop/images/03012025/09/15/image_03012025_09_15_02_142888_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325715403","1325715399","1325715394"],"photo_ids_order":["1325715394","1325715399","1325715403"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ad5cf8f6078039db2bf0c9a254655683.jpg","text":"TemporaryFile(/tmp/multipartBody2413464758224712480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735892190483,"filename":"image_03012025_09_15_02_142888_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/75c7772ab065c4660c87b1a240f18006.jpg","text":"TemporaryFile(/tmp/multipartBody3320336766217128714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735892190483,"filename":"image_03012025_09_15_02_142888_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f4da71aa5521ed20c77a436103c7d7c7.jpg","text":"TemporaryFile(/tmp/multipartBody986202887349970043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735892190483,"filename":"image_03012025_09_14_02_647168_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325715403","file1":"1325715399","file0":"1325715394"},"map_files_photo_id_array":[{"photo_id":"1325715403","filename":"file2"},{"photo_id":"1325715399","filename":"file1"},{"photo_id":"1325715394","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325715403":["hashtag1","hashtag2"]},{"1325715399":["hashtag1","hashtag2"]},{"1325715394":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325715403, 1325715399, 1325715394)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.163681745529175 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 09:16:02.266216
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 09:16:21.882042
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/09/15/image_03012025_09_15_02_142888_0003.jpg', '/home/pi/Desktop/images/03012025/09/16/image_03012025_09_16_02_689801_0000.jpg', '/home/pi/Desktop/images/03012025/09/16/image_03012025_09_16_02_689801_0001.jpg', '/home/pi/Desktop/images/03012025/09/16/image_03012025_09_16_02_689801_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/09/15/image_03012025_09_15_02_142888_0003.jpg
/home/pi/Desktop/images/03012025/09/16/image_03012025_09_16_02_689801_0000.jpg
/home/pi/Desktop/images/03012025/09/16/image_03012025_09_16_02_689801_0001.jpg
/home/pi/Desktop/images/03012025/09/16/image_03012025_09_16_02_689801_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.2238028049469 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 09:17:02.974980
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/09/15/image_03012025_09_15_02_142888_0003.jpg', '/home/pi/Desktop/images/03012025/09/16/image_03012025_09_16_02_689801_0000.jpg', '/home/pi/Desktop/images/03012025/09/16/image_03012025_09_16_02_689801_0001.jpg', '/home/pi/Desktop/images/03012025/09/16/image_03012025_09_16_02_689801_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/09/15/image_03012025_09_15_02_142888_0003.jpg
/home/pi/Desktop/images/03012025/09/16/image_03012025_09_16_02_689801_0000.jpg
/home/pi/Desktop/images/03012025/09/16/image_03012025_09_16_02_689801_0001.jpg
/home/pi/Desktop/images/03012025/09/16/image_03012025_09_16_02_689801_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325715513","1325715527","1325715521","1325715512"],"photo_ids_order":["1325715512","1325715513","1325715521","1325715527"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/132244cfa87bf7b66f39037905d9d0c1.jpg","text":"TemporaryFile(/tmp/multipartBody4154049299398482757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735892293664,"filename":"image_03012025_09_16_02_689801_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0f07534b4e7df5ed3dbaf99ba64441fa.jpg","text":"TemporaryFile(/tmp/multipartBody4230916977965763561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735892293664,"filename":"image_03012025_09_16_02_689801_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/73a0d392e358575d0a13708a84f9655d.jpg","text":"TemporaryFile(/tmp/multipartBody2168598169640847758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735892293664,"filename":"image_03012025_09_16_02_689801_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/38c1343caf8c14416f6517c73a4e9f94.jpg","text":"TemporaryFile(/tmp/multipartBody1079347584984058844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735892293664,"filename":"image_03012025_09_15_02_142888_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325715521","file1":"1325715513","file0":"1325715512","file3":"1325715527"},"map_files_photo_id_array":[{"photo_id":"1325715521","filename":"file2"},{"photo_id":"1325715513","filename":"file1"},{"photo_id":"1325715512","filename":"file0"},{"photo_id":"1325715527","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325715513":["hashtag1","hashtag2"]},{"1325715527":["hashtag1","hashtag2"]},{"1325715521":["hashtag1","hashtag2"]},{"1325715512":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325715513, 1325715527, 1325715521, 1325715512)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.80767631530762 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 09:18:02.406767
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/09/16/image_03012025_09_16_02_689801_0003.jpg', '/home/pi/Desktop/images/03012025/09/17/image_03012025_09_17_02_199205_0001.jpg', '/home/pi/Desktop/images/03012025/09/17/image_03012025_09_17_02_199205_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/09/16/image_03012025_09_16_02_689801_0003.jpg
/home/pi/Desktop/images/03012025/09/17/image_03012025_09_17_02_199205_0001.jpg
/home/pi/Desktop/images/03012025/09/17/image_03012025_09_17_02_199205_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325715557","1325715592","1325715595"],"photo_ids_order":["1325715557","1325715592","1325715595"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/caf285862d848bc2fc5061f4b03d8491.jpg","text":"TemporaryFile(/tmp/multipartBody1040785014597394156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735892350560,"filename":"image_03012025_09_16_02_689801_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/42bc033a8645a935520d5b23be2db060.jpg","text":"TemporaryFile(/tmp/multipartBody228356146122330222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735892350560,"filename":"image_03012025_09_17_02_199205_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7f7b15169bb4ae01d5100f07c4aeda40.jpg","text":"TemporaryFile(/tmp/multipartBody2596596869059412024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735892350560,"filename":"image_03012025_09_17_02_199205_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325715595","file1":"1325715592","file0":"1325715557"},"map_files_photo_id_array":[{"photo_id":"1325715595","filename":"file2"},{"photo_id":"1325715592","filename":"file1"},{"photo_id":"1325715557","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325715557":["hashtag1","hashtag2"]},{"1325715592":["hashtag1","hashtag2"]},{"1325715595":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325715557, 1325715592, 1325715595)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 35.19235825538635 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 09:19:03.073046
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/09/17/image_03012025_09_17_02_199205_0003.jpg', '/home/pi/Desktop/images/03012025/09/18/image_03012025_09_18_02_717835_0000.jpg', '/home/pi/Desktop/images/03012025/09/18/image_03012025_09_18_02_717835_0001.jpg', '/home/pi/Desktop/images/03012025/09/18/image_03012025_09_18_02_717835_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/09/17/image_03012025_09_17_02_199205_0003.jpg
/home/pi/Desktop/images/03012025/09/18/image_03012025_09_18_02_717835_0000.jpg
/home/pi/Desktop/images/03012025/09/18/image_03012025_09_18_02_717835_0001.jpg
/home/pi/Desktop/images/03012025/09/18/image_03012025_09_18_02_717835_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325715619","1325715621","1325715624","1325715627"],"photo_ids_order":["1325715619","1325715621","1325715624","1325715627"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/60716519c9d3c0d79697ab86367c6bc8.jpg","text":"TemporaryFile(/tmp/multipartBody9168832695620489953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735892413817,"filename":"image_03012025_09_17_02_199205_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/24bcc1ea7565edd1b841995b32155880.jpg","text":"TemporaryFile(/tmp/multipartBody5093260358550790163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735892413817,"filename":"image_03012025_09_18_02_717835_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/084cdb312a9b61a8c8959576f2e1af31.jpg","text":"TemporaryFile(/tmp/multipartBody3111134330203175068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735892413817,"filename":"image_03012025_09_18_02_717835_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/88802a05c6438ea96758bdede5f2aa79.jpg","text":"TemporaryFile(/tmp/multipartBody6866275617367577497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735892413817,"filename":"image_03012025_09_18_02_717835_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325715624","file1":"1325715621","file0":"1325715619","file3":"1325715627"},"map_files_photo_id_array":[{"photo_id":"1325715624","filename":"file2"},{"photo_id":"1325715621","filename":"file1"},{"photo_id":"1325715619","filename":"file0"},{"photo_id":"1325715627","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325715619":["hashtag1","hashtag2"]},{"1325715621":["hashtag1","hashtag2"]},{"1325715624":["hashtag1","hashtag2"]},{"1325715627":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325715619, 1325715621, 1325715624, 1325715627)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.576433420181274 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 09:20:02.528571
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/09/18/image_03012025_09_18_02_717835_0003.jpg', '/home/pi/Desktop/images/03012025/09/19/image_03012025_09_19_02_343475_0000.jpg', '/home/pi/Desktop/images/03012025/09/19/image_03012025_09_19_02_343475_0001.jpg', '/home/pi/Desktop/images/03012025/09/19/image_03012025_09_19_02_343475_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/09/18/image_03012025_09_18_02_717835_0003.jpg
/home/pi/Desktop/images/03012025/09/19/image_03012025_09_19_02_343475_0000.jpg
/home/pi/Desktop/images/03012025/09/19/image_03012025_09_19_02_343475_0001.jpg
/home/pi/Desktop/images/03012025/09/19/image_03012025_09_19_02_343475_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.263241529464722 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 09:20:22.240918
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/09/18/image_03012025_09_18_02_717835_0003.jpg', '/home/pi/Desktop/images/03012025/09/19/image_03012025_09_19_02_343475_0000.jpg', '/home/pi/Desktop/images/03012025/09/19/image_03012025_09_19_02_343475_0001.jpg', '/home/pi/Desktop/images/03012025/09/19/image_03012025_09_19_02_343475_0002.jpg', '/home/pi/Desktop/images/03012025/09/19/image_03012025_09_19_02_343475_0003.jpg', '/home/pi/Desktop/images/03012025/09/20/image_03012025_09_20_02_846921_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/09/18/image_03012025_09_18_02_717835_0003.jpg
/home/pi/Desktop/images/03012025/09/19/image_03012025_09_19_02_343475_0000.jpg
/home/pi/Desktop/images/03012025/09/19/image_03012025_09_19_02_343475_0001.jpg
/home/pi/Desktop/images/03012025/09/19/image_03012025_09_19_02_343475_0002.jpg
/home/pi/Desktop/images/03012025/09/19/image_03012025_09_19_02_343475_0003.jpg
/home/pi/Desktop/images/03012025/09/20/image_03012025_09_20_02_846921_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325715739","1325715730","1325715727","1325715735","1325715767","1325715737"],"photo_ids_order":["1325715727","1325715730","1325715735","1325715737","1325715739","1325715767"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/41ccce48327539f16ca8c1478aa63742.jpg","text":"TemporaryFile(/tmp/multipartBody9150206028055284002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735892497830,"filename":"image_03012025_09_19_02_343475_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/45f17e350649f35a6678934ce850cbda.jpg","text":"TemporaryFile(/tmp/multipartBody4040267267141942541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735892497830,"filename":"image_03012025_09_19_02_343475_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0869112c92b141458253bcd5c2ef6474.jpg","text":"TemporaryFile(/tmp/multipartBody7997290110095235304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735892497830,"filename":"image_03012025_09_18_02_717835_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/eb57e4043d5325dad29b992dcd688bdd.jpg","text":"TemporaryFile(/tmp/multipartBody875521056344158574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735892497830,"filename":"image_03012025_09_19_02_343475_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f9707ad67cdb228009bd603f98fdf127.jpg","text":"TemporaryFile(/tmp/multipartBody6477900633345361564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735892497830,"filename":"image_03012025_09_20_02_846921_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b03feb58788671d7f7afcef588e2e328.jpg","text":"TemporaryFile(/tmp/multipartBody8166087409456716547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735892497830,"filename":"image_03012025_09_19_02_343475_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325715735","file1":"1325715730","file0":"1325715727","file4":"1325715739","file5":"1325715767","file3":"1325715737"},"map_files_photo_id_array":[{"photo_id":"1325715767","filename":"file5"},{"photo_id":"1325715735","filename":"file2"},{"photo_id":"1325715739","filename":"file4"},{"photo_id":"1325715730","filename":"file1"},{"photo_id":"1325715727","filename":"file0"},{"photo_id":"1325715737","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325715739":["hashtag1","hashtag2"]},{"1325715730":["hashtag1","hashtag2"]},{"1325715727":["hashtag1","hashtag2"]},{"1325715735":["hashtag1","hashtag2"]},{"1325715767":["hashtag1","hashtag2"]},{"1325715737":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325715739, 1325715730, 1325715727, 1325715735, 1325715767, 1325715737)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.284687757492065 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 09:21:22.743496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/09/20/image_03012025_09_20_02_846921_0003.jpg', '/home/pi/Desktop/images/03012025/09/21/image_03012025_09_21_02_546165_0001.jpg', '/home/pi/Desktop/images/03012025/09/21/image_03012025_09_21_02_546165_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/09/20/image_03012025_09_20_02_846921_0003.jpg
/home/pi/Desktop/images/03012025/09/21/image_03012025_09_21_02_546165_0001.jpg
/home/pi/Desktop/images/03012025/09/21/image_03012025_09_21_02_546165_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325715963","1325715966","1325715960"],"photo_ids_order":["1325715960","1325715963","1325715966"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6212e7589f5ca773867a2ff6a0322c27.jpg","text":"TemporaryFile(/tmp/multipartBody7916770347007530729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735892550878,"filename":"image_03012025_09_21_02_546165_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2cf1c418fd8f06077eda211e5378e736.jpg","text":"TemporaryFile(/tmp/multipartBody1844793308632240897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735892550878,"filename":"image_03012025_09_21_02_546165_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9daa78eb1efb2f769869c34c2285ce15.jpg","text":"TemporaryFile(/tmp/multipartBody827754205634044972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735892550878,"filename":"image_03012025_09_20_02_846921_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325715966","file1":"1325715963","file0":"1325715960"},"map_files_photo_id_array":[{"photo_id":"1325715966","filename":"file2"},{"photo_id":"1325715963","filename":"file1"},{"photo_id":"1325715960","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325715963":["hashtag1","hashtag2"]},{"1325715966":["hashtag1","hashtag2"]},{"1325715960":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325715963, 1325715966, 1325715960)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.392664194107056 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 09:22:02.599311
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 09:22:22.237516
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/09/21/image_03012025_09_21_02_546165_0003.jpg', '/home/pi/Desktop/images/03012025/09/22/image_03012025_09_22_03_098006_0000.jpg', '/home/pi/Desktop/images/03012025/09/22/image_03012025_09_22_03_098006_0001.jpg', '/home/pi/Desktop/images/03012025/09/22/image_03012025_09_22_03_098006_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/09/21/image_03012025_09_21_02_546165_0003.jpg
/home/pi/Desktop/images/03012025/09/22/image_03012025_09_22_03_098006_0000.jpg
/home/pi/Desktop/images/03012025/09/22/image_03012025_09_22_03_098006_0001.jpg
/home/pi/Desktop/images/03012025/09/22/image_03012025_09_22_03_098006_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325716000","1325716026","1325716031","1325716021"],"photo_ids_order":["1325716000","1325716021","1325716026","1325716031"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/08c8c907dbda73ab1e179cdcf7f38b83.jpg","text":"TemporaryFile(/tmp/multipartBody1160483204861045714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735892612847,"filename":"image_03012025_09_21_02_546165_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9b79ced6376bdbc93125993cbebaa35b.jpg","text":"TemporaryFile(/tmp/multipartBody2001413297508050762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735892612847,"filename":"image_03012025_09_22_03_098006_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1c9a5ce2abbefb0d092021157a1ff3b3.jpg","text":"TemporaryFile(/tmp/multipartBody1267773764868423716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735892612847,"filename":"image_03012025_09_22_03_098006_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/00dbf562c974f947f3ad747adddcbcef.jpg","text":"TemporaryFile(/tmp/multipartBody5880783975906649564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735892612847,"filename":"image_03012025_09_22_03_098006_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325716026","file1":"1325716021","file0":"1325716000","file3":"1325716031"},"map_files_photo_id_array":[{"photo_id":"1325716026","filename":"file2"},{"photo_id":"1325716021","filename":"file1"},{"photo_id":"1325716000","filename":"file0"},{"photo_id":"1325716031","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325716000":["hashtag1","hashtag2"]},{"1325716026":["hashtag1","hashtag2"]},{"1325716031":["hashtag1","hashtag2"]},{"1325716021":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325716000, 1325716026, 1325716031, 1325716021)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.4107027053833 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 09:23:03.213678
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 09:23:22.704229
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/09/22/image_03012025_09_22_03_098006_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/09/22/image_03012025_09_22_03_098006_0003.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325716044"],"photo_id":"1325716044","photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6f5316694d806fedda89e7cb6ec0601e.jpg","text":"TemporaryFile(/tmp/multipartBody2290747139614146863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735892665843,"filename":"image_03012025_09_22_03_098006_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file0":"1325716044"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1325716044"}],"hashtags":[],"portfolio_id":"19381866","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.37886118888855 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 09:24:02.708156
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 09:24:22.261907
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/09/23/image_03012025_09_23_02_562261_0002.jpg', '/home/pi/Desktop/images/03012025/09/24/image_03012025_09_24_03_036121_0001.jpg', '/home/pi/Desktop/images/03012025/09/24/image_03012025_09_24_03_036121_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/09/23/image_03012025_09_23_02_562261_0002.jpg
/home/pi/Desktop/images/03012025/09/24/image_03012025_09_24_03_036121_0001.jpg
/home/pi/Desktop/images/03012025/09/24/image_03012025_09_24_03_036121_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325716101","1325716078","1325716072"],"photo_ids_order":["1325716072","1325716078","1325716101"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8f0774e5dda37ec9f1cc5fefe2f703fd.jpg","text":"TemporaryFile(/tmp/multipartBody3951492500427747861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735892730398,"filename":"image_03012025_09_24_03_036121_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9a38394f75a5d3da3cba9d0051b3a557.jpg","text":"TemporaryFile(/tmp/multipartBody5954733981042412468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735892730398,"filename":"image_03012025_09_24_03_036121_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c82bf35fa73a7df4b7bab57d41f2fa1b.jpg","text":"TemporaryFile(/tmp/multipartBody4923732278057736386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735892730398,"filename":"image_03012025_09_23_02_562261_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325716101","file1":"1325716078","file0":"1325716072"},"map_files_photo_id_array":[{"photo_id":"1325716101","filename":"file2"},{"photo_id":"1325716078","filename":"file1"},{"photo_id":"1325716072","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325716101":["hashtag1","hashtag2"]},{"1325716078":["hashtag1","hashtag2"]},{"1325716072":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325716101, 1325716078, 1325716072)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.526630640029907 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 09:25:02.510493
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 09:25:21.815888
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/09/24/image_03012025_09_24_03_036121_0003.jpg', '/home/pi/Desktop/images/03012025/09/25/image_03012025_09_25_02_646131_0000.jpg', '/home/pi/Desktop/images/03012025/09/25/image_03012025_09_25_02_646131_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/09/24/image_03012025_09_24_03_036121_0003.jpg
/home/pi/Desktop/images/03012025/09/25/image_03012025_09_25_02_646131_0000.jpg
/home/pi/Desktop/images/03012025/09/25/image_03012025_09_25_02_646131_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325716195","1325716189","1325716191"],"photo_ids_order":["1325716189","1325716191","1325716195"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/250b99ccd5f8bc8dfe884f52caf633f7.jpg","text":"TemporaryFile(/tmp/multipartBody8658670530954463640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735892789960,"filename":"image_03012025_09_25_02_646131_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6ccdc460b932d2389e7a652975f2c8f3.jpg","text":"TemporaryFile(/tmp/multipartBody4696525839445231638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735892789960,"filename":"image_03012025_09_24_03_036121_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a70336ef5810b6fd4dec0d7709bc44f7.jpg","text":"TemporaryFile(/tmp/multipartBody4103027641408960227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735892789960,"filename":"image_03012025_09_25_02_646131_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325716195","file1":"1325716191","file0":"1325716189"},"map_files_photo_id_array":[{"photo_id":"1325716195","filename":"file2"},{"photo_id":"1325716191","filename":"file1"},{"photo_id":"1325716189","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325716195":["hashtag1","hashtag2"]},{"1325716189":["hashtag1","hashtag2"]},{"1325716191":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325716195, 1325716189, 1325716191)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.42079448699951 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 09:26:03.123848
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 09:26:22.743686
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/09/25/image_03012025_09_25_02_646131_0003.jpg', '/home/pi/Desktop/images/03012025/09/26/image_03012025_09_26_02_127144_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/09/25/image_03012025_09_25_02_646131_0003.jpg
/home/pi/Desktop/images/03012025/09/26/image_03012025_09_26_02_127144_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325716243","1325716216"],"photo_ids_order":["1325716216","1325716243"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/edfacc4576cd12de4315473e573895a5.jpg","text":"TemporaryFile(/tmp/multipartBody8509609075653322003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735892848374,"filename":"image_03012025_09_26_02_127144_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/728be519025daef1a422808713f156d9.jpg","text":"TemporaryFile(/tmp/multipartBody1894538355146643836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735892848374,"filename":"image_03012025_09_25_02_646131_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1325716243","file0":"1325716216"},"map_files_photo_id_array":[{"photo_id":"1325716243","filename":"file1"},{"photo_id":"1325716216","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325716243":["hashtag1","hashtag2"]},{"1325716216":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325716243, 1325716216)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.87128496170044 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 09:27:02.957656
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 09:27:22.225482
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/09/26/image_03012025_09_26_02_127144_0003.jpg', '/home/pi/Desktop/images/03012025/09/27/image_03012025_09_27_03_092290_0000.jpg', '/home/pi/Desktop/images/03012025/09/27/image_03012025_09_27_03_092290_0001.jpg', '/home/pi/Desktop/images/03012025/09/27/image_03012025_09_27_03_092290_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/09/26/image_03012025_09_26_02_127144_0003.jpg
/home/pi/Desktop/images/03012025/09/27/image_03012025_09_27_03_092290_0000.jpg
/home/pi/Desktop/images/03012025/09/27/image_03012025_09_27_03_092290_0001.jpg
/home/pi/Desktop/images/03012025/09/27/image_03012025_09_27_03_092290_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325716296","1325716283","1325716292","1325716306"],"photo_ids_order":["1325716283","1325716292","1325716296","1325716306"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d2ec20b94085954b697371c13b938d27.jpg","text":"TemporaryFile(/tmp/multipartBody6496365912745274014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735892914893,"filename":"image_03012025_09_27_03_092290_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/17724e4f141ff10be360fb3d65569fec.jpg","text":"TemporaryFile(/tmp/multipartBody7473767497897607094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735892914893,"filename":"image_03012025_09_26_02_127144_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/529854c828bf4887874c4bc94b106da5.jpg","text":"TemporaryFile(/tmp/multipartBody7790391461413086953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735892914893,"filename":"image_03012025_09_27_03_092290_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8a1f681c1d89283fed41aa15b67dfd6c.jpg","text":"TemporaryFile(/tmp/multipartBody5341682544763051452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735892914893,"filename":"image_03012025_09_27_03_092290_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325716296","file1":"1325716292","file0":"1325716283","file3":"1325716306"},"map_files_photo_id_array":[{"photo_id":"1325716296","filename":"file2"},{"photo_id":"1325716292","filename":"file1"},{"photo_id":"1325716283","filename":"file0"},{"photo_id":"1325716306","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325716296":["hashtag1","hashtag2"]},{"1325716283":["hashtag1","hashtag2"]},{"1325716292":["hashtag1","hashtag2"]},{"1325716306":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325716296, 1325716283, 1325716292, 1325716306)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.459651708602905 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 09:28:21.880235
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/09/27/image_03012025_09_27_03_092290_0003.jpg', '/home/pi/Desktop/images/03012025/09/28/image_03012025_09_28_02_589811_0000.jpg', '/home/pi/Desktop/images/03012025/09/28/image_03012025_09_28_02_589811_0001.jpg', '/home/pi/Desktop/images/03012025/09/28/image_03012025_09_28_02_589811_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/09/27/image_03012025_09_27_03_092290_0003.jpg
/home/pi/Desktop/images/03012025/09/28/image_03012025_09_28_02_589811_0000.jpg
/home/pi/Desktop/images/03012025/09/28/image_03012025_09_28_02_589811_0001.jpg
/home/pi/Desktop/images/03012025/09/28/image_03012025_09_28_02_589811_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325716386","1325716326","1325716370","1325716378"],"photo_ids_order":["1325716326","1325716370","1325716378","1325716386"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a1a4bf7b82996f236e0c90b4e6546e01.jpg","text":"TemporaryFile(/tmp/multipartBody536012953316311226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735892971910,"filename":"image_03012025_09_28_02_589811_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/eb6af3d0964ce959abe0b819c2e4386f.jpg","text":"TemporaryFile(/tmp/multipartBody4087090797690807845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735892971910,"filename":"image_03012025_09_27_03_092290_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e1b90c357af7fbac1f61c81576ba5cd5.jpg","text":"TemporaryFile(/tmp/multipartBody1094567066568352439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735892971910,"filename":"image_03012025_09_28_02_589811_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/39a74cb46d35674fe29d32d676cf7aea.jpg","text":"TemporaryFile(/tmp/multipartBody4934688807301195368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735892971910,"filename":"image_03012025_09_28_02_589811_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325716378","file1":"1325716370","file0":"1325716326","file3":"1325716386"},"map_files_photo_id_array":[{"photo_id":"1325716378","filename":"file2"},{"photo_id":"1325716370","filename":"file1"},{"photo_id":"1325716326","filename":"file0"},{"photo_id":"1325716386","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325716386":["hashtag1","hashtag2"]},{"1325716326":["hashtag1","hashtag2"]},{"1325716370":["hashtag1","hashtag2"]},{"1325716378":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325716386, 1325716326, 1325716370, 1325716378)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.26439809799194 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 09:29:22.427844
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/09/28/image_03012025_09_28_02_589811_0003.jpg', '/home/pi/Desktop/images/03012025/09/29/image_03012025_09_29_02_239643_0000.jpg', '/home/pi/Desktop/images/03012025/09/29/image_03012025_09_29_02_239643_0001.jpg', '/home/pi/Desktop/images/03012025/09/29/image_03012025_09_29_02_239643_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/09/28/image_03012025_09_28_02_589811_0003.jpg
/home/pi/Desktop/images/03012025/09/29/image_03012025_09_29_02_239643_0000.jpg
/home/pi/Desktop/images/03012025/09/29/image_03012025_09_29_02_239643_0001.jpg
/home/pi/Desktop/images/03012025/09/29/image_03012025_09_29_02_239643_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325716433","1325716427","1325716421","1325716438"],"photo_ids_order":["1325716421","1325716427","1325716433","1325716438"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3290f58dbb92c23c60921c28f0b15f5a.jpg","text":"TemporaryFile(/tmp/multipartBody7555709341243142855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735893032453,"filename":"image_03012025_09_29_02_239643_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/43ad16e340d5042026cf709d6972986b.jpg","text":"TemporaryFile(/tmp/multipartBody7217413047451840216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735893032453,"filename":"image_03012025_09_29_02_239643_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8a2d18defafea6f209dfff93adca448a.jpg","text":"TemporaryFile(/tmp/multipartBody3149522404020722428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735893032453,"filename":"image_03012025_09_28_02_589811_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5ff6a3f5e732c3baa58567d2cb04d060.jpg","text":"TemporaryFile(/tmp/multipartBody6638110573003837893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735893032453,"filename":"image_03012025_09_29_02_239643_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325716433","file1":"1325716427","file0":"1325716421","file3":"1325716438"},"map_files_photo_id_array":[{"photo_id":"1325716433","filename":"file2"},{"photo_id":"1325716427","filename":"file1"},{"photo_id":"1325716421","filename":"file0"},{"photo_id":"1325716438","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325716433":["hashtag1","hashtag2"]},{"1325716427":["hashtag1","hashtag2"]},{"1325716421":["hashtag1","hashtag2"]},{"1325716438":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325716433, 1325716427, 1325716421, 1325716438)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.835994243621826 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 09:30:21.900024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/09/29/image_03012025_09_29_02_239643_0003.jpg', '/home/pi/Desktop/images/03012025/09/30/image_03012025_09_30_02_769614_0000.jpg', '/home/pi/Desktop/images/03012025/09/30/image_03012025_09_30_02_769614_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/09/29/image_03012025_09_29_02_239643_0003.jpg
/home/pi/Desktop/images/03012025/09/30/image_03012025_09_30_02_769614_0000.jpg
/home/pi/Desktop/images/03012025/09/30/image_03012025_09_30_02_769614_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325716812","1325716835","1325716816"],"photo_ids_order":["1325716812","1325716816","1325716835"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/be83eed8704acec9af27e103ed86e742.jpg","text":"TemporaryFile(/tmp/multipartBody6555767385109919962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735893089521,"filename":"image_03012025_09_29_02_239643_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3bcb69ee7e38773a48ec1437ed76108b.jpg","text":"TemporaryFile(/tmp/multipartBody4896128511526189446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735893089521,"filename":"image_03012025_09_30_02_769614_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/10ccdfdb9a8c2f0e362d32eab9f99d61.jpg","text":"TemporaryFile(/tmp/multipartBody3804300678727959871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735893089521,"filename":"image_03012025_09_30_02_769614_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325716835","file1":"1325716816","file0":"1325716812"},"map_files_photo_id_array":[{"photo_id":"1325716835","filename":"file2"},{"photo_id":"1325716816","filename":"file1"},{"photo_id":"1325716812","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325716812":["hashtag1","hashtag2"]},{"1325716835":["hashtag1","hashtag2"]},{"1325716816":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325716812, 1325716835, 1325716816)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.163148403167725 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 09:31:02.998797
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 09:31:22.378040
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/09/30/image_03012025_09_30_02_769614_0002.jpg', '/home/pi/Desktop/images/03012025/09/31/image_03012025_09_31_02_225635_0000.jpg', '/home/pi/Desktop/images/03012025/09/31/image_03012025_09_31_02_225635_0001.jpg', '/home/pi/Desktop/images/03012025/09/31/image_03012025_09_31_02_225635_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/09/30/image_03012025_09_30_02_769614_0002.jpg
/home/pi/Desktop/images/03012025/09/31/image_03012025_09_31_02_225635_0000.jpg
/home/pi/Desktop/images/03012025/09/31/image_03012025_09_31_02_225635_0001.jpg
/home/pi/Desktop/images/03012025/09/31/image_03012025_09_31_02_225635_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325717007","1325717018","1325717012","1325717002"],"photo_ids_order":["1325717002","1325717007","1325717012","1325717018"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4c0e3ea9529349d0330087ba1167ae8d.jpg","text":"TemporaryFile(/tmp/multipartBody823690801371331885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735893152444,"filename":"image_03012025_09_31_02_225635_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/50d5e349c88cb7a5c1f947ccd7a44c44.jpg","text":"TemporaryFile(/tmp/multipartBody1806551544597558721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735893152444,"filename":"image_03012025_09_31_02_225635_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/00fd2edd88fa5287c734cffb9214e636.jpg","text":"TemporaryFile(/tmp/multipartBody8492518905751357431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735893152444,"filename":"image_03012025_09_31_02_225635_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7602ee42ad9a5b72db6a999287c4ed2c.jpg","text":"TemporaryFile(/tmp/multipartBody4078326502287902950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735893152444,"filename":"image_03012025_09_30_02_769614_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325717012","file1":"1325717007","file0":"1325717002","file3":"1325717018"},"map_files_photo_id_array":[{"photo_id":"1325717012","filename":"file2"},{"photo_id":"1325717007","filename":"file1"},{"photo_id":"1325717002","filename":"file0"},{"photo_id":"1325717018","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325717007":["hashtag1","hashtag2"]},{"1325717018":["hashtag1","hashtag2"]},{"1325717012":["hashtag1","hashtag2"]},{"1325717002":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325717007, 1325717018, 1325717012, 1325717002)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.97561168670654 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 09:32:22.064809
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/09/31/image_03012025_09_31_02_225635_0003.jpg', '/home/pi/Desktop/images/03012025/09/32/image_03012025_09_32_02_793828_0000.jpg', '/home/pi/Desktop/images/03012025/09/32/image_03012025_09_32_02_793828_0001.jpg', '/home/pi/Desktop/images/03012025/09/32/image_03012025_09_32_02_793828_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/09/31/image_03012025_09_31_02_225635_0003.jpg
/home/pi/Desktop/images/03012025/09/32/image_03012025_09_32_02_793828_0000.jpg
/home/pi/Desktop/images/03012025/09/32/image_03012025_09_32_02_793828_0001.jpg
/home/pi/Desktop/images/03012025/09/32/image_03012025_09_32_02_793828_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325717037","1325717052","1325717047","1325717041"],"photo_ids_order":["1325717037","1325717041","1325717047","1325717052"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9647ac4266630b7dc55db28aae9bf36d.jpg","text":"TemporaryFile(/tmp/multipartBody3864492600329591600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735893212374,"filename":"image_03012025_09_31_02_225635_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/732453341b2ad6b837d000b807dbb717.jpg","text":"TemporaryFile(/tmp/multipartBody6351605984696398185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735893212374,"filename":"image_03012025_09_32_02_793828_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a8680bd5b689c057a8ab5115df25c5f1.jpg","text":"TemporaryFile(/tmp/multipartBody8777229055063764370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735893212374,"filename":"image_03012025_09_32_02_793828_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9a7d4757d0802adcc591957c5ad1d821.jpg","text":"TemporaryFile(/tmp/multipartBody7388537296409155341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735893212374,"filename":"image_03012025_09_32_02_793828_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325717047","file1":"1325717041","file0":"1325717037","file3":"1325717052"},"map_files_photo_id_array":[{"photo_id":"1325717047","filename":"file2"},{"photo_id":"1325717041","filename":"file1"},{"photo_id":"1325717037","filename":"file0"},{"photo_id":"1325717052","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325717037":["hashtag1","hashtag2"]},{"1325717052":["hashtag1","hashtag2"]},{"1325717047":["hashtag1","hashtag2"]},{"1325717041":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325717037, 1325717052, 1325717047, 1325717041)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.48784327507019 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 09:33:02.913997
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 09:33:22.455951
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/09/32/image_03012025_09_32_02_793828_0003.jpg', '/home/pi/Desktop/images/03012025/09/33/image_03012025_09_33_02_366349_0000.jpg', '/home/pi/Desktop/images/03012025/09/33/image_03012025_09_33_02_366349_0001.jpg', '/home/pi/Desktop/images/03012025/09/33/image_03012025_09_33_02_366349_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/09/32/image_03012025_09_32_02_793828_0003.jpg
/home/pi/Desktop/images/03012025/09/33/image_03012025_09_33_02_366349_0000.jpg
/home/pi/Desktop/images/03012025/09/33/image_03012025_09_33_02_366349_0001.jpg
/home/pi/Desktop/images/03012025/09/33/image_03012025_09_33_02_366349_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325717313","1325717256","1325717297","1325717302"],"photo_ids_order":["1325717256","1325717297","1325717302","1325717313"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/11943b039e2ae5bd553993ff0c88abff.jpg","text":"TemporaryFile(/tmp/multipartBody3995610028572910519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735893272648,"filename":"image_03012025_09_33_02_366349_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b3ec43140690cb9f3e2462ad956c9fbd.jpg","text":"TemporaryFile(/tmp/multipartBody7653649204489027166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735893272648,"filename":"image_03012025_09_32_02_793828_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ea5ae895081f4855a93320c069d581e0.jpg","text":"TemporaryFile(/tmp/multipartBody6189715728757578479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735893272648,"filename":"image_03012025_09_33_02_366349_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/da3cf3f6f11e0516ad70da61287a95f4.jpg","text":"TemporaryFile(/tmp/multipartBody8685067101875619673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735893272648,"filename":"image_03012025_09_33_02_366349_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325717302","file1":"1325717297","file0":"1325717256","file3":"1325717313"},"map_files_photo_id_array":[{"photo_id":"1325717302","filename":"file2"},{"photo_id":"1325717297","filename":"file1"},{"photo_id":"1325717256","filename":"file0"},{"photo_id":"1325717313","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325717313":["hashtag1","hashtag2"]},{"1325717256":["hashtag1","hashtag2"]},{"1325717297":["hashtag1","hashtag2"]},{"1325717302":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325717313, 1325717256, 1325717297, 1325717302)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.3608124256134 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 09:34:21.984933
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/09/33/image_03012025_09_33_02_366349_0003.jpg', '/home/pi/Desktop/images/03012025/09/34/image_03012025_09_34_02_828688_0000.jpg', '/home/pi/Desktop/images/03012025/09/34/image_03012025_09_34_02_828688_0001.jpg', '/home/pi/Desktop/images/03012025/09/34/image_03012025_09_34_02_828688_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/09/33/image_03012025_09_33_02_366349_0003.jpg
/home/pi/Desktop/images/03012025/09/34/image_03012025_09_34_02_828688_0000.jpg
/home/pi/Desktop/images/03012025/09/34/image_03012025_09_34_02_828688_0001.jpg
/home/pi/Desktop/images/03012025/09/34/image_03012025_09_34_02_828688_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325717427","1325717418","1325717432","1325717422"],"photo_ids_order":["1325717418","1325717422","1325717427","1325717432"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d37fa30e595e62f99ebe0d2557ebe17e.jpg","text":"TemporaryFile(/tmp/multipartBody2075294562188200448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735893332273,"filename":"image_03012025_09_34_02_828688_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/fbed45b1449cdd6e18e430e9958b2e1f.jpg","text":"TemporaryFile(/tmp/multipartBody3650460992354248110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735893332273,"filename":"image_03012025_09_33_02_366349_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8bed2fec9d756b2b6d85e98cf37127bd.jpg","text":"TemporaryFile(/tmp/multipartBody9132621429864807391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735893332273,"filename":"image_03012025_09_34_02_828688_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c90224f4d8e0a24f8ae284ad5bb49ec2.jpg","text":"TemporaryFile(/tmp/multipartBody1965343941932033149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735893332273,"filename":"image_03012025_09_34_02_828688_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325717427","file1":"1325717422","file0":"1325717418","file3":"1325717432"},"map_files_photo_id_array":[{"photo_id":"1325717427","filename":"file2"},{"photo_id":"1325717422","filename":"file1"},{"photo_id":"1325717418","filename":"file0"},{"photo_id":"1325717432","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325717427":["hashtag1","hashtag2"]},{"1325717418":["hashtag1","hashtag2"]},{"1325717432":["hashtag1","hashtag2"]},{"1325717422":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325717427, 1325717418, 1325717432, 1325717422)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.455875396728516 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 09:35:02.954383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 09:35:22.574206
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/09/34/image_03012025_09_34_02_828688_0003.jpg', '/home/pi/Desktop/images/03012025/09/35/image_03012025_09_35_02_386333_0000.jpg', '/home/pi/Desktop/images/03012025/09/35/image_03012025_09_35_02_386333_0001.jpg', '/home/pi/Desktop/images/03012025/09/35/image_03012025_09_35_02_386333_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/09/34/image_03012025_09_34_02_828688_0003.jpg
/home/pi/Desktop/images/03012025/09/35/image_03012025_09_35_02_386333_0000.jpg
/home/pi/Desktop/images/03012025/09/35/image_03012025_09_35_02_386333_0001.jpg
/home/pi/Desktop/images/03012025/09/35/image_03012025_09_35_02_386333_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325717453","1325717465","1325717459","1325717447"],"photo_ids_order":["1325717447","1325717453","1325717459","1325717465"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8d14b017505a0e03413ca0a2d47d59f0.jpg","text":"TemporaryFile(/tmp/multipartBody4659470284565982185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735893392835,"filename":"image_03012025_09_35_02_386333_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2241488dc0bf47ff73e30c34d6308763.jpg","text":"TemporaryFile(/tmp/multipartBody6501270268391852655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735893392835,"filename":"image_03012025_09_35_02_386333_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/92f4c50ffdebabcfa7bc67041b426128.jpg","text":"TemporaryFile(/tmp/multipartBody7169468091153503965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735893392835,"filename":"image_03012025_09_35_02_386333_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d6079b9afb71e86a7c1ebae45f39e0b8.jpg","text":"TemporaryFile(/tmp/multipartBody150963407942077298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735893392835,"filename":"image_03012025_09_34_02_828688_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325717459","file1":"1325717453","file0":"1325717447","file3":"1325717465"},"map_files_photo_id_array":[{"photo_id":"1325717459","filename":"file2"},{"photo_id":"1325717453","filename":"file1"},{"photo_id":"1325717447","filename":"file0"},{"photo_id":"1325717465","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325717453":["hashtag1","hashtag2"]},{"1325717465":["hashtag1","hashtag2"]},{"1325717459":["hashtag1","hashtag2"]},{"1325717447":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325717453, 1325717465, 1325717459, 1325717447)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.211782932281494 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 09:36:22.156922
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/09/35/image_03012025_09_35_02_386333_0003.jpg', '/home/pi/Desktop/images/03012025/09/36/image_03012025_09_36_02_882556_0000.jpg', '/home/pi/Desktop/images/03012025/09/36/image_03012025_09_36_02_882556_0001.jpg', '/home/pi/Desktop/images/03012025/09/36/image_03012025_09_36_02_882556_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/09/35/image_03012025_09_35_02_386333_0003.jpg
/home/pi/Desktop/images/03012025/09/36/image_03012025_09_36_02_882556_0000.jpg
/home/pi/Desktop/images/03012025/09/36/image_03012025_09_36_02_882556_0001.jpg
/home/pi/Desktop/images/03012025/09/36/image_03012025_09_36_02_882556_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325717486","1325717504","1325717482","1325717491"],"photo_ids_order":["1325717482","1325717486","1325717491","1325717504"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3134481d41119e8c65fcd9fdab5c2b2b.jpg","text":"TemporaryFile(/tmp/multipartBody1712980197758085436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735893452482,"filename":"image_03012025_09_36_02_882556_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ab5d5ab0c74eba891840363d1522ee61.jpg","text":"TemporaryFile(/tmp/multipartBody5791889543223455246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735893452482,"filename":"image_03012025_09_36_02_882556_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ecb0544aacb9014493302700bcfde57c.jpg","text":"TemporaryFile(/tmp/multipartBody6439431041762200422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735893452482,"filename":"image_03012025_09_35_02_386333_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/819da285251fdac0b9460698a6e3ea07.jpg","text":"TemporaryFile(/tmp/multipartBody1221468246734809360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735893452482,"filename":"image_03012025_09_36_02_882556_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325717491","file1":"1325717486","file0":"1325717482","file3":"1325717504"},"map_files_photo_id_array":[{"photo_id":"1325717491","filename":"file2"},{"photo_id":"1325717486","filename":"file1"},{"photo_id":"1325717482","filename":"file0"},{"photo_id":"1325717504","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325717486":["hashtag1","hashtag2"]},{"1325717504":["hashtag1","hashtag2"]},{"1325717482":["hashtag1","hashtag2"]},{"1325717491":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325717486, 1325717504, 1325717482, 1325717491)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.74587917327881 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 09:37:03.288286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 09:37:22.663531
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/09/36/image_03012025_09_36_02_882556_0003.jpg', '/home/pi/Desktop/images/03012025/09/37/image_03012025_09_37_02_505361_0000.jpg', '/home/pi/Desktop/images/03012025/09/37/image_03012025_09_37_02_505361_0001.jpg', '/home/pi/Desktop/images/03012025/09/37/image_03012025_09_37_02_505361_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/09/36/image_03012025_09_36_02_882556_0003.jpg
/home/pi/Desktop/images/03012025/09/37/image_03012025_09_37_02_505361_0000.jpg
/home/pi/Desktop/images/03012025/09/37/image_03012025_09_37_02_505361_0001.jpg
/home/pi/Desktop/images/03012025/09/37/image_03012025_09_37_02_505361_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325717534","1325717545","1325717539","1325717550"],"photo_ids_order":["1325717534","1325717539","1325717545","1325717550"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2bd596759ae0b058a99812013e9f722f.jpg","text":"TemporaryFile(/tmp/multipartBody372606950973365038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735893512859,"filename":"image_03012025_09_36_02_882556_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/dbfc0293bed0853a937f779120edf888.jpg","text":"TemporaryFile(/tmp/multipartBody625812148887632558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735893512859,"filename":"image_03012025_09_37_02_505361_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b54ffdce8dbb21e6cdf4f744accb9727.jpg","text":"TemporaryFile(/tmp/multipartBody8104222408006430172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735893512859,"filename":"image_03012025_09_37_02_505361_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/94f7da4bfd2cd3fc27a08c234853b996.jpg","text":"TemporaryFile(/tmp/multipartBody5071946246740246728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735893512859,"filename":"image_03012025_09_37_02_505361_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325717545","file1":"1325717539","file0":"1325717534","file3":"1325717550"},"map_files_photo_id_array":[{"photo_id":"1325717545","filename":"file2"},{"photo_id":"1325717539","filename":"file1"},{"photo_id":"1325717534","filename":"file0"},{"photo_id":"1325717550","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325717534":["hashtag1","hashtag2"]},{"1325717545":["hashtag1","hashtag2"]},{"1325717539":["hashtag1","hashtag2"]},{"1325717550":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325717534, 1325717545, 1325717539, 1325717550)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.06055569648743 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 09:38:22.290881
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/09/37/image_03012025_09_37_02_505361_0003.jpg', '/home/pi/Desktop/images/03012025/09/38/image_03012025_09_38_03_062343_0000.jpg', '/home/pi/Desktop/images/03012025/09/38/image_03012025_09_38_03_062343_0001.jpg', '/home/pi/Desktop/images/03012025/09/38/image_03012025_09_38_03_062343_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/09/37/image_03012025_09_37_02_505361_0003.jpg
/home/pi/Desktop/images/03012025/09/38/image_03012025_09_38_03_062343_0000.jpg
/home/pi/Desktop/images/03012025/09/38/image_03012025_09_38_03_062343_0001.jpg
/home/pi/Desktop/images/03012025/09/38/image_03012025_09_38_03_062343_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325717570","1325717566","1325717575","1325717580"],"photo_ids_order":["1325717566","1325717570","1325717575","1325717580"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/70fbc859e889f0aeed8e2a0f42f2798f.jpg","text":"TemporaryFile(/tmp/multipartBody1515000051978703891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735893572638,"filename":"image_03012025_09_38_03_062343_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/595ebd2429b9409acd4750ac91b26e62.jpg","text":"TemporaryFile(/tmp/multipartBody7318035237411681783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735893572638,"filename":"image_03012025_09_37_02_505361_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/bccdd15d34b73ac1f2423d89d973158b.jpg","text":"TemporaryFile(/tmp/multipartBody8865676053324311295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735893572638,"filename":"image_03012025_09_38_03_062343_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/53c7056437c7b3b8f7aed00c0bc85700.jpg","text":"TemporaryFile(/tmp/multipartBody2432162926159785540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735893572638,"filename":"image_03012025_09_38_03_062343_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325717575","file1":"1325717570","file0":"1325717566","file3":"1325717580"},"map_files_photo_id_array":[{"photo_id":"1325717575","filename":"file2"},{"photo_id":"1325717570","filename":"file1"},{"photo_id":"1325717566","filename":"file0"},{"photo_id":"1325717580","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325717570":["hashtag1","hashtag2"]},{"1325717566":["hashtag1","hashtag2"]},{"1325717575":["hashtag1","hashtag2"]},{"1325717580":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325717570, 1325717566, 1325717575, 1325717580)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.53073239326477 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 09:39:02.439802
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 09:39:21.780713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/09/38/image_03012025_09_38_03_062343_0003.jpg', '/home/pi/Desktop/images/03012025/09/39/image_03012025_09_39_02_699015_0000.jpg', '/home/pi/Desktop/images/03012025/09/39/image_03012025_09_39_02_699015_0001.jpg', '/home/pi/Desktop/images/03012025/09/39/image_03012025_09_39_02_699015_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/09/38/image_03012025_09_38_03_062343_0003.jpg
/home/pi/Desktop/images/03012025/09/39/image_03012025_09_39_02_699015_0000.jpg
/home/pi/Desktop/images/03012025/09/39/image_03012025_09_39_02_699015_0001.jpg
/home/pi/Desktop/images/03012025/09/39/image_03012025_09_39_02_699015_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325717639","1325717609","1325717599","1325717605"],"photo_ids_order":["1325717599","1325717605","1325717609","1325717639"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4143258c79a965447798525d639a127b.jpg","text":"TemporaryFile(/tmp/multipartBody6427826306770844367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735893632100,"filename":"image_03012025_09_39_02_699015_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a2ce21c56f3739ee98ffe9a0a3f9eac5.jpg","text":"TemporaryFile(/tmp/multipartBody8316656225959105331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735893632100,"filename":"image_03012025_09_39_02_699015_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5a3e41ddc824b5926d0927176b20c620.jpg","text":"TemporaryFile(/tmp/multipartBody7618209777243440044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735893632100,"filename":"image_03012025_09_38_03_062343_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/bd58a29d61e00846a593e9ed75994eda.jpg","text":"TemporaryFile(/tmp/multipartBody5833620486856289194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735893632100,"filename":"image_03012025_09_39_02_699015_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325717609","file1":"1325717605","file0":"1325717599","file3":"1325717639"},"map_files_photo_id_array":[{"photo_id":"1325717609","filename":"file2"},{"photo_id":"1325717605","filename":"file1"},{"photo_id":"1325717599","filename":"file0"},{"photo_id":"1325717639","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325717639":["hashtag1","hashtag2"]},{"1325717609":["hashtag1","hashtag2"]},{"1325717599":["hashtag1","hashtag2"]},{"1325717605":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325717639, 1325717609, 1325717599, 1325717605)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.606653928756714 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 09:40:02.822134
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 09:40:22.466676
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/09/39/image_03012025_09_39_02_699015_0003.jpg', '/home/pi/Desktop/images/03012025/09/40/image_03012025_09_40_02_159831_0000.jpg', '/home/pi/Desktop/images/03012025/09/40/image_03012025_09_40_02_159831_0001.jpg', '/home/pi/Desktop/images/03012025/09/40/image_03012025_09_40_02_159831_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/09/39/image_03012025_09_39_02_699015_0003.jpg
/home/pi/Desktop/images/03012025/09/40/image_03012025_09_40_02_159831_0000.jpg
/home/pi/Desktop/images/03012025/09/40/image_03012025_09_40_02_159831_0001.jpg
/home/pi/Desktop/images/03012025/09/40/image_03012025_09_40_02_159831_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.825346231460571 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 09:41:02.606839
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/09/39/image_03012025_09_39_02_699015_0003.jpg', '/home/pi/Desktop/images/03012025/09/40/image_03012025_09_40_02_159831_0000.jpg', '/home/pi/Desktop/images/03012025/09/40/image_03012025_09_40_02_159831_0001.jpg', '/home/pi/Desktop/images/03012025/09/40/image_03012025_09_40_02_159831_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/09/39/image_03012025_09_39_02_699015_0003.jpg
/home/pi/Desktop/images/03012025/09/40/image_03012025_09_40_02_159831_0000.jpg
/home/pi/Desktop/images/03012025/09/40/image_03012025_09_40_02_159831_0001.jpg
/home/pi/Desktop/images/03012025/09/40/image_03012025_09_40_02_159831_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325717673","1325717676","1325717679","1325717670"],"photo_ids_order":["1325717670","1325717673","1325717676","1325717679"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5f652f8b046234441cb3568389990db9.jpg","text":"TemporaryFile(/tmp/multipartBody8579755989184265506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735893732911,"filename":"image_03012025_09_40_02_159831_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/046003fe9aafb2bb3048a8e2f845cae9.jpg","text":"TemporaryFile(/tmp/multipartBody7911424901359885402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735893732911,"filename":"image_03012025_09_40_02_159831_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1a93a6b374a292a15093831eae1da7b1.jpg","text":"TemporaryFile(/tmp/multipartBody5353963318383255571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735893732911,"filename":"image_03012025_09_40_02_159831_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/99c5618dfc5c7b77d207f297523ac28b.jpg","text":"TemporaryFile(/tmp/multipartBody2108481591441990560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735893732911,"filename":"image_03012025_09_39_02_699015_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325717676","file1":"1325717673","file0":"1325717670","file3":"1325717679"},"map_files_photo_id_array":[{"photo_id":"1325717676","filename":"file2"},{"photo_id":"1325717673","filename":"file1"},{"photo_id":"1325717670","filename":"file0"},{"photo_id":"1325717679","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325717673":["hashtag1","hashtag2"]},{"1325717676":["hashtag1","hashtag2"]},{"1325717679":["hashtag1","hashtag2"]},{"1325717670":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325717673, 1325717676, 1325717679, 1325717670)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.20178961753845 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 09:42:03.108374
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/09/40/image_03012025_09_40_02_159831_0003.jpg', '/home/pi/Desktop/images/03012025/09/41/image_03012025_09_41_02_872666_0000.jpg', '/home/pi/Desktop/images/03012025/09/41/image_03012025_09_41_02_872666_0001.jpg', '/home/pi/Desktop/images/03012025/09/41/image_03012025_09_41_02_872666_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/09/40/image_03012025_09_40_02_159831_0003.jpg
/home/pi/Desktop/images/03012025/09/41/image_03012025_09_41_02_872666_0000.jpg
/home/pi/Desktop/images/03012025/09/41/image_03012025_09_41_02_872666_0001.jpg
/home/pi/Desktop/images/03012025/09/41/image_03012025_09_41_02_872666_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325717703","1325717696","1325717700","1325717697"],"photo_ids_order":["1325717696","1325717697","1325717700","1325717703"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/804ef6f517312eec3feb7fb3ad14be5b.jpg","text":"TemporaryFile(/tmp/multipartBody2107912924906728161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735893793412,"filename":"image_03012025_09_41_02_872666_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/cf141a8170466fa408a5827f9abd0be3.jpg","text":"TemporaryFile(/tmp/multipartBody3523710557481369647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735893793412,"filename":"image_03012025_09_40_02_159831_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/513bc8fccb32794adf1b712b0661ab2e.jpg","text":"TemporaryFile(/tmp/multipartBody3334182559971452412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735893793412,"filename":"image_03012025_09_41_02_872666_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e1471dcde65ec0b970b6aa34ab8c0121.jpg","text":"TemporaryFile(/tmp/multipartBody5076149578780755600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735893793412,"filename":"image_03012025_09_41_02_872666_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325717700","file1":"1325717697","file0":"1325717696","file3":"1325717703"},"map_files_photo_id_array":[{"photo_id":"1325717700","filename":"file2"},{"photo_id":"1325717697","filename":"file1"},{"photo_id":"1325717696","filename":"file0"},{"photo_id":"1325717703","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325717703":["hashtag1","hashtag2"]},{"1325717696":["hashtag1","hashtag2"]},{"1325717700":["hashtag1","hashtag2"]},{"1325717697":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325717703, 1325717696, 1325717700, 1325717697)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.5691921710968 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 09:43:02.913356
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/09/41/image_03012025_09_41_02_872666_0003.jpg', '/home/pi/Desktop/images/03012025/09/42/image_03012025_09_42_02_397609_0000.jpg', '/home/pi/Desktop/images/03012025/09/42/image_03012025_09_42_02_397609_0001.jpg', '/home/pi/Desktop/images/03012025/09/42/image_03012025_09_42_02_397609_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/09/41/image_03012025_09_41_02_872666_0003.jpg
/home/pi/Desktop/images/03012025/09/42/image_03012025_09_42_02_397609_0000.jpg
/home/pi/Desktop/images/03012025/09/42/image_03012025_09_42_02_397609_0001.jpg
/home/pi/Desktop/images/03012025/09/42/image_03012025_09_42_02_397609_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325717761","1325717755","1325717763","1325717757"],"photo_ids_order":["1325717755","1325717757","1325717761","1325717763"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7cda32c922193467481fa9dc05e8dec1.jpg","text":"TemporaryFile(/tmp/multipartBody2144570167805665922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735893853308,"filename":"image_03012025_09_42_02_397609_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/bbdafe0064100728e742548126efb874.jpg","text":"TemporaryFile(/tmp/multipartBody1037483235985400793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735893853308,"filename":"image_03012025_09_41_02_872666_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d8ea532a6fc43b17e1519f9a15887b88.jpg","text":"TemporaryFile(/tmp/multipartBody5730075075651680790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735893853308,"filename":"image_03012025_09_42_02_397609_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/66eab6060b3d2a99431db0a1ee2bdcf4.jpg","text":"TemporaryFile(/tmp/multipartBody2895512890334394719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735893853308,"filename":"image_03012025_09_42_02_397609_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325717761","file1":"1325717757","file0":"1325717755","file3":"1325717763"},"map_files_photo_id_array":[{"photo_id":"1325717761","filename":"file2"},{"photo_id":"1325717757","filename":"file1"},{"photo_id":"1325717755","filename":"file0"},{"photo_id":"1325717763","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325717761":["hashtag1","hashtag2"]},{"1325717755":["hashtag1","hashtag2"]},{"1325717763":["hashtag1","hashtag2"]},{"1325717757":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325717761, 1325717755, 1325717763, 1325717757)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.68528199195862 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 09:44:02.342286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/09/42/image_03012025_09_42_02_397609_0003.jpg', '/home/pi/Desktop/images/03012025/09/43/image_03012025_09_43_03_050182_0000.jpg', '/home/pi/Desktop/images/03012025/09/43/image_03012025_09_43_03_050182_0001.jpg', '/home/pi/Desktop/images/03012025/09/43/image_03012025_09_43_03_050182_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/09/42/image_03012025_09_42_02_397609_0003.jpg
/home/pi/Desktop/images/03012025/09/43/image_03012025_09_43_03_050182_0000.jpg
/home/pi/Desktop/images/03012025/09/43/image_03012025_09_43_03_050182_0001.jpg
/home/pi/Desktop/images/03012025/09/43/image_03012025_09_43_03_050182_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325717794","1325717782","1325717785","1325717790"],"photo_ids_order":["1325717782","1325717785","1325717790","1325717794"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a2b4dff07e7e168a4dc81d88af33c4f3.jpg","text":"TemporaryFile(/tmp/multipartBody5748420595082522439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735893912621,"filename":"image_03012025_09_43_03_050182_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6f5df7c821beaeacefe7dbc0aacc1cf3.jpg","text":"TemporaryFile(/tmp/multipartBody3250339746047835161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735893912621,"filename":"image_03012025_09_42_02_397609_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e04b9219668d7703339fd23acf23788a.jpg","text":"TemporaryFile(/tmp/multipartBody4498367596010505946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735893912621,"filename":"image_03012025_09_43_03_050182_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/14e52fb6027c5904eefa12bed139b9d7.jpg","text":"TemporaryFile(/tmp/multipartBody7026001293471091878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735893912621,"filename":"image_03012025_09_43_03_050182_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325717790","file1":"1325717785","file0":"1325717782","file3":"1325717794"},"map_files_photo_id_array":[{"photo_id":"1325717790","filename":"file2"},{"photo_id":"1325717785","filename":"file1"},{"photo_id":"1325717782","filename":"file0"},{"photo_id":"1325717794","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325717794":["hashtag1","hashtag2"]},{"1325717782":["hashtag1","hashtag2"]},{"1325717785":["hashtag1","hashtag2"]},{"1325717790":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325717794, 1325717782, 1325717785, 1325717790)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.36485314369202 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 09:45:03.127393
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/09/43/image_03012025_09_43_03_050182_0003.jpg', '/home/pi/Desktop/images/03012025/09/44/image_03012025_09_44_02_560201_0000.jpg', '/home/pi/Desktop/images/03012025/09/44/image_03012025_09_44_02_560201_0001.jpg', '/home/pi/Desktop/images/03012025/09/44/image_03012025_09_44_02_560201_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/09/43/image_03012025_09_43_03_050182_0003.jpg
/home/pi/Desktop/images/03012025/09/44/image_03012025_09_44_02_560201_0000.jpg
/home/pi/Desktop/images/03012025/09/44/image_03012025_09_44_02_560201_0001.jpg
/home/pi/Desktop/images/03012025/09/44/image_03012025_09_44_02_560201_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325717828","1325717822","1325717825","1325717820"],"photo_ids_order":["1325717820","1325717822","1325717825","1325717828"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/fa05c74df3bb7105cdda1aac74eaf55f.jpg","text":"TemporaryFile(/tmp/multipartBody353102436591653745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735893973423,"filename":"image_03012025_09_44_02_560201_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/36c0fc1eb12674b298dc920d2ba1f6f4.jpg","text":"TemporaryFile(/tmp/multipartBody4941294320527905790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735893973423,"filename":"image_03012025_09_44_02_560201_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/06ef66fdb7f5ed5daedab18cfd33a2bc.jpg","text":"TemporaryFile(/tmp/multipartBody9083120852341377812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735893973423,"filename":"image_03012025_09_44_02_560201_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5d0571f290d9035bb104cf5aecbe4710.jpg","text":"TemporaryFile(/tmp/multipartBody6075472763388301234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735893973423,"filename":"image_03012025_09_43_03_050182_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325717825","file1":"1325717822","file0":"1325717820","file3":"1325717828"},"map_files_photo_id_array":[{"photo_id":"1325717825","filename":"file2"},{"photo_id":"1325717822","filename":"file1"},{"photo_id":"1325717820","filename":"file0"},{"photo_id":"1325717828","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325717828":["hashtag1","hashtag2"]},{"1325717822":["hashtag1","hashtag2"]},{"1325717825":["hashtag1","hashtag2"]},{"1325717820":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325717828, 1325717822, 1325717825, 1325717820)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.55558109283447 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 09:46:02.376856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/09/44/image_03012025_09_44_02_560201_0003.jpg', '/home/pi/Desktop/images/03012025/09/45/image_03012025_09_45_02_284603_0000.jpg', '/home/pi/Desktop/images/03012025/09/45/image_03012025_09_45_02_284603_0001.jpg', '/home/pi/Desktop/images/03012025/09/45/image_03012025_09_45_02_284603_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/09/44/image_03012025_09_44_02_560201_0003.jpg
/home/pi/Desktop/images/03012025/09/45/image_03012025_09_45_02_284603_0000.jpg
/home/pi/Desktop/images/03012025/09/45/image_03012025_09_45_02_284603_0001.jpg
/home/pi/Desktop/images/03012025/09/45/image_03012025_09_45_02_284603_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325717882","1325717883","1325717886","1325717889"],"photo_ids_order":["1325717882","1325717883","1325717886","1325717889"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6222ecfbcc491a2cfd18d8c63dc36312.jpg","text":"TemporaryFile(/tmp/multipartBody8667139326646663326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735894032775,"filename":"image_03012025_09_44_02_560201_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/74c5f5b36f6109c9bca439bbb63930b3.jpg","text":"TemporaryFile(/tmp/multipartBody2403749538698204503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735894032775,"filename":"image_03012025_09_45_02_284603_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/737ca1114aaddd1472522bd163730b9c.jpg","text":"TemporaryFile(/tmp/multipartBody3971741336436288620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735894032775,"filename":"image_03012025_09_45_02_284603_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f8aef0b6084e03a1adc54eaa18483fe8.jpg","text":"TemporaryFile(/tmp/multipartBody7645933448971580173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735894032775,"filename":"image_03012025_09_45_02_284603_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325717886","file1":"1325717883","file0":"1325717882","file3":"1325717889"},"map_files_photo_id_array":[{"photo_id":"1325717886","filename":"file2"},{"photo_id":"1325717883","filename":"file1"},{"photo_id":"1325717882","filename":"file0"},{"photo_id":"1325717889","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325717882":["hashtag1","hashtag2"]},{"1325717883":["hashtag1","hashtag2"]},{"1325717886":["hashtag1","hashtag2"]},{"1325717889":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325717882, 1325717883, 1325717886, 1325717889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.84037256240845 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 09:47:03.308867
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/09/45/image_03012025_09_45_02_284603_0003.jpg', '/home/pi/Desktop/images/03012025/09/46/image_03012025_09_46_02_763349_0000.jpg', '/home/pi/Desktop/images/03012025/09/46/image_03012025_09_46_02_763349_0001.jpg', '/home/pi/Desktop/images/03012025/09/46/image_03012025_09_46_02_763349_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/09/45/image_03012025_09_45_02_284603_0003.jpg
/home/pi/Desktop/images/03012025/09/46/image_03012025_09_46_02_763349_0000.jpg
/home/pi/Desktop/images/03012025/09/46/image_03012025_09_46_02_763349_0001.jpg
/home/pi/Desktop/images/03012025/09/46/image_03012025_09_46_02_763349_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325717907","1325717912","1325717915","1325717909"],"photo_ids_order":["1325717907","1325717909","1325717912","1325717915"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/46ecfff803feb6250fcdd782c60fe1d9.jpg","text":"TemporaryFile(/tmp/multipartBody8301631938350242450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735894093978,"filename":"image_03012025_09_45_02_284603_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3bd5ad33a015848e1d5d02c66bce0f83.jpg","text":"TemporaryFile(/tmp/multipartBody2865632359325598625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735894093978,"filename":"image_03012025_09_46_02_763349_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/dd68f8cda85984a472d3fc605c2ac1db.jpg","text":"TemporaryFile(/tmp/multipartBody3947169173933175607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735894093978,"filename":"image_03012025_09_46_02_763349_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/dd2d354d08f65c292976c7f93a6bff56.jpg","text":"TemporaryFile(/tmp/multipartBody232978397567873287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735894093978,"filename":"image_03012025_09_46_02_763349_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325717912","file1":"1325717909","file0":"1325717907","file3":"1325717915"},"map_files_photo_id_array":[{"photo_id":"1325717912","filename":"file2"},{"photo_id":"1325717909","filename":"file1"},{"photo_id":"1325717907","filename":"file0"},{"photo_id":"1325717915","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325717907":["hashtag1","hashtag2"]},{"1325717912":["hashtag1","hashtag2"]},{"1325717915":["hashtag1","hashtag2"]},{"1325717909":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325717907, 1325717912, 1325717915, 1325717909)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.81181192398071 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 09:48:02.697054
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/09/46/image_03012025_09_46_02_763349_0003.jpg', '/home/pi/Desktop/images/03012025/09/47/image_03012025_09_47_02_381877_0000.jpg', '/home/pi/Desktop/images/03012025/09/47/image_03012025_09_47_02_381877_0001.jpg', '/home/pi/Desktop/images/03012025/09/47/image_03012025_09_47_02_381877_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/09/46/image_03012025_09_46_02_763349_0003.jpg
/home/pi/Desktop/images/03012025/09/47/image_03012025_09_47_02_381877_0000.jpg
/home/pi/Desktop/images/03012025/09/47/image_03012025_09_47_02_381877_0001.jpg
/home/pi/Desktop/images/03012025/09/47/image_03012025_09_47_02_381877_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325718091","1325718085","1325718088","1325718084"],"photo_ids_order":["1325718084","1325718085","1325718088","1325718091"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/dbad9c5af0747df09fdd0db69cff37c9.jpg","text":"TemporaryFile(/tmp/multipartBody65449892078566368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735894153252,"filename":"image_03012025_09_47_02_381877_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ad7e0bd27240d4721f40fa7fd5a2c8a0.jpg","text":"TemporaryFile(/tmp/multipartBody7347158326109339572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735894153252,"filename":"image_03012025_09_47_02_381877_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b4d54015f8a21a9d9f00293f5a25dad3.jpg","text":"TemporaryFile(/tmp/multipartBody8880801654806382695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735894153252,"filename":"image_03012025_09_47_02_381877_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3b15e274f9ce0d69112dd4da71533199.jpg","text":"TemporaryFile(/tmp/multipartBody9097007564909845319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735894153252,"filename":"image_03012025_09_46_02_763349_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325718088","file1":"1325718085","file0":"1325718084","file3":"1325718091"},"map_files_photo_id_array":[{"photo_id":"1325718088","filename":"file2"},{"photo_id":"1325718085","filename":"file1"},{"photo_id":"1325718084","filename":"file0"},{"photo_id":"1325718091","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325718091":["hashtag1","hashtag2"]},{"1325718085":["hashtag1","hashtag2"]},{"1325718088":["hashtag1","hashtag2"]},{"1325718084":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325718091, 1325718085, 1325718088, 1325718084)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.842018842697144 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 09:49:03.304641
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/09/47/image_03012025_09_47_02_381877_0003.jpg', '/home/pi/Desktop/images/03012025/09/48/image_03012025_09_48_02_967771_0000.jpg', '/home/pi/Desktop/images/03012025/09/48/image_03012025_09_48_02_967771_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/09/47/image_03012025_09_47_02_381877_0003.jpg
/home/pi/Desktop/images/03012025/09/48/image_03012025_09_48_02_967771_0000.jpg
/home/pi/Desktop/images/03012025/09/48/image_03012025_09_48_02_967771_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325718146","1325718115","1325718150"],"photo_ids_order":["1325718115","1325718146","1325718150"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9fcc90cf4c4a39bb60d27754efb74874.jpg","text":"TemporaryFile(/tmp/multipartBody6758688161078894302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735894211163,"filename":"image_03012025_09_48_02_967771_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e3266099680cf01cb0ef129983af992f.jpg","text":"TemporaryFile(/tmp/multipartBody6382480120178298817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735894211163,"filename":"image_03012025_09_47_02_381877_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/238a86651984fbd2b5539c78e48f91e5.jpg","text":"TemporaryFile(/tmp/multipartBody8166245657694760894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735894211163,"filename":"image_03012025_09_48_02_967771_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325718150","file1":"1325718146","file0":"1325718115"},"map_files_photo_id_array":[{"photo_id":"1325718150","filename":"file2"},{"photo_id":"1325718146","filename":"file1"},{"photo_id":"1325718115","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325718146":["hashtag1","hashtag2"]},{"1325718115":["hashtag1","hashtag2"]},{"1325718150":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325718146, 1325718115, 1325718150)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.09715795516968 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 09:50:02.928276
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/09/48/image_03012025_09_48_02_967771_0003.jpg', '/home/pi/Desktop/images/03012025/09/49/image_03012025_09_49_02_530444_0000.jpg', '/home/pi/Desktop/images/03012025/09/49/image_03012025_09_49_02_530444_0001.jpg', '/home/pi/Desktop/images/03012025/09/49/image_03012025_09_49_02_530444_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/09/48/image_03012025_09_48_02_967771_0003.jpg
/home/pi/Desktop/images/03012025/09/49/image_03012025_09_49_02_530444_0000.jpg
/home/pi/Desktop/images/03012025/09/49/image_03012025_09_49_02_530444_0001.jpg
/home/pi/Desktop/images/03012025/09/49/image_03012025_09_49_02_530444_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325718275","1325718282","1325718276","1325718279"],"photo_ids_order":["1325718275","1325718276","1325718279","1325718282"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0087266c322c31a5e19d8e8af253b401.jpg","text":"TemporaryFile(/tmp/multipartBody6886580067868560402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735894273128,"filename":"image_03012025_09_48_02_967771_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3980f79bcccfc9a52da87f4b72b38a85.jpg","text":"TemporaryFile(/tmp/multipartBody8296915874447825170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735894273128,"filename":"image_03012025_09_49_02_530444_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/73aebd3b47c24c3b0e2b3690e7184b34.jpg","text":"TemporaryFile(/tmp/multipartBody5491687275326125738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735894273128,"filename":"image_03012025_09_49_02_530444_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/cf6b08aaf72427dae6eacc7590516e58.jpg","text":"TemporaryFile(/tmp/multipartBody7803055571953510422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735894273128,"filename":"image_03012025_09_49_02_530444_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325718279","file1":"1325718276","file0":"1325718275","file3":"1325718282"},"map_files_photo_id_array":[{"photo_id":"1325718279","filename":"file2"},{"photo_id":"1325718276","filename":"file1"},{"photo_id":"1325718275","filename":"file0"},{"photo_id":"1325718282","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325718275":["hashtag1","hashtag2"]},{"1325718282":["hashtag1","hashtag2"]},{"1325718276":["hashtag1","hashtag2"]},{"1325718279":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325718275, 1325718282, 1325718276, 1325718279)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.4200439453125 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 09:51:02.416007
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/09/49/image_03012025_09_49_02_530444_0003.jpg', '/home/pi/Desktop/images/03012025/09/50/image_03012025_09_50_03_151471_0000.jpg', '/home/pi/Desktop/images/03012025/09/50/image_03012025_09_50_03_151471_0001.jpg', '/home/pi/Desktop/images/03012025/09/50/image_03012025_09_50_03_151471_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/09/49/image_03012025_09_49_02_530444_0003.jpg
/home/pi/Desktop/images/03012025/09/50/image_03012025_09_50_03_151471_0000.jpg
/home/pi/Desktop/images/03012025/09/50/image_03012025_09_50_03_151471_0001.jpg
/home/pi/Desktop/images/03012025/09/50/image_03012025_09_50_03_151471_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325718303","1325718296","1325718297","1325718300"],"photo_ids_order":["1325718296","1325718297","1325718300","1325718303"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9f2b144e887d6c001a9317d55fd3c501.jpg","text":"TemporaryFile(/tmp/multipartBody3123419864905745777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735894332938,"filename":"image_03012025_09_50_03_151471_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/318ba4ca4119d7169d2ac3f46f80070f.jpg","text":"TemporaryFile(/tmp/multipartBody1991681000335117977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735894332938,"filename":"image_03012025_09_49_02_530444_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ebcdefc459b9e4a0a87e846fcb6b28b5.jpg","text":"TemporaryFile(/tmp/multipartBody3571221107135868339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735894332938,"filename":"image_03012025_09_50_03_151471_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b40beddbb15d4f05d6cae6153edcde83.jpg","text":"TemporaryFile(/tmp/multipartBody788910633286299160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735894332938,"filename":"image_03012025_09_50_03_151471_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325718300","file1":"1325718297","file0":"1325718296","file3":"1325718303"},"map_files_photo_id_array":[{"photo_id":"1325718300","filename":"file2"},{"photo_id":"1325718297","filename":"file1"},{"photo_id":"1325718296","filename":"file0"},{"photo_id":"1325718303","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325718303":["hashtag1","hashtag2"]},{"1325718296":["hashtag1","hashtag2"]},{"1325718297":["hashtag1","hashtag2"]},{"1325718300":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325718303, 1325718296, 1325718297, 1325718300)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.91844367980957 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 09:52:03.001240
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/09/50/image_03012025_09_50_03_151471_0003.jpg', '/home/pi/Desktop/images/03012025/09/51/image_03012025_09_51_02_804046_0000.jpg', '/home/pi/Desktop/images/03012025/09/51/image_03012025_09_51_02_804046_0001.jpg', '/home/pi/Desktop/images/03012025/09/51/image_03012025_09_51_02_804046_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/09/50/image_03012025_09_50_03_151471_0003.jpg
/home/pi/Desktop/images/03012025/09/51/image_03012025_09_51_02_804046_0000.jpg
/home/pi/Desktop/images/03012025/09/51/image_03012025_09_51_02_804046_0001.jpg
/home/pi/Desktop/images/03012025/09/51/image_03012025_09_51_02_804046_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325718365","1325718368","1325718362","1325718361"],"photo_ids_order":["1325718361","1325718362","1325718365","1325718368"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e9e5a3a5b0436182e4c7842664fe2d99.jpg","text":"TemporaryFile(/tmp/multipartBody7347845088343168310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735894393322,"filename":"image_03012025_09_51_02_804046_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f1688c1aea6e4accfd12d53572665a58.jpg","text":"TemporaryFile(/tmp/multipartBody6804357097414795946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735894393322,"filename":"image_03012025_09_51_02_804046_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8dd9ccc8a57c11e375d285c9ef44ef15.jpg","text":"TemporaryFile(/tmp/multipartBody1940665451402924063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735894393322,"filename":"image_03012025_09_51_02_804046_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/33e5e489b1ce3b7c4d2e5ea8da5bbf12.jpg","text":"TemporaryFile(/tmp/multipartBody222039350706932580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735894393322,"filename":"image_03012025_09_50_03_151471_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325718365","file1":"1325718362","file0":"1325718361","file3":"1325718368"},"map_files_photo_id_array":[{"photo_id":"1325718365","filename":"file2"},{"photo_id":"1325718362","filename":"file1"},{"photo_id":"1325718361","filename":"file0"},{"photo_id":"1325718368","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325718365":["hashtag1","hashtag2"]},{"1325718368":["hashtag1","hashtag2"]},{"1325718362":["hashtag1","hashtag2"]},{"1325718361":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325718365, 1325718368, 1325718362, 1325718361)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.42202568054199 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 09:53:02.729264
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/09/51/image_03012025_09_51_02_804046_0003.jpg', '/home/pi/Desktop/images/03012025/09/52/image_03012025_09_52_02_293428_0000.jpg', '/home/pi/Desktop/images/03012025/09/52/image_03012025_09_52_02_293428_0001.jpg', '/home/pi/Desktop/images/03012025/09/52/image_03012025_09_52_02_293428_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/09/51/image_03012025_09_51_02_804046_0003.jpg
/home/pi/Desktop/images/03012025/09/52/image_03012025_09_52_02_293428_0000.jpg
/home/pi/Desktop/images/03012025/09/52/image_03012025_09_52_02_293428_0001.jpg
/home/pi/Desktop/images/03012025/09/52/image_03012025_09_52_02_293428_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325718385","1325718390","1325718393","1325718387"],"photo_ids_order":["1325718385","1325718387","1325718390","1325718393"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/bf962185d98df7f5970cf3b5757ecad2.jpg","text":"TemporaryFile(/tmp/multipartBody4135665462940509713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735894453125,"filename":"image_03012025_09_51_02_804046_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e29e6d13ddc01f5bac2fbfebf559a1b0.jpg","text":"TemporaryFile(/tmp/multipartBody1955775265378440407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735894453125,"filename":"image_03012025_09_52_02_293428_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/62f24a2219b39ca0531f544aeec7f7f9.jpg","text":"TemporaryFile(/tmp/multipartBody4734904908336161567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735894453125,"filename":"image_03012025_09_52_02_293428_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f68084447cdc58ff23e650299485c315.jpg","text":"TemporaryFile(/tmp/multipartBody547256392626368522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735894453125,"filename":"image_03012025_09_52_02_293428_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325718390","file1":"1325718387","file0":"1325718385","file3":"1325718393"},"map_files_photo_id_array":[{"photo_id":"1325718390","filename":"file2"},{"photo_id":"1325718387","filename":"file1"},{"photo_id":"1325718385","filename":"file0"},{"photo_id":"1325718393","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325718385":["hashtag1","hashtag2"]},{"1325718390":["hashtag1","hashtag2"]},{"1325718393":["hashtag1","hashtag2"]},{"1325718387":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325718385, 1325718390, 1325718393, 1325718387)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.425681829452515 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 09:54:03.137846
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/09/52/image_03012025_09_52_02_293428_0003.jpg', '/home/pi/Desktop/images/03012025/09/53/image_03012025_09_53_02_912128_0000.jpg', '/home/pi/Desktop/images/03012025/09/53/image_03012025_09_53_02_912128_0001.jpg', '/home/pi/Desktop/images/03012025/09/53/image_03012025_09_53_02_912128_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/09/52/image_03012025_09_52_02_293428_0003.jpg
/home/pi/Desktop/images/03012025/09/53/image_03012025_09_53_02_912128_0000.jpg
/home/pi/Desktop/images/03012025/09/53/image_03012025_09_53_02_912128_0001.jpg
/home/pi/Desktop/images/03012025/09/53/image_03012025_09_53_02_912128_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325718413","1325718417","1325718420","1325718414"],"photo_ids_order":["1325718413","1325718414","1325718417","1325718420"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/acb430225885078067cace4410e8bd88.jpg","text":"TemporaryFile(/tmp/multipartBody6658133203602553953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735894513468,"filename":"image_03012025_09_52_02_293428_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7b45193647f3ad7d968e0fcb5fc321c0.jpg","text":"TemporaryFile(/tmp/multipartBody1451667121798767127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735894513468,"filename":"image_03012025_09_53_02_912128_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8093ef724cf77064563f4f519279c6f1.jpg","text":"TemporaryFile(/tmp/multipartBody1009764216941022048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735894513468,"filename":"image_03012025_09_53_02_912128_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/667969e2387a5df2583ff2ffba0ab0c0.jpg","text":"TemporaryFile(/tmp/multipartBody357741628650682877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735894513468,"filename":"image_03012025_09_53_02_912128_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325718417","file1":"1325718414","file0":"1325718413","file3":"1325718420"},"map_files_photo_id_array":[{"photo_id":"1325718417","filename":"file2"},{"photo_id":"1325718414","filename":"file1"},{"photo_id":"1325718413","filename":"file0"},{"photo_id":"1325718420","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325718413":["hashtag1","hashtag2"]},{"1325718417":["hashtag1","hashtag2"]},{"1325718420":["hashtag1","hashtag2"]},{"1325718414":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325718413, 1325718417, 1325718420, 1325718414)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.01455235481262 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 09:55:02.792030
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/09/53/image_03012025_09_53_02_912128_0003.jpg', '/home/pi/Desktop/images/03012025/09/54/image_03012025_09_54_02_458961_0000.jpg', '/home/pi/Desktop/images/03012025/09/54/image_03012025_09_54_02_458961_0001.jpg', '/home/pi/Desktop/images/03012025/09/54/image_03012025_09_54_02_458961_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/09/53/image_03012025_09_53_02_912128_0003.jpg
/home/pi/Desktop/images/03012025/09/54/image_03012025_09_54_02_458961_0000.jpg
/home/pi/Desktop/images/03012025/09/54/image_03012025_09_54_02_458961_0001.jpg
/home/pi/Desktop/images/03012025/09/54/image_03012025_09_54_02_458961_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325718487","1325718499","1325718490","1325718486"],"photo_ids_order":["1325718486","1325718487","1325718490","1325718499"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8fc86b8b5d4164133b46c56c60c4b812.jpg","text":"TemporaryFile(/tmp/multipartBody2140332093580223455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735894573133,"filename":"image_03012025_09_54_02_458961_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8867a0b8c7fcc16dc902eae92fef65aa.jpg","text":"TemporaryFile(/tmp/multipartBody4554661262340963385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735894573133,"filename":"image_03012025_09_54_02_458961_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9baf68b8dceb0c86a9a9d9a5831c07cf.jpg","text":"TemporaryFile(/tmp/multipartBody3399491329954837448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735894573133,"filename":"image_03012025_09_54_02_458961_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f5163c02ba0495fcb00e4912c1b28ec1.jpg","text":"TemporaryFile(/tmp/multipartBody7620393967422364536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735894573133,"filename":"image_03012025_09_53_02_912128_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325718490","file1":"1325718487","file0":"1325718486","file3":"1325718499"},"map_files_photo_id_array":[{"photo_id":"1325718490","filename":"file2"},{"photo_id":"1325718487","filename":"file1"},{"photo_id":"1325718486","filename":"file0"},{"photo_id":"1325718499","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325718487":["hashtag1","hashtag2"]},{"1325718499":["hashtag1","hashtag2"]},{"1325718490":["hashtag1","hashtag2"]},{"1325718486":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325718487, 1325718499, 1325718490, 1325718486)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.56258702278137 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 09:56:03.119099
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/09/54/image_03012025_09_54_02_458961_0003.jpg', '/home/pi/Desktop/images/03012025/09/55/image_03012025_09_55_02_934176_0000.jpg', '/home/pi/Desktop/images/03012025/09/55/image_03012025_09_55_02_934176_0001.jpg', '/home/pi/Desktop/images/03012025/09/55/image_03012025_09_55_02_934176_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/09/54/image_03012025_09_54_02_458961_0003.jpg
/home/pi/Desktop/images/03012025/09/55/image_03012025_09_55_02_934176_0000.jpg
/home/pi/Desktop/images/03012025/09/55/image_03012025_09_55_02_934176_0001.jpg
/home/pi/Desktop/images/03012025/09/55/image_03012025_09_55_02_934176_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325718599","1325718653","1325718766","1325718601"],"photo_ids_order":["1325718599","1325718601","1325718653","1325718766"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a0d55626559fb5e093119432d3b384d9.jpg","text":"TemporaryFile(/tmp/multipartBody8431617002051427814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735894633590,"filename":"image_03012025_09_54_02_458961_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/dea6cbda3f5f8f57b7fc698bf8765c1d.jpg","text":"TemporaryFile(/tmp/multipartBody3092382016174045950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735894633590,"filename":"image_03012025_09_55_02_934176_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1820c33c9a79bd8962441426c956ec35.jpg","text":"TemporaryFile(/tmp/multipartBody2641005794854895340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735894633590,"filename":"image_03012025_09_55_02_934176_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/798c8a61c6df590f3c1bb097dcf64f62.jpg","text":"TemporaryFile(/tmp/multipartBody7041316375911191616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735894633590,"filename":"image_03012025_09_55_02_934176_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325718653","file1":"1325718601","file0":"1325718599","file3":"1325718766"},"map_files_photo_id_array":[{"photo_id":"1325718653","filename":"file2"},{"photo_id":"1325718601","filename":"file1"},{"photo_id":"1325718599","filename":"file0"},{"photo_id":"1325718766","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325718599":["hashtag1","hashtag2"]},{"1325718653":["hashtag1","hashtag2"]},{"1325718766":["hashtag1","hashtag2"]},{"1325718601":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325718599, 1325718653, 1325718766, 1325718601)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.293030977249146 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 09:57:02.866103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/09/55/image_03012025_09_55_02_934176_0003.jpg', '/home/pi/Desktop/images/03012025/09/56/image_03012025_09_56_02_445723_0000.jpg', '/home/pi/Desktop/images/03012025/09/56/image_03012025_09_56_02_445723_0001.jpg', '/home/pi/Desktop/images/03012025/09/56/image_03012025_09_56_02_445723_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/09/55/image_03012025_09_55_02_934176_0003.jpg
/home/pi/Desktop/images/03012025/09/56/image_03012025_09_56_02_445723_0000.jpg
/home/pi/Desktop/images/03012025/09/56/image_03012025_09_56_02_445723_0001.jpg
/home/pi/Desktop/images/03012025/09/56/image_03012025_09_56_02_445723_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325718871","1325718865","1325718868","1325718862"],"photo_ids_order":["1325718862","1325718865","1325718868","1325718871"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/728a4520197da80827abd83db15e10f3.jpg","text":"TemporaryFile(/tmp/multipartBody4550097570952321656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735894693377,"filename":"image_03012025_09_56_02_445723_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/fc0cf9d52712cfd6636358d532412dd7.jpg","text":"TemporaryFile(/tmp/multipartBody3599811703857745345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735894693377,"filename":"image_03012025_09_56_02_445723_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a25ab92bc6fcacb887ad3096261eb5af.jpg","text":"TemporaryFile(/tmp/multipartBody4812754084255153577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735894693377,"filename":"image_03012025_09_56_02_445723_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/53ad52155f0fabf47a305aa300ea40f5.jpg","text":"TemporaryFile(/tmp/multipartBody6664397288256694494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735894693377,"filename":"image_03012025_09_55_02_934176_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325718868","file1":"1325718865","file0":"1325718862","file3":"1325718871"},"map_files_photo_id_array":[{"photo_id":"1325718868","filename":"file2"},{"photo_id":"1325718865","filename":"file1"},{"photo_id":"1325718862","filename":"file0"},{"photo_id":"1325718871","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325718871":["hashtag1","hashtag2"]},{"1325718865":["hashtag1","hashtag2"]},{"1325718868":["hashtag1","hashtag2"]},{"1325718862":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325718871, 1325718865, 1325718868, 1325718862)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.251588106155396 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 09:59:02.756343
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/09/56/image_03012025_09_56_02_445723_0003.jpg', '/home/pi/Desktop/images/03012025/09/57/image_03012025_09_57_03_137821_0000.jpg', '/home/pi/Desktop/images/03012025/09/57/image_03012025_09_57_03_137821_0001.jpg', '/home/pi/Desktop/images/03012025/09/57/image_03012025_09_57_03_137821_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/09/56/image_03012025_09_56_02_445723_0003.jpg
/home/pi/Desktop/images/03012025/09/57/image_03012025_09_57_03_137821_0000.jpg
/home/pi/Desktop/images/03012025/09/57/image_03012025_09_57_03_137821_0001.jpg
/home/pi/Desktop/images/03012025/09/57/image_03012025_09_57_03_137821_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":["1325719604","1325719597","1325719611","1325719589"],"photo_ids_order":["1325719589","1325719597","1325719604","1325719611"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/fd4ed73f9e5c27e925de33efa625e476.jpg","text":"TemporaryFile(/tmp/multipartBody7452770878948752701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735894813108,"filename":"image_03012025_09_57_03_137821_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ce364967463c96b3679f3348619e243c.jpg","text":"TemporaryFile(/tmp/multipartBody1672578323840453577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735894813108,"filename":"image_03012025_09_57_03_137821_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/840380e83e56c634d7c784b97fc8e306.jpg","text":"TemporaryFile(/tmp/multipartBody6071153592728409442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735894813108,"filename":"image_03012025_09_57_03_137821_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/108b1a295767d31285e489f10e201e13.jpg","text":"TemporaryFile(/tmp/multipartBody3441930192266590294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735894813108,"filename":"image_03012025_09_56_02_445723_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325719604","file1":"1325719597","file0":"1325719589","file3":"1325719611"},"map_files_photo_id_array":[{"photo_id":"1325719604","filename":"file2"},{"photo_id":"1325719597","filename":"file1"},{"photo_id":"1325719589","filename":"file0"},{"photo_id":"1325719611","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325719604":["hashtag1","hashtag2"]},{"1325719597":["hashtag1","hashtag2"]},{"1325719611":["hashtag1","hashtag2"]},{"1325719589":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325719604, 1325719597, 1325719611, 1325719589)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.67069149017334 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-03 09:59:42.170585
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/09/57/image_03012025_09_57_03_137821_0003.jpg', '/home/pi/Desktop/images/03012025/09/58/image_03012025_09_58_02_693257_0000.jpg', '/home/pi/Desktop/images/03012025/09/58/image_03012025_09_58_02_693257_0001.jpg', '/home/pi/Desktop/images/03012025/09/58/image_03012025_09_58_02_693257_0002.jpg', '/home/pi/Desktop/images/03012025/09/58/image_03012025_09_58_02_693257_0003.jpg', '/home/pi/Desktop/images/03012025/09/59/image_03012025_09_59_02_374290_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/09/57/image_03012025_09_57_03_137821_0003.jpg
/home/pi/Desktop/images/03012025/09/58/image_03012025_09_58_02_693257_0000.jpg
/home/pi/Desktop/images/03012025/09/58/image_03012025_09_58_02_693257_0001.jpg
/home/pi/Desktop/images/03012025/09/58/image_03012025_09_58_02_693257_0002.jpg
/home/pi/Desktop/images/03012025/09/58/image_03012025_09_58_02_693257_0003.jpg
/home/pi/Desktop/images/03012025/09/59/image_03012025_09_59_02_374290_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":["1325719652","1325719645","1325719627","1325719656","1325719632","1325719622"],"photo_ids_order":["1325719622","1325719627","1325719632","1325719645","1325719652","1325719656"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2cce4c3d3c0bd786225e32741976bd32.jpg","text":"TemporaryFile(/tmp/multipartBody5727445505134876411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735894857271,"filename":"image_03012025_09_58_02_693257_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/53933ef3e2d7b4d20d91c94714cc5bbe.jpg","text":"TemporaryFile(/tmp/multipartBody6265222686255020124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735894857271,"filename":"image_03012025_09_58_02_693257_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8f8f2d44b1c48cea673756f3c224b355.jpg","text":"TemporaryFile(/tmp/multipartBody6625790053205614925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735894857271,"filename":"image_03012025_09_58_02_693257_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c5cefb2dfda20cf738440c26d248456a.jpg","text":"TemporaryFile(/tmp/multipartBody2700933843909354518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735894857271,"filename":"image_03012025_09_59_02_374290_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/69843e2c09efe375273e1d2df227b2d3.jpg","text":"TemporaryFile(/tmp/multipartBody4561109194883886836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735894857271,"filename":"image_03012025_09_58_02_693257_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/166b3dfaa70bd707e489cef569b23b72.jpg","text":"TemporaryFile(/tmp/multipartBody1444188098321528953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735894857271,"filename":"image_03012025_09_57_03_137821_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325719632","file1":"1325719627","file0":"1325719622","file4":"1325719652","file5":"1325719656","file3":"1325719645"},"map_files_photo_id_array":[{"photo_id":"1325719656","filename":"file5"},{"photo_id":"1325719632","filename":"file2"},{"photo_id":"1325719652","filename":"file4"},{"photo_id":"1325719627","filename":"file1"},{"photo_id":"1325719622","filename":"file0"},{"photo_id":"1325719645","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325719652":["hashtag1","hashtag2"]},{"1325719645":["hashtag1","hashtag2"]},{"1325719627":["hashtag1","hashtag2"]},{"1325719656":["hashtag1","hashtag2"]},{"1325719632":["hashtag1","hashtag2"]},{"1325719622":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325719652, 1325719645, 1325719627, 1325719656, 1325719632, 1325719622)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.33878707885742 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-03 10:00:42.388511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/09/59/image_03012025_09_59_02_374290_0001.jpg', '/home/pi/Desktop/images/03012025/09/59/image_03012025_09_59_02_374290_0002.jpg', '/home/pi/Desktop/images/03012025/09/59/image_03012025_09_59_02_374290_0003.jpg', '/home/pi/Desktop/images/03012025/10/00/image_03012025_10_00_02_584727_0000.jpg', '/home/pi/Desktop/images/03012025/10/00/image_03012025_10_00_02_584727_0001.jpg', '/home/pi/Desktop/images/03012025/10/00/image_03012025_10_00_02_584727_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/09/59/image_03012025_09_59_02_374290_0001.jpg
/home/pi/Desktop/images/03012025/09/59/image_03012025_09_59_02_374290_0002.jpg
/home/pi/Desktop/images/03012025/09/59/image_03012025_09_59_02_374290_0003.jpg
/home/pi/Desktop/images/03012025/10/00/image_03012025_10_00_02_584727_0000.jpg
/home/pi/Desktop/images/03012025/10/00/image_03012025_10_00_02_584727_0001.jpg
/home/pi/Desktop/images/03012025/10/00/image_03012025_10_00_02_584727_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325719777","1325719807","1325719810","1325719804","1325719806","1325719685"],"photo_ids_order":["1325719685","1325719777","1325719804","1325719806","1325719807","1325719810"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3ba9e2ed967e8e49bfcf88d20aa4796f.jpg","text":"TemporaryFile(/tmp/multipartBody896260073786952879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735894917491,"filename":"image_03012025_09_59_02_374290_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7f038be209aa3db95760b3ef651362b1.jpg","text":"TemporaryFile(/tmp/multipartBody1695630586422315617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735894917491,"filename":"image_03012025_10_00_02_584727_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d48ff9ba5830aee1676fe6a3292947b0.jpg","text":"TemporaryFile(/tmp/multipartBody5287432227450738490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735894917491,"filename":"image_03012025_10_00_02_584727_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c33badb114573f7ff6833df0d1ae7441.jpg","text":"TemporaryFile(/tmp/multipartBody6614157934888422789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735894917491,"filename":"image_03012025_09_59_02_374290_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5661e8741d362480a361d94a32f564f2.jpg","text":"TemporaryFile(/tmp/multipartBody3511781077333891287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735894917491,"filename":"image_03012025_10_00_02_584727_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8fa410e4b518230ff7f1c59fc73659c5.jpg","text":"TemporaryFile(/tmp/multipartBody5052063317950419428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735894917491,"filename":"image_03012025_09_59_02_374290_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325719804","file1":"1325719777","file0":"1325719685","file4":"1325719807","file5":"1325719810","file3":"1325719806"},"map_files_photo_id_array":[{"photo_id":"1325719810","filename":"file5"},{"photo_id":"1325719804","filename":"file2"},{"photo_id":"1325719807","filename":"file4"},{"photo_id":"1325719777","filename":"file1"},{"photo_id":"1325719685","filename":"file0"},{"photo_id":"1325719806","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325719777":["hashtag1","hashtag2"]},{"1325719807":["hashtag1","hashtag2"]},{"1325719810":["hashtag1","hashtag2"]},{"1325719804":["hashtag1","hashtag2"]},{"1325719806":["hashtag1","hashtag2"]},{"1325719685":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325719777, 1325719807, 1325719810, 1325719804, 1325719806, 1325719685)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.07710838317871 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-03 10:01:42.557213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/10/00/image_03012025_10_00_02_584727_0003.jpg', '/home/pi/Desktop/images/03012025/10/01/image_03012025_10_01_02_829452_0000.jpg', '/home/pi/Desktop/images/03012025/10/01/image_03012025_10_01_02_829452_0001.jpg', '/home/pi/Desktop/images/03012025/10/01/image_03012025_10_01_02_829452_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/10/00/image_03012025_10_00_02_584727_0003.jpg
/home/pi/Desktop/images/03012025/10/01/image_03012025_10_01_02_829452_0000.jpg
/home/pi/Desktop/images/03012025/10/01/image_03012025_10_01_02_829452_0001.jpg
/home/pi/Desktop/images/03012025/10/01/image_03012025_10_01_02_829452_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":["1325719831","1325719834","1325719828","1325719837"],"photo_ids_order":["1325719828","1325719831","1325719834","1325719837"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1db3e28309bc3120ffda7c0742e267f5.jpg","text":"TemporaryFile(/tmp/multipartBody1734380187502276677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735894972771,"filename":"image_03012025_10_01_02_829452_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1f800a991ba5f14e9dd7c099360f8dae.jpg","text":"TemporaryFile(/tmp/multipartBody2491808247397520884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735894972771,"filename":"image_03012025_10_01_02_829452_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/377e54381282a1ee0d566ace543def71.jpg","text":"TemporaryFile(/tmp/multipartBody1772376597542624416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735894972771,"filename":"image_03012025_10_00_02_584727_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b010a80346246461c6b723d7595f476a.jpg","text":"TemporaryFile(/tmp/multipartBody7317343483759501025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735894972771,"filename":"image_03012025_10_01_02_829452_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325719834","file1":"1325719831","file0":"1325719828","file3":"1325719837"},"map_files_photo_id_array":[{"photo_id":"1325719834","filename":"file2"},{"photo_id":"1325719831","filename":"file1"},{"photo_id":"1325719828","filename":"file0"},{"photo_id":"1325719837","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325719831":["hashtag1","hashtag2"]},{"1325719834":["hashtag1","hashtag2"]},{"1325719828":["hashtag1","hashtag2"]},{"1325719837":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325719831, 1325719834, 1325719828, 1325719837)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.44775676727295 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 10:02:21.730766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/10/01/image_03012025_10_01_02_829452_0003.jpg', '/home/pi/Desktop/images/03012025/10/02/image_03012025_10_02_02_923111_0000.jpg', '/home/pi/Desktop/images/03012025/10/02/image_03012025_10_02_02_923111_0001.jpg', '/home/pi/Desktop/images/03012025/10/02/image_03012025_10_02_02_923111_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/10/01/image_03012025_10_01_02_829452_0003.jpg
/home/pi/Desktop/images/03012025/10/02/image_03012025_10_02_02_923111_0000.jpg
/home/pi/Desktop/images/03012025/10/02/image_03012025_10_02_02_923111_0001.jpg
/home/pi/Desktop/images/03012025/10/02/image_03012025_10_02_02_923111_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325719844","1325719855","1325719849","1325719860"],"photo_ids_order":["1325719844","1325719849","1325719855","1325719860"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ecbf44ee8513168f9ad3dfb6a216c0cd.jpg","text":"TemporaryFile(/tmp/multipartBody3671615643725696031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735895012143,"filename":"image_03012025_10_01_02_829452_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9332356ffad314a3119005a968902bdc.jpg","text":"TemporaryFile(/tmp/multipartBody7333113417732134820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735895012143,"filename":"image_03012025_10_02_02_923111_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9978168027c57c6d2e03ba3b5d4bccb6.jpg","text":"TemporaryFile(/tmp/multipartBody2904055716744127541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735895012143,"filename":"image_03012025_10_02_02_923111_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/74d72c840bd61d75b4035d51e082dee4.jpg","text":"TemporaryFile(/tmp/multipartBody1771866218206359352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735895012143,"filename":"image_03012025_10_02_02_923111_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325719855","file1":"1325719849","file0":"1325719844","file3":"1325719860"},"map_files_photo_id_array":[{"photo_id":"1325719855","filename":"file2"},{"photo_id":"1325719849","filename":"file1"},{"photo_id":"1325719844","filename":"file0"},{"photo_id":"1325719860","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325719844":["hashtag1","hashtag2"]},{"1325719855":["hashtag1","hashtag2"]},{"1325719849":["hashtag1","hashtag2"]},{"1325719860":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325719844, 1325719855, 1325719849, 1325719860)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.04182529449463 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 10:03:02.545050
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 10:03:21.998693
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/10/02/image_03012025_10_02_02_923111_0003.jpg', '/home/pi/Desktop/images/03012025/10/03/image_03012025_10_03_02_119727_0000.jpg', '/home/pi/Desktop/images/03012025/10/03/image_03012025_10_03_02_119727_0001.jpg', '/home/pi/Desktop/images/03012025/10/03/image_03012025_10_03_02_119727_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/10/02/image_03012025_10_02_02_923111_0003.jpg
/home/pi/Desktop/images/03012025/10/03/image_03012025_10_03_02_119727_0000.jpg
/home/pi/Desktop/images/03012025/10/03/image_03012025_10_03_02_119727_0001.jpg
/home/pi/Desktop/images/03012025/10/03/image_03012025_10_03_02_119727_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325719891","1325719896","1325719881","1325719886"],"photo_ids_order":["1325719881","1325719886","1325719891","1325719896"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e12dc6ce990485f4e95609298dab5e1b.jpg","text":"TemporaryFile(/tmp/multipartBody2315515628549665831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735895072435,"filename":"image_03012025_10_03_02_119727_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e6e69517440f57014809063e58b83e13.jpg","text":"TemporaryFile(/tmp/multipartBody797755045898988362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735895072435,"filename":"image_03012025_10_03_02_119727_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/05a21b38759a24033774477b07ed897b.jpg","text":"TemporaryFile(/tmp/multipartBody6690129244949190266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735895072435,"filename":"image_03012025_10_02_02_923111_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1c43957bedd56259b318a0e030fd3ff6.jpg","text":"TemporaryFile(/tmp/multipartBody1946414793375935767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735895072435,"filename":"image_03012025_10_03_02_119727_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325719891","file1":"1325719886","file0":"1325719881","file3":"1325719896"},"map_files_photo_id_array":[{"photo_id":"1325719891","filename":"file2"},{"photo_id":"1325719886","filename":"file1"},{"photo_id":"1325719881","filename":"file0"},{"photo_id":"1325719896","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325719891":["hashtag1","hashtag2"]},{"1325719896":["hashtag1","hashtag2"]},{"1325719881":["hashtag1","hashtag2"]},{"1325719886":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325719891, 1325719896, 1325719881, 1325719886)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.195976972579956 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 10:04:22.169085
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/10/03/image_03012025_10_03_02_119727_0003.jpg', '/home/pi/Desktop/images/03012025/10/04/image_03012025_10_04_02_258130_0000.jpg', '/home/pi/Desktop/images/03012025/10/04/image_03012025_10_04_02_258130_0001.jpg', '/home/pi/Desktop/images/03012025/10/04/image_03012025_10_04_02_258130_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/10/03/image_03012025_10_03_02_119727_0003.jpg
/home/pi/Desktop/images/03012025/10/04/image_03012025_10_04_02_258130_0000.jpg
/home/pi/Desktop/images/03012025/10/04/image_03012025_10_04_02_258130_0001.jpg
/home/pi/Desktop/images/03012025/10/04/image_03012025_10_04_02_258130_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.993170738220215 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-03 10:04:42.095830
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/10/03/image_03012025_10_03_02_119727_0003.jpg', '/home/pi/Desktop/images/03012025/10/04/image_03012025_10_04_02_258130_0000.jpg', '/home/pi/Desktop/images/03012025/10/04/image_03012025_10_04_02_258130_0001.jpg', '/home/pi/Desktop/images/03012025/10/04/image_03012025_10_04_02_258130_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/10/03/image_03012025_10_03_02_119727_0003.jpg
/home/pi/Desktop/images/03012025/10/04/image_03012025_10_04_02_258130_0000.jpg
/home/pi/Desktop/images/03012025/10/04/image_03012025_10_04_02_258130_0001.jpg
/home/pi/Desktop/images/03012025/10/04/image_03012025_10_04_02_258130_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":["1325719963","1325719971","1325719974","1325719967"],"photo_ids_order":["1325719963","1325719967","1325719971","1325719974"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5528f033c56116dc219363077f8fe61a.jpg","text":"TemporaryFile(/tmp/multipartBody970382015053995888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735895152471,"filename":"image_03012025_10_03_02_119727_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b6743b6deb38d449302e479f7ab3da02.jpg","text":"TemporaryFile(/tmp/multipartBody744018583230714828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735895152471,"filename":"image_03012025_10_04_02_258130_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c98738247b9a71841b2f8bde41d0cf9c.jpg","text":"TemporaryFile(/tmp/multipartBody248493291582704201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735895152471,"filename":"image_03012025_10_04_02_258130_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/64d5125ec3eab043cc043d14c7915088.jpg","text":"TemporaryFile(/tmp/multipartBody1121517757157158536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735895152471,"filename":"image_03012025_10_04_02_258130_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325719971","file1":"1325719967","file0":"1325719963","file3":"1325719974"},"map_files_photo_id_array":[{"photo_id":"1325719971","filename":"file2"},{"photo_id":"1325719967","filename":"file1"},{"photo_id":"1325719963","filename":"file0"},{"photo_id":"1325719974","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325719963":["hashtag1","hashtag2"]},{"1325719971":["hashtag1","hashtag2"]},{"1325719974":["hashtag1","hashtag2"]},{"1325719967":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325719963, 1325719971, 1325719974, 1325719967)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.656487703323364 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 10:05:22.423916
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/10/04/image_03012025_10_04_02_258130_0003.jpg', '/home/pi/Desktop/images/03012025/10/05/image_03012025_10_05_02_447351_0000.jpg', '/home/pi/Desktop/images/03012025/10/05/image_03012025_10_05_02_447351_0001.jpg', '/home/pi/Desktop/images/03012025/10/05/image_03012025_10_05_02_447351_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/10/04/image_03012025_10_04_02_258130_0003.jpg
/home/pi/Desktop/images/03012025/10/05/image_03012025_10_05_02_447351_0000.jpg
/home/pi/Desktop/images/03012025/10/05/image_03012025_10_05_02_447351_0001.jpg
/home/pi/Desktop/images/03012025/10/05/image_03012025_10_05_02_447351_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325720036","1325720030","1325720024","1325720041"],"photo_ids_order":["1325720024","1325720030","1325720036","1325720041"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/81327d327607ea18eb26c8e3fd99c934.jpg","text":"TemporaryFile(/tmp/multipartBody5913108934230134877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735895192824,"filename":"image_03012025_10_05_02_447351_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1bfbc9149ada3e57567269e7f9f448ba.jpg","text":"TemporaryFile(/tmp/multipartBody6647441420527446452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735895192824,"filename":"image_03012025_10_05_02_447351_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/09795f98fa22243087687b258533a87d.jpg","text":"TemporaryFile(/tmp/multipartBody486541361371022490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735895192824,"filename":"image_03012025_10_04_02_258130_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f9d27144d226e9c0755d4eb7bfe00dd7.jpg","text":"TemporaryFile(/tmp/multipartBody947670320391069392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735895192824,"filename":"image_03012025_10_05_02_447351_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325720036","file1":"1325720030","file0":"1325720024","file3":"1325720041"},"map_files_photo_id_array":[{"photo_id":"1325720036","filename":"file2"},{"photo_id":"1325720030","filename":"file1"},{"photo_id":"1325720024","filename":"file0"},{"photo_id":"1325720041","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325720036":["hashtag1","hashtag2"]},{"1325720030":["hashtag1","hashtag2"]},{"1325720024":["hashtag1","hashtag2"]},{"1325720041":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325720036, 1325720030, 1325720024, 1325720041)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.051313400268555 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 10:06:02.964920
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 10:06:22.453594
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/10/05/image_03012025_10_05_02_447351_0003.jpg', '/home/pi/Desktop/images/03012025/10/06/image_03012025_10_06_02_685389_0000.jpg', '/home/pi/Desktop/images/03012025/10/06/image_03012025_10_06_02_685389_0001.jpg', '/home/pi/Desktop/images/03012025/10/06/image_03012025_10_06_02_685389_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/10/05/image_03012025_10_05_02_447351_0003.jpg
/home/pi/Desktop/images/03012025/10/06/image_03012025_10_06_02_685389_0000.jpg
/home/pi/Desktop/images/03012025/10/06/image_03012025_10_06_02_685389_0001.jpg
/home/pi/Desktop/images/03012025/10/06/image_03012025_10_06_02_685389_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325720162","1325720168","1325720153","1325720157"],"photo_ids_order":["1325720153","1325720157","1325720162","1325720168"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/025ee432c2418a1bcd44d6e8bc309867.jpg","text":"TemporaryFile(/tmp/multipartBody601438961828506916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735895252894,"filename":"image_03012025_10_06_02_685389_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/62ee36daaa5b8adb449c1433b4ee02e5.jpg","text":"TemporaryFile(/tmp/multipartBody3239538174364132854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735895252894,"filename":"image_03012025_10_06_02_685389_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/90c1ae4b016d70c7243d4a592928fed1.jpg","text":"TemporaryFile(/tmp/multipartBody8513614967339573560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735895252894,"filename":"image_03012025_10_05_02_447351_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/bebf311c2f05e403d23f2bca48f5a1f0.jpg","text":"TemporaryFile(/tmp/multipartBody4622392262915952022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735895252894,"filename":"image_03012025_10_06_02_685389_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325720162","file1":"1325720157","file0":"1325720153","file3":"1325720168"},"map_files_photo_id_array":[{"photo_id":"1325720162","filename":"file2"},{"photo_id":"1325720157","filename":"file1"},{"photo_id":"1325720153","filename":"file0"},{"photo_id":"1325720168","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325720162":["hashtag1","hashtag2"]},{"1325720168":["hashtag1","hashtag2"]},{"1325720153":["hashtag1","hashtag2"]},{"1325720157":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325720162, 1325720168, 1325720153, 1325720157)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.62217116355896 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 10:07:03.321688
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 10:07:22.656311
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/10/06/image_03012025_10_06_02_685389_0003.jpg', '/home/pi/Desktop/images/03012025/10/07/image_03012025_10_07_02_818923_0000.jpg', '/home/pi/Desktop/images/03012025/10/07/image_03012025_10_07_02_818923_0001.jpg', '/home/pi/Desktop/images/03012025/10/07/image_03012025_10_07_02_818923_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/10/06/image_03012025_10_06_02_685389_0003.jpg
/home/pi/Desktop/images/03012025/10/07/image_03012025_10_07_02_818923_0000.jpg
/home/pi/Desktop/images/03012025/10/07/image_03012025_10_07_02_818923_0001.jpg
/home/pi/Desktop/images/03012025/10/07/image_03012025_10_07_02_818923_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325720375","1325720366","1325720370","1325720349"],"photo_ids_order":["1325720349","1325720366","1325720370","1325720375"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0a7b7a5af45373dff2a5816f633e44c8.jpg","text":"TemporaryFile(/tmp/multipartBody379135594563405628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735895313072,"filename":"image_03012025_10_07_02_818923_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/cc8e8a1e1ee6335bc09041e40e58c429.jpg","text":"TemporaryFile(/tmp/multipartBody8831206850883154532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735895313072,"filename":"image_03012025_10_07_02_818923_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4deaf0f1575d139b6ff9d97cd6501ab5.jpg","text":"TemporaryFile(/tmp/multipartBody2990535721974115776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735895313072,"filename":"image_03012025_10_07_02_818923_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6226cd23f9d15c31956e84a0e0dd96b2.jpg","text":"TemporaryFile(/tmp/multipartBody8788823983501617326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735895313072,"filename":"image_03012025_10_06_02_685389_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325720370","file1":"1325720366","file0":"1325720349","file3":"1325720375"},"map_files_photo_id_array":[{"photo_id":"1325720370","filename":"file2"},{"photo_id":"1325720366","filename":"file1"},{"photo_id":"1325720349","filename":"file0"},{"photo_id":"1325720375","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325720375":["hashtag1","hashtag2"]},{"1325720366":["hashtag1","hashtag2"]},{"1325720370":["hashtag1","hashtag2"]},{"1325720349":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325720375, 1325720366, 1325720370, 1325720349)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.75673985481262 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 10:08:21.804856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/10/07/image_03012025_10_07_02_818923_0003.jpg', '/home/pi/Desktop/images/03012025/10/08/image_03012025_10_08_03_038886_0000.jpg', '/home/pi/Desktop/images/03012025/10/08/image_03012025_10_08_03_038886_0001.jpg', '/home/pi/Desktop/images/03012025/10/08/image_03012025_10_08_03_038886_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/10/07/image_03012025_10_07_02_818923_0003.jpg
/home/pi/Desktop/images/03012025/10/08/image_03012025_10_08_03_038886_0000.jpg
/home/pi/Desktop/images/03012025/10/08/image_03012025_10_08_03_038886_0001.jpg
/home/pi/Desktop/images/03012025/10/08/image_03012025_10_08_03_038886_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325720396","1325720392","1325720400","1325720403"],"photo_ids_order":["1325720392","1325720396","1325720400","1325720403"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8ca69e27c77aa81b747f77ebce10177b.jpg","text":"TemporaryFile(/tmp/multipartBody5415882191051027256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735895371930,"filename":"image_03012025_10_08_03_038886_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5ba1170f5914ca4e94991a810aa5dfcc.jpg","text":"TemporaryFile(/tmp/multipartBody1323225272040038780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735895371930,"filename":"image_03012025_10_07_02_818923_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2eeaf13f6670c0346f0f116307340a27.jpg","text":"TemporaryFile(/tmp/multipartBody2841192906238688095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735895371930,"filename":"image_03012025_10_08_03_038886_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6ac4f424f48b9d987e33f9d8df1e8f95.jpg","text":"TemporaryFile(/tmp/multipartBody2016368377032473438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735895371930,"filename":"image_03012025_10_08_03_038886_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325720400","file1":"1325720396","file0":"1325720392","file3":"1325720403"},"map_files_photo_id_array":[{"photo_id":"1325720400","filename":"file2"},{"photo_id":"1325720396","filename":"file1"},{"photo_id":"1325720392","filename":"file0"},{"photo_id":"1325720403","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325720396":["hashtag1","hashtag2"]},{"1325720392":["hashtag1","hashtag2"]},{"1325720400":["hashtag1","hashtag2"]},{"1325720403":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325720396, 1325720392, 1325720400, 1325720403)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.2715277671814 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 10:09:02.398911
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 10:09:21.933595
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/10/08/image_03012025_10_08_03_038886_0003.jpg', '/home/pi/Desktop/images/03012025/10/09/image_03012025_10_09_02_194925_0000.jpg', '/home/pi/Desktop/images/03012025/10/09/image_03012025_10_09_02_194925_0001.jpg', '/home/pi/Desktop/images/03012025/10/09/image_03012025_10_09_02_194925_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/10/08/image_03012025_10_08_03_038886_0003.jpg
/home/pi/Desktop/images/03012025/10/09/image_03012025_10_09_02_194925_0000.jpg
/home/pi/Desktop/images/03012025/10/09/image_03012025_10_09_02_194925_0001.jpg
/home/pi/Desktop/images/03012025/10/09/image_03012025_10_09_02_194925_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325720522","1325720446","1325720535","1325720529"],"photo_ids_order":["1325720446","1325720522","1325720529","1325720535"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/023e47d024f285d765896693b112e976.jpg","text":"TemporaryFile(/tmp/multipartBody6903888234845814792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735895432112,"filename":"image_03012025_10_09_02_194925_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/56635aefb8f573b96fa8580c15826b15.jpg","text":"TemporaryFile(/tmp/multipartBody2186907660269151373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735895432112,"filename":"image_03012025_10_08_03_038886_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/54242da8062f8ffd3788a5e5ca74bcc8.jpg","text":"TemporaryFile(/tmp/multipartBody2981441123362548944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735895432112,"filename":"image_03012025_10_09_02_194925_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/dcc75e5ca56fe9e0ca61a5e4031fa0df.jpg","text":"TemporaryFile(/tmp/multipartBody5085303297007985598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735895432112,"filename":"image_03012025_10_09_02_194925_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325720529","file1":"1325720522","file0":"1325720446","file3":"1325720535"},"map_files_photo_id_array":[{"photo_id":"1325720529","filename":"file2"},{"photo_id":"1325720522","filename":"file1"},{"photo_id":"1325720446","filename":"file0"},{"photo_id":"1325720535","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325720522":["hashtag1","hashtag2"]},{"1325720446":["hashtag1","hashtag2"]},{"1325720535":["hashtag1","hashtag2"]},{"1325720529":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325720522, 1325720446, 1325720535, 1325720529)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.29471445083618 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 10:10:02.525227
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 10:10:22.194125
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/10/09/image_03012025_10_09_02_194925_0003.jpg', '/home/pi/Desktop/images/03012025/10/10/image_03012025_10_10_02_364469_0000.jpg', '/home/pi/Desktop/images/03012025/10/10/image_03012025_10_10_02_364469_0001.jpg', '/home/pi/Desktop/images/03012025/10/10/image_03012025_10_10_02_364469_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/10/09/image_03012025_10_09_02_194925_0003.jpg
/home/pi/Desktop/images/03012025/10/10/image_03012025_10_10_02_364469_0000.jpg
/home/pi/Desktop/images/03012025/10/10/image_03012025_10_10_02_364469_0001.jpg
/home/pi/Desktop/images/03012025/10/10/image_03012025_10_10_02_364469_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.9251708984375 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-03 10:10:42.192566
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/10/09/image_03012025_10_09_02_194925_0003.jpg', '/home/pi/Desktop/images/03012025/10/10/image_03012025_10_10_02_364469_0000.jpg', '/home/pi/Desktop/images/03012025/10/10/image_03012025_10_10_02_364469_0001.jpg', '/home/pi/Desktop/images/03012025/10/10/image_03012025_10_10_02_364469_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/10/09/image_03012025_10_09_02_194925_0003.jpg
/home/pi/Desktop/images/03012025/10/10/image_03012025_10_10_02_364469_0000.jpg
/home/pi/Desktop/images/03012025/10/10/image_03012025_10_10_02_364469_0001.jpg
/home/pi/Desktop/images/03012025/10/10/image_03012025_10_10_02_364469_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":["1325720702","1325720606","1325720609","1325720688"],"photo_ids_order":["1325720606","1325720609","1325720688","1325720702"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/65fc1657f7aae8cb2916a765f73912cc.jpg","text":"TemporaryFile(/tmp/multipartBody2434781104445343217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735895512506,"filename":"image_03012025_10_10_02_364469_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0c25b2b4e0156c64dbddd2402356a93c.jpg","text":"TemporaryFile(/tmp/multipartBody4203582751752340704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735895512506,"filename":"image_03012025_10_09_02_194925_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/460de96283488107a619392bfaeb1ab0.jpg","text":"TemporaryFile(/tmp/multipartBody6422267303463275208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735895512506,"filename":"image_03012025_10_10_02_364469_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5c73ed6571def2cf8682f6e2725336e3.jpg","text":"TemporaryFile(/tmp/multipartBody6247055529691248193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735895512506,"filename":"image_03012025_10_10_02_364469_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325720688","file1":"1325720609","file0":"1325720606","file3":"1325720702"},"map_files_photo_id_array":[{"photo_id":"1325720688","filename":"file2"},{"photo_id":"1325720609","filename":"file1"},{"photo_id":"1325720606","filename":"file0"},{"photo_id":"1325720702","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325720702":["hashtag1","hashtag2"]},{"1325720606":["hashtag1","hashtag2"]},{"1325720609":["hashtag1","hashtag2"]},{"1325720688":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325720702, 1325720606, 1325720609, 1325720688)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.928513526916504 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 10:11:22.408106
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/10/10/image_03012025_10_10_02_364469_0003.jpg', '/home/pi/Desktop/images/03012025/10/11/image_03012025_10_11_02_537683_0000.jpg', '/home/pi/Desktop/images/03012025/10/11/image_03012025_10_11_02_537683_0001.jpg', '/home/pi/Desktop/images/03012025/10/11/image_03012025_10_11_02_537683_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/10/10/image_03012025_10_10_02_364469_0003.jpg
/home/pi/Desktop/images/03012025/10/11/image_03012025_10_11_02_537683_0000.jpg
/home/pi/Desktop/images/03012025/10/11/image_03012025_10_11_02_537683_0001.jpg
/home/pi/Desktop/images/03012025/10/11/image_03012025_10_11_02_537683_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325720726","1325720737","1325720730","1325720733"],"photo_ids_order":["1325720726","1325720730","1325720733","1325720737"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/598ffca8218a24a2c8268eb9684349c5.jpg","text":"TemporaryFile(/tmp/multipartBody3483682910704509228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735895552743,"filename":"image_03012025_10_10_02_364469_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4d6c011591f9f6a8b12fa370ad4a695f.jpg","text":"TemporaryFile(/tmp/multipartBody5277987174275206184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735895552743,"filename":"image_03012025_10_11_02_537683_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/751dbc402611d762631c2049908362e2.jpg","text":"TemporaryFile(/tmp/multipartBody5328010260694056572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735895552743,"filename":"image_03012025_10_11_02_537683_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ef23cfa502f81a8ade9a2777c637c406.jpg","text":"TemporaryFile(/tmp/multipartBody9019246829611832405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735895552743,"filename":"image_03012025_10_11_02_537683_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325720733","file1":"1325720730","file0":"1325720726","file3":"1325720737"},"map_files_photo_id_array":[{"photo_id":"1325720733","filename":"file2"},{"photo_id":"1325720730","filename":"file1"},{"photo_id":"1325720726","filename":"file0"},{"photo_id":"1325720737","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325720726":["hashtag1","hashtag2"]},{"1325720737":["hashtag1","hashtag2"]},{"1325720730":["hashtag1","hashtag2"]},{"1325720733":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325720726, 1325720737, 1325720730, 1325720733)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.07549452781677 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 10:12:03.039427
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 10:12:22.539075
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/10/11/image_03012025_10_11_02_537683_0003.jpg', '/home/pi/Desktop/images/03012025/10/12/image_03012025_10_12_02_789491_0000.jpg', '/home/pi/Desktop/images/03012025/10/12/image_03012025_10_12_02_789491_0001.jpg', '/home/pi/Desktop/images/03012025/10/12/image_03012025_10_12_02_789491_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/10/11/image_03012025_10_11_02_537683_0003.jpg
/home/pi/Desktop/images/03012025/10/12/image_03012025_10_12_02_789491_0000.jpg
/home/pi/Desktop/images/03012025/10/12/image_03012025_10_12_02_789491_0001.jpg
/home/pi/Desktop/images/03012025/10/12/image_03012025_10_12_02_789491_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325721175","1325721160","1325721147","1325721114"],"photo_ids_order":["1325721114","1325721147","1325721160","1325721175"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/64d4250a163654a53fd1e9e92c2473e9.jpg","text":"TemporaryFile(/tmp/multipartBody7823464878791854442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735895612938,"filename":"image_03012025_10_12_02_789491_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4043bdff84a197edf0c0545bfae49406.jpg","text":"TemporaryFile(/tmp/multipartBody87699554579551564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735895612938,"filename":"image_03012025_10_12_02_789491_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f8611965225e0cde474488624e00f4e4.jpg","text":"TemporaryFile(/tmp/multipartBody5099633847482753999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735895612938,"filename":"image_03012025_10_12_02_789491_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e09120f33b9d1ccbc44c1d5455946ae1.jpg","text":"TemporaryFile(/tmp/multipartBody5682853973174818516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735895612938,"filename":"image_03012025_10_11_02_537683_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325721160","file1":"1325721147","file0":"1325721114","file3":"1325721175"},"map_files_photo_id_array":[{"photo_id":"1325721160","filename":"file2"},{"photo_id":"1325721147","filename":"file1"},{"photo_id":"1325721114","filename":"file0"},{"photo_id":"1325721175","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325721175":["hashtag1","hashtag2"]},{"1325721160":["hashtag1","hashtag2"]},{"1325721147":["hashtag1","hashtag2"]},{"1325721114":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325721175, 1325721160, 1325721147, 1325721114)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.08238339424133 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 10:13:03.311116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 10:13:22.706980
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/10/12/image_03012025_10_12_02_789491_0003.jpg', '/home/pi/Desktop/images/03012025/10/13/image_03012025_10_13_02_890052_0000.jpg', '/home/pi/Desktop/images/03012025/10/13/image_03012025_10_13_02_890052_0001.jpg', '/home/pi/Desktop/images/03012025/10/13/image_03012025_10_13_02_890052_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/10/12/image_03012025_10_12_02_789491_0003.jpg
/home/pi/Desktop/images/03012025/10/13/image_03012025_10_13_02_890052_0000.jpg
/home/pi/Desktop/images/03012025/10/13/image_03012025_10_13_02_890052_0001.jpg
/home/pi/Desktop/images/03012025/10/13/image_03012025_10_13_02_890052_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325721407","1325721455","1325721428","1325721377"],"photo_ids_order":["1325721377","1325721407","1325721428","1325721455"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/22f4278fe4922ba3958470d8a87df7ee.jpg","text":"TemporaryFile(/tmp/multipartBody8190262282723120166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735895673081,"filename":"image_03012025_10_13_02_890052_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/82127abd33ce99aa28aafd340803900c.jpg","text":"TemporaryFile(/tmp/multipartBody845622355307446251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735895673081,"filename":"image_03012025_10_13_02_890052_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7b2e2848a67f1fdecd0b3aa568049c3f.jpg","text":"TemporaryFile(/tmp/multipartBody2204526853701753718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735895673081,"filename":"image_03012025_10_13_02_890052_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/fde3a38daca6b3c71fd23db5133a28e0.jpg","text":"TemporaryFile(/tmp/multipartBody8266762664943008974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735895673081,"filename":"image_03012025_10_12_02_789491_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325721428","file1":"1325721407","file0":"1325721377","file3":"1325721455"},"map_files_photo_id_array":[{"photo_id":"1325721428","filename":"file2"},{"photo_id":"1325721407","filename":"file1"},{"photo_id":"1325721377","filename":"file0"},{"photo_id":"1325721455","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325721407":["hashtag1","hashtag2"]},{"1325721455":["hashtag1","hashtag2"]},{"1325721428":["hashtag1","hashtag2"]},{"1325721377":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325721407, 1325721455, 1325721428, 1325721377)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.740758419036865 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-03 10:14:21.934664
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/10/13/image_03012025_10_13_02_890052_0003.jpg', '/home/pi/Desktop/images/03012025/10/14/image_03012025_10_14_03_071813_0000.jpg', '/home/pi/Desktop/images/03012025/10/14/image_03012025_10_14_03_071813_0001.jpg', '/home/pi/Desktop/images/03012025/10/14/image_03012025_10_14_03_071813_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/10/13/image_03012025_10_13_02_890052_0003.jpg
/home/pi/Desktop/images/03012025/10/14/image_03012025_10_14_03_071813_0000.jpg
/home/pi/Desktop/images/03012025/10/14/image_03012025_10_14_03_071813_0001.jpg
/home/pi/Desktop/images/03012025/10/14/image_03012025_10_14_03_071813_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325721592","1325721598","1325721604","1325721601"],"photo_ids_order":["1325721592","1325721598","1325721601","1325721604"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/359aa8d17702e0cceda26319fd4ba52f.jpg","text":"TemporaryFile(/tmp/multipartBody2205751612660390373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735895732327,"filename":"image_03012025_10_13_02_890052_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b4d21a54d6821edc4db2db9862509346.jpg","text":"TemporaryFile(/tmp/multipartBody8668134933129631238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735895732327,"filename":"image_03012025_10_14_03_071813_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/091b2ecfa38937ece0c81ab5563a2357.jpg","text":"TemporaryFile(/tmp/multipartBody3893156869614716348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735895732327,"filename":"image_03012025_10_14_03_071813_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e629a418810a8ebd036ee89cabffce5c.jpg","text":"TemporaryFile(/tmp/multipartBody3666383144050454032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735895732327,"filename":"image_03012025_10_14_03_071813_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325721601","file1":"1325721598","file0":"1325721592","file3":"1325721604"},"map_files_photo_id_array":[{"photo_id":"1325721601","filename":"file2"},{"photo_id":"1325721598","filename":"file1"},{"photo_id":"1325721592","filename":"file0"},{"photo_id":"1325721604","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325721592":["hashtag1","hashtag2"]},{"1325721598":["hashtag1","hashtag2"]},{"1325721604":["hashtag1","hashtag2"]},{"1325721601":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325721592, 1325721598, 1325721604, 1325721601)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.21097159385681 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 10:15:02.770010
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 10:15:22.222087
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/10/14/image_03012025_10_14_03_071813_0003.jpg', '/home/pi/Desktop/images/03012025/10/15/image_03012025_10_15_02_305910_0000.jpg', '/home/pi/Desktop/images/03012025/10/15/image_03012025_10_15_02_305910_0001.jpg', '/home/pi/Desktop/images/03012025/10/15/image_03012025_10_15_02_305910_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/10/14/image_03012025_10_14_03_071813_0003.jpg
/home/pi/Desktop/images/03012025/10/15/image_03012025_10_15_02_305910_0000.jpg
/home/pi/Desktop/images/03012025/10/15/image_03012025_10_15_02_305910_0001.jpg
/home/pi/Desktop/images/03012025/10/15/image_03012025_10_15_02_305910_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325721786","1325721791","1325721782","1325721776"],"photo_ids_order":["1325721776","1325721782","1325721786","1325721791"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/17ae8136074e166d0d4e8e8918236734.jpg","text":"TemporaryFile(/tmp/multipartBody3955628318459811521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735895792509,"filename":"image_03012025_10_15_02_305910_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f6bc95afc088b3d27b3a9fa91700ab02.jpg","text":"TemporaryFile(/tmp/multipartBody2761548845137756817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735895792509,"filename":"image_03012025_10_15_02_305910_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/987c62fb17194978d6f112e08720899a.jpg","text":"TemporaryFile(/tmp/multipartBody3442618830146187494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735895792509,"filename":"image_03012025_10_15_02_305910_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2366b788a1906b7c5de0027059e7af06.jpg","text":"TemporaryFile(/tmp/multipartBody6917603869259996749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735895792509,"filename":"image_03012025_10_14_03_071813_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325721786","file1":"1325721782","file0":"1325721776","file3":"1325721791"},"map_files_photo_id_array":[{"photo_id":"1325721786","filename":"file2"},{"photo_id":"1325721782","filename":"file1"},{"photo_id":"1325721776","filename":"file0"},{"photo_id":"1325721791","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325721786":["hashtag1","hashtag2"]},{"1325721791":["hashtag1","hashtag2"]},{"1325721782":["hashtag1","hashtag2"]},{"1325721776":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325721786, 1325721791, 1325721782, 1325721776)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.19209599494934 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 10:16:02.741278
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 10:16:22.484974
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/10/15/image_03012025_10_15_02_305910_0003.jpg', '/home/pi/Desktop/images/03012025/10/16/image_03012025_10_16_02_523905_0000.jpg', '/home/pi/Desktop/images/03012025/10/16/image_03012025_10_16_02_523905_0001.jpg', '/home/pi/Desktop/images/03012025/10/16/image_03012025_10_16_02_523905_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/10/15/image_03012025_10_15_02_305910_0003.jpg
/home/pi/Desktop/images/03012025/10/16/image_03012025_10_16_02_523905_0000.jpg
/home/pi/Desktop/images/03012025/10/16/image_03012025_10_16_02_523905_0001.jpg
/home/pi/Desktop/images/03012025/10/16/image_03012025_10_16_02_523905_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325721910","1325721904","1325721924","1325721906"],"photo_ids_order":["1325721904","1325721906","1325721910","1325721924"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/49b392b432571dd17b98ee23bc428e32.jpg","text":"TemporaryFile(/tmp/multipartBody8751610130268656225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735895852807,"filename":"image_03012025_10_16_02_523905_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3e98b0bc708461a2e5fcf4219f9ccd7d.jpg","text":"TemporaryFile(/tmp/multipartBody7178609017287246951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735895852807,"filename":"image_03012025_10_15_02_305910_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ad3b55c3d11384984093bb98eaca186a.jpg","text":"TemporaryFile(/tmp/multipartBody7796710810115789721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735895852807,"filename":"image_03012025_10_16_02_523905_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4826f156b86674db26806916357ea891.jpg","text":"TemporaryFile(/tmp/multipartBody1944099171242280260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735895852807,"filename":"image_03012025_10_16_02_523905_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325721910","file1":"1325721906","file0":"1325721904","file3":"1325721924"},"map_files_photo_id_array":[{"photo_id":"1325721910","filename":"file2"},{"photo_id":"1325721906","filename":"file1"},{"photo_id":"1325721904","filename":"file0"},{"photo_id":"1325721924","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325721910":["hashtag1","hashtag2"]},{"1325721904":["hashtag1","hashtag2"]},{"1325721924":["hashtag1","hashtag2"]},{"1325721906":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325721910, 1325721904, 1325721924, 1325721906)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.41277599334717 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 10:17:03.266544
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 10:17:22.546637
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/10/16/image_03012025_10_16_02_523905_0003.jpg', '/home/pi/Desktop/images/03012025/10/17/image_03012025_10_17_02_757656_0000.jpg', '/home/pi/Desktop/images/03012025/10/17/image_03012025_10_17_02_757656_0001.jpg', '/home/pi/Desktop/images/03012025/10/17/image_03012025_10_17_02_757656_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/10/16/image_03012025_10_16_02_523905_0003.jpg
/home/pi/Desktop/images/03012025/10/17/image_03012025_10_17_02_757656_0000.jpg
/home/pi/Desktop/images/03012025/10/17/image_03012025_10_17_02_757656_0001.jpg
/home/pi/Desktop/images/03012025/10/17/image_03012025_10_17_02_757656_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325722100","1325722104","1325722166","1325722189"],"photo_ids_order":["1325722100","1325722104","1325722166","1325722189"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/fb5c59c37fd388cc620bc0731de76d2e.jpg","text":"TemporaryFile(/tmp/multipartBody4856720430035471906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735895912782,"filename":"image_03012025_10_16_02_523905_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/148ab6bfba43302721ededdbc0ce5218.jpg","text":"TemporaryFile(/tmp/multipartBody8967295992255862805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735895912782,"filename":"image_03012025_10_17_02_757656_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/204c7b89dbe5a8ae593b8fbd21d311ce.jpg","text":"TemporaryFile(/tmp/multipartBody1051115626778878646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735895912782,"filename":"image_03012025_10_17_02_757656_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/86c832307799ccd427b7f82083200008.jpg","text":"TemporaryFile(/tmp/multipartBody8272507515347820728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735895912782,"filename":"image_03012025_10_17_02_757656_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325722166","file1":"1325722104","file0":"1325722100","file3":"1325722189"},"map_files_photo_id_array":[{"photo_id":"1325722166","filename":"file2"},{"photo_id":"1325722104","filename":"file1"},{"photo_id":"1325722100","filename":"file0"},{"photo_id":"1325722189","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325722100":["hashtag1","hashtag2"]},{"1325722104":["hashtag1","hashtag2"]},{"1325722166":["hashtag1","hashtag2"]},{"1325722189":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325722100, 1325722104, 1325722166, 1325722189)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.966782569885254 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 10:18:03.231501
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 10:18:22.727647
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/10/17/image_03012025_10_17_02_757656_0003.jpg', '/home/pi/Desktop/images/03012025/10/18/image_03012025_10_18_02_955112_0000.jpg', '/home/pi/Desktop/images/03012025/10/18/image_03012025_10_18_02_955112_0001.jpg', '/home/pi/Desktop/images/03012025/10/18/image_03012025_10_18_02_955112_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/10/17/image_03012025_10_17_02_757656_0003.jpg
/home/pi/Desktop/images/03012025/10/18/image_03012025_10_18_02_955112_0000.jpg
/home/pi/Desktop/images/03012025/10/18/image_03012025_10_18_02_955112_0001.jpg
/home/pi/Desktop/images/03012025/10/18/image_03012025_10_18_02_955112_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325722243","1325722246","1325722249","1325722240"],"photo_ids_order":["1325722240","1325722243","1325722246","1325722249"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8b9bdfdb12f4f0888e8ed39369355d95.jpg","text":"TemporaryFile(/tmp/multipartBody2198769686617817665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735895973225,"filename":"image_03012025_10_18_02_955112_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c42eb4ffa179903edd8509e2801d5393.jpg","text":"TemporaryFile(/tmp/multipartBody6432559291669510648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735895973225,"filename":"image_03012025_10_18_02_955112_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0cd036699204937ad181813d492a554b.jpg","text":"TemporaryFile(/tmp/multipartBody2118842016563721975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735895973225,"filename":"image_03012025_10_18_02_955112_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b41410d1824d68065cfeb8b0fa77af0a.jpg","text":"TemporaryFile(/tmp/multipartBody1894756481581834272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735895973225,"filename":"image_03012025_10_17_02_757656_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325722246","file1":"1325722243","file0":"1325722240","file3":"1325722249"},"map_files_photo_id_array":[{"photo_id":"1325722246","filename":"file2"},{"photo_id":"1325722243","filename":"file1"},{"photo_id":"1325722240","filename":"file0"},{"photo_id":"1325722249","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325722243":["hashtag1","hashtag2"]},{"1325722246":["hashtag1","hashtag2"]},{"1325722249":["hashtag1","hashtag2"]},{"1325722240":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325722243, 1325722246, 1325722249, 1325722240)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.58306670188904 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 10:19:21.872536
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/10/18/image_03012025_10_18_02_955112_0003.jpg', '/home/pi/Desktop/images/03012025/10/19/image_03012025_10_19_03_084485_0000.jpg', '/home/pi/Desktop/images/03012025/10/19/image_03012025_10_19_03_084485_0001.jpg', '/home/pi/Desktop/images/03012025/10/19/image_03012025_10_19_03_084485_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/10/18/image_03012025_10_18_02_955112_0003.jpg
/home/pi/Desktop/images/03012025/10/19/image_03012025_10_19_03_084485_0000.jpg
/home/pi/Desktop/images/03012025/10/19/image_03012025_10_19_03_084485_0001.jpg
/home/pi/Desktop/images/03012025/10/19/image_03012025_10_19_03_084485_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325722266","1325722331","1325722268","1325722262"],"photo_ids_order":["1325722262","1325722266","1325722268","1325722331"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c0d62887d4940fe31329ca6300499d9d.jpg","text":"TemporaryFile(/tmp/multipartBody1185982552264384041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735896032178,"filename":"image_03012025_10_19_03_084485_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d7b4fb281ab630916707d04308f3540b.jpg","text":"TemporaryFile(/tmp/multipartBody1957326054733781862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735896032178,"filename":"image_03012025_10_19_03_084485_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a860d0f38956d6127bb6e2cd9380600c.jpg","text":"TemporaryFile(/tmp/multipartBody1934391212732129304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735896032178,"filename":"image_03012025_10_19_03_084485_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4e846c4088339237ecf2d21e0def01bc.jpg","text":"TemporaryFile(/tmp/multipartBody4395986222722694806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735896032178,"filename":"image_03012025_10_18_02_955112_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325722268","file1":"1325722266","file0":"1325722262","file3":"1325722331"},"map_files_photo_id_array":[{"photo_id":"1325722268","filename":"file2"},{"photo_id":"1325722266","filename":"file1"},{"photo_id":"1325722262","filename":"file0"},{"photo_id":"1325722331","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325722266":["hashtag1","hashtag2"]},{"1325722331":["hashtag1","hashtag2"]},{"1325722268":["hashtag1","hashtag2"]},{"1325722262":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325722266, 1325722331, 1325722268, 1325722262)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.060107469558716 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 10:20:02.545210
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 10:20:22.068563
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/10/19/image_03012025_10_19_03_084485_0003.jpg', '/home/pi/Desktop/images/03012025/10/20/image_03012025_10_20_02_209220_0000.jpg', '/home/pi/Desktop/images/03012025/10/20/image_03012025_10_20_02_209220_0001.jpg', '/home/pi/Desktop/images/03012025/10/20/image_03012025_10_20_02_209220_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/10/19/image_03012025_10_19_03_084485_0003.jpg
/home/pi/Desktop/images/03012025/10/20/image_03012025_10_20_02_209220_0000.jpg
/home/pi/Desktop/images/03012025/10/20/image_03012025_10_20_02_209220_0001.jpg
/home/pi/Desktop/images/03012025/10/20/image_03012025_10_20_02_209220_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325722558","1325722554","1325722550","1325722544"],"photo_ids_order":["1325722544","1325722550","1325722554","1325722558"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1cfe657387c9c49b9a6991750236e701.jpg","text":"TemporaryFile(/tmp/multipartBody376833142679520333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735896092267,"filename":"image_03012025_10_20_02_209220_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/cacf57b878a990f76887e4003ef4794c.jpg","text":"TemporaryFile(/tmp/multipartBody4872665873230759118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735896092267,"filename":"image_03012025_10_20_02_209220_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e8d8f82ea7723e345e85f20c2acc61e8.jpg","text":"TemporaryFile(/tmp/multipartBody2887346009519077342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735896092267,"filename":"image_03012025_10_20_02_209220_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c5ead00691eb181b4ace023ea4f3110e.jpg","text":"TemporaryFile(/tmp/multipartBody6106908395463993440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735896092267,"filename":"image_03012025_10_19_03_084485_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325722554","file1":"1325722550","file0":"1325722544","file3":"1325722558"},"map_files_photo_id_array":[{"photo_id":"1325722554","filename":"file2"},{"photo_id":"1325722550","filename":"file1"},{"photo_id":"1325722544","filename":"file0"},{"photo_id":"1325722558","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325722558":["hashtag1","hashtag2"]},{"1325722554":["hashtag1","hashtag2"]},{"1325722550":["hashtag1","hashtag2"]},{"1325722544":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325722558, 1325722554, 1325722550, 1325722544)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.14125633239746 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 10:21:22.256140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/10/20/image_03012025_10_20_02_209220_0003.jpg', '/home/pi/Desktop/images/03012025/10/21/image_03012025_10_21_02_413722_0000.jpg', '/home/pi/Desktop/images/03012025/10/21/image_03012025_10_21_02_413722_0001.jpg', '/home/pi/Desktop/images/03012025/10/21/image_03012025_10_21_02_413722_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/10/20/image_03012025_10_20_02_209220_0003.jpg
/home/pi/Desktop/images/03012025/10/21/image_03012025_10_21_02_413722_0000.jpg
/home/pi/Desktop/images/03012025/10/21/image_03012025_10_21_02_413722_0001.jpg
/home/pi/Desktop/images/03012025/10/21/image_03012025_10_21_02_413722_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325722581","1325722592","1325722586","1325722597"],"photo_ids_order":["1325722581","1325722586","1325722592","1325722597"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8cb89b69902c735b07362ce50a3c0ada.jpg","text":"TemporaryFile(/tmp/multipartBody2365050378306103953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735896152536,"filename":"image_03012025_10_20_02_209220_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0e1f4176ae02046d4c245c7033ca9b8c.jpg","text":"TemporaryFile(/tmp/multipartBody405249566992025909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735896152536,"filename":"image_03012025_10_21_02_413722_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/669053dc5390f81471cbdd860d57c7d5.jpg","text":"TemporaryFile(/tmp/multipartBody8629992430173550458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735896152536,"filename":"image_03012025_10_21_02_413722_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/328e6bdbcc0ce4e36767b0cb74443a79.jpg","text":"TemporaryFile(/tmp/multipartBody9219545671569611215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735896152536,"filename":"image_03012025_10_21_02_413722_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325722592","file1":"1325722586","file0":"1325722581","file3":"1325722597"},"map_files_photo_id_array":[{"photo_id":"1325722592","filename":"file2"},{"photo_id":"1325722586","filename":"file1"},{"photo_id":"1325722581","filename":"file0"},{"photo_id":"1325722597","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325722581":["hashtag1","hashtag2"]},{"1325722592":["hashtag1","hashtag2"]},{"1325722586":["hashtag1","hashtag2"]},{"1325722597":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325722581, 1325722592, 1325722586, 1325722597)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.06493139266968 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 10:22:22.492577
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/10/21/image_03012025_10_21_02_413722_0003.jpg', '/home/pi/Desktop/images/03012025/10/22/image_03012025_10_22_02_691577_0000.jpg', '/home/pi/Desktop/images/03012025/10/22/image_03012025_10_22_02_691577_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/10/21/image_03012025_10_21_02_413722_0003.jpg
/home/pi/Desktop/images/03012025/10/22/image_03012025_10_22_02_691577_0000.jpg
/home/pi/Desktop/images/03012025/10/22/image_03012025_10_22_02_691577_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":["1325723091","1325723096","1325723048"],"photo_ids_order":["1325723048","1325723091","1325723096"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5c0379e6750b41e516078c3d318c8369.jpg","text":"TemporaryFile(/tmp/multipartBody8440772483724613147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735896210342,"filename":"image_03012025_10_22_02_691577_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5db4769488e8d31b7483c784bb332fa8.jpg","text":"TemporaryFile(/tmp/multipartBody4518816527233533017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735896210342,"filename":"image_03012025_10_22_02_691577_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d6c51cc52053b783f4e15da312cd4ac7.jpg","text":"TemporaryFile(/tmp/multipartBody4044201650911732091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735896210342,"filename":"image_03012025_10_21_02_413722_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325723096","file1":"1325723091","file0":"1325723048"},"map_files_photo_id_array":[{"photo_id":"1325723096","filename":"file2"},{"photo_id":"1325723091","filename":"file1"},{"photo_id":"1325723048","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325723091":["hashtag1","hashtag2"]},{"1325723096":["hashtag1","hashtag2"]},{"1325723048":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325723091, 1325723096, 1325723048)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.275479793548584 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 10:23:03.217973
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 10:23:22.719418
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/10/22/image_03012025_10_22_02_691577_0003.jpg', '/home/pi/Desktop/images/03012025/10/23/image_03012025_10_23_02_916961_0000.jpg', '/home/pi/Desktop/images/03012025/10/23/image_03012025_10_23_02_916961_0001.jpg', '/home/pi/Desktop/images/03012025/10/23/image_03012025_10_23_02_916961_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/10/22/image_03012025_10_22_02_691577_0003.jpg
/home/pi/Desktop/images/03012025/10/23/image_03012025_10_23_02_916961_0000.jpg
/home/pi/Desktop/images/03012025/10/23/image_03012025_10_23_02_916961_0001.jpg
/home/pi/Desktop/images/03012025/10/23/image_03012025_10_23_02_916961_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325723848","1325723841","1325723835","1325723855"],"photo_ids_order":["1325723835","1325723841","1325723848","1325723855"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4b5244473a704068fcb137d4c9f773cc.jpg","text":"TemporaryFile(/tmp/multipartBody7387731366673791904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735896273027,"filename":"image_03012025_10_23_02_916961_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6fafbfb424f043714b24385a824e1ce0.jpg","text":"TemporaryFile(/tmp/multipartBody5069919496750338976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735896273027,"filename":"image_03012025_10_23_02_916961_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/642e6624f8bc4fe5aa593d2faebc2691.jpg","text":"TemporaryFile(/tmp/multipartBody10115058808427937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735896273027,"filename":"image_03012025_10_22_02_691577_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/653b328cb2bf2702dc6f043e18eb372f.jpg","text":"TemporaryFile(/tmp/multipartBody2677366556782903290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735896273027,"filename":"image_03012025_10_23_02_916961_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325723848","file1":"1325723841","file0":"1325723835","file3":"1325723855"},"map_files_photo_id_array":[{"photo_id":"1325723848","filename":"file2"},{"photo_id":"1325723841","filename":"file1"},{"photo_id":"1325723835","filename":"file0"},{"photo_id":"1325723855","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325723848":["hashtag1","hashtag2"]},{"1325723841":["hashtag1","hashtag2"]},{"1325723835":["hashtag1","hashtag2"]},{"1325723855":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325723848, 1325723841, 1325723835, 1325723855)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.1440794467926 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 10:24:21.912865
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/10/23/image_03012025_10_23_02_916961_0003.jpg', '/home/pi/Desktop/images/03012025/10/24/image_03012025_10_24_03_015112_0000.jpg', '/home/pi/Desktop/images/03012025/10/24/image_03012025_10_24_03_015112_0001.jpg', '/home/pi/Desktop/images/03012025/10/24/image_03012025_10_24_03_015112_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/10/23/image_03012025_10_23_02_916961_0003.jpg
/home/pi/Desktop/images/03012025/10/24/image_03012025_10_24_03_015112_0000.jpg
/home/pi/Desktop/images/03012025/10/24/image_03012025_10_24_03_015112_0001.jpg
/home/pi/Desktop/images/03012025/10/24/image_03012025_10_24_03_015112_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325724347","1325724376","1325724298","1325724304"],"photo_ids_order":["1325724298","1325724304","1325724347","1325724376"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/938e463824bdacb2c855c23cf9498e9f.jpg","text":"TemporaryFile(/tmp/multipartBody7085769224552542168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735896332445,"filename":"image_03012025_10_24_03_015112_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/fba6781bb2b477d31abd0314afdebabd.jpg","text":"TemporaryFile(/tmp/multipartBody4242542993577807488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735896332445,"filename":"image_03012025_10_24_03_015112_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f3a74f47b7340848b4be395748ba5a58.jpg","text":"TemporaryFile(/tmp/multipartBody1059964339782675416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735896332445,"filename":"image_03012025_10_23_02_916961_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3fd1765db40baacae28d2948e546e829.jpg","text":"TemporaryFile(/tmp/multipartBody3940739875064664439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735896332445,"filename":"image_03012025_10_24_03_015112_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325724347","file1":"1325724304","file0":"1325724298","file3":"1325724376"},"map_files_photo_id_array":[{"photo_id":"1325724347","filename":"file2"},{"photo_id":"1325724304","filename":"file1"},{"photo_id":"1325724298","filename":"file0"},{"photo_id":"1325724376","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325724347":["hashtag1","hashtag2"]},{"1325724376":["hashtag1","hashtag2"]},{"1325724298":["hashtag1","hashtag2"]},{"1325724304":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325724347, 1325724376, 1325724298, 1325724304)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.992841720581055 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 10:25:22.104171
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/10/24/image_03012025_10_24_03_015112_0003.jpg', '/home/pi/Desktop/images/03012025/10/25/image_03012025_10_25_02_197378_0000.jpg', '/home/pi/Desktop/images/03012025/10/25/image_03012025_10_25_02_197378_0001.jpg', '/home/pi/Desktop/images/03012025/10/25/image_03012025_10_25_02_197378_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/10/24/image_03012025_10_24_03_015112_0003.jpg
/home/pi/Desktop/images/03012025/10/25/image_03012025_10_25_02_197378_0000.jpg
/home/pi/Desktop/images/03012025/10/25/image_03012025_10_25_02_197378_0001.jpg
/home/pi/Desktop/images/03012025/10/25/image_03012025_10_25_02_197378_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325724732","1325724726","1325724738","1325724743"],"photo_ids_order":["1325724726","1325724732","1325724738","1325724743"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/159fc99c5b05d71962b4ad5fcf802c1f.jpg","text":"TemporaryFile(/tmp/multipartBody453023448413044363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735896392494,"filename":"image_03012025_10_25_02_197378_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8cbc93c505c8b4004a07b406f0f6333d.jpg","text":"TemporaryFile(/tmp/multipartBody8172933132010491494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735896392494,"filename":"image_03012025_10_24_03_015112_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/618adf279b0131747c8719ebd30a1234.jpg","text":"TemporaryFile(/tmp/multipartBody8266406323040016222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735896392494,"filename":"image_03012025_10_25_02_197378_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4e9b1125a1abcb30f93404bb34e31de3.jpg","text":"TemporaryFile(/tmp/multipartBody8171265254389711825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735896392494,"filename":"image_03012025_10_25_02_197378_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325724738","file1":"1325724732","file0":"1325724726","file3":"1325724743"},"map_files_photo_id_array":[{"photo_id":"1325724738","filename":"file2"},{"photo_id":"1325724732","filename":"file1"},{"photo_id":"1325724726","filename":"file0"},{"photo_id":"1325724743","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325724732":["hashtag1","hashtag2"]},{"1325724726":["hashtag1","hashtag2"]},{"1325724738":["hashtag1","hashtag2"]},{"1325724743":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325724732, 1325724726, 1325724738, 1325724743)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.38195562362671 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 10:26:02.706805
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 10:26:22.194967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/10/25/image_03012025_10_25_02_197378_0003.jpg', '/home/pi/Desktop/images/03012025/10/26/image_03012025_10_26_02_445467_0000.jpg', '/home/pi/Desktop/images/03012025/10/26/image_03012025_10_26_02_445467_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/10/25/image_03012025_10_25_02_197378_0003.jpg
/home/pi/Desktop/images/03012025/10/26/image_03012025_10_26_02_445467_0000.jpg
/home/pi/Desktop/images/03012025/10/26/image_03012025_10_26_02_445467_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":["1325725034","1325724989","1325725063"],"photo_ids_order":["1325724989","1325725034","1325725063"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/227491126b7b1e3b85d3d373250ff75b.jpg","text":"TemporaryFile(/tmp/multipartBody7209329670118420269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735896450162,"filename":"image_03012025_10_26_02_445467_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/59f6157eafdddf7abee572ba6a61a393.jpg","text":"TemporaryFile(/tmp/multipartBody1814734389522602955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735896450162,"filename":"image_03012025_10_25_02_197378_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3b4e59301757b0b3f04e3aad940115e1.jpg","text":"TemporaryFile(/tmp/multipartBody1229545139280135242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735896450162,"filename":"image_03012025_10_26_02_445467_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325725063","file1":"1325725034","file0":"1325724989"},"map_files_photo_id_array":[{"photo_id":"1325725063","filename":"file2"},{"photo_id":"1325725034","filename":"file1"},{"photo_id":"1325724989","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325725034":["hashtag1","hashtag2"]},{"1325724989":["hashtag1","hashtag2"]},{"1325725063":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325725034, 1325724989, 1325725063)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.600830793380737 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 10:27:02.921400
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 10:27:22.369780
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/10/26/image_03012025_10_26_02_445467_0002.jpg', '/home/pi/Desktop/images/03012025/10/27/image_03012025_10_27_02_529963_0000.jpg', '/home/pi/Desktop/images/03012025/10/27/image_03012025_10_27_02_529963_0001.jpg', '/home/pi/Desktop/images/03012025/10/27/image_03012025_10_27_02_529963_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/10/26/image_03012025_10_26_02_445467_0002.jpg
/home/pi/Desktop/images/03012025/10/27/image_03012025_10_27_02_529963_0000.jpg
/home/pi/Desktop/images/03012025/10/27/image_03012025_10_27_02_529963_0001.jpg
/home/pi/Desktop/images/03012025/10/27/image_03012025_10_27_02_529963_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325726453","1325726441","1325726378","1325726374"],"photo_ids_order":["1325726374","1325726378","1325726441","1325726453"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7c0d7cdc73b795b539f44440ef1a5016.jpg","text":"TemporaryFile(/tmp/multipartBody1377551352295920037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735896512664,"filename":"image_03012025_10_27_02_529963_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9dc8b0087fde70245f7730090cce6e48.jpg","text":"TemporaryFile(/tmp/multipartBody4275428937848410186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735896512664,"filename":"image_03012025_10_27_02_529963_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/47ced6d0913a7258c572769bbc74c7fe.jpg","text":"TemporaryFile(/tmp/multipartBody2252173337198797607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735896512664,"filename":"image_03012025_10_27_02_529963_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2f8e21b5fc79e996d12c4494076dab3e.jpg","text":"TemporaryFile(/tmp/multipartBody1788505872578507019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735896512664,"filename":"image_03012025_10_26_02_445467_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325726441","file1":"1325726378","file0":"1325726374","file3":"1325726453"},"map_files_photo_id_array":[{"photo_id":"1325726441","filename":"file2"},{"photo_id":"1325726378","filename":"file1"},{"photo_id":"1325726374","filename":"file0"},{"photo_id":"1325726453","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325726453":["hashtag1","hashtag2"]},{"1325726441":["hashtag1","hashtag2"]},{"1325726378":["hashtag1","hashtag2"]},{"1325726374":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325726453, 1325726441, 1325726378, 1325726374)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.64703130722046 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 10:28:02.958663
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 10:28:22.617043
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/10/27/image_03012025_10_27_02_529963_0003.jpg', '/home/pi/Desktop/images/03012025/10/28/image_03012025_10_28_02_746116_0000.jpg', '/home/pi/Desktop/images/03012025/10/28/image_03012025_10_28_02_746116_0001.jpg', '/home/pi/Desktop/images/03012025/10/28/image_03012025_10_28_02_746116_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/10/27/image_03012025_10_27_02_529963_0003.jpg
/home/pi/Desktop/images/03012025/10/28/image_03012025_10_28_02_746116_0000.jpg
/home/pi/Desktop/images/03012025/10/28/image_03012025_10_28_02_746116_0001.jpg
/home/pi/Desktop/images/03012025/10/28/image_03012025_10_28_02_746116_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325726654","1325726875","1325726892","1325726886"],"photo_ids_order":["1325726654","1325726875","1325726886","1325726892"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/701a846de39dd432e31f71f760277fd4.jpg","text":"TemporaryFile(/tmp/multipartBody2241451653598856456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735896572976,"filename":"image_03012025_10_27_02_529963_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/cccbadbeae09ba96d7c5aa7bf04a67a1.jpg","text":"TemporaryFile(/tmp/multipartBody802925786515654377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735896572976,"filename":"image_03012025_10_28_02_746116_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0227daeea407d1dc8157c087a1deae8b.jpg","text":"TemporaryFile(/tmp/multipartBody6388081972965763697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735896572976,"filename":"image_03012025_10_28_02_746116_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c00080eadc41cd4ec65dd6afbcf51043.jpg","text":"TemporaryFile(/tmp/multipartBody1670737380236848656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735896572976,"filename":"image_03012025_10_28_02_746116_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325726886","file1":"1325726875","file0":"1325726654","file3":"1325726892"},"map_files_photo_id_array":[{"photo_id":"1325726886","filename":"file2"},{"photo_id":"1325726875","filename":"file1"},{"photo_id":"1325726654","filename":"file0"},{"photo_id":"1325726892","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325726654":["hashtag1","hashtag2"]},{"1325726875":["hashtag1","hashtag2"]},{"1325726892":["hashtag1","hashtag2"]},{"1325726886":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325726654, 1325726875, 1325726892, 1325726886)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.95569133758545 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 10:29:22.756480
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/10/28/image_03012025_10_28_02_746116_0003.jpg', '/home/pi/Desktop/images/03012025/10/29/image_03012025_10_29_03_002400_0000.jpg', '/home/pi/Desktop/images/03012025/10/29/image_03012025_10_29_03_002400_0001.jpg', '/home/pi/Desktop/images/03012025/10/29/image_03012025_10_29_03_002400_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/10/28/image_03012025_10_28_02_746116_0003.jpg
/home/pi/Desktop/images/03012025/10/29/image_03012025_10_29_03_002400_0000.jpg
/home/pi/Desktop/images/03012025/10/29/image_03012025_10_29_03_002400_0001.jpg
/home/pi/Desktop/images/03012025/10/29/image_03012025_10_29_03_002400_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325727655","1325727549","1325727528","1325727695"],"photo_ids_order":["1325727528","1325727549","1325727655","1325727695"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d8a781e02e04d9ace788b93e2dd24a12.jpg","text":"TemporaryFile(/tmp/multipartBody2055654521633589480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735896633012,"filename":"image_03012025_10_29_03_002400_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ce3a6cf5ca05f6637956e5b0c1bea97e.jpg","text":"TemporaryFile(/tmp/multipartBody8525872064955427111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735896633012,"filename":"image_03012025_10_29_03_002400_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/627fcf0800d53ad410a025c449ad1dd2.jpg","text":"TemporaryFile(/tmp/multipartBody5213230963709564328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735896633012,"filename":"image_03012025_10_28_02_746116_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2badd5e7f8ac62cb3e1ef079a35d96d9.jpg","text":"TemporaryFile(/tmp/multipartBody4264045206707938828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735896633012,"filename":"image_03012025_10_29_03_002400_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325727655","file1":"1325727549","file0":"1325727528","file3":"1325727695"},"map_files_photo_id_array":[{"photo_id":"1325727655","filename":"file2"},{"photo_id":"1325727549","filename":"file1"},{"photo_id":"1325727528","filename":"file0"},{"photo_id":"1325727695","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325727655":["hashtag1","hashtag2"]},{"1325727549":["hashtag1","hashtag2"]},{"1325727528":["hashtag1","hashtag2"]},{"1325727695":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325727655, 1325727549, 1325727528, 1325727695)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.07271337509155 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 10:30:02.355846
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 10:30:21.874891
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/10/29/image_03012025_10_29_03_002400_0003.jpg', '/home/pi/Desktop/images/03012025/10/30/image_03012025_10_30_03_122202_0000.jpg', '/home/pi/Desktop/images/03012025/10/30/image_03012025_10_30_03_122202_0001.jpg', '/home/pi/Desktop/images/03012025/10/30/image_03012025_10_30_03_122202_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/10/29/image_03012025_10_29_03_002400_0003.jpg
/home/pi/Desktop/images/03012025/10/30/image_03012025_10_30_03_122202_0000.jpg
/home/pi/Desktop/images/03012025/10/30/image_03012025_10_30_03_122202_0001.jpg
/home/pi/Desktop/images/03012025/10/30/image_03012025_10_30_03_122202_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325729382","1325729307","1325729438","1325729362"],"photo_ids_order":["1325729307","1325729362","1325729382","1325729438"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c29d74a025775f8e4f62a3c0881feb5e.jpg","text":"TemporaryFile(/tmp/multipartBody2010432859820262176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735896692392,"filename":"image_03012025_10_30_03_122202_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/755cd6f67ddd74d96d2edec7f5df5cb9.jpg","text":"TemporaryFile(/tmp/multipartBody6298664167789851843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735896692392,"filename":"image_03012025_10_29_03_002400_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f710191e1efcfdc086693df9e234df5d.jpg","text":"TemporaryFile(/tmp/multipartBody1480217794490734903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735896692392,"filename":"image_03012025_10_30_03_122202_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/99d36be0c0fbc8faa03db0e8bf230437.jpg","text":"TemporaryFile(/tmp/multipartBody7831133980704959319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735896692392,"filename":"image_03012025_10_30_03_122202_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325729382","file1":"1325729362","file0":"1325729307","file3":"1325729438"},"map_files_photo_id_array":[{"photo_id":"1325729382","filename":"file2"},{"photo_id":"1325729362","filename":"file1"},{"photo_id":"1325729307","filename":"file0"},{"photo_id":"1325729438","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325729382":["hashtag1","hashtag2"]},{"1325729307":["hashtag1","hashtag2"]},{"1325729438":["hashtag1","hashtag2"]},{"1325729362":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325729382, 1325729307, 1325729438, 1325729362)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.517256021499634 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 10:31:02.682174
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 10:31:22.075931
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/10/30/image_03012025_10_30_03_122202_0003.jpg', '/home/pi/Desktop/images/03012025/10/31/image_03012025_10_31_02_351362_0000.jpg', '/home/pi/Desktop/images/03012025/10/31/image_03012025_10_31_02_351362_0001.jpg', '/home/pi/Desktop/images/03012025/10/31/image_03012025_10_31_02_351362_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/10/30/image_03012025_10_30_03_122202_0003.jpg
/home/pi/Desktop/images/03012025/10/31/image_03012025_10_31_02_351362_0000.jpg
/home/pi/Desktop/images/03012025/10/31/image_03012025_10_31_02_351362_0001.jpg
/home/pi/Desktop/images/03012025/10/31/image_03012025_10_31_02_351362_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325730076","1325730048","1325729678","1325729626"],"photo_ids_order":["1325729626","1325729678","1325730048","1325730076"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0485830a2924316250af538a04784d5a.jpg","text":"TemporaryFile(/tmp/multipartBody293273837602647678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735896752182,"filename":"image_03012025_10_31_02_351362_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0014ec20a8430a95236c349632000299.jpg","text":"TemporaryFile(/tmp/multipartBody5500750826939092878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735896752182,"filename":"image_03012025_10_31_02_351362_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b9974dc657b88c80894c3a1e0c0c2b39.jpg","text":"TemporaryFile(/tmp/multipartBody5679175885356433008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735896752182,"filename":"image_03012025_10_31_02_351362_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2abdc476d6c46f09ea4f2e41a5a2d4ea.jpg","text":"TemporaryFile(/tmp/multipartBody8965202580400991095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735896752182,"filename":"image_03012025_10_30_03_122202_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325730048","file1":"1325729678","file0":"1325729626","file3":"1325730076"},"map_files_photo_id_array":[{"photo_id":"1325730048","filename":"file2"},{"photo_id":"1325729678","filename":"file1"},{"photo_id":"1325729626","filename":"file0"},{"photo_id":"1325730076","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325730076":["hashtag1","hashtag2"]},{"1325730048":["hashtag1","hashtag2"]},{"1325729678":["hashtag1","hashtag2"]},{"1325729626":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325730076, 1325730048, 1325729678, 1325729626)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.168999433517456 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 10:32:02.586611
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 10:32:22.327055
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/10/31/image_03012025_10_31_02_351362_0003.jpg', '/home/pi/Desktop/images/03012025/10/32/image_03012025_10_32_02_372923_0000.jpg', '/home/pi/Desktop/images/03012025/10/32/image_03012025_10_32_02_372923_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/10/31/image_03012025_10_31_02_351362_0003.jpg
/home/pi/Desktop/images/03012025/10/32/image_03012025_10_32_02_372923_0000.jpg
/home/pi/Desktop/images/03012025/10/32/image_03012025_10_32_02_372923_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.428617238998413 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-03 10:32:32.270134
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/10/31/image_03012025_10_31_02_351362_0003.jpg', '/home/pi/Desktop/images/03012025/10/32/image_03012025_10_32_02_372923_0000.jpg', '/home/pi/Desktop/images/03012025/10/32/image_03012025_10_32_02_372923_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/10/31/image_03012025_10_31_02_351362_0003.jpg
/home/pi/Desktop/images/03012025/10/32/image_03012025_10_32_02_372923_0000.jpg
/home/pi/Desktop/images/03012025/10/32/image_03012025_10_32_02_372923_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325730271","1325730275","1325730262"],"photo_ids_order":["1325730262","1325730271","1325730275"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ebf43f73ecd22b5a2a098b64646c0af3.jpg","text":"TemporaryFile(/tmp/multipartBody1325875561677685305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735896820099,"filename":"image_03012025_10_32_02_372923_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1dbe6a3a389a045e50e208b312f5ad6a.jpg","text":"TemporaryFile(/tmp/multipartBody8510191354837647306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735896820099,"filename":"image_03012025_10_32_02_372923_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1c0500c0712331c27db08951a25d0253.jpg","text":"TemporaryFile(/tmp/multipartBody583033408671037160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735896820099,"filename":"image_03012025_10_31_02_351362_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325730275","file1":"1325730271","file0":"1325730262"},"map_files_photo_id_array":[{"photo_id":"1325730275","filename":"file2"},{"photo_id":"1325730271","filename":"file1"},{"photo_id":"1325730262","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325730271":["hashtag1","hashtag2"]},{"1325730275":["hashtag1","hashtag2"]},{"1325730262":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325730271, 1325730275, 1325730262)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.841341972351074 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 10:33:22.472398
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/10/32/image_03012025_10_32_02_372923_0003.jpg', '/home/pi/Desktop/images/03012025/10/33/image_03012025_10_33_02_644460_0000.jpg', '/home/pi/Desktop/images/03012025/10/33/image_03012025_10_33_02_644460_0001.jpg', '/home/pi/Desktop/images/03012025/10/33/image_03012025_10_33_02_644460_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/10/32/image_03012025_10_32_02_372923_0003.jpg
/home/pi/Desktop/images/03012025/10/33/image_03012025_10_33_02_644460_0000.jpg
/home/pi/Desktop/images/03012025/10/33/image_03012025_10_33_02_644460_0001.jpg
/home/pi/Desktop/images/03012025/10/33/image_03012025_10_33_02_644460_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325730832","1325730828","1325730807","1325730839"],"photo_ids_order":["1325730807","1325730828","1325730832","1325730839"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ad76fea079491d35b1cece55972c1266.jpg","text":"TemporaryFile(/tmp/multipartBody3577476170194124163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735896872891,"filename":"image_03012025_10_33_02_644460_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d2376f46001e5ff13c65fde61250cd7c.jpg","text":"TemporaryFile(/tmp/multipartBody5283066402944893844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735896872891,"filename":"image_03012025_10_33_02_644460_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/746738dbe4675040ca52acc815ec7732.jpg","text":"TemporaryFile(/tmp/multipartBody3896230050775815331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735896872891,"filename":"image_03012025_10_32_02_372923_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d73d72665cedfdbb65b4f7d1394ca859.jpg","text":"TemporaryFile(/tmp/multipartBody7498131345716568635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735896872891,"filename":"image_03012025_10_33_02_644460_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325730832","file1":"1325730828","file0":"1325730807","file3":"1325730839"},"map_files_photo_id_array":[{"photo_id":"1325730832","filename":"file2"},{"photo_id":"1325730828","filename":"file1"},{"photo_id":"1325730807","filename":"file0"},{"photo_id":"1325730839","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325730832":["hashtag1","hashtag2"]},{"1325730828":["hashtag1","hashtag2"]},{"1325730807":["hashtag1","hashtag2"]},{"1325730839":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325730832, 1325730828, 1325730807, 1325730839)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.44652795791626 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 10:34:03.053231
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 10:34:22.604405
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/10/33/image_03012025_10_33_02_644460_0003.jpg', '/home/pi/Desktop/images/03012025/10/34/image_03012025_10_34_02_805391_0000.jpg', '/home/pi/Desktop/images/03012025/10/34/image_03012025_10_34_02_805391_0001.jpg', '/home/pi/Desktop/images/03012025/10/34/image_03012025_10_34_02_805391_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/10/33/image_03012025_10_33_02_644460_0003.jpg
/home/pi/Desktop/images/03012025/10/34/image_03012025_10_34_02_805391_0000.jpg
/home/pi/Desktop/images/03012025/10/34/image_03012025_10_34_02_805391_0001.jpg
/home/pi/Desktop/images/03012025/10/34/image_03012025_10_34_02_805391_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325731036","1325731050","1325731040","1325731045"],"photo_ids_order":["1325731036","1325731040","1325731045","1325731050"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/27977f4d8a1edf7b5f99725a2de94703.jpg","text":"TemporaryFile(/tmp/multipartBody1088155462659763826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735896932856,"filename":"image_03012025_10_33_02_644460_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/699909275371ac0baa8662af86ed037a.jpg","text":"TemporaryFile(/tmp/multipartBody3047158784464742309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735896932856,"filename":"image_03012025_10_34_02_805391_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/494e84604eb4b7d039c2da53b85476b7.jpg","text":"TemporaryFile(/tmp/multipartBody4812885096901633759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735896932856,"filename":"image_03012025_10_34_02_805391_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1f731115df9a7f7f3347f4f62926de0d.jpg","text":"TemporaryFile(/tmp/multipartBody4783738798721574764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735896932856,"filename":"image_03012025_10_34_02_805391_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325731045","file1":"1325731040","file0":"1325731036","file3":"1325731050"},"map_files_photo_id_array":[{"photo_id":"1325731045","filename":"file2"},{"photo_id":"1325731040","filename":"file1"},{"photo_id":"1325731036","filename":"file0"},{"photo_id":"1325731050","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325731036":["hashtag1","hashtag2"]},{"1325731050":["hashtag1","hashtag2"]},{"1325731040":["hashtag1","hashtag2"]},{"1325731045":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325731036, 1325731050, 1325731040, 1325731045)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.10661864280701 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 10:35:03.343583
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 10:35:22.697761
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/10/34/image_03012025_10_34_02_805391_0003.jpg', '/home/pi/Desktop/images/03012025/10/35/image_03012025_10_35_03_015494_0000.jpg', '/home/pi/Desktop/images/03012025/10/35/image_03012025_10_35_03_015494_0001.jpg', '/home/pi/Desktop/images/03012025/10/35/image_03012025_10_35_03_015494_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/10/34/image_03012025_10_34_02_805391_0003.jpg
/home/pi/Desktop/images/03012025/10/35/image_03012025_10_35_03_015494_0000.jpg
/home/pi/Desktop/images/03012025/10/35/image_03012025_10_35_03_015494_0001.jpg
/home/pi/Desktop/images/03012025/10/35/image_03012025_10_35_03_015494_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325731224","1325731427","1325731211","1325731219"],"photo_ids_order":["1325731211","1325731219","1325731224","1325731427"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/018f9d5509f95c1c2a1decd917e821f2.jpg","text":"TemporaryFile(/tmp/multipartBody9123971609172662895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735896992974,"filename":"image_03012025_10_35_03_015494_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a3efcd6a1cf8be5d969918aa8c077b77.jpg","text":"TemporaryFile(/tmp/multipartBody559678992658236205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735896992974,"filename":"image_03012025_10_35_03_015494_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a45ebe2c3e52ec198fb07e20f282f81f.jpg","text":"TemporaryFile(/tmp/multipartBody7114584737644387843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735896992974,"filename":"image_03012025_10_34_02_805391_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b8e9ad3af99f2422230fb98f896028ef.jpg","text":"TemporaryFile(/tmp/multipartBody740533933284273515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735896992974,"filename":"image_03012025_10_35_03_015494_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325731224","file1":"1325731219","file0":"1325731211","file3":"1325731427"},"map_files_photo_id_array":[{"photo_id":"1325731224","filename":"file2"},{"photo_id":"1325731219","filename":"file1"},{"photo_id":"1325731211","filename":"file0"},{"photo_id":"1325731427","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325731224":["hashtag1","hashtag2"]},{"1325731427":["hashtag1","hashtag2"]},{"1325731211":["hashtag1","hashtag2"]},{"1325731219":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325731224, 1325731427, 1325731211, 1325731219)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.367454528808594 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 10:36:02.295304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 10:36:21.907361
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/10/35/image_03012025_10_35_03_015494_0003.jpg', '/home/pi/Desktop/images/03012025/10/36/image_03012025_10_36_03_120909_0000.jpg', '/home/pi/Desktop/images/03012025/10/36/image_03012025_10_36_03_120909_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/10/35/image_03012025_10_35_03_015494_0003.jpg
/home/pi/Desktop/images/03012025/10/36/image_03012025_10_36_03_120909_0000.jpg
/home/pi/Desktop/images/03012025/10/36/image_03012025_10_36_03_120909_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325732022","1325731931","1325732041"],"photo_ids_order":["1325731931","1325732022","1325732041"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/998e716bcd4412b499ac7a3cac6790e1.jpg","text":"TemporaryFile(/tmp/multipartBody2606932277182282690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735897049660,"filename":"image_03012025_10_36_03_120909_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/be74f2892779869dfb5f48949e64523c.jpg","text":"TemporaryFile(/tmp/multipartBody5220275821433004884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735897049660,"filename":"image_03012025_10_35_03_015494_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a4d4aa41212958df1c2915ff952563f2.jpg","text":"TemporaryFile(/tmp/multipartBody1062556182694731780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735897049660,"filename":"image_03012025_10_36_03_120909_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325732041","file1":"1325732022","file0":"1325731931"},"map_files_photo_id_array":[{"photo_id":"1325732041","filename":"file2"},{"photo_id":"1325732022","filename":"file1"},{"photo_id":"1325731931","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325732022":["hashtag1","hashtag2"]},{"1325731931":["hashtag1","hashtag2"]},{"1325732041":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325732022, 1325731931, 1325732041)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.60184144973755 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 10:37:02.759086
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 10:37:22.121998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/10/36/image_03012025_10_36_03_120909_0003.jpg', '/home/pi/Desktop/images/03012025/10/37/image_03012025_10_37_02_232046_0000.jpg', '/home/pi/Desktop/images/03012025/10/37/image_03012025_10_37_02_232046_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/10/36/image_03012025_10_36_03_120909_0003.jpg
/home/pi/Desktop/images/03012025/10/37/image_03012025_10_37_02_232046_0000.jpg
/home/pi/Desktop/images/03012025/10/37/image_03012025_10_37_02_232046_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325732267","1325732341","1325732242"],"photo_ids_order":["1325732242","1325732267","1325732341"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/fb54aa06621969e7a992de1f523842d1.jpg","text":"TemporaryFile(/tmp/multipartBody1522583358155098105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735897109882,"filename":"image_03012025_10_37_02_232046_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ed558d957c26e01cc83204b6649b560e.jpg","text":"TemporaryFile(/tmp/multipartBody7243020421723711635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735897109882,"filename":"image_03012025_10_37_02_232046_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8bf8ed24714397d79ae00468032e4b49.jpg","text":"TemporaryFile(/tmp/multipartBody517786100444426726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735897109882,"filename":"image_03012025_10_36_03_120909_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325732341","file1":"1325732267","file0":"1325732242"},"map_files_photo_id_array":[{"photo_id":"1325732341","filename":"file2"},{"photo_id":"1325732267","filename":"file1"},{"photo_id":"1325732242","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325732267":["hashtag1","hashtag2"]},{"1325732341":["hashtag1","hashtag2"]},{"1325732242":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325732267, 1325732341, 1325732242)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.43205165863037 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 10:38:02.647180
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 10:38:22.372980
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/10/37/image_03012025_10_37_02_232046_0003.jpg', '/home/pi/Desktop/images/03012025/10/38/image_03012025_10_38_02_525676_0000.jpg', '/home/pi/Desktop/images/03012025/10/38/image_03012025_10_38_02_525676_0001.jpg', '/home/pi/Desktop/images/03012025/10/38/image_03012025_10_38_02_525676_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/10/37/image_03012025_10_37_02_232046_0003.jpg
/home/pi/Desktop/images/03012025/10/38/image_03012025_10_38_02_525676_0000.jpg
/home/pi/Desktop/images/03012025/10/38/image_03012025_10_38_02_525676_0001.jpg
/home/pi/Desktop/images/03012025/10/38/image_03012025_10_38_02_525676_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325733376","1325733001","1325733012","1325733006"],"photo_ids_order":["1325733001","1325733006","1325733012","1325733376"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b8a6256e430bad4e4dc2ed334c4201a2.jpg","text":"TemporaryFile(/tmp/multipartBody3882413704186862479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735897172491,"filename":"image_03012025_10_38_02_525676_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/409bac3a524b1c33dd771f1007b52a8b.jpg","text":"TemporaryFile(/tmp/multipartBody9033897021901347479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735897172491,"filename":"image_03012025_10_37_02_232046_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/78470a04827031dea93b9ede7a062407.jpg","text":"TemporaryFile(/tmp/multipartBody3927497357600608397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735897172491,"filename":"image_03012025_10_38_02_525676_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/28fb3fa126eefa0ae81bf2475bbb59c0.jpg","text":"TemporaryFile(/tmp/multipartBody5007380251075397167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735897172491,"filename":"image_03012025_10_38_02_525676_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325733012","file1":"1325733006","file0":"1325733001","file3":"1325733376"},"map_files_photo_id_array":[{"photo_id":"1325733012","filename":"file2"},{"photo_id":"1325733006","filename":"file1"},{"photo_id":"1325733001","filename":"file0"},{"photo_id":"1325733376","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325733376":["hashtag1","hashtag2"]},{"1325733001":["hashtag1","hashtag2"]},{"1325733012":["hashtag1","hashtag2"]},{"1325733006":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325733376, 1325733001, 1325733012, 1325733006)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.44850397109985 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 10:39:03.081051
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 10:39:22.476979
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/10/38/image_03012025_10_38_02_525676_0003.jpg', '/home/pi/Desktop/images/03012025/10/39/image_03012025_10_39_02_656635_0000.jpg', '/home/pi/Desktop/images/03012025/10/39/image_03012025_10_39_02_656635_0001.jpg', '/home/pi/Desktop/images/03012025/10/39/image_03012025_10_39_02_656635_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/10/38/image_03012025_10_38_02_525676_0003.jpg
/home/pi/Desktop/images/03012025/10/39/image_03012025_10_39_02_656635_0000.jpg
/home/pi/Desktop/images/03012025/10/39/image_03012025_10_39_02_656635_0001.jpg
/home/pi/Desktop/images/03012025/10/39/image_03012025_10_39_02_656635_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325734109","1325734105","1325734113","1325734101"],"photo_ids_order":["1325734101","1325734105","1325734109","1325734113"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5616953641cabbb642d4a68def69b103.jpg","text":"TemporaryFile(/tmp/multipartBody2964238380615110043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735897232778,"filename":"image_03012025_10_39_02_656635_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/11b47b3156a11271d45c941848ea80af.jpg","text":"TemporaryFile(/tmp/multipartBody5145941102350719954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735897232778,"filename":"image_03012025_10_39_02_656635_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b692736e2966404bc69f3aff3c27b075.jpg","text":"TemporaryFile(/tmp/multipartBody3623507265885951246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735897232778,"filename":"image_03012025_10_39_02_656635_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/75ff62069d063adbee8514e333f7a910.jpg","text":"TemporaryFile(/tmp/multipartBody4429864142704535391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735897232778,"filename":"image_03012025_10_38_02_525676_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325734109","file1":"1325734105","file0":"1325734101","file3":"1325734113"},"map_files_photo_id_array":[{"photo_id":"1325734109","filename":"file2"},{"photo_id":"1325734105","filename":"file1"},{"photo_id":"1325734101","filename":"file0"},{"photo_id":"1325734113","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325734109":["hashtag1","hashtag2"]},{"1325734105":["hashtag1","hashtag2"]},{"1325734113":["hashtag1","hashtag2"]},{"1325734101":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325734109, 1325734105, 1325734113, 1325734101)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.17267179489136 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 10:40:03.125258
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 10:40:22.786367
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/10/39/image_03012025_10_39_02_656635_0003.jpg', '/home/pi/Desktop/images/03012025/10/40/image_03012025_10_40_02_904914_0000.jpg', '/home/pi/Desktop/images/03012025/10/40/image_03012025_10_40_02_904914_0001.jpg', '/home/pi/Desktop/images/03012025/10/40/image_03012025_10_40_02_904914_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/10/39/image_03012025_10_39_02_656635_0003.jpg
/home/pi/Desktop/images/03012025/10/40/image_03012025_10_40_02_904914_0000.jpg
/home/pi/Desktop/images/03012025/10/40/image_03012025_10_40_02_904914_0001.jpg
/home/pi/Desktop/images/03012025/10/40/image_03012025_10_40_02_904914_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325734684","1325734587","1325734677","1325734583"],"photo_ids_order":["1325734583","1325734587","1325734677","1325734684"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f440f16540e0994b3b3d863b985b6495.jpg","text":"TemporaryFile(/tmp/multipartBody1399466675620737568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735897292989,"filename":"image_03012025_10_40_02_904914_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/bbb60b7f41d2c1cf5b3844704a63f69d.jpg","text":"TemporaryFile(/tmp/multipartBody5202599031065976931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735897292989,"filename":"image_03012025_10_40_02_904914_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b8527a847a00a781664276318611fda5.jpg","text":"TemporaryFile(/tmp/multipartBody3409048821884846647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735897292989,"filename":"image_03012025_10_40_02_904914_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/44e07bfa0b1918fc796d01822620162f.jpg","text":"TemporaryFile(/tmp/multipartBody713159847667485301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735897292989,"filename":"image_03012025_10_39_02_656635_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325734677","file1":"1325734587","file0":"1325734583","file3":"1325734684"},"map_files_photo_id_array":[{"photo_id":"1325734677","filename":"file2"},{"photo_id":"1325734587","filename":"file1"},{"photo_id":"1325734583","filename":"file0"},{"photo_id":"1325734684","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325734684":["hashtag1","hashtag2"]},{"1325734587":["hashtag1","hashtag2"]},{"1325734677":["hashtag1","hashtag2"]},{"1325734583":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325734684, 1325734587, 1325734677, 1325734583)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.0048713684082 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 10:41:02.510931
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 10:41:21.794277
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/10/40/image_03012025_10_40_02_904914_0003.jpg', '/home/pi/Desktop/images/03012025/10/41/image_03012025_10_41_03_055066_0000.jpg', '/home/pi/Desktop/images/03012025/10/41/image_03012025_10_41_03_055066_0001.jpg', '/home/pi/Desktop/images/03012025/10/41/image_03012025_10_41_03_055066_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/10/40/image_03012025_10_40_02_904914_0003.jpg
/home/pi/Desktop/images/03012025/10/41/image_03012025_10_41_03_055066_0000.jpg
/home/pi/Desktop/images/03012025/10/41/image_03012025_10_41_03_055066_0001.jpg
/home/pi/Desktop/images/03012025/10/41/image_03012025_10_41_03_055066_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.839510440826416 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-03 10:41:41.860543
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/10/40/image_03012025_10_40_02_904914_0003.jpg', '/home/pi/Desktop/images/03012025/10/41/image_03012025_10_41_03_055066_0000.jpg', '/home/pi/Desktop/images/03012025/10/41/image_03012025_10_41_03_055066_0001.jpg', '/home/pi/Desktop/images/03012025/10/41/image_03012025_10_41_03_055066_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/10/40/image_03012025_10_40_02_904914_0003.jpg
/home/pi/Desktop/images/03012025/10/41/image_03012025_10_41_03_055066_0000.jpg
/home/pi/Desktop/images/03012025/10/41/image_03012025_10_41_03_055066_0001.jpg
/home/pi/Desktop/images/03012025/10/41/image_03012025_10_41_03_055066_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":["1325734952","1325734946","1325734949","1325734954"],"photo_ids_order":["1325734946","1325734949","1325734952","1325734954"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a7443166bf3d752cd3e0258aeafc0ff4.jpg","text":"TemporaryFile(/tmp/multipartBody7425652694590266266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735897372101,"filename":"image_03012025_10_41_03_055066_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1d704bf28a50f7933884f7438b5cdcdf.jpg","text":"TemporaryFile(/tmp/multipartBody53748450642407247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735897372101,"filename":"image_03012025_10_40_02_904914_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2d16be2ace77c28f98349fcd017806ad.jpg","text":"TemporaryFile(/tmp/multipartBody2870946342051842961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735897372101,"filename":"image_03012025_10_41_03_055066_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/be4aca39f8b1ada700ad4b95840a88d0.jpg","text":"TemporaryFile(/tmp/multipartBody975382357832475834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735897372101,"filename":"image_03012025_10_41_03_055066_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325734952","file1":"1325734949","file0":"1325734946","file3":"1325734954"},"map_files_photo_id_array":[{"photo_id":"1325734952","filename":"file2"},{"photo_id":"1325734949","filename":"file1"},{"photo_id":"1325734946","filename":"file0"},{"photo_id":"1325734954","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325734952":["hashtag1","hashtag2"]},{"1325734946":["hashtag1","hashtag2"]},{"1325734949":["hashtag1","hashtag2"]},{"1325734954":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325734952, 1325734946, 1325734949, 1325734954)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.693368434906006 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 10:42:21.994876
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/10/41/image_03012025_10_41_03_055066_0003.jpg', '/home/pi/Desktop/images/03012025/10/42/image_03012025_10_42_02_191896_0000.jpg', '/home/pi/Desktop/images/03012025/10/42/image_03012025_10_42_02_191896_0001.jpg', '/home/pi/Desktop/images/03012025/10/42/image_03012025_10_42_02_191896_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/10/41/image_03012025_10_41_03_055066_0003.jpg
/home/pi/Desktop/images/03012025/10/42/image_03012025_10_42_02_191896_0000.jpg
/home/pi/Desktop/images/03012025/10/42/image_03012025_10_42_02_191896_0001.jpg
/home/pi/Desktop/images/03012025/10/42/image_03012025_10_42_02_191896_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325735569","1325735736","1325735750","1325735590"],"photo_ids_order":["1325735569","1325735590","1325735736","1325735750"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/32f8042ab427f6b84505c889d6f21a03.jpg","text":"TemporaryFile(/tmp/multipartBody3960368913411930683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735897412299,"filename":"image_03012025_10_41_03_055066_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9ca67352edce36bda8825777043e345b.jpg","text":"TemporaryFile(/tmp/multipartBody440242969004556552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735897412299,"filename":"image_03012025_10_42_02_191896_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/fdde6f8dc7aa52c749027ee35540a8b5.jpg","text":"TemporaryFile(/tmp/multipartBody6301508623595723951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735897412299,"filename":"image_03012025_10_42_02_191896_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/143f28c480d5d54c4c63ed529baf3473.jpg","text":"TemporaryFile(/tmp/multipartBody8031424065215828030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735897412299,"filename":"image_03012025_10_42_02_191896_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325735736","file1":"1325735590","file0":"1325735569","file3":"1325735750"},"map_files_photo_id_array":[{"photo_id":"1325735736","filename":"file2"},{"photo_id":"1325735590","filename":"file1"},{"photo_id":"1325735569","filename":"file0"},{"photo_id":"1325735750","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325735569":["hashtag1","hashtag2"]},{"1325735736":["hashtag1","hashtag2"]},{"1325735750":["hashtag1","hashtag2"]},{"1325735590":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325735569, 1325735736, 1325735750, 1325735590)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.20328402519226 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 10:43:22.255322
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/10/42/image_03012025_10_42_02_191896_0003.jpg', '/home/pi/Desktop/images/03012025/10/43/image_03012025_10_43_02_368963_0000.jpg', '/home/pi/Desktop/images/03012025/10/43/image_03012025_10_43_02_368963_0001.jpg', '/home/pi/Desktop/images/03012025/10/43/image_03012025_10_43_02_368963_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/10/42/image_03012025_10_42_02_191896_0003.jpg
/home/pi/Desktop/images/03012025/10/43/image_03012025_10_43_02_368963_0000.jpg
/home/pi/Desktop/images/03012025/10/43/image_03012025_10_43_02_368963_0001.jpg
/home/pi/Desktop/images/03012025/10/43/image_03012025_10_43_02_368963_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325736733","1325736631","1325736625","1325736615"],"photo_ids_order":["1325736615","1325736625","1325736631","1325736733"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/70b002e879d04e407fd05012456f5ae0.jpg","text":"TemporaryFile(/tmp/multipartBody2182536078609652595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735897472604,"filename":"image_03012025_10_43_02_368963_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4d5886a11c1b81960fe7f3728f6144f4.jpg","text":"TemporaryFile(/tmp/multipartBody6984557403695640935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735897472604,"filename":"image_03012025_10_43_02_368963_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ab1da97fe906242a99581996acae90bc.jpg","text":"TemporaryFile(/tmp/multipartBody2749515500501774233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735897472604,"filename":"image_03012025_10_43_02_368963_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/154d1c35d7ee00f3842f40dd7835ba64.jpg","text":"TemporaryFile(/tmp/multipartBody6337227063578161510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735897472604,"filename":"image_03012025_10_42_02_191896_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325736631","file1":"1325736625","file0":"1325736615","file3":"1325736733"},"map_files_photo_id_array":[{"photo_id":"1325736631","filename":"file2"},{"photo_id":"1325736625","filename":"file1"},{"photo_id":"1325736615","filename":"file0"},{"photo_id":"1325736733","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325736733":["hashtag1","hashtag2"]},{"1325736631":["hashtag1","hashtag2"]},{"1325736625":["hashtag1","hashtag2"]},{"1325736615":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325736733, 1325736631, 1325736625, 1325736615)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.98600888252258 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 10:44:22.467638
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/10/43/image_03012025_10_43_02_368963_0003.jpg', '/home/pi/Desktop/images/03012025/10/44/image_03012025_10_44_02_502421_0000.jpg', '/home/pi/Desktop/images/03012025/10/44/image_03012025_10_44_02_502421_0001.jpg', '/home/pi/Desktop/images/03012025/10/44/image_03012025_10_44_02_502421_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/10/43/image_03012025_10_43_02_368963_0003.jpg
/home/pi/Desktop/images/03012025/10/44/image_03012025_10_44_02_502421_0000.jpg
/home/pi/Desktop/images/03012025/10/44/image_03012025_10_44_02_502421_0001.jpg
/home/pi/Desktop/images/03012025/10/44/image_03012025_10_44_02_502421_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325737120","1325737170","1325737074","1325737142"],"photo_ids_order":["1325737074","1325737120","1325737142","1325737170"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2eb802fa189c19d05bebfe303acd5925.jpg","text":"TemporaryFile(/tmp/multipartBody7855875303997538886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735897532739,"filename":"image_03012025_10_44_02_502421_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/bb63be89435588845733b0c4f3a7cfb7.jpg","text":"TemporaryFile(/tmp/multipartBody5297708275791139598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735897532739,"filename":"image_03012025_10_44_02_502421_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5678c23dc49bd0c3885b949850d5be3f.jpg","text":"TemporaryFile(/tmp/multipartBody4694784292650486669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735897532739,"filename":"image_03012025_10_43_02_368963_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4f65cea91162c993eee883ac48b8f116.jpg","text":"TemporaryFile(/tmp/multipartBody5559268811629344702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735897532739,"filename":"image_03012025_10_44_02_502421_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325737142","file1":"1325737120","file0":"1325737074","file3":"1325737170"},"map_files_photo_id_array":[{"photo_id":"1325737142","filename":"file2"},{"photo_id":"1325737120","filename":"file1"},{"photo_id":"1325737074","filename":"file0"},{"photo_id":"1325737170","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325737120":["hashtag1","hashtag2"]},{"1325737170":["hashtag1","hashtag2"]},{"1325737074":["hashtag1","hashtag2"]},{"1325737142":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325737120, 1325737170, 1325737074, 1325737142)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.641183853149414 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 10:45:03.133942
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 10:45:22.569112
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/10/44/image_03012025_10_44_02_502421_0003.jpg', '/home/pi/Desktop/images/03012025/10/45/image_03012025_10_45_02_759765_0000.jpg', '/home/pi/Desktop/images/03012025/10/45/image_03012025_10_45_02_759765_0001.jpg', '/home/pi/Desktop/images/03012025/10/45/image_03012025_10_45_02_759765_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/10/44/image_03012025_10_44_02_502421_0003.jpg
/home/pi/Desktop/images/03012025/10/45/image_03012025_10_45_02_759765_0000.jpg
/home/pi/Desktop/images/03012025/10/45/image_03012025_10_45_02_759765_0001.jpg
/home/pi/Desktop/images/03012025/10/45/image_03012025_10_45_02_759765_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325737409","1325737465","1325737468","1325737447"],"photo_ids_order":["1325737409","1325737447","1325737465","1325737468"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f550d4c7c8dfc3e1268b928999eb4f4f.jpg","text":"TemporaryFile(/tmp/multipartBody7747448713964365220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735897592947,"filename":"image_03012025_10_44_02_502421_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/efa5dbdeb80e93dcb0af7a1997a13faa.jpg","text":"TemporaryFile(/tmp/multipartBody5510893446687444613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735897592947,"filename":"image_03012025_10_45_02_759765_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/73c41c6205c325aca8e65fba8b45b6f2.jpg","text":"TemporaryFile(/tmp/multipartBody1061527188517468912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735897592947,"filename":"image_03012025_10_45_02_759765_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/169012bd7fd719f7be446fd0adc63946.jpg","text":"TemporaryFile(/tmp/multipartBody8658110417576829354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735897592947,"filename":"image_03012025_10_45_02_759765_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325737465","file1":"1325737447","file0":"1325737409","file3":"1325737468"},"map_files_photo_id_array":[{"photo_id":"1325737465","filename":"file2"},{"photo_id":"1325737447","filename":"file1"},{"photo_id":"1325737409","filename":"file0"},{"photo_id":"1325737468","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325737409":["hashtag1","hashtag2"]},{"1325737465":["hashtag1","hashtag2"]},{"1325737468":["hashtag1","hashtag2"]},{"1325737447":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325737409, 1325737465, 1325737468, 1325737447)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.13026428222656 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 10:46:03.072846
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 10:46:22.654625
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/10/45/image_03012025_10_45_02_759765_0003.jpg', '/home/pi/Desktop/images/03012025/10/46/image_03012025_10_46_02_854592_0000.jpg', '/home/pi/Desktop/images/03012025/10/46/image_03012025_10_46_02_854592_0001.jpg', '/home/pi/Desktop/images/03012025/10/46/image_03012025_10_46_02_854592_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/10/45/image_03012025_10_45_02_759765_0003.jpg
/home/pi/Desktop/images/03012025/10/46/image_03012025_10_46_02_854592_0000.jpg
/home/pi/Desktop/images/03012025/10/46/image_03012025_10_46_02_854592_0001.jpg
/home/pi/Desktop/images/03012025/10/46/image_03012025_10_46_02_854592_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.991710424423218 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-03 10:46:42.784452
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/10/45/image_03012025_10_45_02_759765_0003.jpg', '/home/pi/Desktop/images/03012025/10/46/image_03012025_10_46_02_854592_0000.jpg', '/home/pi/Desktop/images/03012025/10/46/image_03012025_10_46_02_854592_0001.jpg', '/home/pi/Desktop/images/03012025/10/46/image_03012025_10_46_02_854592_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/10/45/image_03012025_10_45_02_759765_0003.jpg
/home/pi/Desktop/images/03012025/10/46/image_03012025_10_46_02_854592_0000.jpg
/home/pi/Desktop/images/03012025/10/46/image_03012025_10_46_02_854592_0001.jpg
/home/pi/Desktop/images/03012025/10/46/image_03012025_10_46_02_854592_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325737752","1325737760","1325737762","1325737756"],"photo_ids_order":["1325737752","1325737756","1325737760","1325737762"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/89cd9e214d03e798bac2de73c429a16d.jpg","text":"TemporaryFile(/tmp/multipartBody5139985738128198696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735897673154,"filename":"image_03012025_10_45_02_759765_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/880608dd4ffc29d9b36492d70a345a31.jpg","text":"TemporaryFile(/tmp/multipartBody8978800616770744988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735897673154,"filename":"image_03012025_10_46_02_854592_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/96f575dc6e2719ff0dc0f5f64080e371.jpg","text":"TemporaryFile(/tmp/multipartBody7057813557093943595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735897673154,"filename":"image_03012025_10_46_02_854592_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c5d43a373da512f83f8fdc4bfe794d74.jpg","text":"TemporaryFile(/tmp/multipartBody3200308793563227607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735897673154,"filename":"image_03012025_10_46_02_854592_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325737760","file1":"1325737756","file0":"1325737752","file3":"1325737762"},"map_files_photo_id_array":[{"photo_id":"1325737760","filename":"file2"},{"photo_id":"1325737756","filename":"file1"},{"photo_id":"1325737752","filename":"file0"},{"photo_id":"1325737762","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325737752":["hashtag1","hashtag2"]},{"1325737760":["hashtag1","hashtag2"]},{"1325737762":["hashtag1","hashtag2"]},{"1325737756":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325737752, 1325737760, 1325737762, 1325737756)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.77378797531128 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-03 10:47:31.958573
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/10/46/image_03012025_10_46_02_854592_0003.jpg', '/home/pi/Desktop/images/03012025/10/47/image_03012025_10_47_03_049417_0000.jpg', '/home/pi/Desktop/images/03012025/10/47/image_03012025_10_47_03_049417_0001.jpg', '/home/pi/Desktop/images/03012025/10/47/image_03012025_10_47_03_049417_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/10/46/image_03012025_10_46_02_854592_0003.jpg
/home/pi/Desktop/images/03012025/10/47/image_03012025_10_47_03_049417_0000.jpg
/home/pi/Desktop/images/03012025/10/47/image_03012025_10_47_03_049417_0001.jpg
/home/pi/Desktop/images/03012025/10/47/image_03012025_10_47_03_049417_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325738003","1325737975","1325738005","1325738079"],"photo_ids_order":["1325737975","1325738003","1325738005","1325738079"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2756278ea62046e5eaac50f59d5033f5.jpg","text":"TemporaryFile(/tmp/multipartBody8507568489930168919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735897722336,"filename":"image_03012025_10_47_03_049417_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f31c3cf0a4e12a3d9fd4f85b63722a12.jpg","text":"TemporaryFile(/tmp/multipartBody4058816388198476677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735897722336,"filename":"image_03012025_10_46_02_854592_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ad112e2bce035fda0194b5a4d9c26b13.jpg","text":"TemporaryFile(/tmp/multipartBody4043242057633748524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735897722336,"filename":"image_03012025_10_47_03_049417_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a2f902ac5047f7adc979862bc5ca52f6.jpg","text":"TemporaryFile(/tmp/multipartBody705357448289017383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735897722336,"filename":"image_03012025_10_47_03_049417_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325738005","file1":"1325738003","file0":"1325737975","file3":"1325738079"},"map_files_photo_id_array":[{"photo_id":"1325738005","filename":"file2"},{"photo_id":"1325738003","filename":"file1"},{"photo_id":"1325737975","filename":"file0"},{"photo_id":"1325738079","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325738003":["hashtag1","hashtag2"]},{"1325737975":["hashtag1","hashtag2"]},{"1325738005":["hashtag1","hashtag2"]},{"1325738079":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325738003, 1325737975, 1325738005, 1325738079)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.60657739639282 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 10:48:22.059744
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/10/47/image_03012025_10_47_03_049417_0003.jpg', '/home/pi/Desktop/images/03012025/10/48/image_03012025_10_48_02_254550_0000.jpg', '/home/pi/Desktop/images/03012025/10/48/image_03012025_10_48_02_254550_0001.jpg', '/home/pi/Desktop/images/03012025/10/48/image_03012025_10_48_02_254550_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/10/47/image_03012025_10_47_03_049417_0003.jpg
/home/pi/Desktop/images/03012025/10/48/image_03012025_10_48_02_254550_0000.jpg
/home/pi/Desktop/images/03012025/10/48/image_03012025_10_48_02_254550_0001.jpg
/home/pi/Desktop/images/03012025/10/48/image_03012025_10_48_02_254550_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325738345","1325738348","1325738341","1325738355"],"photo_ids_order":["1325738341","1325738345","1325738348","1325738355"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/608b02d742f34881d8dc60dda279d809.jpg","text":"TemporaryFile(/tmp/multipartBody5371262126631891255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735897772432,"filename":"image_03012025_10_48_02_254550_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/61f478117ab5632177f98f4666c21036.jpg","text":"TemporaryFile(/tmp/multipartBody4805758173083590111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735897772432,"filename":"image_03012025_10_48_02_254550_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/888b0e679022bd19ad4df639e3075950.jpg","text":"TemporaryFile(/tmp/multipartBody2022165209290647107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735897772432,"filename":"image_03012025_10_47_03_049417_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/58aa5fc01a859c6f17e4e6a43ad53959.jpg","text":"TemporaryFile(/tmp/multipartBody1535760688504897801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735897772432,"filename":"image_03012025_10_48_02_254550_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325738348","file1":"1325738345","file0":"1325738341","file3":"1325738355"},"map_files_photo_id_array":[{"photo_id":"1325738348","filename":"file2"},{"photo_id":"1325738345","filename":"file1"},{"photo_id":"1325738341","filename":"file0"},{"photo_id":"1325738355","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325738345":["hashtag1","hashtag2"]},{"1325738348":["hashtag1","hashtag2"]},{"1325738341":["hashtag1","hashtag2"]},{"1325738355":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325738345, 1325738348, 1325738341, 1325738355)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.13191509246826 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 10:49:02.900829
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 10:49:22.144006
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/10/48/image_03012025_10_48_02_254550_0003.jpg', '/home/pi/Desktop/images/03012025/10/49/image_03012025_10_49_02_405799_0000.jpg', '/home/pi/Desktop/images/03012025/10/49/image_03012025_10_49_02_405799_0001.jpg', '/home/pi/Desktop/images/03012025/10/49/image_03012025_10_49_02_405799_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/10/48/image_03012025_10_48_02_254550_0003.jpg
/home/pi/Desktop/images/03012025/10/49/image_03012025_10_49_02_405799_0000.jpg
/home/pi/Desktop/images/03012025/10/49/image_03012025_10_49_02_405799_0001.jpg
/home/pi/Desktop/images/03012025/10/49/image_03012025_10_49_02_405799_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325738505","1325738536","1325738745","1325738532"],"photo_ids_order":["1325738505","1325738532","1325738536","1325738745"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0fdc723f91bbf37e8c490ad81702f036.jpg","text":"TemporaryFile(/tmp/multipartBody5936339194486819048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735897832608,"filename":"image_03012025_10_48_02_254550_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/69d7e5e0e598f74beb3b09f9c7562b65.jpg","text":"TemporaryFile(/tmp/multipartBody6089767311641164674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735897832608,"filename":"image_03012025_10_49_02_405799_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/edcbf29fcb37c8e13bada6065f246777.jpg","text":"TemporaryFile(/tmp/multipartBody3269899418482760803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735897832608,"filename":"image_03012025_10_49_02_405799_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1c68b960b980ac43c500431ee615779e.jpg","text":"TemporaryFile(/tmp/multipartBody4980726435283961849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735897832608,"filename":"image_03012025_10_49_02_405799_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325738536","file1":"1325738532","file0":"1325738505","file3":"1325738745"},"map_files_photo_id_array":[{"photo_id":"1325738536","filename":"file2"},{"photo_id":"1325738532","filename":"file1"},{"photo_id":"1325738505","filename":"file0"},{"photo_id":"1325738745","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325738505":["hashtag1","hashtag2"]},{"1325738536":["hashtag1","hashtag2"]},{"1325738745":["hashtag1","hashtag2"]},{"1325738532":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325738505, 1325738536, 1325738745, 1325738532)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.956387996673584 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 10:50:22.374849
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/10/49/image_03012025_10_49_02_405799_0003.jpg', '/home/pi/Desktop/images/03012025/10/50/image_03012025_10_50_02_605176_0001.jpg', '/home/pi/Desktop/images/03012025/10/50/image_03012025_10_50_02_605176_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/10/49/image_03012025_10_49_02_405799_0003.jpg
/home/pi/Desktop/images/03012025/10/50/image_03012025_10_50_02_605176_0001.jpg
/home/pi/Desktop/images/03012025/10/50/image_03012025_10_50_02_605176_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325738999","1325739005","1325738992"],"photo_ids_order":["1325738992","1325738999","1325739005"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a63193713a1cfadd8caee7ae064bb362.jpg","text":"TemporaryFile(/tmp/multipartBody272096931462762306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735897890315,"filename":"image_03012025_10_50_02_605176_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/34a96e845c4e66f88e4636b2ec0bf08e.jpg","text":"TemporaryFile(/tmp/multipartBody8547602755440860124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735897890315,"filename":"image_03012025_10_50_02_605176_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ebf8b68d9704bdd72fc27d7d7cfec1b8.jpg","text":"TemporaryFile(/tmp/multipartBody535089623053389475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735897890315,"filename":"image_03012025_10_49_02_405799_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325739005","file1":"1325738999","file0":"1325738992"},"map_files_photo_id_array":[{"photo_id":"1325739005","filename":"file2"},{"photo_id":"1325738999","filename":"file1"},{"photo_id":"1325738992","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325738999":["hashtag1","hashtag2"]},{"1325739005":["hashtag1","hashtag2"]},{"1325738992":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325738999, 1325739005, 1325738992)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.321133136749268 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 10:51:03.149766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 10:51:22.530369
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/10/50/image_03012025_10_50_02_605176_0003.jpg', '/home/pi/Desktop/images/03012025/10/51/image_03012025_10_51_02_694572_0000.jpg', '/home/pi/Desktop/images/03012025/10/51/image_03012025_10_51_02_694572_0001.jpg', '/home/pi/Desktop/images/03012025/10/51/image_03012025_10_51_02_694572_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/10/50/image_03012025_10_50_02_605176_0003.jpg
/home/pi/Desktop/images/03012025/10/51/image_03012025_10_51_02_694572_0000.jpg
/home/pi/Desktop/images/03012025/10/51/image_03012025_10_51_02_694572_0001.jpg
/home/pi/Desktop/images/03012025/10/51/image_03012025_10_51_02_694572_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325739229","1325739345","1325739252","1325739237"],"photo_ids_order":["1325739229","1325739237","1325739252","1325739345"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/fc19e2a367439277d3e63ee35ef81bc4.jpg","text":"TemporaryFile(/tmp/multipartBody7068993865990129506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735897952997,"filename":"image_03012025_10_50_02_605176_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a34b76b273fbc270751165aa04436acd.jpg","text":"TemporaryFile(/tmp/multipartBody4175655263643619499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735897952997,"filename":"image_03012025_10_51_02_694572_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0f718feff151437259c3a910eca780a9.jpg","text":"TemporaryFile(/tmp/multipartBody4888006303388502540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735897952997,"filename":"image_03012025_10_51_02_694572_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2f2922d990b4f9c333b0adcb6778e199.jpg","text":"TemporaryFile(/tmp/multipartBody5084260391241082485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735897952997,"filename":"image_03012025_10_51_02_694572_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325739252","file1":"1325739237","file0":"1325739229","file3":"1325739345"},"map_files_photo_id_array":[{"photo_id":"1325739252","filename":"file2"},{"photo_id":"1325739237","filename":"file1"},{"photo_id":"1325739229","filename":"file0"},{"photo_id":"1325739345","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325739229":["hashtag1","hashtag2"]},{"1325739345":["hashtag1","hashtag2"]},{"1325739252":["hashtag1","hashtag2"]},{"1325739237":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325739229, 1325739345, 1325739252, 1325739237)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.93983221054077 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 10:52:22.765387
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/10/51/image_03012025_10_51_02_694572_0003.jpg', '/home/pi/Desktop/images/03012025/10/52/image_03012025_10_52_02_885022_0000.jpg', '/home/pi/Desktop/images/03012025/10/52/image_03012025_10_52_02_885022_0001.jpg', '/home/pi/Desktop/images/03012025/10/52/image_03012025_10_52_02_885022_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/10/51/image_03012025_10_51_02_694572_0003.jpg
/home/pi/Desktop/images/03012025/10/52/image_03012025_10_52_02_885022_0000.jpg
/home/pi/Desktop/images/03012025/10/52/image_03012025_10_52_02_885022_0001.jpg
/home/pi/Desktop/images/03012025/10/52/image_03012025_10_52_02_885022_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325739629","1325739616","1325739619","1325739624"],"photo_ids_order":["1325739616","1325739619","1325739624","1325739629"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5cd3bd08b8e0bdff858d68dd28f19886.jpg","text":"TemporaryFile(/tmp/multipartBody3103158261526353022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735898013282,"filename":"image_03012025_10_52_02_885022_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b36bded9223c449f622145ce51760e3f.jpg","text":"TemporaryFile(/tmp/multipartBody2287994477127003370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735898013282,"filename":"image_03012025_10_51_02_694572_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8a8603e2c9facfcb43ee70a0f8b31bbc.jpg","text":"TemporaryFile(/tmp/multipartBody1307582797277824472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735898013282,"filename":"image_03012025_10_52_02_885022_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c0f8961198fe33a288dc870bea66f2a8.jpg","text":"TemporaryFile(/tmp/multipartBody3495173240026364751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735898013282,"filename":"image_03012025_10_52_02_885022_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325739624","file1":"1325739619","file0":"1325739616","file3":"1325739629"},"map_files_photo_id_array":[{"photo_id":"1325739624","filename":"file2"},{"photo_id":"1325739619","filename":"file1"},{"photo_id":"1325739616","filename":"file0"},{"photo_id":"1325739629","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325739629":["hashtag1","hashtag2"]},{"1325739616":["hashtag1","hashtag2"]},{"1325739619":["hashtag1","hashtag2"]},{"1325739624":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325739629, 1325739616, 1325739619, 1325739624)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.910207986831665 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 10:53:21.925704
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/10/52/image_03012025_10_52_02_885022_0003.jpg', '/home/pi/Desktop/images/03012025/10/53/image_03012025_10_53_03_111654_0000.jpg', '/home/pi/Desktop/images/03012025/10/53/image_03012025_10_53_03_111654_0001.jpg', '/home/pi/Desktop/images/03012025/10/53/image_03012025_10_53_03_111654_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/10/52/image_03012025_10_52_02_885022_0003.jpg
/home/pi/Desktop/images/03012025/10/53/image_03012025_10_53_03_111654_0000.jpg
/home/pi/Desktop/images/03012025/10/53/image_03012025_10_53_03_111654_0001.jpg
/home/pi/Desktop/images/03012025/10/53/image_03012025_10_53_03_111654_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325739653","1325739644","1325739649","1325739657"],"photo_ids_order":["1325739644","1325739649","1325739653","1325739657"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/be66fcea7ceaa08c6647ebf427a33d23.jpg","text":"TemporaryFile(/tmp/multipartBody4251353274182908976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735898072389,"filename":"image_03012025_10_53_03_111654_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4b0c6c9db5501f1eb27dbfeb083dd1c5.jpg","text":"TemporaryFile(/tmp/multipartBody7345147276322221420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735898072389,"filename":"image_03012025_10_52_02_885022_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e98434ef11ffdb9bc2dd3784a3885293.jpg","text":"TemporaryFile(/tmp/multipartBody2702959352740940016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735898072389,"filename":"image_03012025_10_53_03_111654_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/84caf3cb6e00f678d9976b09cdd84703.jpg","text":"TemporaryFile(/tmp/multipartBody5569936635714836930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735898072389,"filename":"image_03012025_10_53_03_111654_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325739653","file1":"1325739649","file0":"1325739644","file3":"1325739657"},"map_files_photo_id_array":[{"photo_id":"1325739653","filename":"file2"},{"photo_id":"1325739649","filename":"file1"},{"photo_id":"1325739644","filename":"file0"},{"photo_id":"1325739657","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325739653":["hashtag1","hashtag2"]},{"1325739644":["hashtag1","hashtag2"]},{"1325739649":["hashtag1","hashtag2"]},{"1325739657":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325739653, 1325739644, 1325739649, 1325739657)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.51397705078125 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 10:54:22.104548
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/10/53/image_03012025_10_53_03_111654_0003.jpg', '/home/pi/Desktop/images/03012025/10/54/image_03012025_10_54_02_335569_0000.jpg', '/home/pi/Desktop/images/03012025/10/54/image_03012025_10_54_02_335569_0001.jpg', '/home/pi/Desktop/images/03012025/10/54/image_03012025_10_54_02_335569_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/10/53/image_03012025_10_53_03_111654_0003.jpg
/home/pi/Desktop/images/03012025/10/54/image_03012025_10_54_02_335569_0000.jpg
/home/pi/Desktop/images/03012025/10/54/image_03012025_10_54_02_335569_0001.jpg
/home/pi/Desktop/images/03012025/10/54/image_03012025_10_54_02_335569_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325740035","1325740238","1325740429","1325740363"],"photo_ids_order":["1325740035","1325740238","1325740363","1325740429"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e2f7260c1faa13533c2bdf8f58e0166d.jpg","text":"TemporaryFile(/tmp/multipartBody2582005610717299843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735898132455,"filename":"image_03012025_10_53_03_111654_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c2199b1d643b4e61020938e680e31ef0.jpg","text":"TemporaryFile(/tmp/multipartBody7103861838817401365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735898132455,"filename":"image_03012025_10_54_02_335569_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a0c786b7cddef98c2d6476d67dd61849.jpg","text":"TemporaryFile(/tmp/multipartBody8827397393081877215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735898132455,"filename":"image_03012025_10_54_02_335569_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/346029858446b66d178cdabcf16a72f7.jpg","text":"TemporaryFile(/tmp/multipartBody4352012304334083249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735898132455,"filename":"image_03012025_10_54_02_335569_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325740363","file1":"1325740238","file0":"1325740035","file3":"1325740429"},"map_files_photo_id_array":[{"photo_id":"1325740363","filename":"file2"},{"photo_id":"1325740238","filename":"file1"},{"photo_id":"1325740035","filename":"file0"},{"photo_id":"1325740429","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325740035":["hashtag1","hashtag2"]},{"1325740238":["hashtag1","hashtag2"]},{"1325740429":["hashtag1","hashtag2"]},{"1325740363":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325740035, 1325740238, 1325740429, 1325740363)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.48681831359863 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 10:55:22.349171
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/10/54/image_03012025_10_54_02_335569_0003.jpg', '/home/pi/Desktop/images/03012025/10/55/image_03012025_10_55_02_459635_0000.jpg', '/home/pi/Desktop/images/03012025/10/55/image_03012025_10_55_02_459635_0001.jpg', '/home/pi/Desktop/images/03012025/10/55/image_03012025_10_55_02_459635_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/10/54/image_03012025_10_54_02_335569_0003.jpg
/home/pi/Desktop/images/03012025/10/55/image_03012025_10_55_02_459635_0000.jpg
/home/pi/Desktop/images/03012025/10/55/image_03012025_10_55_02_459635_0001.jpg
/home/pi/Desktop/images/03012025/10/55/image_03012025_10_55_02_459635_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325740907","1325740864","1325740903","1325740900"],"photo_ids_order":["1325740864","1325740900","1325740903","1325740907"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d28c82db4e1dc778f18753db4d8b2cb1.jpg","text":"TemporaryFile(/tmp/multipartBody2007462391283870498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735898192671,"filename":"image_03012025_10_55_02_459635_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d20bab0afcd194f6f059eb76e117f562.jpg","text":"TemporaryFile(/tmp/multipartBody1633743326597044458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735898192671,"filename":"image_03012025_10_54_02_335569_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a1c56c06675cb78eff24170064321b19.jpg","text":"TemporaryFile(/tmp/multipartBody1459099960681270945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735898192671,"filename":"image_03012025_10_55_02_459635_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9218d970fd674aa18ea63f862b056614.jpg","text":"TemporaryFile(/tmp/multipartBody7909887201038573852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735898192671,"filename":"image_03012025_10_55_02_459635_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325740903","file1":"1325740900","file0":"1325740864","file3":"1325740907"},"map_files_photo_id_array":[{"photo_id":"1325740903","filename":"file2"},{"photo_id":"1325740900","filename":"file1"},{"photo_id":"1325740864","filename":"file0"},{"photo_id":"1325740907","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325740907":["hashtag1","hashtag2"]},{"1325740864":["hashtag1","hashtag2"]},{"1325740903":["hashtag1","hashtag2"]},{"1325740900":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325740907, 1325740864, 1325740903, 1325740900)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.673033714294434 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 10:56:02.946823
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 10:56:22.507757
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/10/55/image_03012025_10_55_02_459635_0003.jpg', '/home/pi/Desktop/images/03012025/10/56/image_03012025_10_56_02_699260_0000.jpg', '/home/pi/Desktop/images/03012025/10/56/image_03012025_10_56_02_699260_0001.jpg', '/home/pi/Desktop/images/03012025/10/56/image_03012025_10_56_02_699260_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/10/55/image_03012025_10_55_02_459635_0003.jpg
/home/pi/Desktop/images/03012025/10/56/image_03012025_10_56_02_699260_0000.jpg
/home/pi/Desktop/images/03012025/10/56/image_03012025_10_56_02_699260_0001.jpg
/home/pi/Desktop/images/03012025/10/56/image_03012025_10_56_02_699260_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325740928","1325740921","1325740924","1325740932"],"photo_ids_order":["1325740921","1325740924","1325740928","1325740932"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d18180212ef5e598f86047588039c191.jpg","text":"TemporaryFile(/tmp/multipartBody1625161785528216920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735898252759,"filename":"image_03012025_10_56_02_699260_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/884f7c9b92a288e77ef3e278dc932035.jpg","text":"TemporaryFile(/tmp/multipartBody2745448222597325001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735898252759,"filename":"image_03012025_10_55_02_459635_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3a88695e41b714c41f87302d4465baef.jpg","text":"TemporaryFile(/tmp/multipartBody5042113629647158293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735898252759,"filename":"image_03012025_10_56_02_699260_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c3d396b4f2abcd49b9f10fd07ffe8cb5.jpg","text":"TemporaryFile(/tmp/multipartBody8513530462227786093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735898252759,"filename":"image_03012025_10_56_02_699260_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325740928","file1":"1325740924","file0":"1325740921","file3":"1325740932"},"map_files_photo_id_array":[{"photo_id":"1325740928","filename":"file2"},{"photo_id":"1325740924","filename":"file1"},{"photo_id":"1325740921","filename":"file0"},{"photo_id":"1325740932","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325740928":["hashtag1","hashtag2"]},{"1325740921":["hashtag1","hashtag2"]},{"1325740924":["hashtag1","hashtag2"]},{"1325740932":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325740928, 1325740921, 1325740924, 1325740932)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.19842886924744 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 10:57:03.256706
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 10:57:22.645718
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/10/56/image_03012025_10_56_02_699260_0003.jpg', '/home/pi/Desktop/images/03012025/10/57/image_03012025_10_57_02_824205_0000.jpg', '/home/pi/Desktop/images/03012025/10/57/image_03012025_10_57_02_824205_0001.jpg', '/home/pi/Desktop/images/03012025/10/57/image_03012025_10_57_02_824205_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/10/56/image_03012025_10_56_02_699260_0003.jpg
/home/pi/Desktop/images/03012025/10/57/image_03012025_10_57_02_824205_0000.jpg
/home/pi/Desktop/images/03012025/10/57/image_03012025_10_57_02_824205_0001.jpg
/home/pi/Desktop/images/03012025/10/57/image_03012025_10_57_02_824205_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-03 10:59:02.532184
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/10/56/image_03012025_10_56_02_699260_0003.jpg', '/home/pi/Desktop/images/03012025/10/57/image_03012025_10_57_02_824205_0000.jpg', '/home/pi/Desktop/images/03012025/10/57/image_03012025_10_57_02_824205_0001.jpg', '/home/pi/Desktop/images/03012025/10/57/image_03012025_10_57_02_824205_0002.jpg', '/home/pi/Desktop/images/03012025/10/57/image_03012025_10_57_02_824205_0003.jpg', '/home/pi/Desktop/images/03012025/10/58/image_03012025_10_58_02_989358_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/10/56/image_03012025_10_56_02_699260_0003.jpg
/home/pi/Desktop/images/03012025/10/57/image_03012025_10_57_02_824205_0000.jpg
/home/pi/Desktop/images/03012025/10/57/image_03012025_10_57_02_824205_0001.jpg
/home/pi/Desktop/images/03012025/10/57/image_03012025_10_57_02_824205_0002.jpg
/home/pi/Desktop/images/03012025/10/57/image_03012025_10_57_02_824205_0003.jpg
/home/pi/Desktop/images/03012025/10/58/image_03012025_10_58_02_989358_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325741904","1325741759","1325742283","1325742091","1325742250","1325742255"],"photo_ids_order":["1325741759","1325741904","1325742091","1325742250","1325742255","1325742283"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6a899fba737ad06f17647e08edd062b6.jpg","text":"TemporaryFile(/tmp/multipartBody6771557458474771552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735898417856,"filename":"image_03012025_10_57_02_824205_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2b9bf3deb2acfe0ff5be72481366a32d.jpg","text":"TemporaryFile(/tmp/multipartBody1440759906711437309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735898417856,"filename":"image_03012025_10_56_02_699260_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5b9fce49b6a1cb7a4e70530805d571b4.jpg","text":"TemporaryFile(/tmp/multipartBody8380411510161208612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735898417856,"filename":"image_03012025_10_58_02_989358_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/bba854d6e457f52cce5d46ac8ec32206.jpg","text":"TemporaryFile(/tmp/multipartBody3725834217066090195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735898417856,"filename":"image_03012025_10_57_02_824205_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7569f85681bb0378a7fb7643a4a53c53.jpg","text":"TemporaryFile(/tmp/multipartBody5596935117381465795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735898417856,"filename":"image_03012025_10_57_02_824205_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6a21fec6ced7af41e03a94186e6f5e2a.jpg","text":"TemporaryFile(/tmp/multipartBody4048199693054438251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735898417856,"filename":"image_03012025_10_57_02_824205_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325742091","file1":"1325741904","file0":"1325741759","file4":"1325742255","file5":"1325742283","file3":"1325742250"},"map_files_photo_id_array":[{"photo_id":"1325742283","filename":"file5"},{"photo_id":"1325742091","filename":"file2"},{"photo_id":"1325742255","filename":"file4"},{"photo_id":"1325741904","filename":"file1"},{"photo_id":"1325741759","filename":"file0"},{"photo_id":"1325742250","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325741904":["hashtag1","hashtag2"]},{"1325741759":["hashtag1","hashtag2"]},{"1325742283":["hashtag1","hashtag2"]},{"1325742091":["hashtag1","hashtag2"]},{"1325742250":["hashtag1","hashtag2"]},{"1325742255":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325741904, 1325741759, 1325742283, 1325742091, 1325742250, 1325742255)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.59883689880371 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 11:00:22.168236
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/10/58/image_03012025_10_58_02_989358_0001.jpg', '/home/pi/Desktop/images/03012025/10/58/image_03012025_10_58_02_989358_0002.jpg', '/home/pi/Desktop/images/03012025/10/58/image_03012025_10_58_02_989358_0003.jpg', '/home/pi/Desktop/images/03012025/10/59/image_03012025_10_59_02_236651_0000.jpg', '/home/pi/Desktop/images/03012025/10/59/image_03012025_10_59_02_236651_0001.jpg', '/home/pi/Desktop/images/03012025/10/59/image_03012025_10_59_02_236651_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/10/58/image_03012025_10_58_02_989358_0001.jpg
/home/pi/Desktop/images/03012025/10/58/image_03012025_10_58_02_989358_0002.jpg
/home/pi/Desktop/images/03012025/10/58/image_03012025_10_58_02_989358_0003.jpg
/home/pi/Desktop/images/03012025/10/59/image_03012025_10_59_02_236651_0000.jpg
/home/pi/Desktop/images/03012025/10/59/image_03012025_10_59_02_236651_0001.jpg
/home/pi/Desktop/images/03012025/10/59/image_03012025_10_59_02_236651_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.451205730438232 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-03 11:00:42.208766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/10/58/image_03012025_10_58_02_989358_0001.jpg', '/home/pi/Desktop/images/03012025/10/58/image_03012025_10_58_02_989358_0002.jpg', '/home/pi/Desktop/images/03012025/10/58/image_03012025_10_58_02_989358_0003.jpg', '/home/pi/Desktop/images/03012025/10/59/image_03012025_10_59_02_236651_0000.jpg', '/home/pi/Desktop/images/03012025/10/59/image_03012025_10_59_02_236651_0001.jpg', '/home/pi/Desktop/images/03012025/10/59/image_03012025_10_59_02_236651_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/10/58/image_03012025_10_58_02_989358_0001.jpg
/home/pi/Desktop/images/03012025/10/58/image_03012025_10_58_02_989358_0002.jpg
/home/pi/Desktop/images/03012025/10/58/image_03012025_10_58_02_989358_0003.jpg
/home/pi/Desktop/images/03012025/10/59/image_03012025_10_59_02_236651_0000.jpg
/home/pi/Desktop/images/03012025/10/59/image_03012025_10_59_02_236651_0001.jpg
/home/pi/Desktop/images/03012025/10/59/image_03012025_10_59_02_236651_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325742571","1325742616","1325742590","1325742587","1325742575","1325742578"],"photo_ids_order":["1325742571","1325742575","1325742578","1325742587","1325742590","1325742616"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d0397a4d8edb0fa476fc09f71321ee76.jpg","text":"TemporaryFile(/tmp/multipartBody1594616908923643647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735898517064,"filename":"image_03012025_10_58_02_989358_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f78a4498a16292e2ffeab775dbf2fef1.jpg","text":"TemporaryFile(/tmp/multipartBody1322882927860086499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735898517064,"filename":"image_03012025_10_59_02_236651_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/33f5e65b182fc6e7f4cd571fb4fb1afd.jpg","text":"TemporaryFile(/tmp/multipartBody2871464628020654090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735898517064,"filename":"image_03012025_10_59_02_236651_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/86b75e682d47caf007f20b710274d08b.jpg","text":"TemporaryFile(/tmp/multipartBody6046664429004270220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735898517064,"filename":"image_03012025_10_59_02_236651_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ae832d74b395787e95083b616b5014cd.jpg","text":"TemporaryFile(/tmp/multipartBody5013542884878826610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735898517064,"filename":"image_03012025_10_58_02_989358_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f0ad9263dfe139a33058d6f66de35a77.jpg","text":"TemporaryFile(/tmp/multipartBody5582215736804771190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735898517064,"filename":"image_03012025_10_58_02_989358_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325742578","file1":"1325742575","file0":"1325742571","file4":"1325742590","file5":"1325742616","file3":"1325742587"},"map_files_photo_id_array":[{"photo_id":"1325742616","filename":"file5"},{"photo_id":"1325742578","filename":"file2"},{"photo_id":"1325742590","filename":"file4"},{"photo_id":"1325742575","filename":"file1"},{"photo_id":"1325742571","filename":"file0"},{"photo_id":"1325742587","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325742571":["hashtag1","hashtag2"]},{"1325742616":["hashtag1","hashtag2"]},{"1325742590":["hashtag1","hashtag2"]},{"1325742587":["hashtag1","hashtag2"]},{"1325742575":["hashtag1","hashtag2"]},{"1325742578":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325742571, 1325742616, 1325742590, 1325742587, 1325742575, 1325742578)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.228593587875366 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-03 11:01:42.369720
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/10/59/image_03012025_10_59_02_236651_0003.jpg', '/home/pi/Desktop/images/03012025/11/00/image_03012025_11_00_02_420641_0000.jpg', '/home/pi/Desktop/images/03012025/11/00/image_03012025_11_00_02_420641_0001.jpg', '/home/pi/Desktop/images/03012025/11/00/image_03012025_11_00_02_420641_0002.jpg', '/home/pi/Desktop/images/03012025/11/00/image_03012025_11_00_02_420641_0003.jpg', '/home/pi/Desktop/images/03012025/11/01/image_03012025_11_01_02_542172_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/10/59/image_03012025_10_59_02_236651_0003.jpg
/home/pi/Desktop/images/03012025/11/00/image_03012025_11_00_02_420641_0000.jpg
/home/pi/Desktop/images/03012025/11/00/image_03012025_11_00_02_420641_0001.jpg
/home/pi/Desktop/images/03012025/11/00/image_03012025_11_00_02_420641_0002.jpg
/home/pi/Desktop/images/03012025/11/00/image_03012025_11_00_02_420641_0003.jpg
/home/pi/Desktop/images/03012025/11/01/image_03012025_11_01_02_542172_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":["1325742650","1325742644","1325742793","1325742646","1325742789","1325742639"],"photo_ids_order":["1325742639","1325742644","1325742646","1325742650","1325742789","1325742793"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/04a7ebea1b5fddc5a1bbba9629fdff66.jpg","text":"TemporaryFile(/tmp/multipartBody1879139018100828443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735898577285,"filename":"image_03012025_11_00_02_420641_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1faf632e91e35d10d5ad3821c036428c.jpg","text":"TemporaryFile(/tmp/multipartBody4817559619487410076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735898577285,"filename":"image_03012025_11_00_02_420641_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b7b1436acb99ef2ac26a3b544e415af4.jpg","text":"TemporaryFile(/tmp/multipartBody803390544964294353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735898577285,"filename":"image_03012025_11_01_02_542172_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/edcbfcc0f8870c47fa11d44cdfcd1fb2.jpg","text":"TemporaryFile(/tmp/multipartBody4876596334502564029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735898577285,"filename":"image_03012025_11_00_02_420641_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b0153070b41cde5346e8626868f5026f.jpg","text":"TemporaryFile(/tmp/multipartBody7158655657813496804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735898577285,"filename":"image_03012025_11_00_02_420641_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/330d99c5eda2a7e961d9863365f4d700.jpg","text":"TemporaryFile(/tmp/multipartBody4204080073603380973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735898577285,"filename":"image_03012025_10_59_02_236651_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325742646","file1":"1325742644","file0":"1325742639","file4":"1325742789","file5":"1325742793","file3":"1325742650"},"map_files_photo_id_array":[{"photo_id":"1325742793","filename":"file5"},{"photo_id":"1325742646","filename":"file2"},{"photo_id":"1325742789","filename":"file4"},{"photo_id":"1325742644","filename":"file1"},{"photo_id":"1325742639","filename":"file0"},{"photo_id":"1325742650","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325742650":["hashtag1","hashtag2"]},{"1325742644":["hashtag1","hashtag2"]},{"1325742793":["hashtag1","hashtag2"]},{"1325742646":["hashtag1","hashtag2"]},{"1325742789":["hashtag1","hashtag2"]},{"1325742639":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325742650, 1325742644, 1325742793, 1325742646, 1325742789, 1325742639)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.39680790901184 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-03 11:02:42.561478
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/11/01/image_03012025_11_01_02_542172_0001.jpg', '/home/pi/Desktop/images/03012025/11/01/image_03012025_11_01_02_542172_0002.jpg', '/home/pi/Desktop/images/03012025/11/01/image_03012025_11_01_02_542172_0003.jpg', '/home/pi/Desktop/images/03012025/11/02/image_03012025_11_02_02_685861_0000.jpg', '/home/pi/Desktop/images/03012025/11/02/image_03012025_11_02_02_685861_0001.jpg', '/home/pi/Desktop/images/03012025/11/02/image_03012025_11_02_02_685861_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/11/01/image_03012025_11_01_02_542172_0001.jpg
/home/pi/Desktop/images/03012025/11/01/image_03012025_11_01_02_542172_0002.jpg
/home/pi/Desktop/images/03012025/11/01/image_03012025_11_01_02_542172_0003.jpg
/home/pi/Desktop/images/03012025/11/02/image_03012025_11_02_02_685861_0000.jpg
/home/pi/Desktop/images/03012025/11/02/image_03012025_11_02_02_685861_0001.jpg
/home/pi/Desktop/images/03012025/11/02/image_03012025_11_02_02_685861_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325743118","1325743062","1325743088","1325743382","1325743198","1325743084"],"photo_ids_order":["1325743062","1325743084","1325743088","1325743118","1325743198","1325743382"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7dd91a3fe60c7deae3345158f9ef6020.jpg","text":"TemporaryFile(/tmp/multipartBody4431980680878176543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735898637632,"filename":"image_03012025_11_02_02_685861_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4905fe97f02f414bde622812f6cd755b.jpg","text":"TemporaryFile(/tmp/multipartBody3878792345492888037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735898637632,"filename":"image_03012025_11_01_02_542172_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c2e9469f36a27187456f741c6027b63a.jpg","text":"TemporaryFile(/tmp/multipartBody1617938493376743268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735898637632,"filename":"image_03012025_11_01_02_542172_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7bd2e8b44d53fdc59d4856f2d5e3c91e.jpg","text":"TemporaryFile(/tmp/multipartBody8495012648293813622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735898637632,"filename":"image_03012025_11_02_02_685861_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c9dd8424d67965561d32831d8e966cc2.jpg","text":"TemporaryFile(/tmp/multipartBody2237550249394387043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735898637632,"filename":"image_03012025_11_02_02_685861_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f3fc8416cef13e9c039c31a3ca9f1761.jpg","text":"TemporaryFile(/tmp/multipartBody8966238110922301783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735898637632,"filename":"image_03012025_11_01_02_542172_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325743088","file1":"1325743084","file0":"1325743062","file4":"1325743198","file5":"1325743382","file3":"1325743118"},"map_files_photo_id_array":[{"photo_id":"1325743382","filename":"file5"},{"photo_id":"1325743088","filename":"file2"},{"photo_id":"1325743198","filename":"file4"},{"photo_id":"1325743084","filename":"file1"},{"photo_id":"1325743062","filename":"file0"},{"photo_id":"1325743118","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325743118":["hashtag1","hashtag2"]},{"1325743062":["hashtag1","hashtag2"]},{"1325743088":["hashtag1","hashtag2"]},{"1325743382":["hashtag1","hashtag2"]},{"1325743198":["hashtag1","hashtag2"]},{"1325743084":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325743118, 1325743062, 1325743088, 1325743382, 1325743198, 1325743084)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.914358615875244 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-03 11:03:42.838294
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/11/02/image_03012025_11_02_02_685861_0003.jpg', '/home/pi/Desktop/images/03012025/11/03/image_03012025_11_03_03_006001_0000.jpg', '/home/pi/Desktop/images/03012025/11/03/image_03012025_11_03_03_006001_0001.jpg', '/home/pi/Desktop/images/03012025/11/03/image_03012025_11_03_03_006001_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/11/02/image_03012025_11_02_02_685861_0003.jpg
/home/pi/Desktop/images/03012025/11/03/image_03012025_11_03_03_006001_0000.jpg
/home/pi/Desktop/images/03012025/11/03/image_03012025_11_03_03_006001_0001.jpg
/home/pi/Desktop/images/03012025/11/03/image_03012025_11_03_03_006001_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325743576","1325743578","1325743574","1325743733"],"photo_ids_order":["1325743574","1325743576","1325743578","1325743733"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d505b851312e238660ac25c6c90c7839.jpg","text":"TemporaryFile(/tmp/multipartBody3758655846690252343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735898693137,"filename":"image_03012025_11_03_03_006001_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/af9b5d8b1d654c69fdb250959fd23b46.jpg","text":"TemporaryFile(/tmp/multipartBody2081948689327612175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735898693137,"filename":"image_03012025_11_03_03_006001_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8c50de5ea2a8876bef1321b626e821f8.jpg","text":"TemporaryFile(/tmp/multipartBody3434424787420069608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735898693137,"filename":"image_03012025_11_02_02_685861_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2ab2941d6fa0c76e37f1f55545925290.jpg","text":"TemporaryFile(/tmp/multipartBody559252876532395725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735898693137,"filename":"image_03012025_11_03_03_006001_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325743578","file1":"1325743576","file0":"1325743574","file3":"1325743733"},"map_files_photo_id_array":[{"photo_id":"1325743578","filename":"file2"},{"photo_id":"1325743576","filename":"file1"},{"photo_id":"1325743574","filename":"file0"},{"photo_id":"1325743733","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325743576":["hashtag1","hashtag2"]},{"1325743578":["hashtag1","hashtag2"]},{"1325743574":["hashtag1","hashtag2"]},{"1325743733":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325743576, 1325743578, 1325743574, 1325743733)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.1185564994812 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-03 11:04:31.968566
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/11/03/image_03012025_11_03_03_006001_0003.jpg', '/home/pi/Desktop/images/03012025/11/04/image_03012025_11_04_03_111193_0000.jpg', '/home/pi/Desktop/images/03012025/11/04/image_03012025_11_04_03_111193_0001.jpg', '/home/pi/Desktop/images/03012025/11/04/image_03012025_11_04_03_111193_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/11/03/image_03012025_11_03_03_006001_0003.jpg
/home/pi/Desktop/images/03012025/11/04/image_03012025_11_04_03_111193_0000.jpg
/home/pi/Desktop/images/03012025/11/04/image_03012025_11_04_03_111193_0001.jpg
/home/pi/Desktop/images/03012025/11/04/image_03012025_11_04_03_111193_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325744628","1325744468","1325744501","1325744603"],"photo_ids_order":["1325744468","1325744501","1325744603","1325744628"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/46d69feae67954ffe93ee1e817ad68f7.jpg","text":"TemporaryFile(/tmp/multipartBody1902918482630428396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735898742252,"filename":"image_03012025_11_04_03_111193_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d6c97f324366bc980f09689b8247c901.jpg","text":"TemporaryFile(/tmp/multipartBody4579837243045210079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735898742252,"filename":"image_03012025_11_03_03_006001_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/748867b772bb4ca2d5f6bdbe42413e3b.jpg","text":"TemporaryFile(/tmp/multipartBody8164667265614275999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735898742252,"filename":"image_03012025_11_04_03_111193_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ce642c7d9edb6160cecd65aca02cc1a8.jpg","text":"TemporaryFile(/tmp/multipartBody7675303711556716073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735898742252,"filename":"image_03012025_11_04_03_111193_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325744603","file1":"1325744501","file0":"1325744468","file3":"1325744628"},"map_files_photo_id_array":[{"photo_id":"1325744603","filename":"file2"},{"photo_id":"1325744501","filename":"file1"},{"photo_id":"1325744468","filename":"file0"},{"photo_id":"1325744628","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325744628":["hashtag1","hashtag2"]},{"1325744468":["hashtag1","hashtag2"]},{"1325744501":["hashtag1","hashtag2"]},{"1325744603":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325744628, 1325744468, 1325744501, 1325744603)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.34972095489502 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 11:05:22.150859
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/11/04/image_03012025_11_04_03_111193_0003.jpg', '/home/pi/Desktop/images/03012025/11/05/image_03012025_11_05_02_412857_0000.jpg', '/home/pi/Desktop/images/03012025/11/05/image_03012025_11_05_02_412857_0001.jpg', '/home/pi/Desktop/images/03012025/11/05/image_03012025_11_05_02_412857_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/11/04/image_03012025_11_04_03_111193_0003.jpg
/home/pi/Desktop/images/03012025/11/05/image_03012025_11_05_02_412857_0000.jpg
/home/pi/Desktop/images/03012025/11/05/image_03012025_11_05_02_412857_0001.jpg
/home/pi/Desktop/images/03012025/11/05/image_03012025_11_05_02_412857_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325745225","1325745190","1325745143","1325744848"],"photo_ids_order":["1325744848","1325745143","1325745190","1325745225"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/edc93450a01cf7858d6a001a5d7149a6.jpg","text":"TemporaryFile(/tmp/multipartBody1339474871448091578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735898792520,"filename":"image_03012025_11_05_02_412857_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/314704a5528fb7487c4384a7832dfbd8.jpg","text":"TemporaryFile(/tmp/multipartBody3515599485942940153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735898792520,"filename":"image_03012025_11_05_02_412857_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/fbc4fbbafc6cfd425f84b66f620915fa.jpg","text":"TemporaryFile(/tmp/multipartBody5586690117554512965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735898792520,"filename":"image_03012025_11_05_02_412857_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/04074f215bb57c519d5fe1c0485bd43e.jpg","text":"TemporaryFile(/tmp/multipartBody6442347605398971707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735898792520,"filename":"image_03012025_11_04_03_111193_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325745190","file1":"1325745143","file0":"1325744848","file3":"1325745225"},"map_files_photo_id_array":[{"photo_id":"1325745190","filename":"file2"},{"photo_id":"1325745143","filename":"file1"},{"photo_id":"1325744848","filename":"file0"},{"photo_id":"1325745225","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325745225":["hashtag1","hashtag2"]},{"1325745190":["hashtag1","hashtag2"]},{"1325745143":["hashtag1","hashtag2"]},{"1325744848":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325745225, 1325745190, 1325745143, 1325744848)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.31936812400818 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 11:06:02.740879
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 11:06:22.302303
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/11/05/image_03012025_11_05_02_412857_0003.jpg', '/home/pi/Desktop/images/03012025/11/06/image_03012025_11_06_02_464549_0000.jpg', '/home/pi/Desktop/images/03012025/11/06/image_03012025_11_06_02_464549_0001.jpg', '/home/pi/Desktop/images/03012025/11/06/image_03012025_11_06_02_464549_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/11/05/image_03012025_11_05_02_412857_0003.jpg
/home/pi/Desktop/images/03012025/11/06/image_03012025_11_06_02_464549_0000.jpg
/home/pi/Desktop/images/03012025/11/06/image_03012025_11_06_02_464549_0001.jpg
/home/pi/Desktop/images/03012025/11/06/image_03012025_11_06_02_464549_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325745992","1325745995","1325745856","1325745786"],"photo_ids_order":["1325745786","1325745856","1325745992","1325745995"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3b51adbea456411fa5af2125ad9976ca.jpg","text":"TemporaryFile(/tmp/multipartBody2138847963712989545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735898852516,"filename":"image_03012025_11_06_02_464549_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5df9afa152e4543a2a2f1fbe59e28dfe.jpg","text":"TemporaryFile(/tmp/multipartBody381459494003222509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735898852516,"filename":"image_03012025_11_06_02_464549_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/39db1da04fbb55a23830060024e495be.jpg","text":"TemporaryFile(/tmp/multipartBody5390195841464327153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735898852516,"filename":"image_03012025_11_06_02_464549_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e54777667ee27fd87f29d1f5cd62819f.jpg","text":"TemporaryFile(/tmp/multipartBody2081452129060852106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735898852516,"filename":"image_03012025_11_05_02_412857_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325745992","file1":"1325745856","file0":"1325745786","file3":"1325745995"},"map_files_photo_id_array":[{"photo_id":"1325745992","filename":"file2"},{"photo_id":"1325745856","filename":"file1"},{"photo_id":"1325745786","filename":"file0"},{"photo_id":"1325745995","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325745992":["hashtag1","hashtag2"]},{"1325745995":["hashtag1","hashtag2"]},{"1325745856":["hashtag1","hashtag2"]},{"1325745786":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325745992, 1325745995, 1325745856, 1325745786)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.05105495452881 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 11:07:03.183433
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 11:07:22.598954
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/11/06/image_03012025_11_06_02_464549_0003.jpg', '/home/pi/Desktop/images/03012025/11/07/image_03012025_11_07_02_639205_0000.jpg', '/home/pi/Desktop/images/03012025/11/07/image_03012025_11_07_02_639205_0001.jpg', '/home/pi/Desktop/images/03012025/11/07/image_03012025_11_07_02_639205_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/11/06/image_03012025_11_06_02_464549_0003.jpg
/home/pi/Desktop/images/03012025/11/07/image_03012025_11_07_02_639205_0000.jpg
/home/pi/Desktop/images/03012025/11/07/image_03012025_11_07_02_639205_0001.jpg
/home/pi/Desktop/images/03012025/11/07/image_03012025_11_07_02_639205_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325746413","1325746418","1325746408","1325746402"],"photo_ids_order":["1325746402","1325746408","1325746413","1325746418"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e033ce820d41cb4274c1f6f6605f1e1c.jpg","text":"TemporaryFile(/tmp/multipartBody4070575908356536732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735898912920,"filename":"image_03012025_11_07_02_639205_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d0782ea8435b68cb6473305dd025a794.jpg","text":"TemporaryFile(/tmp/multipartBody1703202440846572893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735898912920,"filename":"image_03012025_11_07_02_639205_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9e50d425ed9f1a676010b722801190c1.jpg","text":"TemporaryFile(/tmp/multipartBody5936609317905395937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735898912920,"filename":"image_03012025_11_07_02_639205_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3cf96c977f861ebd26e99eae9d188f21.jpg","text":"TemporaryFile(/tmp/multipartBody3767345942974942127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735898912920,"filename":"image_03012025_11_06_02_464549_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325746413","file1":"1325746408","file0":"1325746402","file3":"1325746418"},"map_files_photo_id_array":[{"photo_id":"1325746413","filename":"file2"},{"photo_id":"1325746408","filename":"file1"},{"photo_id":"1325746402","filename":"file0"},{"photo_id":"1325746418","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325746413":["hashtag1","hashtag2"]},{"1325746418":["hashtag1","hashtag2"]},{"1325746408":["hashtag1","hashtag2"]},{"1325746402":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325746413, 1325746418, 1325746408, 1325746402)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.80957078933716 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 11:08:03.107692
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 11:08:22.673384
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/11/07/image_03012025_11_07_02_639205_0003.jpg', '/home/pi/Desktop/images/03012025/11/08/image_03012025_11_08_02_865654_0000.jpg', '/home/pi/Desktop/images/03012025/11/08/image_03012025_11_08_02_865654_0001.jpg', '/home/pi/Desktop/images/03012025/11/08/image_03012025_11_08_02_865654_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/11/07/image_03012025_11_07_02_639205_0003.jpg
/home/pi/Desktop/images/03012025/11/08/image_03012025_11_08_02_865654_0000.jpg
/home/pi/Desktop/images/03012025/11/08/image_03012025_11_08_02_865654_0001.jpg
/home/pi/Desktop/images/03012025/11/08/image_03012025_11_08_02_865654_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325746472","1325746465","1325746468","1325746461"],"photo_ids_order":["1325746461","1325746465","1325746468","1325746472"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9f943f722c966921c3271720bc6e1afd.jpg","text":"TemporaryFile(/tmp/multipartBody7525950161396353125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735898972975,"filename":"image_03012025_11_08_02_865654_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/de9463db33b1dc7f6f41a32fc2a3bbb3.jpg","text":"TemporaryFile(/tmp/multipartBody6670528348074266506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735898972975,"filename":"image_03012025_11_08_02_865654_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6833c6d9b424f4bb10b4ab43cb81d77f.jpg","text":"TemporaryFile(/tmp/multipartBody3660427038372584043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735898972975,"filename":"image_03012025_11_08_02_865654_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/943ae6c30925310886f37117bcbc57df.jpg","text":"TemporaryFile(/tmp/multipartBody7547249678003201920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735898972975,"filename":"image_03012025_11_07_02_639205_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325746468","file1":"1325746465","file0":"1325746461","file3":"1325746472"},"map_files_photo_id_array":[{"photo_id":"1325746468","filename":"file2"},{"photo_id":"1325746465","filename":"file1"},{"photo_id":"1325746461","filename":"file0"},{"photo_id":"1325746472","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325746472":["hashtag1","hashtag2"]},{"1325746465":["hashtag1","hashtag2"]},{"1325746468":["hashtag1","hashtag2"]},{"1325746461":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325746472, 1325746465, 1325746468, 1325746461)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.30874562263489 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 11:09:21.961300
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/11/08/image_03012025_11_08_02_865654_0003.jpg', '/home/pi/Desktop/images/03012025/11/09/image_03012025_11_09_03_001473_0000.jpg', '/home/pi/Desktop/images/03012025/11/09/image_03012025_11_09_03_001473_0001.jpg', '/home/pi/Desktop/images/03012025/11/09/image_03012025_11_09_03_001473_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/11/08/image_03012025_11_08_02_865654_0003.jpg
/home/pi/Desktop/images/03012025/11/09/image_03012025_11_09_03_001473_0000.jpg
/home/pi/Desktop/images/03012025/11/09/image_03012025_11_09_03_001473_0001.jpg
/home/pi/Desktop/images/03012025/11/09/image_03012025_11_09_03_001473_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325746598","1325746594","1325746588","1325746564"],"photo_ids_order":["1325746564","1325746588","1325746594","1325746598"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c7930d7947ad1a5e1a532fdc357857e5.jpg","text":"TemporaryFile(/tmp/multipartBody8921610005576108522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735899032160,"filename":"image_03012025_11_09_03_001473_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0dacdf293a8b23468d15dc23cb47b06f.jpg","text":"TemporaryFile(/tmp/multipartBody1640105040101567631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735899032160,"filename":"image_03012025_11_09_03_001473_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/70fb4b6860f3c18d6f0251c259401139.jpg","text":"TemporaryFile(/tmp/multipartBody1657742926706563173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735899032160,"filename":"image_03012025_11_09_03_001473_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/bf14a8a612dca917b9f8627589135a12.jpg","text":"TemporaryFile(/tmp/multipartBody8034737819887144370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735899032160,"filename":"image_03012025_11_08_02_865654_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325746594","file1":"1325746588","file0":"1325746564","file3":"1325746598"},"map_files_photo_id_array":[{"photo_id":"1325746594","filename":"file2"},{"photo_id":"1325746588","filename":"file1"},{"photo_id":"1325746564","filename":"file0"},{"photo_id":"1325746598","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325746598":["hashtag1","hashtag2"]},{"1325746594":["hashtag1","hashtag2"]},{"1325746588":["hashtag1","hashtag2"]},{"1325746564":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325746598, 1325746594, 1325746588, 1325746564)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.531150579452515 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-03 11:10:22.047245
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/11/09/image_03012025_11_09_03_001473_0003.jpg', '/home/pi/Desktop/images/03012025/11/10/image_03012025_11_10_02_247007_0000.jpg', '/home/pi/Desktop/images/03012025/11/10/image_03012025_11_10_02_247007_0001.jpg', '/home/pi/Desktop/images/03012025/11/10/image_03012025_11_10_02_247007_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/11/09/image_03012025_11_09_03_001473_0003.jpg
/home/pi/Desktop/images/03012025/11/10/image_03012025_11_10_02_247007_0000.jpg
/home/pi/Desktop/images/03012025/11/10/image_03012025_11_10_02_247007_0001.jpg
/home/pi/Desktop/images/03012025/11/10/image_03012025_11_10_02_247007_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325746883","1325746840","1325746807","1325746878"],"photo_ids_order":["1325746807","1325746840","1325746878","1325746883"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f10cc530625fd4938bdbef484c4fc467.jpg","text":"TemporaryFile(/tmp/multipartBody8302530613959677375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735899092189,"filename":"image_03012025_11_10_02_247007_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c9b334d97a4d5fd82b18424435a9eb97.jpg","text":"TemporaryFile(/tmp/multipartBody5031451613495210858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735899092189,"filename":"image_03012025_11_10_02_247007_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b8ae6d61f703a296c30bb31118bfb689.jpg","text":"TemporaryFile(/tmp/multipartBody8792410249110801418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735899092189,"filename":"image_03012025_11_09_03_001473_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/883d90f90f62d4d766f09d23bfe27a84.jpg","text":"TemporaryFile(/tmp/multipartBody5613621725525268970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735899092189,"filename":"image_03012025_11_10_02_247007_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325746878","file1":"1325746840","file0":"1325746807","file3":"1325746883"},"map_files_photo_id_array":[{"photo_id":"1325746878","filename":"file2"},{"photo_id":"1325746840","filename":"file1"},{"photo_id":"1325746807","filename":"file0"},{"photo_id":"1325746883","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325746883":["hashtag1","hashtag2"]},{"1325746840":["hashtag1","hashtag2"]},{"1325746807":["hashtag1","hashtag2"]},{"1325746878":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325746883, 1325746840, 1325746807, 1325746878)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.442543506622314 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 11:11:02.803904
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 11:11:22.406349
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/11/10/image_03012025_11_10_02_247007_0003.jpg', '/home/pi/Desktop/images/03012025/11/11/image_03012025_11_11_02_398090_0000.jpg', '/home/pi/Desktop/images/03012025/11/11/image_03012025_11_11_02_398090_0001.jpg', '/home/pi/Desktop/images/03012025/11/11/image_03012025_11_11_02_398090_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/11/10/image_03012025_11_10_02_247007_0003.jpg
/home/pi/Desktop/images/03012025/11/11/image_03012025_11_11_02_398090_0000.jpg
/home/pi/Desktop/images/03012025/11/11/image_03012025_11_11_02_398090_0001.jpg
/home/pi/Desktop/images/03012025/11/11/image_03012025_11_11_02_398090_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325747029","1325747020","1325747061","1325747025"],"photo_ids_order":["1325747020","1325747025","1325747029","1325747061"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/18293c996f6b178a217b1d41b9c2b351.jpg","text":"TemporaryFile(/tmp/multipartBody5938058830840195172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735899152540,"filename":"image_03012025_11_11_02_398090_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d63da359f3cb12f188c3fd082409f451.jpg","text":"TemporaryFile(/tmp/multipartBody5242725660784106815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735899152540,"filename":"image_03012025_11_10_02_247007_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f2b36bb3eccb9d1d452c7ff933ad8e1d.jpg","text":"TemporaryFile(/tmp/multipartBody1738772355556855507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735899152540,"filename":"image_03012025_11_11_02_398090_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d5da245e5b32b4f096dd5fd4b004fef5.jpg","text":"TemporaryFile(/tmp/multipartBody5858764586811939763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735899152540,"filename":"image_03012025_11_11_02_398090_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325747029","file1":"1325747025","file0":"1325747020","file3":"1325747061"},"map_files_photo_id_array":[{"photo_id":"1325747029","filename":"file2"},{"photo_id":"1325747025","filename":"file1"},{"photo_id":"1325747020","filename":"file0"},{"photo_id":"1325747061","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325747029":["hashtag1","hashtag2"]},{"1325747020":["hashtag1","hashtag2"]},{"1325747061":["hashtag1","hashtag2"]},{"1325747025":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325747029, 1325747020, 1325747061, 1325747025)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.387173652648926 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 11:12:02.806285
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 11:12:22.532241
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/11/11/image_03012025_11_11_02_398090_0003.jpg', '/home/pi/Desktop/images/03012025/11/12/image_03012025_11_12_02_680091_0000.jpg', '/home/pi/Desktop/images/03012025/11/12/image_03012025_11_12_02_680091_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/11/11/image_03012025_11_11_02_398090_0003.jpg
/home/pi/Desktop/images/03012025/11/12/image_03012025_11_12_02_680091_0000.jpg
/home/pi/Desktop/images/03012025/11/12/image_03012025_11_12_02_680091_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.308804988861084 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-03 11:12:32.429492
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/11/11/image_03012025_11_11_02_398090_0003.jpg', '/home/pi/Desktop/images/03012025/11/12/image_03012025_11_12_02_680091_0000.jpg', '/home/pi/Desktop/images/03012025/11/12/image_03012025_11_12_02_680091_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/11/11/image_03012025_11_11_02_398090_0003.jpg
/home/pi/Desktop/images/03012025/11/12/image_03012025_11_12_02_680091_0000.jpg
/home/pi/Desktop/images/03012025/11/12/image_03012025_11_12_02_680091_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325747929","1325747544","1325747235"],"photo_ids_order":["1325747235","1325747544","1325747929"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4b458ccf71f9a40cf72d3d307bae19e5.jpg","text":"TemporaryFile(/tmp/multipartBody5516445655769935127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735899220131,"filename":"image_03012025_11_12_02_680091_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/db65fa25e06b0a083c1ca2e13a1ae4ef.jpg","text":"TemporaryFile(/tmp/multipartBody2380379700806620518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735899220131,"filename":"image_03012025_11_12_02_680091_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/dc0d36194639d8df27fdd1dec9ce6c5a.jpg","text":"TemporaryFile(/tmp/multipartBody1042722485553178105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735899220131,"filename":"image_03012025_11_11_02_398090_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325747929","file1":"1325747544","file0":"1325747235"},"map_files_photo_id_array":[{"photo_id":"1325747929","filename":"file2"},{"photo_id":"1325747544","filename":"file1"},{"photo_id":"1325747235","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325747929":["hashtag1","hashtag2"]},{"1325747544":["hashtag1","hashtag2"]},{"1325747235":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325747929, 1325747544, 1325747235)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 29.889676809310913 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 11:13:22.682915
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/11/12/image_03012025_11_12_02_680091_0003.jpg', '/home/pi/Desktop/images/03012025/11/13/image_03012025_11_13_02_894255_0000.jpg', '/home/pi/Desktop/images/03012025/11/13/image_03012025_11_13_02_894255_0001.jpg', '/home/pi/Desktop/images/03012025/11/13/image_03012025_11_13_02_894255_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/11/12/image_03012025_11_12_02_680091_0003.jpg
/home/pi/Desktop/images/03012025/11/13/image_03012025_11_13_02_894255_0000.jpg
/home/pi/Desktop/images/03012025/11/13/image_03012025_11_13_02_894255_0001.jpg
/home/pi/Desktop/images/03012025/11/13/image_03012025_11_13_02_894255_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325748611","1325748601","1325748711","1325748572"],"photo_ids_order":["1325748572","1325748601","1325748611","1325748711"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4f4ad4f1d1fafe084d5f117d8515fa0d.jpg","text":"TemporaryFile(/tmp/multipartBody568105515528078901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735899272800,"filename":"image_03012025_11_13_02_894255_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/555ad40c7c0508b5a30712e98a75af25.jpg","text":"TemporaryFile(/tmp/multipartBody1239278435103513407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735899272800,"filename":"image_03012025_11_13_02_894255_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9c90f93b62fb461fd7dff951c2e0f950.jpg","text":"TemporaryFile(/tmp/multipartBody8162870412337550141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735899272800,"filename":"image_03012025_11_13_02_894255_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9427fdb66659910a67faec07cadb5a0e.jpg","text":"TemporaryFile(/tmp/multipartBody5269988025602254183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735899272800,"filename":"image_03012025_11_12_02_680091_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325748611","file1":"1325748601","file0":"1325748572","file3":"1325748711"},"map_files_photo_id_array":[{"photo_id":"1325748611","filename":"file2"},{"photo_id":"1325748601","filename":"file1"},{"photo_id":"1325748572","filename":"file0"},{"photo_id":"1325748711","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325748611":["hashtag1","hashtag2"]},{"1325748601":["hashtag1","hashtag2"]},{"1325748711":["hashtag1","hashtag2"]},{"1325748572":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325748611, 1325748601, 1325748711, 1325748572)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.65294122695923 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 11:14:21.856186
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/11/13/image_03012025_11_13_02_894255_0003.jpg', '/home/pi/Desktop/images/03012025/11/14/image_03012025_11_14_03_050131_0000.jpg', '/home/pi/Desktop/images/03012025/11/14/image_03012025_11_14_03_050131_0001.jpg', '/home/pi/Desktop/images/03012025/11/14/image_03012025_11_14_03_050131_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/11/13/image_03012025_11_13_02_894255_0003.jpg
/home/pi/Desktop/images/03012025/11/14/image_03012025_11_14_03_050131_0000.jpg
/home/pi/Desktop/images/03012025/11/14/image_03012025_11_14_03_050131_0001.jpg
/home/pi/Desktop/images/03012025/11/14/image_03012025_11_14_03_050131_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325751205","1325751183","1325750894","1325751314"],"photo_ids_order":["1325750894","1325751183","1325751205","1325751314"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1cf060de5b6c907a34c7ffe4b4808b1f.jpg","text":"TemporaryFile(/tmp/multipartBody6689719796571714111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735899332273,"filename":"image_03012025_11_14_03_050131_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/50752c3070834ffbecf5b98f3db58869.jpg","text":"TemporaryFile(/tmp/multipartBody8180571658988508625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735899332273,"filename":"image_03012025_11_14_03_050131_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/dff47ef73959addae2a2ac3d19def73a.jpg","text":"TemporaryFile(/tmp/multipartBody8695443550335482847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735899332273,"filename":"image_03012025_11_13_02_894255_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5c6531b59d937dd05400bbd73e837d58.jpg","text":"TemporaryFile(/tmp/multipartBody8234128457247229174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735899332273,"filename":"image_03012025_11_14_03_050131_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325751205","file1":"1325751183","file0":"1325750894","file3":"1325751314"},"map_files_photo_id_array":[{"photo_id":"1325751205","filename":"file2"},{"photo_id":"1325751183","filename":"file1"},{"photo_id":"1325750894","filename":"file0"},{"photo_id":"1325751314","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325751205":["hashtag1","hashtag2"]},{"1325751183":["hashtag1","hashtag2"]},{"1325750894":["hashtag1","hashtag2"]},{"1325751314":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325751205, 1325751183, 1325750894, 1325751314)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.41826319694519 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 11:15:02.617066
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 11:15:22.011001
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/11/14/image_03012025_11_14_03_050131_0003.jpg', '/home/pi/Desktop/images/03012025/11/15/image_03012025_11_15_02_134027_0000.jpg', '/home/pi/Desktop/images/03012025/11/15/image_03012025_11_15_02_134027_0001.jpg', '/home/pi/Desktop/images/03012025/11/15/image_03012025_11_15_02_134027_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/11/14/image_03012025_11_14_03_050131_0003.jpg
/home/pi/Desktop/images/03012025/11/15/image_03012025_11_15_02_134027_0000.jpg
/home/pi/Desktop/images/03012025/11/15/image_03012025_11_15_02_134027_0001.jpg
/home/pi/Desktop/images/03012025/11/15/image_03012025_11_15_02_134027_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325751964","1325752212","1325752007","1325751740"],"photo_ids_order":["1325751740","1325751964","1325752007","1325752212"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/70edc545ea469445e0a7fadf953b901a.jpg","text":"TemporaryFile(/tmp/multipartBody6454963470558151894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735899392235,"filename":"image_03012025_11_15_02_134027_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8e9bde6fe4087bfd7548dfee4d99203d.jpg","text":"TemporaryFile(/tmp/multipartBody8661394336085149598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735899392235,"filename":"image_03012025_11_15_02_134027_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8638939df3df2ad59a1c7cbda76dd63b.jpg","text":"TemporaryFile(/tmp/multipartBody7149138503906240243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735899392235,"filename":"image_03012025_11_15_02_134027_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/bd30484c5f7a713f53471895121d3ec9.jpg","text":"TemporaryFile(/tmp/multipartBody4437700512911950472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735899392235,"filename":"image_03012025_11_14_03_050131_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325752007","file1":"1325751964","file0":"1325751740","file3":"1325752212"},"map_files_photo_id_array":[{"photo_id":"1325752007","filename":"file2"},{"photo_id":"1325751964","filename":"file1"},{"photo_id":"1325751740","filename":"file0"},{"photo_id":"1325752212","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325751964":["hashtag1","hashtag2"]},{"1325752212":["hashtag1","hashtag2"]},{"1325752007":["hashtag1","hashtag2"]},{"1325751740":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325751964, 1325752212, 1325752007, 1325751740)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.81548094749451 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 11:16:22.170933
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/11/15/image_03012025_11_15_02_134027_0003.jpg', '/home/pi/Desktop/images/03012025/11/16/image_03012025_11_16_02_313198_0000.jpg', '/home/pi/Desktop/images/03012025/11/16/image_03012025_11_16_02_313198_0001.jpg', '/home/pi/Desktop/images/03012025/11/16/image_03012025_11_16_02_313198_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/11/15/image_03012025_11_15_02_134027_0003.jpg
/home/pi/Desktop/images/03012025/11/16/image_03012025_11_16_02_313198_0000.jpg
/home/pi/Desktop/images/03012025/11/16/image_03012025_11_16_02_313198_0001.jpg
/home/pi/Desktop/images/03012025/11/16/image_03012025_11_16_02_313198_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325752694","1325752685","1325752922","1325752690"],"photo_ids_order":["1325752685","1325752690","1325752694","1325752922"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d783c04f50f8ef070ee2e6569c93d2bd.jpg","text":"TemporaryFile(/tmp/multipartBody8775882969284316871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735899452341,"filename":"image_03012025_11_16_02_313198_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9e3884df3d99e0aa1dc2b3b11ef5e37e.jpg","text":"TemporaryFile(/tmp/multipartBody2151128199852689626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735899452341,"filename":"image_03012025_11_15_02_134027_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/614560faad054b0c14512cc8ccf70a73.jpg","text":"TemporaryFile(/tmp/multipartBody2376071659564313483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735899452341,"filename":"image_03012025_11_16_02_313198_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f6e387a38962340a939a6c60dc9a75af.jpg","text":"TemporaryFile(/tmp/multipartBody4066882611442141079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735899452341,"filename":"image_03012025_11_16_02_313198_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325752694","file1":"1325752690","file0":"1325752685","file3":"1325752922"},"map_files_photo_id_array":[{"photo_id":"1325752694","filename":"file2"},{"photo_id":"1325752690","filename":"file1"},{"photo_id":"1325752685","filename":"file0"},{"photo_id":"1325752922","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325752694":["hashtag1","hashtag2"]},{"1325752685":["hashtag1","hashtag2"]},{"1325752922":["hashtag1","hashtag2"]},{"1325752690":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325752694, 1325752685, 1325752922, 1325752690)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.4685275554657 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 11:17:02.912002
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 11:17:22.319775
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/11/16/image_03012025_11_16_02_313198_0003.jpg', '/home/pi/Desktop/images/03012025/11/17/image_03012025_11_17_02_509393_0000.jpg', '/home/pi/Desktop/images/03012025/11/17/image_03012025_11_17_02_509393_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/11/16/image_03012025_11_16_02_313198_0003.jpg
/home/pi/Desktop/images/03012025/11/17/image_03012025_11_17_02_509393_0000.jpg
/home/pi/Desktop/images/03012025/11/17/image_03012025_11_17_02_509393_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":["1325753369","1325753485","1325753302"],"photo_ids_order":["1325753302","1325753369","1325753485"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0efabd3916254026b3c540936f182fce.jpg","text":"TemporaryFile(/tmp/multipartBody3033672165350764624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735899510104,"filename":"image_03012025_11_17_02_509393_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f4501c7615716e40f1e616716d5e3263.jpg","text":"TemporaryFile(/tmp/multipartBody1941660310695539386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735899510104,"filename":"image_03012025_11_17_02_509393_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/70e77ee94350a93a96e218dcc197c068.jpg","text":"TemporaryFile(/tmp/multipartBody7791658800126080971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735899510104,"filename":"image_03012025_11_16_02_313198_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325753485","file1":"1325753369","file0":"1325753302"},"map_files_photo_id_array":[{"photo_id":"1325753485","filename":"file2"},{"photo_id":"1325753369","filename":"file1"},{"photo_id":"1325753302","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325753369":["hashtag1","hashtag2"]},{"1325753485":["hashtag1","hashtag2"]},{"1325753302":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325753369, 1325753485, 1325753302)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 35.69246459007263 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 11:18:02.954483
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 11:18:22.545525
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/11/17/image_03012025_11_17_02_509393_0003.jpg', '/home/pi/Desktop/images/03012025/11/18/image_03012025_11_18_02_699199_0000.jpg', '/home/pi/Desktop/images/03012025/11/18/image_03012025_11_18_02_699199_0001.jpg', '/home/pi/Desktop/images/03012025/11/18/image_03012025_11_18_02_699199_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/11/17/image_03012025_11_17_02_509393_0003.jpg
/home/pi/Desktop/images/03012025/11/18/image_03012025_11_18_02_699199_0000.jpg
/home/pi/Desktop/images/03012025/11/18/image_03012025_11_18_02_699199_0001.jpg
/home/pi/Desktop/images/03012025/11/18/image_03012025_11_18_02_699199_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325753840","1325753843","1325753782","1325753785"],"photo_ids_order":["1325753782","1325753785","1325753840","1325753843"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6e5c331e714ac192da46488a59136d11.jpg","text":"TemporaryFile(/tmp/multipartBody1895957561083253287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735899572681,"filename":"image_03012025_11_18_02_699199_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/27a625b7fed0dc0520a0c1d62317fcd8.jpg","text":"TemporaryFile(/tmp/multipartBody4215576918771284385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735899572681,"filename":"image_03012025_11_18_02_699199_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7fab66e4868a565954ccbf3e6f7d7dab.jpg","text":"TemporaryFile(/tmp/multipartBody812971438742389879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735899572681,"filename":"image_03012025_11_17_02_509393_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c95640faf45aeca7563bf8bba260b8b5.jpg","text":"TemporaryFile(/tmp/multipartBody8361310995088912418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735899572681,"filename":"image_03012025_11_18_02_699199_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325753840","file1":"1325753785","file0":"1325753782","file3":"1325753843"},"map_files_photo_id_array":[{"photo_id":"1325753840","filename":"file2"},{"photo_id":"1325753785","filename":"file1"},{"photo_id":"1325753782","filename":"file0"},{"photo_id":"1325753843","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325753840":["hashtag1","hashtag2"]},{"1325753843":["hashtag1","hashtag2"]},{"1325753782":["hashtag1","hashtag2"]},{"1325753785":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325753840, 1325753843, 1325753782, 1325753785)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.64898109436035 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 11:19:03.269887
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 11:19:22.643517
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/11/18/image_03012025_11_18_02_699199_0003.jpg', '/home/pi/Desktop/images/03012025/11/19/image_03012025_11_19_02_848956_0000.jpg', '/home/pi/Desktop/images/03012025/11/19/image_03012025_11_19_02_848956_0001.jpg', '/home/pi/Desktop/images/03012025/11/19/image_03012025_11_19_02_848956_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/11/18/image_03012025_11_18_02_699199_0003.jpg
/home/pi/Desktop/images/03012025/11/19/image_03012025_11_19_02_848956_0000.jpg
/home/pi/Desktop/images/03012025/11/19/image_03012025_11_19_02_848956_0001.jpg
/home/pi/Desktop/images/03012025/11/19/image_03012025_11_19_02_848956_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325754102","1325753930","1325753861","1325754141"],"photo_ids_order":["1325753861","1325753930","1325754102","1325754141"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d0f73e03e8ef83be931f176b4b0988f5.jpg","text":"TemporaryFile(/tmp/multipartBody14464692615118714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735899632763,"filename":"image_03012025_11_19_02_848956_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5b739fd4436b15ce598c5fb206f15351.jpg","text":"TemporaryFile(/tmp/multipartBody6171706113250436950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735899632763,"filename":"image_03012025_11_19_02_848956_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7197c955532dae409e5897df109b8c09.jpg","text":"TemporaryFile(/tmp/multipartBody4768339924654856650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735899632763,"filename":"image_03012025_11_18_02_699199_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1d054f3d784aaae59eb62db122f52828.jpg","text":"TemporaryFile(/tmp/multipartBody7104569094939965007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735899632763,"filename":"image_03012025_11_19_02_848956_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325754102","file1":"1325753930","file0":"1325753861","file3":"1325754141"},"map_files_photo_id_array":[{"photo_id":"1325754102","filename":"file2"},{"photo_id":"1325753930","filename":"file1"},{"photo_id":"1325753861","filename":"file0"},{"photo_id":"1325754141","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325754102":["hashtag1","hashtag2"]},{"1325753930":["hashtag1","hashtag2"]},{"1325753861":["hashtag1","hashtag2"]},{"1325754141":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325754102, 1325753930, 1325753861, 1325754141)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.598103046417236 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 11:20:21.802178
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/11/19/image_03012025_11_19_02_848956_0003.jpg', '/home/pi/Desktop/images/03012025/11/20/image_03012025_11_20_02_956151_0000.jpg', '/home/pi/Desktop/images/03012025/11/20/image_03012025_11_20_02_956151_0001.jpg', '/home/pi/Desktop/images/03012025/11/20/image_03012025_11_20_02_956151_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/11/19/image_03012025_11_19_02_848956_0003.jpg
/home/pi/Desktop/images/03012025/11/20/image_03012025_11_20_02_956151_0000.jpg
/home/pi/Desktop/images/03012025/11/20/image_03012025_11_20_02_956151_0001.jpg
/home/pi/Desktop/images/03012025/11/20/image_03012025_11_20_02_956151_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325754197","1325754427","1325754514","1325754202"],"photo_ids_order":["1325754197","1325754202","1325754427","1325754514"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/38a960da2b7fa73f708792345fb4357e.jpg","text":"TemporaryFile(/tmp/multipartBody2794094742694721707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735899691869,"filename":"image_03012025_11_19_02_848956_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/90892548ad792ca47dac3495998ff6bc.jpg","text":"TemporaryFile(/tmp/multipartBody829267846020572925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735899691869,"filename":"image_03012025_11_20_02_956151_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ac28112bb8293e90398b4f2def791d5b.jpg","text":"TemporaryFile(/tmp/multipartBody3239484991842099667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735899691869,"filename":"image_03012025_11_20_02_956151_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8881efeec8e76467c7a3fc6096ad1053.jpg","text":"TemporaryFile(/tmp/multipartBody6414801053491153117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735899691869,"filename":"image_03012025_11_20_02_956151_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325754427","file1":"1325754202","file0":"1325754197","file3":"1325754514"},"map_files_photo_id_array":[{"photo_id":"1325754427","filename":"file2"},{"photo_id":"1325754202","filename":"file1"},{"photo_id":"1325754197","filename":"file0"},{"photo_id":"1325754514","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325754197":["hashtag1","hashtag2"]},{"1325754427":["hashtag1","hashtag2"]},{"1325754514":["hashtag1","hashtag2"]},{"1325754202":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325754197, 1325754427, 1325754514, 1325754202)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.80272197723389 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 11:21:22.100671
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/11/20/image_03012025_11_20_02_956151_0003.jpg', '/home/pi/Desktop/images/03012025/11/21/image_03012025_11_21_02_203533_0000.jpg', '/home/pi/Desktop/images/03012025/11/21/image_03012025_11_21_02_203533_0001.jpg', '/home/pi/Desktop/images/03012025/11/21/image_03012025_11_21_02_203533_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/11/20/image_03012025_11_20_02_956151_0003.jpg
/home/pi/Desktop/images/03012025/11/21/image_03012025_11_21_02_203533_0000.jpg
/home/pi/Desktop/images/03012025/11/21/image_03012025_11_21_02_203533_0001.jpg
/home/pi/Desktop/images/03012025/11/21/image_03012025_11_21_02_203533_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325755037","1325754764","1325754888","1325754768"],"photo_ids_order":["1325754764","1325754768","1325754888","1325755037"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2d8a1a661de1816172c634a9c3b2ba90.jpg","text":"TemporaryFile(/tmp/multipartBody7844646419003482424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735899751953,"filename":"image_03012025_11_21_02_203533_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2f25ff22f399a64ca82d31b013de199f.jpg","text":"TemporaryFile(/tmp/multipartBody1409697913788923293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735899751953,"filename":"image_03012025_11_20_02_956151_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/702ea10874e9bcb3d31b7863457933be.jpg","text":"TemporaryFile(/tmp/multipartBody6432974606761453337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735899751953,"filename":"image_03012025_11_21_02_203533_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b13e1b257cda33858373a8ca7d66ef66.jpg","text":"TemporaryFile(/tmp/multipartBody940201178880428642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735899751953,"filename":"image_03012025_11_21_02_203533_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325754888","file1":"1325754768","file0":"1325754764","file3":"1325755037"},"map_files_photo_id_array":[{"photo_id":"1325754888","filename":"file2"},{"photo_id":"1325754768","filename":"file1"},{"photo_id":"1325754764","filename":"file0"},{"photo_id":"1325755037","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325755037":["hashtag1","hashtag2"]},{"1325754764":["hashtag1","hashtag2"]},{"1325754888":["hashtag1","hashtag2"]},{"1325754768":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325755037, 1325754764, 1325754888, 1325754768)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.939013957977295 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 11:22:02.472412
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 11:22:22.287017
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/11/21/image_03012025_11_21_02_203533_0003.jpg', '/home/pi/Desktop/images/03012025/11/22/image_03012025_11_22_02_388403_0000.jpg', '/home/pi/Desktop/images/03012025/11/22/image_03012025_11_22_02_388403_0001.jpg', '/home/pi/Desktop/images/03012025/11/22/image_03012025_11_22_02_388403_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/11/21/image_03012025_11_21_02_203533_0003.jpg
/home/pi/Desktop/images/03012025/11/22/image_03012025_11_22_02_388403_0000.jpg
/home/pi/Desktop/images/03012025/11/22/image_03012025_11_22_02_388403_0001.jpg
/home/pi/Desktop/images/03012025/11/22/image_03012025_11_22_02_388403_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.573334693908691 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-03 11:22:42.123658
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/11/21/image_03012025_11_21_02_203533_0003.jpg', '/home/pi/Desktop/images/03012025/11/22/image_03012025_11_22_02_388403_0000.jpg', '/home/pi/Desktop/images/03012025/11/22/image_03012025_11_22_02_388403_0001.jpg', '/home/pi/Desktop/images/03012025/11/22/image_03012025_11_22_02_388403_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/11/21/image_03012025_11_21_02_203533_0003.jpg
/home/pi/Desktop/images/03012025/11/22/image_03012025_11_22_02_388403_0000.jpg
/home/pi/Desktop/images/03012025/11/22/image_03012025_11_22_02_388403_0001.jpg
/home/pi/Desktop/images/03012025/11/22/image_03012025_11_22_02_388403_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":["1325755198","1325755201","1325755196","1325755200"],"photo_ids_order":["1325755196","1325755198","1325755200","1325755201"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5ab820ebba6d003adf34b072cc3b5702.jpg","text":"TemporaryFile(/tmp/multipartBody5637307090925587759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735899832096,"filename":"image_03012025_11_22_02_388403_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6add5def339f1c1b6593012d8a55c416.jpg","text":"TemporaryFile(/tmp/multipartBody6208143447447456320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735899832096,"filename":"image_03012025_11_22_02_388403_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/56e0c6bd283707609eaa55976a1be6ed.jpg","text":"TemporaryFile(/tmp/multipartBody537423824051673528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735899832096,"filename":"image_03012025_11_21_02_203533_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e4fc6449110b9caeaededcbb87638fc6.jpg","text":"TemporaryFile(/tmp/multipartBody852340609912264207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735899832096,"filename":"image_03012025_11_22_02_388403_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325755200","file1":"1325755198","file0":"1325755196","file3":"1325755201"},"map_files_photo_id_array":[{"photo_id":"1325755200","filename":"file2"},{"photo_id":"1325755198","filename":"file1"},{"photo_id":"1325755196","filename":"file0"},{"photo_id":"1325755201","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325755198":["hashtag1","hashtag2"]},{"1325755201":["hashtag1","hashtag2"]},{"1325755196":["hashtag1","hashtag2"]},{"1325755200":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325755198, 1325755201, 1325755196, 1325755200)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.32316327095032 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 11:23:22.336082
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/11/22/image_03012025_11_22_02_388403_0003.jpg', '/home/pi/Desktop/images/03012025/11/23/image_03012025_11_23_02_489754_0000.jpg', '/home/pi/Desktop/images/03012025/11/23/image_03012025_11_23_02_489754_0001.jpg', '/home/pi/Desktop/images/03012025/11/23/image_03012025_11_23_02_489754_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/11/22/image_03012025_11_22_02_388403_0003.jpg
/home/pi/Desktop/images/03012025/11/23/image_03012025_11_23_02_489754_0000.jpg
/home/pi/Desktop/images/03012025/11/23/image_03012025_11_23_02_489754_0001.jpg
/home/pi/Desktop/images/03012025/11/23/image_03012025_11_23_02_489754_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325755540","1325755624","1325755525","1325755659"],"photo_ids_order":["1325755525","1325755540","1325755624","1325755659"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a8494c3f3c11b6001ce11b59f4d8652d.jpg","text":"TemporaryFile(/tmp/multipartBody7637685863432925131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735899872445,"filename":"image_03012025_11_23_02_489754_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/18ef7975379a5eec597e877ffeb22453.jpg","text":"TemporaryFile(/tmp/multipartBody7399729156516597387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735899872445,"filename":"image_03012025_11_23_02_489754_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1b6800b70a431b548ccd4f9717119e7e.jpg","text":"TemporaryFile(/tmp/multipartBody6122829162008393412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735899872445,"filename":"image_03012025_11_22_02_388403_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/fde6ef9d5b819fae848d92c91ad50ffe.jpg","text":"TemporaryFile(/tmp/multipartBody1739071379225545596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735899872445,"filename":"image_03012025_11_23_02_489754_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325755624","file1":"1325755540","file0":"1325755525","file3":"1325755659"},"map_files_photo_id_array":[{"photo_id":"1325755624","filename":"file2"},{"photo_id":"1325755540","filename":"file1"},{"photo_id":"1325755525","filename":"file0"},{"photo_id":"1325755659","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325755540":["hashtag1","hashtag2"]},{"1325755624":["hashtag1","hashtag2"]},{"1325755525":["hashtag1","hashtag2"]},{"1325755659":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325755540, 1325755624, 1325755525, 1325755659)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.26890158653259 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 11:24:02.818721
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 11:24:22.462304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/11/23/image_03012025_11_23_02_489754_0003.jpg', '/home/pi/Desktop/images/03012025/11/24/image_03012025_11_24_02_709496_0000.jpg', '/home/pi/Desktop/images/03012025/11/24/image_03012025_11_24_02_709496_0001.jpg', '/home/pi/Desktop/images/03012025/11/24/image_03012025_11_24_02_709496_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/11/23/image_03012025_11_23_02_489754_0003.jpg
/home/pi/Desktop/images/03012025/11/24/image_03012025_11_24_02_709496_0000.jpg
/home/pi/Desktop/images/03012025/11/24/image_03012025_11_24_02_709496_0001.jpg
/home/pi/Desktop/images/03012025/11/24/image_03012025_11_24_02_709496_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325756076","1325756084","1325755985","1325756135"],"photo_ids_order":["1325755985","1325756076","1325756084","1325756135"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/eece3beb00f856101a4211a7c8d67fd5.jpg","text":"TemporaryFile(/tmp/multipartBody7708143110093488687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735899932521,"filename":"image_03012025_11_24_02_709496_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/91ea0c36fe679738cc83b063219bf0ef.jpg","text":"TemporaryFile(/tmp/multipartBody8195045810795298311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735899932521,"filename":"image_03012025_11_24_02_709496_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0dd0b818b64e815693f8dde34f1f6c75.jpg","text":"TemporaryFile(/tmp/multipartBody2048104495661442768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735899932521,"filename":"image_03012025_11_23_02_489754_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5669a2bd9456343951a849fedf1cf1c1.jpg","text":"TemporaryFile(/tmp/multipartBody3700652664937229620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735899932521,"filename":"image_03012025_11_24_02_709496_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325756084","file1":"1325756076","file0":"1325755985","file3":"1325756135"},"map_files_photo_id_array":[{"photo_id":"1325756084","filename":"file2"},{"photo_id":"1325756076","filename":"file1"},{"photo_id":"1325755985","filename":"file0"},{"photo_id":"1325756135","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325756076":["hashtag1","hashtag2"]},{"1325756084":["hashtag1","hashtag2"]},{"1325755985":["hashtag1","hashtag2"]},{"1325756135":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325756076, 1325756084, 1325755985, 1325756135)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.000346422195435 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 11:25:22.640106
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/11/24/image_03012025_11_24_02_709496_0003.jpg', '/home/pi/Desktop/images/03012025/11/25/image_03012025_11_25_02_881542_0000.jpg', '/home/pi/Desktop/images/03012025/11/25/image_03012025_11_25_02_881542_0001.jpg', '/home/pi/Desktop/images/03012025/11/25/image_03012025_11_25_02_881542_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/11/24/image_03012025_11_24_02_709496_0003.jpg
/home/pi/Desktop/images/03012025/11/25/image_03012025_11_25_02_881542_0000.jpg
/home/pi/Desktop/images/03012025/11/25/image_03012025_11_25_02_881542_0001.jpg
/home/pi/Desktop/images/03012025/11/25/image_03012025_11_25_02_881542_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325756869","1325756979","1325756892","1325756946"],"photo_ids_order":["1325756869","1325756892","1325756946","1325756979"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/88a96496664c3321cd26be802c3ab2c0.jpg","text":"TemporaryFile(/tmp/multipartBody97617516911806590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735899992736,"filename":"image_03012025_11_24_02_709496_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/506771f540e38b4c9699254093bee502.jpg","text":"TemporaryFile(/tmp/multipartBody782867839702139671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735899992736,"filename":"image_03012025_11_25_02_881542_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f651b2da4e27606f6f67568e32cc50b8.jpg","text":"TemporaryFile(/tmp/multipartBody270314243775092413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735899992736,"filename":"image_03012025_11_25_02_881542_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/364a34a378c96101ddbf67d062da03c9.jpg","text":"TemporaryFile(/tmp/multipartBody6599148643048486425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735899992736,"filename":"image_03012025_11_25_02_881542_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325756946","file1":"1325756892","file0":"1325756869","file3":"1325756979"},"map_files_photo_id_array":[{"photo_id":"1325756946","filename":"file2"},{"photo_id":"1325756892","filename":"file1"},{"photo_id":"1325756869","filename":"file0"},{"photo_id":"1325756979","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325756869":["hashtag1","hashtag2"]},{"1325756979":["hashtag1","hashtag2"]},{"1325756892":["hashtag1","hashtag2"]},{"1325756946":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325756869, 1325756979, 1325756892, 1325756946)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.857584953308105 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 11:26:21.957590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/11/25/image_03012025_11_25_02_881542_0003.jpg', '/home/pi/Desktop/images/03012025/11/26/image_03012025_11_26_03_010223_0000.jpg', '/home/pi/Desktop/images/03012025/11/26/image_03012025_11_26_03_010223_0001.jpg', '/home/pi/Desktop/images/03012025/11/26/image_03012025_11_26_03_010223_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/11/25/image_03012025_11_25_02_881542_0003.jpg
/home/pi/Desktop/images/03012025/11/26/image_03012025_11_26_03_010223_0000.jpg
/home/pi/Desktop/images/03012025/11/26/image_03012025_11_26_03_010223_0001.jpg
/home/pi/Desktop/images/03012025/11/26/image_03012025_11_26_03_010223_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325757034","1325757031","1325757042","1325757038"],"photo_ids_order":["1325757031","1325757034","1325757038","1325757042"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/33aa9ed2aa7e0a10173a5736b1265fbc.jpg","text":"TemporaryFile(/tmp/multipartBody3400593013902567908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735900052171,"filename":"image_03012025_11_26_03_010223_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/045fb7f6d741742d2245e93d6631df62.jpg","text":"TemporaryFile(/tmp/multipartBody7741405301347606704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735900052171,"filename":"image_03012025_11_25_02_881542_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/95ca8c37d2ce89a2ec9c1d1f5afb7d06.jpg","text":"TemporaryFile(/tmp/multipartBody1419563663187167715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735900052171,"filename":"image_03012025_11_26_03_010223_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/943a4fcdbd4a7aac62effca3d0e6d670.jpg","text":"TemporaryFile(/tmp/multipartBody2464907516524704399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735900052171,"filename":"image_03012025_11_26_03_010223_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325757038","file1":"1325757034","file0":"1325757031","file3":"1325757042"},"map_files_photo_id_array":[{"photo_id":"1325757038","filename":"file2"},{"photo_id":"1325757034","filename":"file1"},{"photo_id":"1325757031","filename":"file0"},{"photo_id":"1325757042","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325757034":["hashtag1","hashtag2"]},{"1325757031":["hashtag1","hashtag2"]},{"1325757042":["hashtag1","hashtag2"]},{"1325757038":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325757034, 1325757031, 1325757042, 1325757038)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.23838138580322 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 11:27:02.738327
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 11:27:22.069738
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/11/26/image_03012025_11_26_03_010223_0003.jpg', '/home/pi/Desktop/images/03012025/11/27/image_03012025_11_27_02_215814_0000.jpg', '/home/pi/Desktop/images/03012025/11/27/image_03012025_11_27_02_215814_0001.jpg', '/home/pi/Desktop/images/03012025/11/27/image_03012025_11_27_02_215814_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/11/26/image_03012025_11_26_03_010223_0003.jpg
/home/pi/Desktop/images/03012025/11/27/image_03012025_11_27_02_215814_0000.jpg
/home/pi/Desktop/images/03012025/11/27/image_03012025_11_27_02_215814_0001.jpg
/home/pi/Desktop/images/03012025/11/27/image_03012025_11_27_02_215814_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325757768","1325757639","1325757053","1325757265"],"photo_ids_order":["1325757053","1325757265","1325757639","1325757768"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/791244ea421a0acf084b31277f3b03ac.jpg","text":"TemporaryFile(/tmp/multipartBody559001923666976773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735900112269,"filename":"image_03012025_11_27_02_215814_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b05b945e2e9d07944de0cef576040b20.jpg","text":"TemporaryFile(/tmp/multipartBody3988576000718005053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735900112269,"filename":"image_03012025_11_27_02_215814_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0b3414d5afabf251fbca6bc75f1c8511.jpg","text":"TemporaryFile(/tmp/multipartBody481395411636304494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735900112269,"filename":"image_03012025_11_26_03_010223_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/31b7a4cb5bbdcddfd3227de1756da49b.jpg","text":"TemporaryFile(/tmp/multipartBody4957001785642099440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735900112269,"filename":"image_03012025_11_27_02_215814_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325757639","file1":"1325757265","file0":"1325757053","file3":"1325757768"},"map_files_photo_id_array":[{"photo_id":"1325757639","filename":"file2"},{"photo_id":"1325757265","filename":"file1"},{"photo_id":"1325757053","filename":"file0"},{"photo_id":"1325757768","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325757768":["hashtag1","hashtag2"]},{"1325757639":["hashtag1","hashtag2"]},{"1325757053":["hashtag1","hashtag2"]},{"1325757265":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325757768, 1325757639, 1325757053, 1325757265)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.79337549209595 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 11:28:02.565704
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 11:28:22.267983
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/11/27/image_03012025_11_27_02_215814_0003.jpg', '/home/pi/Desktop/images/03012025/11/28/image_03012025_11_28_02_417558_0000.jpg', '/home/pi/Desktop/images/03012025/11/28/image_03012025_11_28_02_417558_0001.jpg', '/home/pi/Desktop/images/03012025/11/28/image_03012025_11_28_02_417558_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/11/27/image_03012025_11_27_02_215814_0003.jpg
/home/pi/Desktop/images/03012025/11/28/image_03012025_11_28_02_417558_0000.jpg
/home/pi/Desktop/images/03012025/11/28/image_03012025_11_28_02_417558_0001.jpg
/home/pi/Desktop/images/03012025/11/28/image_03012025_11_28_02_417558_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325758049","1325758060","1325758054","1325758057"],"photo_ids_order":["1325758049","1325758054","1325758057","1325758060"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ea4f1c28c6f531a6b8c3d69180a21d3e.jpg","text":"TemporaryFile(/tmp/multipartBody1900650773458677701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735900172578,"filename":"image_03012025_11_27_02_215814_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0867d815759dcb784121ffdc58a11bfd.jpg","text":"TemporaryFile(/tmp/multipartBody5128537498703909896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735900172578,"filename":"image_03012025_11_28_02_417558_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9bfc808a39615e04e4eb3bebff60c20d.jpg","text":"TemporaryFile(/tmp/multipartBody2449705931801583232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735900172578,"filename":"image_03012025_11_28_02_417558_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/35296f0a3cb71490fc239606a7b31be5.jpg","text":"TemporaryFile(/tmp/multipartBody1260926882577568258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735900172578,"filename":"image_03012025_11_28_02_417558_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325758057","file1":"1325758054","file0":"1325758049","file3":"1325758060"},"map_files_photo_id_array":[{"photo_id":"1325758057","filename":"file2"},{"photo_id":"1325758054","filename":"file1"},{"photo_id":"1325758049","filename":"file0"},{"photo_id":"1325758060","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325758049":["hashtag1","hashtag2"]},{"1325758060":["hashtag1","hashtag2"]},{"1325758054":["hashtag1","hashtag2"]},{"1325758057":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325758049, 1325758060, 1325758054, 1325758057)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.96267342567444 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 11:29:03.033186
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 11:29:22.392464
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/11/28/image_03012025_11_28_02_417558_0003.jpg', '/home/pi/Desktop/images/03012025/11/29/image_03012025_11_29_02_535374_0000.jpg', '/home/pi/Desktop/images/03012025/11/29/image_03012025_11_29_02_535374_0001.jpg', '/home/pi/Desktop/images/03012025/11/29/image_03012025_11_29_02_535374_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/11/28/image_03012025_11_28_02_417558_0003.jpg
/home/pi/Desktop/images/03012025/11/29/image_03012025_11_29_02_535374_0000.jpg
/home/pi/Desktop/images/03012025/11/29/image_03012025_11_29_02_535374_0001.jpg
/home/pi/Desktop/images/03012025/11/29/image_03012025_11_29_02_535374_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325758566","1325758551","1325758430","1325758558"],"photo_ids_order":["1325758430","1325758551","1325758558","1325758566"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d4187045e566053e2bf3a2931b0f7959.jpg","text":"TemporaryFile(/tmp/multipartBody7853935090428255166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735900232689,"filename":"image_03012025_11_29_02_535374_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c3f3da2f67178bd5e5f7a2f33ed61b2c.jpg","text":"TemporaryFile(/tmp/multipartBody3766745210327604829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735900232689,"filename":"image_03012025_11_29_02_535374_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/063b0d5f44d42c9a7d716846bf41ccea.jpg","text":"TemporaryFile(/tmp/multipartBody1203917027298354985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735900232689,"filename":"image_03012025_11_28_02_417558_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3a23d25cf09eb1d021ca05659c2d1946.jpg","text":"TemporaryFile(/tmp/multipartBody3131125347979082078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735900232689,"filename":"image_03012025_11_29_02_535374_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325758558","file1":"1325758551","file0":"1325758430","file3":"1325758566"},"map_files_photo_id_array":[{"photo_id":"1325758558","filename":"file2"},{"photo_id":"1325758551","filename":"file1"},{"photo_id":"1325758430","filename":"file0"},{"photo_id":"1325758566","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325758566":["hashtag1","hashtag2"]},{"1325758551":["hashtag1","hashtag2"]},{"1325758430":["hashtag1","hashtag2"]},{"1325758558":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325758566, 1325758551, 1325758430, 1325758558)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.37058877944946 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 11:30:02.970089
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 11:30:22.628384
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/11/29/image_03012025_11_29_02_535374_0003.jpg', '/home/pi/Desktop/images/03012025/11/30/image_03012025_11_30_02_678022_0000.jpg', '/home/pi/Desktop/images/03012025/11/30/image_03012025_11_30_02_678022_0001.jpg', '/home/pi/Desktop/images/03012025/11/30/image_03012025_11_30_02_678022_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/11/29/image_03012025_11_29_02_535374_0003.jpg
/home/pi/Desktop/images/03012025/11/30/image_03012025_11_30_02_678022_0000.jpg
/home/pi/Desktop/images/03012025/11/30/image_03012025_11_30_02_678022_0001.jpg
/home/pi/Desktop/images/03012025/11/30/image_03012025_11_30_02_678022_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325759443","1325759404","1325759361","1325759463"],"photo_ids_order":["1325759361","1325759404","1325759443","1325759463"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/aa70e6ec6d0459defe0ec9e269da7f10.jpg","text":"TemporaryFile(/tmp/multipartBody392571765343101496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735900293097,"filename":"image_03012025_11_30_02_678022_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5393709ceb9d30865ee48b12cd9dcaf7.jpg","text":"TemporaryFile(/tmp/multipartBody2568767275879733362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735900293097,"filename":"image_03012025_11_30_02_678022_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/58c5b567a578bf7c84e6800f888cd231.jpg","text":"TemporaryFile(/tmp/multipartBody6691658381281702279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735900293097,"filename":"image_03012025_11_29_02_535374_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4323cf08d43fd709ac67e0b403cedce8.jpg","text":"TemporaryFile(/tmp/multipartBody7203577028022852206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735900293097,"filename":"image_03012025_11_30_02_678022_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325759443","file1":"1325759404","file0":"1325759361","file3":"1325759463"},"map_files_photo_id_array":[{"photo_id":"1325759443","filename":"file2"},{"photo_id":"1325759404","filename":"file1"},{"photo_id":"1325759361","filename":"file0"},{"photo_id":"1325759463","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325759443":["hashtag1","hashtag2"]},{"1325759404":["hashtag1","hashtag2"]},{"1325759361":["hashtag1","hashtag2"]},{"1325759463":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325759443, 1325759404, 1325759361, 1325759463)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.624316453933716 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 11:31:03.144013
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 11:31:22.714219
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/11/30/image_03012025_11_30_02_678022_0003.jpg', '/home/pi/Desktop/images/03012025/11/31/image_03012025_11_31_02_879303_0000.jpg', '/home/pi/Desktop/images/03012025/11/31/image_03012025_11_31_02_879303_0001.jpg', '/home/pi/Desktop/images/03012025/11/31/image_03012025_11_31_02_879303_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/11/30/image_03012025_11_30_02_678022_0003.jpg
/home/pi/Desktop/images/03012025/11/31/image_03012025_11_31_02_879303_0000.jpg
/home/pi/Desktop/images/03012025/11/31/image_03012025_11_31_02_879303_0001.jpg
/home/pi/Desktop/images/03012025/11/31/image_03012025_11_31_02_879303_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325760112","1325760116","1325760010","1325759853"],"photo_ids_order":["1325759853","1325760010","1325760112","1325760116"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6d3d7b012a13db50770fd2b4de853f08.jpg","text":"TemporaryFile(/tmp/multipartBody3712303609428245664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735900352899,"filename":"image_03012025_11_31_02_879303_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a91bc13f57825d4d294891cecf3d7739.jpg","text":"TemporaryFile(/tmp/multipartBody4853029588031030993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735900352899,"filename":"image_03012025_11_31_02_879303_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2863cf9cc40f56ea85bfa8ed8a8c013d.jpg","text":"TemporaryFile(/tmp/multipartBody8340734107711515493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735900352899,"filename":"image_03012025_11_31_02_879303_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e5cd08c36d270300d8a3c1e6588661a2.jpg","text":"TemporaryFile(/tmp/multipartBody2676917478612905116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735900352899,"filename":"image_03012025_11_30_02_678022_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325760112","file1":"1325760010","file0":"1325759853","file3":"1325760116"},"map_files_photo_id_array":[{"photo_id":"1325760112","filename":"file2"},{"photo_id":"1325760010","filename":"file1"},{"photo_id":"1325759853","filename":"file0"},{"photo_id":"1325760116","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325760112":["hashtag1","hashtag2"]},{"1325760116":["hashtag1","hashtag2"]},{"1325760010":["hashtag1","hashtag2"]},{"1325759853":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325760112, 1325760116, 1325760010, 1325759853)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.850908041000366 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 11:32:21.880220
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/11/31/image_03012025_11_31_02_879303_0003.jpg', '/home/pi/Desktop/images/03012025/11/32/image_03012025_11_32_03_010319_0000.jpg', '/home/pi/Desktop/images/03012025/11/32/image_03012025_11_32_03_010319_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/11/31/image_03012025_11_31_02_879303_0003.jpg
/home/pi/Desktop/images/03012025/11/32/image_03012025_11_32_03_010319_0000.jpg
/home/pi/Desktop/images/03012025/11/32/image_03012025_11_32_03_010319_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325760606","1325760609","1325760613"],"photo_ids_order":["1325760606","1325760609","1325760613"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4d7a271d591f9c77399e682862ecbb72.jpg","text":"TemporaryFile(/tmp/multipartBody5351359355076868850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735900409704,"filename":"image_03012025_11_31_02_879303_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/32cec4a71f999a609e88d5007b1cc5af.jpg","text":"TemporaryFile(/tmp/multipartBody119453485572373299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735900409704,"filename":"image_03012025_11_32_03_010319_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8b1775fe270db3c80cd285ea3fa3bfa3.jpg","text":"TemporaryFile(/tmp/multipartBody194821834350044814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735900409704,"filename":"image_03012025_11_32_03_010319_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325760613","file1":"1325760609","file0":"1325760606"},"map_files_photo_id_array":[{"photo_id":"1325760613","filename":"file2"},{"photo_id":"1325760609","filename":"file1"},{"photo_id":"1325760606","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325760606":["hashtag1","hashtag2"]},{"1325760609":["hashtag1","hashtag2"]},{"1325760613":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325760606, 1325760609, 1325760613)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.29366946220398 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 11:33:02.791288
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 11:33:22.129035
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/11/32/image_03012025_11_32_03_010319_0003.jpg', '/home/pi/Desktop/images/03012025/11/33/image_03012025_11_33_02_274587_0000.jpg', '/home/pi/Desktop/images/03012025/11/33/image_03012025_11_33_02_274587_0001.jpg', '/home/pi/Desktop/images/03012025/11/33/image_03012025_11_33_02_274587_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/11/32/image_03012025_11_32_03_010319_0003.jpg
/home/pi/Desktop/images/03012025/11/33/image_03012025_11_33_02_274587_0000.jpg
/home/pi/Desktop/images/03012025/11/33/image_03012025_11_33_02_274587_0001.jpg
/home/pi/Desktop/images/03012025/11/33/image_03012025_11_33_02_274587_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325760774","1325760680","1325760685","1325760688"],"photo_ids_order":["1325760680","1325760685","1325760688","1325760774"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/82e1ff579891ae08dd7280907bcc4176.jpg","text":"TemporaryFile(/tmp/multipartBody8332818449549852942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735900472464,"filename":"image_03012025_11_33_02_274587_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/624271039d4d8c4a2fdc86ddd76ca958.jpg","text":"TemporaryFile(/tmp/multipartBody6374151602565068815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735900472464,"filename":"image_03012025_11_32_03_010319_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b6159e8a77951b60cfb0a956d66e3c69.jpg","text":"TemporaryFile(/tmp/multipartBody2151967076001072677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735900472464,"filename":"image_03012025_11_33_02_274587_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4c151f2bb02a16cc75ca19c84a46481d.jpg","text":"TemporaryFile(/tmp/multipartBody3543798856275277906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735900472464,"filename":"image_03012025_11_33_02_274587_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325760688","file1":"1325760685","file0":"1325760680","file3":"1325760774"},"map_files_photo_id_array":[{"photo_id":"1325760688","filename":"file2"},{"photo_id":"1325760685","filename":"file1"},{"photo_id":"1325760680","filename":"file0"},{"photo_id":"1325760774","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325760774":["hashtag1","hashtag2"]},{"1325760680":["hashtag1","hashtag2"]},{"1325760685":["hashtag1","hashtag2"]},{"1325760688":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325760774, 1325760680, 1325760685, 1325760688)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.754658699035645 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 11:34:22.424682
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/11/33/image_03012025_11_33_02_274587_0003.jpg', '/home/pi/Desktop/images/03012025/11/34/image_03012025_11_34_02_394010_0000.jpg', '/home/pi/Desktop/images/03012025/11/34/image_03012025_11_34_02_394010_0001.jpg', '/home/pi/Desktop/images/03012025/11/34/image_03012025_11_34_02_394010_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/11/33/image_03012025_11_33_02_274587_0003.jpg
/home/pi/Desktop/images/03012025/11/34/image_03012025_11_34_02_394010_0000.jpg
/home/pi/Desktop/images/03012025/11/34/image_03012025_11_34_02_394010_0001.jpg
/home/pi/Desktop/images/03012025/11/34/image_03012025_11_34_02_394010_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325761008","1325760968","1325760964","1325760973"],"photo_ids_order":["1325760964","1325760968","1325760973","1325761008"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5e0a7438c8fa8bc79b0dcbc5ec8fa3aa.jpg","text":"TemporaryFile(/tmp/multipartBody2084030073328461313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735900532809,"filename":"image_03012025_11_34_02_394010_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c7b0bb9385f247fa09a906cb5b927fcb.jpg","text":"TemporaryFile(/tmp/multipartBody5725877085863960790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735900532809,"filename":"image_03012025_11_34_02_394010_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3ace78d45900bfc110ebc0f381dfd4b3.jpg","text":"TemporaryFile(/tmp/multipartBody5612755283482483214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735900532809,"filename":"image_03012025_11_33_02_274587_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/91756ba581bd5e50989e23810c387b99.jpg","text":"TemporaryFile(/tmp/multipartBody1769462078522757929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735900532809,"filename":"image_03012025_11_34_02_394010_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325760973","file1":"1325760968","file0":"1325760964","file3":"1325761008"},"map_files_photo_id_array":[{"photo_id":"1325760973","filename":"file2"},{"photo_id":"1325760968","filename":"file1"},{"photo_id":"1325760964","filename":"file0"},{"photo_id":"1325761008","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325761008":["hashtag1","hashtag2"]},{"1325760968":["hashtag1","hashtag2"]},{"1325760964":["hashtag1","hashtag2"]},{"1325760973":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325761008, 1325760968, 1325760964, 1325760973)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.30088686943054 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 11:35:02.881412
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 11:35:22.440794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/11/34/image_03012025_11_34_02_394010_0003.jpg', '/home/pi/Desktop/images/03012025/11/35/image_03012025_11_35_02_578827_0000.jpg', '/home/pi/Desktop/images/03012025/11/35/image_03012025_11_35_02_578827_0001.jpg', '/home/pi/Desktop/images/03012025/11/35/image_03012025_11_35_02_578827_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/11/34/image_03012025_11_34_02_394010_0003.jpg
/home/pi/Desktop/images/03012025/11/35/image_03012025_11_35_02_578827_0000.jpg
/home/pi/Desktop/images/03012025/11/35/image_03012025_11_35_02_578827_0001.jpg
/home/pi/Desktop/images/03012025/11/35/image_03012025_11_35_02_578827_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325761434","1325761442","1325761400","1325761438"],"photo_ids_order":["1325761400","1325761434","1325761438","1325761442"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/fbf4f53546afa2477d5ca12e8b15d04b.jpg","text":"TemporaryFile(/tmp/multipartBody6074336884684240528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735900592657,"filename":"image_03012025_11_35_02_578827_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/dd99737a088da7c75261a9045fb87ca2.jpg","text":"TemporaryFile(/tmp/multipartBody5648391838743091135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735900592657,"filename":"image_03012025_11_35_02_578827_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/db3272b22c7610eacdbdda14fa954c5b.jpg","text":"TemporaryFile(/tmp/multipartBody3671891697021261594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735900592657,"filename":"image_03012025_11_34_02_394010_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f847933eab555cd5e98fb426f60ab696.jpg","text":"TemporaryFile(/tmp/multipartBody2854531808609267163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735900592657,"filename":"image_03012025_11_35_02_578827_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325761438","file1":"1325761434","file0":"1325761400","file3":"1325761442"},"map_files_photo_id_array":[{"photo_id":"1325761438","filename":"file2"},{"photo_id":"1325761434","filename":"file1"},{"photo_id":"1325761400","filename":"file0"},{"photo_id":"1325761442","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325761434":["hashtag1","hashtag2"]},{"1325761442":["hashtag1","hashtag2"]},{"1325761400":["hashtag1","hashtag2"]},{"1325761438":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325761434, 1325761442, 1325761400, 1325761438)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.110878229141235 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 11:36:03.030036
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 11:36:22.584504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/11/35/image_03012025_11_35_02_578827_0003.jpg', '/home/pi/Desktop/images/03012025/11/36/image_03012025_11_36_02_769310_0000.jpg', '/home/pi/Desktop/images/03012025/11/36/image_03012025_11_36_02_769310_0001.jpg', '/home/pi/Desktop/images/03012025/11/36/image_03012025_11_36_02_769310_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/11/35/image_03012025_11_35_02_578827_0003.jpg
/home/pi/Desktop/images/03012025/11/36/image_03012025_11_36_02_769310_0000.jpg
/home/pi/Desktop/images/03012025/11/36/image_03012025_11_36_02_769310_0001.jpg
/home/pi/Desktop/images/03012025/11/36/image_03012025_11_36_02_769310_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325761851","1325761847","1325761843","1325761837"],"photo_ids_order":["1325761837","1325761843","1325761847","1325761851"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/69f128656e82dde9b380046426d187c9.jpg","text":"TemporaryFile(/tmp/multipartBody3952817717796867104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735900652962,"filename":"image_03012025_11_36_02_769310_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/387bbbd410c2123fd4e7ab6da4f4d082.jpg","text":"TemporaryFile(/tmp/multipartBody5026947049079596357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735900652962,"filename":"image_03012025_11_36_02_769310_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ffa6f3079a814042cef89f5b03dfe61d.jpg","text":"TemporaryFile(/tmp/multipartBody5898657819150890058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735900652962,"filename":"image_03012025_11_36_02_769310_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1c9e25546b7e111b30a321861dfef1ff.jpg","text":"TemporaryFile(/tmp/multipartBody2499786882323390917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735900652962,"filename":"image_03012025_11_35_02_578827_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325761847","file1":"1325761843","file0":"1325761837","file3":"1325761851"},"map_files_photo_id_array":[{"photo_id":"1325761847","filename":"file2"},{"photo_id":"1325761843","filename":"file1"},{"photo_id":"1325761837","filename":"file0"},{"photo_id":"1325761851","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325761851":["hashtag1","hashtag2"]},{"1325761847":["hashtag1","hashtag2"]},{"1325761843":["hashtag1","hashtag2"]},{"1325761837":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325761851, 1325761847, 1325761843, 1325761837)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.775452613830566 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-03 11:37:21.889222
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/11/36/image_03012025_11_36_02_769310_0003.jpg', '/home/pi/Desktop/images/03012025/11/37/image_03012025_11_37_02_953262_0000.jpg', '/home/pi/Desktop/images/03012025/11/37/image_03012025_11_37_02_953262_0001.jpg', '/home/pi/Desktop/images/03012025/11/37/image_03012025_11_37_02_953262_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/11/36/image_03012025_11_36_02_769310_0003.jpg
/home/pi/Desktop/images/03012025/11/37/image_03012025_11_37_02_953262_0000.jpg
/home/pi/Desktop/images/03012025/11/37/image_03012025_11_37_02_953262_0001.jpg
/home/pi/Desktop/images/03012025/11/37/image_03012025_11_37_02_953262_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325762211","1325762208","1325762150","1325762147"],"photo_ids_order":["1325762147","1325762150","1325762208","1325762211"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/264485a73325b4bd7e881fa5c978d95b.jpg","text":"TemporaryFile(/tmp/multipartBody7988001115926117342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735900712220,"filename":"image_03012025_11_37_02_953262_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9433721d6feaba281da39e34519bb186.jpg","text":"TemporaryFile(/tmp/multipartBody673133404829649204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735900712220,"filename":"image_03012025_11_37_02_953262_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b4b9adc7881592631387d507e90372fc.jpg","text":"TemporaryFile(/tmp/multipartBody5341932071904215735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735900712220,"filename":"image_03012025_11_37_02_953262_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/88c25f321e4ad5c7a4ffa55baa884c21.jpg","text":"TemporaryFile(/tmp/multipartBody5667135703290418423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735900712220,"filename":"image_03012025_11_36_02_769310_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325762208","file1":"1325762150","file0":"1325762147","file3":"1325762211"},"map_files_photo_id_array":[{"photo_id":"1325762208","filename":"file2"},{"photo_id":"1325762150","filename":"file1"},{"photo_id":"1325762147","filename":"file0"},{"photo_id":"1325762211","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325762211":["hashtag1","hashtag2"]},{"1325762208":["hashtag1","hashtag2"]},{"1325762150":["hashtag1","hashtag2"]},{"1325762147":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325762211, 1325762208, 1325762150, 1325762147)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.856815814971924 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 11:38:02.466864
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 11:38:22.027206
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/11/37/image_03012025_11_37_02_953262_0003.jpg', '/home/pi/Desktop/images/03012025/11/38/image_03012025_11_38_02_209201_0000.jpg', '/home/pi/Desktop/images/03012025/11/38/image_03012025_11_38_02_209201_0001.jpg', '/home/pi/Desktop/images/03012025/11/38/image_03012025_11_38_02_209201_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/11/37/image_03012025_11_37_02_953262_0003.jpg
/home/pi/Desktop/images/03012025/11/38/image_03012025_11_38_02_209201_0000.jpg
/home/pi/Desktop/images/03012025/11/38/image_03012025_11_38_02_209201_0001.jpg
/home/pi/Desktop/images/03012025/11/38/image_03012025_11_38_02_209201_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325762570","1325762567","1325762575","1325762572"],"photo_ids_order":["1325762567","1325762570","1325762572","1325762575"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d1c3c0834834d2d2d1a822704c967412.jpg","text":"TemporaryFile(/tmp/multipartBody3439838257953075066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735900772347,"filename":"image_03012025_11_38_02_209201_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4fed6051940ea03ebf91f347cfbd944b.jpg","text":"TemporaryFile(/tmp/multipartBody3002190575231268940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735900772347,"filename":"image_03012025_11_37_02_953262_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ac1e3f5c04abecfb932a6c0f5f7343de.jpg","text":"TemporaryFile(/tmp/multipartBody3789778980407235390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735900772347,"filename":"image_03012025_11_38_02_209201_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9f793d2e8d7ea18b2971072fe5feee23.jpg","text":"TemporaryFile(/tmp/multipartBody8765717308618828642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735900772347,"filename":"image_03012025_11_38_02_209201_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325762572","file1":"1325762570","file0":"1325762567","file3":"1325762575"},"map_files_photo_id_array":[{"photo_id":"1325762572","filename":"file2"},{"photo_id":"1325762570","filename":"file1"},{"photo_id":"1325762567","filename":"file0"},{"photo_id":"1325762575","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325762570":["hashtag1","hashtag2"]},{"1325762567":["hashtag1","hashtag2"]},{"1325762575":["hashtag1","hashtag2"]},{"1325762572":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325762570, 1325762567, 1325762575, 1325762572)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.46225595474243 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 11:39:02.933756
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 11:39:22.182918
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/11/38/image_03012025_11_38_02_209201_0003.jpg', '/home/pi/Desktop/images/03012025/11/39/image_03012025_11_39_02_354884_0000.jpg', '/home/pi/Desktop/images/03012025/11/39/image_03012025_11_39_02_354884_0001.jpg', '/home/pi/Desktop/images/03012025/11/39/image_03012025_11_39_02_354884_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/11/38/image_03012025_11_38_02_209201_0003.jpg
/home/pi/Desktop/images/03012025/11/39/image_03012025_11_39_02_354884_0000.jpg
/home/pi/Desktop/images/03012025/11/39/image_03012025_11_39_02_354884_0001.jpg
/home/pi/Desktop/images/03012025/11/39/image_03012025_11_39_02_354884_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325762603","1325762918","1325762920","1325762916"],"photo_ids_order":["1325762603","1325762916","1325762918","1325762920"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2b2e37d645d73c0d8043eacb20a4a053.jpg","text":"TemporaryFile(/tmp/multipartBody2524800161614991783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735900832520,"filename":"image_03012025_11_38_02_209201_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c16148fa83d607c1b56b58f6f9e2328a.jpg","text":"TemporaryFile(/tmp/multipartBody5376506828760996585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735900832520,"filename":"image_03012025_11_39_02_354884_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/883542e82f2e0994c162b70f7b39aab3.jpg","text":"TemporaryFile(/tmp/multipartBody1421173133391355851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735900832520,"filename":"image_03012025_11_39_02_354884_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2b20e21cf9e088ed98a0f7efe530b14d.jpg","text":"TemporaryFile(/tmp/multipartBody6352589987657443606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735900832520,"filename":"image_03012025_11_39_02_354884_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325762918","file1":"1325762916","file0":"1325762603","file3":"1325762920"},"map_files_photo_id_array":[{"photo_id":"1325762918","filename":"file2"},{"photo_id":"1325762916","filename":"file1"},{"photo_id":"1325762603","filename":"file0"},{"photo_id":"1325762920","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325762603":["hashtag1","hashtag2"]},{"1325762918":["hashtag1","hashtag2"]},{"1325762920":["hashtag1","hashtag2"]},{"1325762916":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325762603, 1325762918, 1325762920, 1325762916)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.31747055053711 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 11:40:02.919211
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 11:40:22.381850
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/11/39/image_03012025_11_39_02_354884_0003.jpg', '/home/pi/Desktop/images/03012025/11/40/image_03012025_11_40_02_676436_0000.jpg', '/home/pi/Desktop/images/03012025/11/40/image_03012025_11_40_02_676436_0001.jpg', '/home/pi/Desktop/images/03012025/11/40/image_03012025_11_40_02_676436_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/11/39/image_03012025_11_39_02_354884_0003.jpg
/home/pi/Desktop/images/03012025/11/40/image_03012025_11_40_02_676436_0000.jpg
/home/pi/Desktop/images/03012025/11/40/image_03012025_11_40_02_676436_0001.jpg
/home/pi/Desktop/images/03012025/11/40/image_03012025_11_40_02_676436_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325763457","1325763445","1325763427","1325763453"],"photo_ids_order":["1325763427","1325763445","1325763453","1325763457"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f079b688a9be4de6e382ebe4dc832064.jpg","text":"TemporaryFile(/tmp/multipartBody967189329200522562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735900892483,"filename":"image_03012025_11_40_02_676436_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/916ab9983be01ffea9c5d47c07016525.jpg","text":"TemporaryFile(/tmp/multipartBody6877380914313499222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735900892483,"filename":"image_03012025_11_40_02_676436_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/399a264ea49fd626adc3a27fd651af81.jpg","text":"TemporaryFile(/tmp/multipartBody7600502198418278420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735900892483,"filename":"image_03012025_11_39_02_354884_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5eb3d21104fb98285ad4261710121fa6.jpg","text":"TemporaryFile(/tmp/multipartBody2890824659492692192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735900892483,"filename":"image_03012025_11_40_02_676436_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325763453","file1":"1325763445","file0":"1325763427","file3":"1325763457"},"map_files_photo_id_array":[{"photo_id":"1325763453","filename":"file2"},{"photo_id":"1325763445","filename":"file1"},{"photo_id":"1325763427","filename":"file0"},{"photo_id":"1325763457","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325763457":["hashtag1","hashtag2"]},{"1325763445":["hashtag1","hashtag2"]},{"1325763427":["hashtag1","hashtag2"]},{"1325763453":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325763457, 1325763445, 1325763427, 1325763453)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.906129121780396 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 11:41:03.022928
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 11:41:22.615494
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/11/40/image_03012025_11_40_02_676436_0003.jpg', '/home/pi/Desktop/images/03012025/11/41/image_03012025_11_41_02_719808_0000.jpg', '/home/pi/Desktop/images/03012025/11/41/image_03012025_11_41_02_719808_0001.jpg', '/home/pi/Desktop/images/03012025/11/41/image_03012025_11_41_02_719808_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/11/40/image_03012025_11_40_02_676436_0003.jpg
/home/pi/Desktop/images/03012025/11/41/image_03012025_11_41_02_719808_0000.jpg
/home/pi/Desktop/images/03012025/11/41/image_03012025_11_41_02_719808_0001.jpg
/home/pi/Desktop/images/03012025/11/41/image_03012025_11_41_02_719808_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325763944","1325764054","1325763985","1325763981"],"photo_ids_order":["1325763944","1325763981","1325763985","1325764054"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2ce90b04be4975b93e34be5eea1ca43a.jpg","text":"TemporaryFile(/tmp/multipartBody6324894807140251949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735900952986,"filename":"image_03012025_11_40_02_676436_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/27a13298b80ae5e20b00a19f5b194c3a.jpg","text":"TemporaryFile(/tmp/multipartBody4880282013243916970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735900952986,"filename":"image_03012025_11_41_02_719808_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2b976abd6013404b7df6cdaf80b38589.jpg","text":"TemporaryFile(/tmp/multipartBody7473603713147875659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735900952986,"filename":"image_03012025_11_41_02_719808_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2afbb25d1f897c1e06190072bfb3a63d.jpg","text":"TemporaryFile(/tmp/multipartBody8740998976488137119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735900952986,"filename":"image_03012025_11_41_02_719808_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325763985","file1":"1325763981","file0":"1325763944","file3":"1325764054"},"map_files_photo_id_array":[{"photo_id":"1325763985","filename":"file2"},{"photo_id":"1325763981","filename":"file1"},{"photo_id":"1325763944","filename":"file0"},{"photo_id":"1325764054","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325763944":["hashtag1","hashtag2"]},{"1325764054":["hashtag1","hashtag2"]},{"1325763985":["hashtag1","hashtag2"]},{"1325763981":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325763944, 1325764054, 1325763985, 1325763981)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.825084924697876 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 11:42:22.705369
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/11/41/image_03012025_11_41_02_719808_0003.jpg', '/home/pi/Desktop/images/03012025/11/42/image_03012025_11_42_02_971880_0000.jpg', '/home/pi/Desktop/images/03012025/11/42/image_03012025_11_42_02_971880_0001.jpg', '/home/pi/Desktop/images/03012025/11/42/image_03012025_11_42_02_971880_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/11/41/image_03012025_11_41_02_719808_0003.jpg
/home/pi/Desktop/images/03012025/11/42/image_03012025_11_42_02_971880_0000.jpg
/home/pi/Desktop/images/03012025/11/42/image_03012025_11_42_02_971880_0001.jpg
/home/pi/Desktop/images/03012025/11/42/image_03012025_11_42_02_971880_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325764278","1325764446","1325764521","1325764526"],"photo_ids_order":["1325764278","1325764446","1325764521","1325764526"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d1092d1a5d770c37f15140df0dc5b120.jpg","text":"TemporaryFile(/tmp/multipartBody228337516691472567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735901012908,"filename":"image_03012025_11_41_02_719808_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7a96c310db66379aeafb3deeee4922ac.jpg","text":"TemporaryFile(/tmp/multipartBody6946974268186480869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735901012908,"filename":"image_03012025_11_42_02_971880_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/bfc313ad58e55eaedbfbc920a5fcb00e.jpg","text":"TemporaryFile(/tmp/multipartBody8097159200632762959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735901012908,"filename":"image_03012025_11_42_02_971880_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/545a82db01f8830f0d8b732a5cad8758.jpg","text":"TemporaryFile(/tmp/multipartBody1510151553940999204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735901012908,"filename":"image_03012025_11_42_02_971880_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325764521","file1":"1325764446","file0":"1325764278","file3":"1325764526"},"map_files_photo_id_array":[{"photo_id":"1325764521","filename":"file2"},{"photo_id":"1325764446","filename":"file1"},{"photo_id":"1325764278","filename":"file0"},{"photo_id":"1325764526","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325764278":["hashtag1","hashtag2"]},{"1325764446":["hashtag1","hashtag2"]},{"1325764521":["hashtag1","hashtag2"]},{"1325764526":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325764278, 1325764446, 1325764521, 1325764526)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.44021201133728 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 11:43:02.632131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 11:43:21.965752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/11/42/image_03012025_11_42_02_971880_0003.jpg', '/home/pi/Desktop/images/03012025/11/43/image_03012025_11_43_03_170760_0000.jpg', '/home/pi/Desktop/images/03012025/11/43/image_03012025_11_43_03_170760_0001.jpg', '/home/pi/Desktop/images/03012025/11/43/image_03012025_11_43_03_170760_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/11/42/image_03012025_11_42_02_971880_0003.jpg
/home/pi/Desktop/images/03012025/11/43/image_03012025_11_43_03_170760_0000.jpg
/home/pi/Desktop/images/03012025/11/43/image_03012025_11_43_03_170760_0001.jpg
/home/pi/Desktop/images/03012025/11/43/image_03012025_11_43_03_170760_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325764621","1325764612","1325764626","1325764616"],"photo_ids_order":["1325764612","1325764616","1325764621","1325764626"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/27f88bb97ea9e67e64c666691e79d605.jpg","text":"TemporaryFile(/tmp/multipartBody2863331976669651200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735901071985,"filename":"image_03012025_11_43_03_170760_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d25e59c1022c600444eaf142c9522f37.jpg","text":"TemporaryFile(/tmp/multipartBody5322176934882401332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735901071985,"filename":"image_03012025_11_42_02_971880_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/aca42533bd82e6dcfa00df95529388a1.jpg","text":"TemporaryFile(/tmp/multipartBody6070167625606177655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735901071985,"filename":"image_03012025_11_43_03_170760_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/25849736598e4b337943fc24e2c03700.jpg","text":"TemporaryFile(/tmp/multipartBody5650404480077270411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735901071985,"filename":"image_03012025_11_43_03_170760_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325764621","file1":"1325764616","file0":"1325764612","file3":"1325764626"},"map_files_photo_id_array":[{"photo_id":"1325764621","filename":"file2"},{"photo_id":"1325764616","filename":"file1"},{"photo_id":"1325764612","filename":"file0"},{"photo_id":"1325764626","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325764621":["hashtag1","hashtag2"]},{"1325764612":["hashtag1","hashtag2"]},{"1325764626":["hashtag1","hashtag2"]},{"1325764616":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325764621, 1325764612, 1325764626, 1325764616)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.738194942474365 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 11:44:02.528782
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 11:44:22.038926
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/11/43/image_03012025_11_43_03_170760_0003.jpg', '/home/pi/Desktop/images/03012025/11/44/image_03012025_11_44_02_291721_0000.jpg', '/home/pi/Desktop/images/03012025/11/44/image_03012025_11_44_02_291721_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/11/43/image_03012025_11_43_03_170760_0003.jpg
/home/pi/Desktop/images/03012025/11/44/image_03012025_11_44_02_291721_0000.jpg
/home/pi/Desktop/images/03012025/11/44/image_03012025_11_44_02_291721_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":["1325764971","1325764980","1325764977"],"photo_ids_order":["1325764971","1325764977","1325764980"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/818982db5bcef150ceb586d90b0ac849.jpg","text":"TemporaryFile(/tmp/multipartBody5652455727777079450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735901129650,"filename":"image_03012025_11_43_03_170760_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5b6cd2dc5ac9043609a3313267c6533d.jpg","text":"TemporaryFile(/tmp/multipartBody7932621718919190749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735901129650,"filename":"image_03012025_11_44_02_291721_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/53a0a2a44abdc6111b0284b1f3d23015.jpg","text":"TemporaryFile(/tmp/multipartBody447061446492064357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735901129650,"filename":"image_03012025_11_44_02_291721_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325764980","file1":"1325764977","file0":"1325764971"},"map_files_photo_id_array":[{"photo_id":"1325764980","filename":"file2"},{"photo_id":"1325764977","filename":"file1"},{"photo_id":"1325764971","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325764971":["hashtag1","hashtag2"]},{"1325764980":["hashtag1","hashtag2"]},{"1325764977":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325764971, 1325764980, 1325764977)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.63947296142578 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 11:45:02.864566
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 11:45:22.240366
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/11/44/image_03012025_11_44_02_291721_0003.jpg', '/home/pi/Desktop/images/03012025/11/45/image_03012025_11_45_02_392103_0000.jpg', '/home/pi/Desktop/images/03012025/11/45/image_03012025_11_45_02_392103_0001.jpg', '/home/pi/Desktop/images/03012025/11/45/image_03012025_11_45_02_392103_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/11/44/image_03012025_11_44_02_291721_0003.jpg
/home/pi/Desktop/images/03012025/11/45/image_03012025_11_45_02_392103_0000.jpg
/home/pi/Desktop/images/03012025/11/45/image_03012025_11_45_02_392103_0001.jpg
/home/pi/Desktop/images/03012025/11/45/image_03012025_11_45_02_392103_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325765400","1325765429","1325765417","1325765380"],"photo_ids_order":["1325765380","1325765400","1325765417","1325765429"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/25103078bb2687879e5fa4787169180d.jpg","text":"TemporaryFile(/tmp/multipartBody4397144110173557505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735901192338,"filename":"image_03012025_11_45_02_392103_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/392616dc3ca734555ea98b41c7c81218.jpg","text":"TemporaryFile(/tmp/multipartBody4452341078205349317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735901192338,"filename":"image_03012025_11_45_02_392103_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5b7390a9435ac078cc785f9020f201d0.jpg","text":"TemporaryFile(/tmp/multipartBody249336292111341884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735901192338,"filename":"image_03012025_11_45_02_392103_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ba736e004da716dd4e44e50c40698e1a.jpg","text":"TemporaryFile(/tmp/multipartBody6573807013437267354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735901192338,"filename":"image_03012025_11_44_02_291721_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325765417","file1":"1325765400","file0":"1325765380","file3":"1325765429"},"map_files_photo_id_array":[{"photo_id":"1325765417","filename":"file2"},{"photo_id":"1325765400","filename":"file1"},{"photo_id":"1325765380","filename":"file0"},{"photo_id":"1325765429","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325765400":["hashtag1","hashtag2"]},{"1325765429":["hashtag1","hashtag2"]},{"1325765417":["hashtag1","hashtag2"]},{"1325765380":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325765400, 1325765429, 1325765417, 1325765380)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.51777219772339 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 11:46:22.469829
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/11/45/image_03012025_11_45_02_392103_0003.jpg', '/home/pi/Desktop/images/03012025/11/46/image_03012025_11_46_02_656568_0000.jpg', '/home/pi/Desktop/images/03012025/11/46/image_03012025_11_46_02_656568_0001.jpg', '/home/pi/Desktop/images/03012025/11/46/image_03012025_11_46_02_656568_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/11/45/image_03012025_11_45_02_392103_0003.jpg
/home/pi/Desktop/images/03012025/11/46/image_03012025_11_46_02_656568_0000.jpg
/home/pi/Desktop/images/03012025/11/46/image_03012025_11_46_02_656568_0001.jpg
/home/pi/Desktop/images/03012025/11/46/image_03012025_11_46_02_656568_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325765796","1325765800","1325765772","1325765792"],"photo_ids_order":["1325765772","1325765792","1325765796","1325765800"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/95db21ee1def39735349d4f2f73c3191.jpg","text":"TemporaryFile(/tmp/multipartBody4928101280369514594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735901252800,"filename":"image_03012025_11_46_02_656568_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/343faab4ed706a7ea14dd21043116102.jpg","text":"TemporaryFile(/tmp/multipartBody1272764505012935472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735901252800,"filename":"image_03012025_11_46_02_656568_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/57d12e6899e8c800447984cf2f82d5c0.jpg","text":"TemporaryFile(/tmp/multipartBody7232348364557470716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735901252800,"filename":"image_03012025_11_45_02_392103_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0c7f561c044a67a63027af8f2ea25a71.jpg","text":"TemporaryFile(/tmp/multipartBody3604333551034265651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735901252800,"filename":"image_03012025_11_46_02_656568_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325765796","file1":"1325765792","file0":"1325765772","file3":"1325765800"},"map_files_photo_id_array":[{"photo_id":"1325765796","filename":"file2"},{"photo_id":"1325765792","filename":"file1"},{"photo_id":"1325765772","filename":"file0"},{"photo_id":"1325765800","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325765796":["hashtag1","hashtag2"]},{"1325765800":["hashtag1","hashtag2"]},{"1325765772":["hashtag1","hashtag2"]},{"1325765792":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325765796, 1325765800, 1325765772, 1325765792)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.51755905151367 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 11:47:22.763552
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/11/46/image_03012025_11_46_02_656568_0003.jpg', '/home/pi/Desktop/images/03012025/11/47/image_03012025_11_47_02_780338_0000.jpg', '/home/pi/Desktop/images/03012025/11/47/image_03012025_11_47_02_780338_0001.jpg', '/home/pi/Desktop/images/03012025/11/47/image_03012025_11_47_02_780338_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/11/46/image_03012025_11_46_02_656568_0003.jpg
/home/pi/Desktop/images/03012025/11/47/image_03012025_11_47_02_780338_0000.jpg
/home/pi/Desktop/images/03012025/11/47/image_03012025_11_47_02_780338_0001.jpg
/home/pi/Desktop/images/03012025/11/47/image_03012025_11_47_02_780338_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325766372","1325766366","1325766369","1325766345"],"photo_ids_order":["1325766345","1325766366","1325766369","1325766372"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b506485dee6752381473ed2ac789ea6c.jpg","text":"TemporaryFile(/tmp/multipartBody529914867374614453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735901313044,"filename":"image_03012025_11_47_02_780338_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/57d4e0f6508ab2a74bd10352b7ad2857.jpg","text":"TemporaryFile(/tmp/multipartBody6328670896213296508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735901313044,"filename":"image_03012025_11_47_02_780338_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b67a55556bf38d8d76b4321393164f5b.jpg","text":"TemporaryFile(/tmp/multipartBody6931470237200615527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735901313044,"filename":"image_03012025_11_47_02_780338_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0df61c831dcce49ad11f3e89842257bd.jpg","text":"TemporaryFile(/tmp/multipartBody4581771307945906569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735901313044,"filename":"image_03012025_11_46_02_656568_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325766369","file1":"1325766366","file0":"1325766345","file3":"1325766372"},"map_files_photo_id_array":[{"photo_id":"1325766369","filename":"file2"},{"photo_id":"1325766366","filename":"file1"},{"photo_id":"1325766345","filename":"file0"},{"photo_id":"1325766372","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325766372":["hashtag1","hashtag2"]},{"1325766366":["hashtag1","hashtag2"]},{"1325766369":["hashtag1","hashtag2"]},{"1325766345":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325766372, 1325766366, 1325766369, 1325766345)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.25387477874756 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 11:48:21.785920
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/11/47/image_03012025_11_47_02_780338_0003.jpg', '/home/pi/Desktop/images/03012025/11/48/image_03012025_11_48_03_059812_0000.jpg', '/home/pi/Desktop/images/03012025/11/48/image_03012025_11_48_03_059812_0001.jpg', '/home/pi/Desktop/images/03012025/11/48/image_03012025_11_48_03_059812_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/11/47/image_03012025_11_47_02_780338_0003.jpg
/home/pi/Desktop/images/03012025/11/48/image_03012025_11_48_03_059812_0000.jpg
/home/pi/Desktop/images/03012025/11/48/image_03012025_11_48_03_059812_0001.jpg
/home/pi/Desktop/images/03012025/11/48/image_03012025_11_48_03_059812_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325766391","1325766388","1325766382","1325766385"],"photo_ids_order":["1325766382","1325766385","1325766388","1325766391"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2644634c3519af4fd379aefab926b0e3.jpg","text":"TemporaryFile(/tmp/multipartBody6198108398211074641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735901371952,"filename":"image_03012025_11_48_03_059812_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/aabb08f0a47d45d3adade885552c43f2.jpg","text":"TemporaryFile(/tmp/multipartBody2275292579187128920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735901371952,"filename":"image_03012025_11_48_03_059812_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e3f52b11c015cff4feb75f32b795f475.jpg","text":"TemporaryFile(/tmp/multipartBody7774262873250103235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735901371952,"filename":"image_03012025_11_47_02_780338_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/464b26b7746aa9e95bb078b9c63c89f1.jpg","text":"TemporaryFile(/tmp/multipartBody6800144515359048360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735901371952,"filename":"image_03012025_11_48_03_059812_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325766388","file1":"1325766385","file0":"1325766382","file3":"1325766391"},"map_files_photo_id_array":[{"photo_id":"1325766388","filename":"file2"},{"photo_id":"1325766385","filename":"file1"},{"photo_id":"1325766382","filename":"file0"},{"photo_id":"1325766391","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325766391":["hashtag1","hashtag2"]},{"1325766388":["hashtag1","hashtag2"]},{"1325766382":["hashtag1","hashtag2"]},{"1325766385":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325766391, 1325766388, 1325766382, 1325766385)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.55073022842407 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 11:49:22.034405
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/11/48/image_03012025_11_48_03_059812_0003.jpg', '/home/pi/Desktop/images/03012025/11/49/image_03012025_11_49_02_110820_0000.jpg', '/home/pi/Desktop/images/03012025/11/49/image_03012025_11_49_02_110820_0001.jpg', '/home/pi/Desktop/images/03012025/11/49/image_03012025_11_49_02_110820_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/11/48/image_03012025_11_48_03_059812_0003.jpg
/home/pi/Desktop/images/03012025/11/49/image_03012025_11_49_02_110820_0000.jpg
/home/pi/Desktop/images/03012025/11/49/image_03012025_11_49_02_110820_0001.jpg
/home/pi/Desktop/images/03012025/11/49/image_03012025_11_49_02_110820_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325766709","1325766714","1325766725","1325766719"],"photo_ids_order":["1325766709","1325766714","1325766719","1325766725"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/457d35437a48dc7615e2b4c8e7987cb8.jpg","text":"TemporaryFile(/tmp/multipartBody8698087471018679905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735901432169,"filename":"image_03012025_11_48_03_059812_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/160b4bcd0c00e1178971afffce5edf1a.jpg","text":"TemporaryFile(/tmp/multipartBody4440478323768868509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735901432169,"filename":"image_03012025_11_49_02_110820_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2c0da3e4f3d9a5674d0c16f6a6e47a54.jpg","text":"TemporaryFile(/tmp/multipartBody3489129578691754623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735901432169,"filename":"image_03012025_11_49_02_110820_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/60162f05e72431b3ed4bb8afab99c121.jpg","text":"TemporaryFile(/tmp/multipartBody4397741486918064040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735901432169,"filename":"image_03012025_11_49_02_110820_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325766719","file1":"1325766714","file0":"1325766709","file3":"1325766725"},"map_files_photo_id_array":[{"photo_id":"1325766719","filename":"file2"},{"photo_id":"1325766714","filename":"file1"},{"photo_id":"1325766709","filename":"file0"},{"photo_id":"1325766725","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325766709":["hashtag1","hashtag2"]},{"1325766714":["hashtag1","hashtag2"]},{"1325766725":["hashtag1","hashtag2"]},{"1325766719":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325766709, 1325766714, 1325766725, 1325766719)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.30400824546814 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 11:50:02.633677
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 11:50:22.125159
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/11/49/image_03012025_11_49_02_110820_0003.jpg', '/home/pi/Desktop/images/03012025/11/50/image_03012025_11_50_02_384399_0000.jpg', '/home/pi/Desktop/images/03012025/11/50/image_03012025_11_50_02_384399_0001.jpg', '/home/pi/Desktop/images/03012025/11/50/image_03012025_11_50_02_384399_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/11/49/image_03012025_11_49_02_110820_0003.jpg
/home/pi/Desktop/images/03012025/11/50/image_03012025_11_50_02_384399_0000.jpg
/home/pi/Desktop/images/03012025/11/50/image_03012025_11_50_02_384399_0001.jpg
/home/pi/Desktop/images/03012025/11/50/image_03012025_11_50_02_384399_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325767225","1325767054","1325767188","1325767083"],"photo_ids_order":["1325767054","1325767083","1325767188","1325767225"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d9831b58dd08c1a1319420a8d42f6cd0.jpg","text":"TemporaryFile(/tmp/multipartBody9048862486866135230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735901492289,"filename":"image_03012025_11_50_02_384399_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1fe3b3002dbea49d5e8cb14488f9238d.jpg","text":"TemporaryFile(/tmp/multipartBody4853317150463700432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735901492289,"filename":"image_03012025_11_49_02_110820_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0d99808c9215fd021c7d64ecbce055de.jpg","text":"TemporaryFile(/tmp/multipartBody5157860657298295069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735901492289,"filename":"image_03012025_11_50_02_384399_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d536452aa32d5075909a25084550db22.jpg","text":"TemporaryFile(/tmp/multipartBody7793472456123084580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735901492289,"filename":"image_03012025_11_50_02_384399_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325767188","file1":"1325767083","file0":"1325767054","file3":"1325767225"},"map_files_photo_id_array":[{"photo_id":"1325767188","filename":"file2"},{"photo_id":"1325767083","filename":"file1"},{"photo_id":"1325767054","filename":"file0"},{"photo_id":"1325767225","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325767225":["hashtag1","hashtag2"]},{"1325767054":["hashtag1","hashtag2"]},{"1325767188":["hashtag1","hashtag2"]},{"1325767083":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325767225, 1325767054, 1325767188, 1325767083)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.20912790298462 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 11:51:02.979088
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 11:51:22.388787
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/11/50/image_03012025_11_50_02_384399_0003.jpg', '/home/pi/Desktop/images/03012025/11/51/image_03012025_11_51_02_469450_0000.jpg', '/home/pi/Desktop/images/03012025/11/51/image_03012025_11_51_02_469450_0001.jpg', '/home/pi/Desktop/images/03012025/11/51/image_03012025_11_51_02_469450_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/11/50/image_03012025_11_50_02_384399_0003.jpg
/home/pi/Desktop/images/03012025/11/51/image_03012025_11_51_02_469450_0000.jpg
/home/pi/Desktop/images/03012025/11/51/image_03012025_11_51_02_469450_0001.jpg
/home/pi/Desktop/images/03012025/11/51/image_03012025_11_51_02_469450_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325767712","1325767690","1325767951","1325767705"],"photo_ids_order":["1325767690","1325767705","1325767712","1325767951"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f920da20aaff80a74482f21c76c56174.jpg","text":"TemporaryFile(/tmp/multipartBody7313084443437762297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735901552575,"filename":"image_03012025_11_51_02_469450_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ac6dd9acb3393443d0986d361d651477.jpg","text":"TemporaryFile(/tmp/multipartBody6892507338106152843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735901552575,"filename":"image_03012025_11_50_02_384399_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ca9832e17f405a7be021e12e584eac7f.jpg","text":"TemporaryFile(/tmp/multipartBody5345563863073982216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735901552575,"filename":"image_03012025_11_51_02_469450_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/49bf51c37f2ebb664fc001f5fab74c0d.jpg","text":"TemporaryFile(/tmp/multipartBody6745129919386034394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735901552575,"filename":"image_03012025_11_51_02_469450_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325767712","file1":"1325767705","file0":"1325767690","file3":"1325767951"},"map_files_photo_id_array":[{"photo_id":"1325767712","filename":"file2"},{"photo_id":"1325767705","filename":"file1"},{"photo_id":"1325767690","filename":"file0"},{"photo_id":"1325767951","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325767712":["hashtag1","hashtag2"]},{"1325767690":["hashtag1","hashtag2"]},{"1325767951":["hashtag1","hashtag2"]},{"1325767705":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325767712, 1325767690, 1325767951, 1325767705)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.10633659362793 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 11:52:22.544004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/11/51/image_03012025_11_51_02_469450_0003.jpg', '/home/pi/Desktop/images/03012025/11/52/image_03012025_11_52_02_779508_0000.jpg', '/home/pi/Desktop/images/03012025/11/52/image_03012025_11_52_02_779508_0001.jpg', '/home/pi/Desktop/images/03012025/11/52/image_03012025_11_52_02_779508_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/11/51/image_03012025_11_51_02_469450_0003.jpg
/home/pi/Desktop/images/03012025/11/52/image_03012025_11_52_02_779508_0000.jpg
/home/pi/Desktop/images/03012025/11/52/image_03012025_11_52_02_779508_0001.jpg
/home/pi/Desktop/images/03012025/11/52/image_03012025_11_52_02_779508_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325768180","1325768191","1325768175","1325768186"],"photo_ids_order":["1325768175","1325768180","1325768186","1325768191"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d8042050ca4181cf1c442ea0c4b22831.jpg","text":"TemporaryFile(/tmp/multipartBody4733516573278160454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735901612659,"filename":"image_03012025_11_52_02_779508_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/69af461f9137f29dda3a497e51150cb6.jpg","text":"TemporaryFile(/tmp/multipartBody7316571528093412194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735901612659,"filename":"image_03012025_11_52_02_779508_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f26b390436c32c6e0ce5dfbf5a43c885.jpg","text":"TemporaryFile(/tmp/multipartBody6184957334547569082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735901612659,"filename":"image_03012025_11_51_02_469450_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/be9c5784c669c329e393cde38cc6ca09.jpg","text":"TemporaryFile(/tmp/multipartBody8843554650887195117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735901612659,"filename":"image_03012025_11_52_02_779508_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325768186","file1":"1325768180","file0":"1325768175","file3":"1325768191"},"map_files_photo_id_array":[{"photo_id":"1325768186","filename":"file2"},{"photo_id":"1325768180","filename":"file1"},{"photo_id":"1325768175","filename":"file0"},{"photo_id":"1325768191","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325768180":["hashtag1","hashtag2"]},{"1325768191":["hashtag1","hashtag2"]},{"1325768175":["hashtag1","hashtag2"]},{"1325768186":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325768180, 1325768191, 1325768175, 1325768186)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.5981650352478 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 11:53:03.337569
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 11:53:22.789879
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/11/52/image_03012025_11_52_02_779508_0003.jpg', '/home/pi/Desktop/images/03012025/11/53/image_03012025_11_53_02_947985_0000.jpg', '/home/pi/Desktop/images/03012025/11/53/image_03012025_11_53_02_947985_0001.jpg', '/home/pi/Desktop/images/03012025/11/53/image_03012025_11_53_02_947985_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/11/52/image_03012025_11_52_02_779508_0003.jpg
/home/pi/Desktop/images/03012025/11/53/image_03012025_11_53_02_947985_0000.jpg
/home/pi/Desktop/images/03012025/11/53/image_03012025_11_53_02_947985_0001.jpg
/home/pi/Desktop/images/03012025/11/53/image_03012025_11_53_02_947985_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325768660","1325768698","1325768704","1325768512"],"photo_ids_order":["1325768512","1325768660","1325768698","1325768704"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6d59efc8995a79412d297bc95542cba8.jpg","text":"TemporaryFile(/tmp/multipartBody4464698992567868794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735901673130,"filename":"image_03012025_11_53_02_947985_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/22456474752e2f0d1ead360ede7968a3.jpg","text":"TemporaryFile(/tmp/multipartBody1865651536727955503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735901673130,"filename":"image_03012025_11_53_02_947985_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7966a904dfddc9a57f15fcf89cbf3197.jpg","text":"TemporaryFile(/tmp/multipartBody7781558161728403652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735901673130,"filename":"image_03012025_11_53_02_947985_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/493c1a2d768a4af682587d1bb6dd11ce.jpg","text":"TemporaryFile(/tmp/multipartBody3937969696153884608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735901673130,"filename":"image_03012025_11_52_02_779508_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325768698","file1":"1325768660","file0":"1325768512","file3":"1325768704"},"map_files_photo_id_array":[{"photo_id":"1325768698","filename":"file2"},{"photo_id":"1325768660","filename":"file1"},{"photo_id":"1325768512","filename":"file0"},{"photo_id":"1325768704","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325768660":["hashtag1","hashtag2"]},{"1325768698":["hashtag1","hashtag2"]},{"1325768704":["hashtag1","hashtag2"]},{"1325768512":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325768660, 1325768698, 1325768704, 1325768512)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.367849588394165 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 11:54:22.025964
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/11/53/image_03012025_11_53_02_947985_0003.jpg', '/home/pi/Desktop/images/03012025/11/54/image_03012025_11_54_03_074450_0000.jpg', '/home/pi/Desktop/images/03012025/11/54/image_03012025_11_54_03_074450_0001.jpg', '/home/pi/Desktop/images/03012025/11/54/image_03012025_11_54_03_074450_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/11/53/image_03012025_11_53_02_947985_0003.jpg
/home/pi/Desktop/images/03012025/11/54/image_03012025_11_54_03_074450_0000.jpg
/home/pi/Desktop/images/03012025/11/54/image_03012025_11_54_03_074450_0001.jpg
/home/pi/Desktop/images/03012025/11/54/image_03012025_11_54_03_074450_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325769203","1325769261","1325769213","1325769135"],"photo_ids_order":["1325769135","1325769203","1325769213","1325769261"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d500a4aaebff7bede4c317a9204a8e6f.jpg","text":"TemporaryFile(/tmp/multipartBody3532055636880017247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735901732124,"filename":"image_03012025_11_54_03_074450_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/83396d9f27caf64c2a04a7ccc9fb1f7b.jpg","text":"TemporaryFile(/tmp/multipartBody3557374174986293702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735901732124,"filename":"image_03012025_11_54_03_074450_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a15d595b1261513ce5ab8a78acdc6350.jpg","text":"TemporaryFile(/tmp/multipartBody7644870351414564682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735901732124,"filename":"image_03012025_11_54_03_074450_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/98d48248e9b3cf8a85f0f6d2e060c7de.jpg","text":"TemporaryFile(/tmp/multipartBody3551080688944406525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735901732124,"filename":"image_03012025_11_53_02_947985_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325769213","file1":"1325769203","file0":"1325769135","file3":"1325769261"},"map_files_photo_id_array":[{"photo_id":"1325769213","filename":"file2"},{"photo_id":"1325769203","filename":"file1"},{"photo_id":"1325769135","filename":"file0"},{"photo_id":"1325769261","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325769203":["hashtag1","hashtag2"]},{"1325769261":["hashtag1","hashtag2"]},{"1325769213":["hashtag1","hashtag2"]},{"1325769135":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325769203, 1325769261, 1325769213, 1325769135)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.07960319519043 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 11:55:02.681924
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 11:55:22.000308
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/11/54/image_03012025_11_54_03_074450_0003.jpg', '/home/pi/Desktop/images/03012025/11/55/image_03012025_11_55_02_349555_0000.jpg', '/home/pi/Desktop/images/03012025/11/55/image_03012025_11_55_02_349555_0001.jpg', '/home/pi/Desktop/images/03012025/11/55/image_03012025_11_55_02_349555_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/11/54/image_03012025_11_54_03_074450_0003.jpg
/home/pi/Desktop/images/03012025/11/55/image_03012025_11_55_02_349555_0000.jpg
/home/pi/Desktop/images/03012025/11/55/image_03012025_11_55_02_349555_0001.jpg
/home/pi/Desktop/images/03012025/11/55/image_03012025_11_55_02_349555_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325769652","1325769874","1325769900","1325769353"],"photo_ids_order":["1325769353","1325769652","1325769874","1325769900"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1f341adf6127aae3f49dbf606f1397ec.jpg","text":"TemporaryFile(/tmp/multipartBody6058493942986824289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735901792123,"filename":"image_03012025_11_55_02_349555_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2d6c38f1dda430fb5b4ddc725502282c.jpg","text":"TemporaryFile(/tmp/multipartBody6597293780792220329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735901792123,"filename":"image_03012025_11_55_02_349555_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1000a427241902b5fb1fbdc7ccb514bf.jpg","text":"TemporaryFile(/tmp/multipartBody2677891148818508856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735901792123,"filename":"image_03012025_11_55_02_349555_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c4a10db7922c0ed75b236d149901a8e8.jpg","text":"TemporaryFile(/tmp/multipartBody7934859838764775390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735901792123,"filename":"image_03012025_11_54_03_074450_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325769874","file1":"1325769652","file0":"1325769353","file3":"1325769900"},"map_files_photo_id_array":[{"photo_id":"1325769874","filename":"file2"},{"photo_id":"1325769652","filename":"file1"},{"photo_id":"1325769353","filename":"file0"},{"photo_id":"1325769900","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325769652":["hashtag1","hashtag2"]},{"1325769874":["hashtag1","hashtag2"]},{"1325769900":["hashtag1","hashtag2"]},{"1325769353":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325769652, 1325769874, 1325769900, 1325769353)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.05837917327881 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 11:56:02.578373
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 11:56:22.143906
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/11/55/image_03012025_11_55_02_349555_0003.jpg', '/home/pi/Desktop/images/03012025/11/56/image_03012025_11_56_02_429750_0000.jpg', '/home/pi/Desktop/images/03012025/11/56/image_03012025_11_56_02_429750_0001.jpg', '/home/pi/Desktop/images/03012025/11/56/image_03012025_11_56_02_429750_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/11/55/image_03012025_11_55_02_349555_0003.jpg
/home/pi/Desktop/images/03012025/11/56/image_03012025_11_56_02_429750_0000.jpg
/home/pi/Desktop/images/03012025/11/56/image_03012025_11_56_02_429750_0001.jpg
/home/pi/Desktop/images/03012025/11/56/image_03012025_11_56_02_429750_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325770558","1325770489","1325770422","1325770493"],"photo_ids_order":["1325770422","1325770489","1325770493","1325770558"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4c3027aa5dd7be15757133e6d2f2d4c3.jpg","text":"TemporaryFile(/tmp/multipartBody4703262497327229247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735901852272,"filename":"image_03012025_11_56_02_429750_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/74d741425758ca6d9852a592f5155bec.jpg","text":"TemporaryFile(/tmp/multipartBody9123030400336864504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735901852272,"filename":"image_03012025_11_56_02_429750_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1a9a04ac5e063d74ad92bea9fd79baef.jpg","text":"TemporaryFile(/tmp/multipartBody4115974508254375384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735901852272,"filename":"image_03012025_11_55_02_349555_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b2707c27e7cf45f9990edf86702347a8.jpg","text":"TemporaryFile(/tmp/multipartBody3440349863279973118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735901852272,"filename":"image_03012025_11_56_02_429750_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325770493","file1":"1325770489","file0":"1325770422","file3":"1325770558"},"map_files_photo_id_array":[{"photo_id":"1325770493","filename":"file2"},{"photo_id":"1325770489","filename":"file1"},{"photo_id":"1325770422","filename":"file0"},{"photo_id":"1325770558","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325770558":["hashtag1","hashtag2"]},{"1325770489":["hashtag1","hashtag2"]},{"1325770422":["hashtag1","hashtag2"]},{"1325770493":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325770558, 1325770489, 1325770422, 1325770493)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.051027059555054 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 11:57:22.443121
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/11/56/image_03012025_11_56_02_429750_0003.jpg', '/home/pi/Desktop/images/03012025/11/57/image_03012025_11_57_02_499736_0000.jpg', '/home/pi/Desktop/images/03012025/11/57/image_03012025_11_57_02_499736_0001.jpg', '/home/pi/Desktop/images/03012025/11/57/image_03012025_11_57_02_499736_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/11/56/image_03012025_11_56_02_429750_0003.jpg
/home/pi/Desktop/images/03012025/11/57/image_03012025_11_57_02_499736_0000.jpg
/home/pi/Desktop/images/03012025/11/57/image_03012025_11_57_02_499736_0001.jpg
/home/pi/Desktop/images/03012025/11/57/image_03012025_11_57_02_499736_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325770681","1325770711","1325770686","1325770668"],"photo_ids_order":["1325770668","1325770681","1325770686","1325770711"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/fb52941cee95991640e032f44a0136d5.jpg","text":"TemporaryFile(/tmp/multipartBody7616167156857663168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735901912611,"filename":"image_03012025_11_57_02_499736_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c1455c2764743a5becf99214eca11a82.jpg","text":"TemporaryFile(/tmp/multipartBody6528700302846467861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735901912611,"filename":"image_03012025_11_57_02_499736_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/982d145bcd256088c93f99e19cb90833.jpg","text":"TemporaryFile(/tmp/multipartBody4968583867890342863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735901912611,"filename":"image_03012025_11_57_02_499736_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d892107dd16120461330c2c2a394a95b.jpg","text":"TemporaryFile(/tmp/multipartBody5412582997471568352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735901912611,"filename":"image_03012025_11_56_02_429750_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325770686","file1":"1325770681","file0":"1325770668","file3":"1325770711"},"map_files_photo_id_array":[{"photo_id":"1325770686","filename":"file2"},{"photo_id":"1325770681","filename":"file1"},{"photo_id":"1325770668","filename":"file0"},{"photo_id":"1325770711","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325770681":["hashtag1","hashtag2"]},{"1325770711":["hashtag1","hashtag2"]},{"1325770686":["hashtag1","hashtag2"]},{"1325770668":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325770681, 1325770711, 1325770686, 1325770668)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.82906532287598 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 11:59:02.947885
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 11:59:22.646888
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/11/57/image_03012025_11_57_02_499736_0003.jpg', '/home/pi/Desktop/images/03012025/11/58/image_03012025_11_58_02_658833_0000.jpg', '/home/pi/Desktop/images/03012025/11/58/image_03012025_11_58_02_658833_0001.jpg', '/home/pi/Desktop/images/03012025/11/58/image_03012025_11_58_02_658833_0002.jpg', '/home/pi/Desktop/images/03012025/11/58/image_03012025_11_58_02_658833_0003.jpg', '/home/pi/Desktop/images/03012025/11/59/image_03012025_11_59_02_820034_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/11/57/image_03012025_11_57_02_499736_0003.jpg
/home/pi/Desktop/images/03012025/11/58/image_03012025_11_58_02_658833_0000.jpg
/home/pi/Desktop/images/03012025/11/58/image_03012025_11_58_02_658833_0001.jpg
/home/pi/Desktop/images/03012025/11/58/image_03012025_11_58_02_658833_0002.jpg
/home/pi/Desktop/images/03012025/11/58/image_03012025_11_58_02_658833_0003.jpg
/home/pi/Desktop/images/03012025/11/59/image_03012025_11_59_02_820034_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 12:01:21.361562
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/11/57/image_03012025_11_57_02_499736_0003.jpg', '/home/pi/Desktop/images/03012025/11/58/image_03012025_11_58_02_658833_0000.jpg', '/home/pi/Desktop/images/03012025/11/58/image_03012025_11_58_02_658833_0001.jpg', '/home/pi/Desktop/images/03012025/11/58/image_03012025_11_58_02_658833_0002.jpg', '/home/pi/Desktop/images/03012025/11/58/image_03012025_11_58_02_658833_0003.jpg', '/home/pi/Desktop/images/03012025/11/59/image_03012025_11_59_02_820034_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/11/57/image_03012025_11_57_02_499736_0003.jpg
/home/pi/Desktop/images/03012025/11/58/image_03012025_11_58_02_658833_0000.jpg
/home/pi/Desktop/images/03012025/11/58/image_03012025_11_58_02_658833_0001.jpg
/home/pi/Desktop/images/03012025/11/58/image_03012025_11_58_02_658833_0002.jpg
/home/pi/Desktop/images/03012025/11/58/image_03012025_11_58_02_658833_0003.jpg
/home/pi/Desktop/images/03012025/11/59/image_03012025_11_59_02_820034_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325773603","1325773605","1325773608","1325773583","1325773580","1325773568"],"photo_ids_order":["1325773568","1325773580","1325773583","1325773603","1325773605","1325773608"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6990b751231dbb33f6a0a4357e4c474c.jpg","text":"TemporaryFile(/tmp/multipartBody4720825546982639056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735902157479,"filename":"image_03012025_11_58_02_658833_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3c0cca1f525e780e8d4d1a0b07fa616f.jpg","text":"TemporaryFile(/tmp/multipartBody506602384799497624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735902157479,"filename":"image_03012025_11_58_02_658833_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3559bb834f172ff309eb89456270d9eb.jpg","text":"TemporaryFile(/tmp/multipartBody2075406311274371154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735902157479,"filename":"image_03012025_11_59_02_820034_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/428e5e4be87cc5f7c07eca8b1f577c74.jpg","text":"TemporaryFile(/tmp/multipartBody4429387083820031093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735902157479,"filename":"image_03012025_11_58_02_658833_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ccce0210494cae0c44ab6d2e351a3a86.jpg","text":"TemporaryFile(/tmp/multipartBody510475593733327496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735902157479,"filename":"image_03012025_11_58_02_658833_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/91cbfbc7d71d9cb178b3435e4f9fe2d7.jpg","text":"TemporaryFile(/tmp/multipartBody6935194472601174900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735902157479,"filename":"image_03012025_11_57_02_499736_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325773583","file1":"1325773580","file0":"1325773568","file4":"1325773605","file5":"1325773608","file3":"1325773603"},"map_files_photo_id_array":[{"photo_id":"1325773608","filename":"file5"},{"photo_id":"1325773583","filename":"file2"},{"photo_id":"1325773605","filename":"file4"},{"photo_id":"1325773580","filename":"file1"},{"photo_id":"1325773568","filename":"file0"},{"photo_id":"1325773603","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325773603":["hashtag1","hashtag2"]},{"1325773605":["hashtag1","hashtag2"]},{"1325773608":["hashtag1","hashtag2"]},{"1325773583":["hashtag1","hashtag2"]},{"1325773580":["hashtag1","hashtag2"]},{"1325773568":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325773603, 1325773605, 1325773608, 1325773583, 1325773580, 1325773568)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.28146433830261 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 12:02:22.330495
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/11/59/image_03012025_11_59_02_820034_0001.jpg', '/home/pi/Desktop/images/03012025/11/59/image_03012025_11_59_02_820034_0002.jpg', '/home/pi/Desktop/images/03012025/11/59/image_03012025_11_59_02_820034_0003.jpg', '/home/pi/Desktop/images/03012025/12/00/image_03012025_12_00_03_058984_0000.jpg', '/home/pi/Desktop/images/03012025/12/00/image_03012025_12_00_03_058984_0001.jpg', '/home/pi/Desktop/images/03012025/12/00/image_03012025_12_00_03_058984_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/11/59/image_03012025_11_59_02_820034_0001.jpg
/home/pi/Desktop/images/03012025/11/59/image_03012025_11_59_02_820034_0002.jpg
/home/pi/Desktop/images/03012025/11/59/image_03012025_11_59_02_820034_0003.jpg
/home/pi/Desktop/images/03012025/12/00/image_03012025_12_00_03_058984_0000.jpg
/home/pi/Desktop/images/03012025/12/00/image_03012025_12_00_03_058984_0001.jpg
/home/pi/Desktop/images/03012025/12/00/image_03012025_12_00_03_058984_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325774652","1325774379","1325774555","1325774456","1325774281","1325774605"],"photo_ids_order":["1325774281","1325774379","1325774456","1325774555","1325774605","1325774652"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e99a84da636b471d823f4514ac64f7ed.jpg","text":"TemporaryFile(/tmp/multipartBody6215349356639105292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735902217214,"filename":"image_03012025_12_00_03_058984_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1b7e703e957328d0db80bc5b52f0fd49.jpg","text":"TemporaryFile(/tmp/multipartBody4673611768128069896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735902217214,"filename":"image_03012025_11_59_02_820034_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/943b064987311b9246025e1ecbfd1b5e.jpg","text":"TemporaryFile(/tmp/multipartBody7267225133911623722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735902217214,"filename":"image_03012025_12_00_03_058984_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1161f5d4923c39cb5f1b299853ea32b3.jpg","text":"TemporaryFile(/tmp/multipartBody1227635815492813534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735902217214,"filename":"image_03012025_11_59_02_820034_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/428468a70f5d724efc03dc9372a35eda.jpg","text":"TemporaryFile(/tmp/multipartBody1329043518512474648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735902217214,"filename":"image_03012025_11_59_02_820034_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/96c4d6b1c4cc68eb2547633ea0401a3e.jpg","text":"TemporaryFile(/tmp/multipartBody7045676177814297011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735902217214,"filename":"image_03012025_12_00_03_058984_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325774456","file1":"1325774379","file0":"1325774281","file4":"1325774605","file5":"1325774652","file3":"1325774555"},"map_files_photo_id_array":[{"photo_id":"1325774652","filename":"file5"},{"photo_id":"1325774456","filename":"file2"},{"photo_id":"1325774605","filename":"file4"},{"photo_id":"1325774379","filename":"file1"},{"photo_id":"1325774281","filename":"file0"},{"photo_id":"1325774555","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325774652":["hashtag1","hashtag2"]},{"1325774379":["hashtag1","hashtag2"]},{"1325774555":["hashtag1","hashtag2"]},{"1325774456":["hashtag1","hashtag2"]},{"1325774281":["hashtag1","hashtag2"]},{"1325774605":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325774652, 1325774379, 1325774555, 1325774456, 1325774281, 1325774605)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.825398683547974 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-03 12:03:32.454248
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/12/00/image_03012025_12_00_03_058984_0003.jpg', '/home/pi/Desktop/images/03012025/12/02/image_03012025_12_02_19_528859_0000.jpg', '/home/pi/Desktop/images/03012025/12/02/image_03012025_12_02_19_528859_0001.jpg', '/home/pi/Desktop/images/03012025/12/02/image_03012025_12_02_19_528859_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/12/00/image_03012025_12_00_03_058984_0003.jpg
/home/pi/Desktop/images/03012025/12/02/image_03012025_12_02_19_528859_0000.jpg
/home/pi/Desktop/images/03012025/12/02/image_03012025_12_02_19_528859_0001.jpg
/home/pi/Desktop/images/03012025/12/02/image_03012025_12_02_19_528859_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325774820","1325774794","1325774854","1325774665"],"photo_ids_order":["1325774665","1325774794","1325774820","1325774854"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5d064c1574803514fc7114bbed2cb9d6.jpg","text":"TemporaryFile(/tmp/multipartBody2673282247579567602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735902282400,"filename":"image_03012025_12_02_19_528859_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/53b8f0fadb8ac98a67a32ae6be9d2148.jpg","text":"TemporaryFile(/tmp/multipartBody7591501637094388594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735902282400,"filename":"image_03012025_12_02_19_528859_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/684528d038e00923f21272b801088e42.jpg","text":"TemporaryFile(/tmp/multipartBody1488388373523206832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735902282400,"filename":"image_03012025_12_02_19_528859_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3ea1dae0ae6aa8d5d64b2da79138717b.jpg","text":"TemporaryFile(/tmp/multipartBody6311147142722363116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735902282400,"filename":"image_03012025_12_00_03_058984_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325774820","file1":"1325774794","file0":"1325774665","file3":"1325774854"},"map_files_photo_id_array":[{"photo_id":"1325774820","filename":"file2"},{"photo_id":"1325774794","filename":"file1"},{"photo_id":"1325774665","filename":"file0"},{"photo_id":"1325774854","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325774820":["hashtag1","hashtag2"]},{"1325774794":["hashtag1","hashtag2"]},{"1325774854":["hashtag1","hashtag2"]},{"1325774665":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325774820, 1325774794, 1325774854, 1325774665)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.370558977127075 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 12:04:22.713010
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/12/02/image_03012025_12_02_19_528859_0003.jpg', '/home/pi/Desktop/images/03012025/12/04/image_03012025_12_04_02_777402_0000.jpg', '/home/pi/Desktop/images/03012025/12/04/image_03012025_12_04_02_777402_0001.jpg', '/home/pi/Desktop/images/03012025/12/04/image_03012025_12_04_02_777402_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/12/02/image_03012025_12_02_19_528859_0003.jpg
/home/pi/Desktop/images/03012025/12/04/image_03012025_12_04_02_777402_0000.jpg
/home/pi/Desktop/images/03012025/12/04/image_03012025_12_04_02_777402_0001.jpg
/home/pi/Desktop/images/03012025/12/04/image_03012025_12_04_02_777402_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325774937","1325774919","1325774900","1325774908"],"photo_ids_order":["1325774900","1325774908","1325774919","1325774937"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/415ebf588ca66e93e697ff5066ceab9c.jpg","text":"TemporaryFile(/tmp/multipartBody8178160799894283077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735902332941,"filename":"image_03012025_12_04_02_777402_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3316e13bdd1fdb2a3b6ab178a67a86e1.jpg","text":"TemporaryFile(/tmp/multipartBody554496498760339985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735902332941,"filename":"image_03012025_12_04_02_777402_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/674b06c9f9929ed9d7270f63753f9e1b.jpg","text":"TemporaryFile(/tmp/multipartBody6240213059681541610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735902332941,"filename":"image_03012025_12_02_19_528859_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9e0ca4a2b16833e955f89741c7d748f6.jpg","text":"TemporaryFile(/tmp/multipartBody217562640043075094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735902332941,"filename":"image_03012025_12_04_02_777402_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325774919","file1":"1325774908","file0":"1325774900","file3":"1325774937"},"map_files_photo_id_array":[{"photo_id":"1325774919","filename":"file2"},{"photo_id":"1325774908","filename":"file1"},{"photo_id":"1325774900","filename":"file0"},{"photo_id":"1325774937","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325774937":["hashtag1","hashtag2"]},{"1325774919":["hashtag1","hashtag2"]},{"1325774900":["hashtag1","hashtag2"]},{"1325774908":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325774937, 1325774919, 1325774900, 1325774908)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.12201809883118 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 12:05:21.894461
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/12/04/image_03012025_12_04_02_777402_0003.jpg', '/home/pi/Desktop/images/03012025/12/05/image_03012025_12_05_03_002195_0000.jpg', '/home/pi/Desktop/images/03012025/12/05/image_03012025_12_05_03_002195_0001.jpg', '/home/pi/Desktop/images/03012025/12/05/image_03012025_12_05_03_002195_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/12/04/image_03012025_12_04_02_777402_0003.jpg
/home/pi/Desktop/images/03012025/12/05/image_03012025_12_05_03_002195_0000.jpg
/home/pi/Desktop/images/03012025/12/05/image_03012025_12_05_03_002195_0001.jpg
/home/pi/Desktop/images/03012025/12/05/image_03012025_12_05_03_002195_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325775207","1325775203","1325775199","1325775211"],"photo_ids_order":["1325775199","1325775203","1325775207","1325775211"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/768fbdc86e1993c622be116aedfc4355.jpg","text":"TemporaryFile(/tmp/multipartBody3631208820923582828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735902392185,"filename":"image_03012025_12_05_03_002195_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6f5eaa54f93866e2cf5db09b0be299a5.jpg","text":"TemporaryFile(/tmp/multipartBody5046675558148347189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735902392185,"filename":"image_03012025_12_05_03_002195_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e7da1e1d566e8a53a52e4ed6bf0baeb9.jpg","text":"TemporaryFile(/tmp/multipartBody8248140749029344305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735902392185,"filename":"image_03012025_12_04_02_777402_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0dd9c2282e8221cb32090e3e79bc66ba.jpg","text":"TemporaryFile(/tmp/multipartBody3478129842629498020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735902392185,"filename":"image_03012025_12_05_03_002195_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325775207","file1":"1325775203","file0":"1325775199","file3":"1325775211"},"map_files_photo_id_array":[{"photo_id":"1325775207","filename":"file2"},{"photo_id":"1325775203","filename":"file1"},{"photo_id":"1325775199","filename":"file0"},{"photo_id":"1325775211","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325775207":["hashtag1","hashtag2"]},{"1325775203":["hashtag1","hashtag2"]},{"1325775199":["hashtag1","hashtag2"]},{"1325775211":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325775207, 1325775203, 1325775199, 1325775211)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.58063769340515 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 12:06:21.980931
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/12/05/image_03012025_12_05_03_002195_0003.jpg', '/home/pi/Desktop/images/03012025/12/06/image_03012025_12_06_02_250500_0000.jpg', '/home/pi/Desktop/images/03012025/12/06/image_03012025_12_06_02_250500_0001.jpg', '/home/pi/Desktop/images/03012025/12/06/image_03012025_12_06_02_250500_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/12/05/image_03012025_12_05_03_002195_0003.jpg
/home/pi/Desktop/images/03012025/12/06/image_03012025_12_06_02_250500_0000.jpg
/home/pi/Desktop/images/03012025/12/06/image_03012025_12_06_02_250500_0001.jpg
/home/pi/Desktop/images/03012025/12/06/image_03012025_12_06_02_250500_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.972057104110718 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-03 12:06:41.934423
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/12/05/image_03012025_12_05_03_002195_0003.jpg', '/home/pi/Desktop/images/03012025/12/06/image_03012025_12_06_02_250500_0000.jpg', '/home/pi/Desktop/images/03012025/12/06/image_03012025_12_06_02_250500_0001.jpg', '/home/pi/Desktop/images/03012025/12/06/image_03012025_12_06_02_250500_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/12/05/image_03012025_12_05_03_002195_0003.jpg
/home/pi/Desktop/images/03012025/12/06/image_03012025_12_06_02_250500_0000.jpg
/home/pi/Desktop/images/03012025/12/06/image_03012025_12_06_02_250500_0001.jpg
/home/pi/Desktop/images/03012025/12/06/image_03012025_12_06_02_250500_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":["1325775491","1325775557","1325775539","1325775555"],"photo_ids_order":["1325775491","1325775539","1325775555","1325775557"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/72c662486c8d300d3cb4fa60f719d15f.jpg","text":"TemporaryFile(/tmp/multipartBody4830873409866815609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735902472355,"filename":"image_03012025_12_05_03_002195_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2f3e87c39c946ae6fc5fa1669965dbf5.jpg","text":"TemporaryFile(/tmp/multipartBody6045249908909935871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735902472355,"filename":"image_03012025_12_06_02_250500_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/aa12cb684d18adc8fece78214a15b7c8.jpg","text":"TemporaryFile(/tmp/multipartBody6699928582050317477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735902472355,"filename":"image_03012025_12_06_02_250500_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ac6577a29251b002f9bc1ba0c5868657.jpg","text":"TemporaryFile(/tmp/multipartBody7618370064031468359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735902472355,"filename":"image_03012025_12_06_02_250500_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325775555","file1":"1325775539","file0":"1325775491","file3":"1325775557"},"map_files_photo_id_array":[{"photo_id":"1325775555","filename":"file2"},{"photo_id":"1325775539","filename":"file1"},{"photo_id":"1325775491","filename":"file0"},{"photo_id":"1325775557","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325775491":["hashtag1","hashtag2"]},{"1325775557":["hashtag1","hashtag2"]},{"1325775539":["hashtag1","hashtag2"]},{"1325775555":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325775491, 1325775557, 1325775539, 1325775555)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.43569374084473 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 12:07:22.193524
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/12/06/image_03012025_12_06_02_250500_0003.jpg', '/home/pi/Desktop/images/03012025/12/07/image_03012025_12_07_02_360265_0000.jpg', '/home/pi/Desktop/images/03012025/12/07/image_03012025_12_07_02_360265_0001.jpg', '/home/pi/Desktop/images/03012025/12/07/image_03012025_12_07_02_360265_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/12/06/image_03012025_12_06_02_250500_0003.jpg
/home/pi/Desktop/images/03012025/12/07/image_03012025_12_07_02_360265_0000.jpg
/home/pi/Desktop/images/03012025/12/07/image_03012025_12_07_02_360265_0001.jpg
/home/pi/Desktop/images/03012025/12/07/image_03012025_12_07_02_360265_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325775569","1325775755","1325775743","1325775576"],"photo_ids_order":["1325775569","1325775576","1325775743","1325775755"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/bf7ead206a4d3abc97a6299b9bf1cfba.jpg","text":"TemporaryFile(/tmp/multipartBody6475168863375875696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735902512594,"filename":"image_03012025_12_06_02_250500_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4554b626c27d4562bedb3f6b904d4b6e.jpg","text":"TemporaryFile(/tmp/multipartBody3022048916845385944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735902512594,"filename":"image_03012025_12_07_02_360265_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/843bf95a7e06733fc8a2c03277c77e6a.jpg","text":"TemporaryFile(/tmp/multipartBody5191141913056845557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735902512594,"filename":"image_03012025_12_07_02_360265_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/cdee3298f915bdfcdcf5eb7bcfd2ed28.jpg","text":"TemporaryFile(/tmp/multipartBody2282756234988070595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735902512594,"filename":"image_03012025_12_07_02_360265_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325775743","file1":"1325775576","file0":"1325775569","file3":"1325775755"},"map_files_photo_id_array":[{"photo_id":"1325775743","filename":"file2"},{"photo_id":"1325775576","filename":"file1"},{"photo_id":"1325775569","filename":"file0"},{"photo_id":"1325775755","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325775569":["hashtag1","hashtag2"]},{"1325775755":["hashtag1","hashtag2"]},{"1325775743":["hashtag1","hashtag2"]},{"1325775576":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325775569, 1325775755, 1325775743, 1325775576)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.535842418670654 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 12:08:02.749183
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 12:08:22.460646
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/12/07/image_03012025_12_07_02_360265_0003.jpg', '/home/pi/Desktop/images/03012025/12/08/image_03012025_12_08_02_589103_0000.jpg', '/home/pi/Desktop/images/03012025/12/08/image_03012025_12_08_02_589103_0001.jpg', '/home/pi/Desktop/images/03012025/12/08/image_03012025_12_08_02_589103_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/12/07/image_03012025_12_07_02_360265_0003.jpg
/home/pi/Desktop/images/03012025/12/08/image_03012025_12_08_02_589103_0000.jpg
/home/pi/Desktop/images/03012025/12/08/image_03012025_12_08_02_589103_0001.jpg
/home/pi/Desktop/images/03012025/12/08/image_03012025_12_08_02_589103_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325775893","1325775848","1325775856","1325775852"],"photo_ids_order":["1325775848","1325775852","1325775856","1325775893"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6620cb60806896c5c9943c50c2eb0e75.jpg","text":"TemporaryFile(/tmp/multipartBody8937365005447268500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735902572757,"filename":"image_03012025_12_08_02_589103_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/597da56eb990d2efc67e09cacd93d8fa.jpg","text":"TemporaryFile(/tmp/multipartBody4939260597194243725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735902572757,"filename":"image_03012025_12_07_02_360265_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/035b9cb39ca3135585303639e1191c0d.jpg","text":"TemporaryFile(/tmp/multipartBody442295757874563963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735902572757,"filename":"image_03012025_12_08_02_589103_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/381f7c8560493a905bbd6d76cc0f3442.jpg","text":"TemporaryFile(/tmp/multipartBody807866050671752698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735902572757,"filename":"image_03012025_12_08_02_589103_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325775856","file1":"1325775852","file0":"1325775848","file3":"1325775893"},"map_files_photo_id_array":[{"photo_id":"1325775856","filename":"file2"},{"photo_id":"1325775852","filename":"file1"},{"photo_id":"1325775848","filename":"file0"},{"photo_id":"1325775893","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325775893":["hashtag1","hashtag2"]},{"1325775848":["hashtag1","hashtag2"]},{"1325775856":["hashtag1","hashtag2"]},{"1325775852":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325775893, 1325775848, 1325775856, 1325775852)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.088045835494995 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 12:09:03.199844
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 12:09:22.548729
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/12/08/image_03012025_12_08_02_589103_0003.jpg', '/home/pi/Desktop/images/03012025/12/09/image_03012025_12_09_02_798261_0000.jpg', '/home/pi/Desktop/images/03012025/12/09/image_03012025_12_09_02_798261_0001.jpg', '/home/pi/Desktop/images/03012025/12/09/image_03012025_12_09_02_798261_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/12/08/image_03012025_12_08_02_589103_0003.jpg
/home/pi/Desktop/images/03012025/12/09/image_03012025_12_09_02_798261_0000.jpg
/home/pi/Desktop/images/03012025/12/09/image_03012025_12_09_02_798261_0001.jpg
/home/pi/Desktop/images/03012025/12/09/image_03012025_12_09_02_798261_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325776098","1325776095","1325776101","1325776104"],"photo_ids_order":["1325776095","1325776098","1325776101","1325776104"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b454d7c7b9f7f9ddbfd4e183258e866f.jpg","text":"TemporaryFile(/tmp/multipartBody7058755172351655281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735902632998,"filename":"image_03012025_12_09_02_798261_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0eaa1c670db69331cbd0f435b82a1004.jpg","text":"TemporaryFile(/tmp/multipartBody7150502756131740385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735902632998,"filename":"image_03012025_12_08_02_589103_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/209330e04dc1b979ddf6615e621d82ac.jpg","text":"TemporaryFile(/tmp/multipartBody8861074097553889237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735902632998,"filename":"image_03012025_12_09_02_798261_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/77d5cf213b255d7c8db6079582662668.jpg","text":"TemporaryFile(/tmp/multipartBody8932279913560322556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735902632998,"filename":"image_03012025_12_09_02_798261_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325776101","file1":"1325776098","file0":"1325776095","file3":"1325776104"},"map_files_photo_id_array":[{"photo_id":"1325776101","filename":"file2"},{"photo_id":"1325776098","filename":"file1"},{"photo_id":"1325776095","filename":"file0"},{"photo_id":"1325776104","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325776098":["hashtag1","hashtag2"]},{"1325776095":["hashtag1","hashtag2"]},{"1325776101":["hashtag1","hashtag2"]},{"1325776104":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325776098, 1325776095, 1325776101, 1325776104)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.690688610076904 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 12:10:03.126752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 12:10:22.682506
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/12/09/image_03012025_12_09_02_798261_0003.jpg', '/home/pi/Desktop/images/03012025/12/10/image_03012025_12_10_02_974496_0000.jpg', '/home/pi/Desktop/images/03012025/12/10/image_03012025_12_10_02_974496_0001.jpg', '/home/pi/Desktop/images/03012025/12/10/image_03012025_12_10_02_974496_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/12/09/image_03012025_12_09_02_798261_0003.jpg
/home/pi/Desktop/images/03012025/12/10/image_03012025_12_10_02_974496_0000.jpg
/home/pi/Desktop/images/03012025/12/10/image_03012025_12_10_02_974496_0001.jpg
/home/pi/Desktop/images/03012025/12/10/image_03012025_12_10_02_974496_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325776355","1325776352","1325776363","1325776359"],"photo_ids_order":["1325776352","1325776355","1325776359","1325776363"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/aa82bb79d672721b74963c844784e449.jpg","text":"TemporaryFile(/tmp/multipartBody7643900095881312791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735902692932,"filename":"image_03012025_12_10_02_974496_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/db6c8b6a516b249573cf65c52f8bd36a.jpg","text":"TemporaryFile(/tmp/multipartBody7613297816847969402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735902692932,"filename":"image_03012025_12_09_02_798261_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2cdb2fdcc9e9769e34dc0e6de51a1cd3.jpg","text":"TemporaryFile(/tmp/multipartBody1606032421508911313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735902692932,"filename":"image_03012025_12_10_02_974496_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d526929748040a211337f3c3247773c6.jpg","text":"TemporaryFile(/tmp/multipartBody5667766021748172465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735902692932,"filename":"image_03012025_12_10_02_974496_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325776359","file1":"1325776355","file0":"1325776352","file3":"1325776363"},"map_files_photo_id_array":[{"photo_id":"1325776359","filename":"file2"},{"photo_id":"1325776355","filename":"file1"},{"photo_id":"1325776352","filename":"file0"},{"photo_id":"1325776363","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325776355":["hashtag1","hashtag2"]},{"1325776352":["hashtag1","hashtag2"]},{"1325776363":["hashtag1","hashtag2"]},{"1325776359":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325776355, 1325776352, 1325776363, 1325776359)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.854816913604736 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 12:11:21.887411
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/12/10/image_03012025_12_10_02_974496_0003.jpg', '/home/pi/Desktop/images/03012025/12/11/image_03012025_12_11_03_051007_0000.jpg', '/home/pi/Desktop/images/03012025/12/11/image_03012025_12_11_03_051007_0001.jpg', '/home/pi/Desktop/images/03012025/12/11/image_03012025_12_11_03_051007_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/12/10/image_03012025_12_10_02_974496_0003.jpg
/home/pi/Desktop/images/03012025/12/11/image_03012025_12_11_03_051007_0000.jpg
/home/pi/Desktop/images/03012025/12/11/image_03012025_12_11_03_051007_0001.jpg
/home/pi/Desktop/images/03012025/12/11/image_03012025_12_11_03_051007_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325776546","1325776605","1325776608","1325776503"],"photo_ids_order":["1325776503","1325776546","1325776605","1325776608"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8bd4cf3fcde4ad5bf0330f94c9a7b195.jpg","text":"TemporaryFile(/tmp/multipartBody841355733524561078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735902752204,"filename":"image_03012025_12_11_03_051007_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0493e772064027d3d4a233e7a82db7c3.jpg","text":"TemporaryFile(/tmp/multipartBody7171324810576193663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735902752204,"filename":"image_03012025_12_11_03_051007_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/44f62ea012f870384ea65dd3180e2677.jpg","text":"TemporaryFile(/tmp/multipartBody1055822477532084785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735902752204,"filename":"image_03012025_12_11_03_051007_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1f7983accf103edfc24e01363ec4d766.jpg","text":"TemporaryFile(/tmp/multipartBody1795909774121191115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735902752204,"filename":"image_03012025_12_10_02_974496_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325776605","file1":"1325776546","file0":"1325776503","file3":"1325776608"},"map_files_photo_id_array":[{"photo_id":"1325776605","filename":"file2"},{"photo_id":"1325776546","filename":"file1"},{"photo_id":"1325776503","filename":"file0"},{"photo_id":"1325776608","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325776546":["hashtag1","hashtag2"]},{"1325776605":["hashtag1","hashtag2"]},{"1325776608":["hashtag1","hashtag2"]},{"1325776503":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325776546, 1325776605, 1325776608, 1325776503)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.4278461933136 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 12:12:02.525473
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 12:12:22.110712
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/12/11/image_03012025_12_11_03_051007_0003.jpg', '/home/pi/Desktop/images/03012025/12/12/image_03012025_12_12_02_210855_0000.jpg', '/home/pi/Desktop/images/03012025/12/12/image_03012025_12_12_02_210855_0001.jpg', '/home/pi/Desktop/images/03012025/12/12/image_03012025_12_12_02_210855_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/12/11/image_03012025_12_11_03_051007_0003.jpg
/home/pi/Desktop/images/03012025/12/12/image_03012025_12_12_02_210855_0000.jpg
/home/pi/Desktop/images/03012025/12/12/image_03012025_12_12_02_210855_0001.jpg
/home/pi/Desktop/images/03012025/12/12/image_03012025_12_12_02_210855_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325776886","1325776712","1325776708","1325776716"],"photo_ids_order":["1325776708","1325776712","1325776716","1325776886"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b9f502acfa56cec8511eadfb4f5b8ff5.jpg","text":"TemporaryFile(/tmp/multipartBody3240601641074442633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735902812294,"filename":"image_03012025_12_12_02_210855_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5c73f968cf126b7c6d178a6dfa582bd3.jpg","text":"TemporaryFile(/tmp/multipartBody2731247778018841676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735902812294,"filename":"image_03012025_12_12_02_210855_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e51aa98c05348f7333b0fba0c184e582.jpg","text":"TemporaryFile(/tmp/multipartBody1351456135092847093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735902812294,"filename":"image_03012025_12_11_03_051007_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5a298372604becf897384922e99010de.jpg","text":"TemporaryFile(/tmp/multipartBody449277152935299982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735902812294,"filename":"image_03012025_12_12_02_210855_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325776716","file1":"1325776712","file0":"1325776708","file3":"1325776886"},"map_files_photo_id_array":[{"photo_id":"1325776716","filename":"file2"},{"photo_id":"1325776712","filename":"file1"},{"photo_id":"1325776708","filename":"file0"},{"photo_id":"1325776886","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325776886":["hashtag1","hashtag2"]},{"1325776712":["hashtag1","hashtag2"]},{"1325776708":["hashtag1","hashtag2"]},{"1325776716":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325776886, 1325776712, 1325776708, 1325776716)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.58533000946045 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 12:13:03.040059
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 12:13:22.317335
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/12/12/image_03012025_12_12_02_210855_0003.jpg', '/home/pi/Desktop/images/03012025/12/13/image_03012025_12_13_02_435851_0000.jpg', '/home/pi/Desktop/images/03012025/12/13/image_03012025_12_13_02_435851_0001.jpg', '/home/pi/Desktop/images/03012025/12/13/image_03012025_12_13_02_435851_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/12/12/image_03012025_12_12_02_210855_0003.jpg
/home/pi/Desktop/images/03012025/12/13/image_03012025_12_13_02_435851_0000.jpg
/home/pi/Desktop/images/03012025/12/13/image_03012025_12_13_02_435851_0001.jpg
/home/pi/Desktop/images/03012025/12/13/image_03012025_12_13_02_435851_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325777446","1325777404","1325777442","1325777366"],"photo_ids_order":["1325777366","1325777404","1325777442","1325777446"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1c0366ed68bbde8b137e97857a7a7894.jpg","text":"TemporaryFile(/tmp/multipartBody8204414112419867664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735902872402,"filename":"image_03012025_12_13_02_435851_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c6eb75496cd1c1293b0b66c290d24691.jpg","text":"TemporaryFile(/tmp/multipartBody9061568617501393044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735902872402,"filename":"image_03012025_12_13_02_435851_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5c2be2ee629fe2f2a77a7497bfa75c3f.jpg","text":"TemporaryFile(/tmp/multipartBody4126123973258707011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735902872402,"filename":"image_03012025_12_13_02_435851_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ae7e977cef80f679f6dba44978c5d445.jpg","text":"TemporaryFile(/tmp/multipartBody4153546260142835609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735902872402,"filename":"image_03012025_12_12_02_210855_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325777442","file1":"1325777404","file0":"1325777366","file3":"1325777446"},"map_files_photo_id_array":[{"photo_id":"1325777442","filename":"file2"},{"photo_id":"1325777404","filename":"file1"},{"photo_id":"1325777366","filename":"file0"},{"photo_id":"1325777446","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325777446":["hashtag1","hashtag2"]},{"1325777404":["hashtag1","hashtag2"]},{"1325777442":["hashtag1","hashtag2"]},{"1325777366":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325777446, 1325777404, 1325777442, 1325777366)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.77555775642395 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 12:14:22.493999
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/12/13/image_03012025_12_13_02_435851_0003.jpg', '/home/pi/Desktop/images/03012025/12/14/image_03012025_12_14_02_683271_0001.jpg', '/home/pi/Desktop/images/03012025/12/14/image_03012025_12_14_02_683271_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/12/13/image_03012025_12_13_02_435851_0003.jpg
/home/pi/Desktop/images/03012025/12/14/image_03012025_12_14_02_683271_0001.jpg
/home/pi/Desktop/images/03012025/12/14/image_03012025_12_14_02_683271_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325777473","1325777469","1325777465"],"photo_ids_order":["1325777465","1325777469","1325777473"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/79eb9d80f66bf7a607e1b6d9daaadbd9.jpg","text":"TemporaryFile(/tmp/multipartBody6787852398498420003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735902930149,"filename":"image_03012025_12_14_02_683271_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e08e4d5bd6c25e3c32e9b8f777bffefe.jpg","text":"TemporaryFile(/tmp/multipartBody4870750692387375363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735902930149,"filename":"image_03012025_12_14_02_683271_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f54bbf7fcf15674d120ca803375a3c7d.jpg","text":"TemporaryFile(/tmp/multipartBody8106958382440375278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735902930149,"filename":"image_03012025_12_13_02_435851_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325777473","file1":"1325777469","file0":"1325777465"},"map_files_photo_id_array":[{"photo_id":"1325777473","filename":"file2"},{"photo_id":"1325777469","filename":"file1"},{"photo_id":"1325777465","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325777473":["hashtag1","hashtag2"]},{"1325777469":["hashtag1","hashtag2"]},{"1325777465":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325777473, 1325777469, 1325777465)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.86987829208374 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 12:15:03.185697
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 12:15:22.709357
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/12/14/image_03012025_12_14_02_683271_0003.jpg', '/home/pi/Desktop/images/03012025/12/15/image_03012025_12_15_02_832240_0000.jpg', '/home/pi/Desktop/images/03012025/12/15/image_03012025_12_15_02_832240_0001.jpg', '/home/pi/Desktop/images/03012025/12/15/image_03012025_12_15_02_832240_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/12/14/image_03012025_12_14_02_683271_0003.jpg
/home/pi/Desktop/images/03012025/12/15/image_03012025_12_15_02_832240_0000.jpg
/home/pi/Desktop/images/03012025/12/15/image_03012025_12_15_02_832240_0001.jpg
/home/pi/Desktop/images/03012025/12/15/image_03012025_12_15_02_832240_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325778222","1325778225","1325778296","1325778131"],"photo_ids_order":["1325778131","1325778222","1325778225","1325778296"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f345be5961163090c8d0e9846c6aa9f3.jpg","text":"TemporaryFile(/tmp/multipartBody8638136446450370824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735902992973,"filename":"image_03012025_12_15_02_832240_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/eb67593534705f14e33bffb13729de06.jpg","text":"TemporaryFile(/tmp/multipartBody3447416981584342374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735902992973,"filename":"image_03012025_12_15_02_832240_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/42c0d2c345435e0aa3ad66f265a18ef8.jpg","text":"TemporaryFile(/tmp/multipartBody469036864450181513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735902992973,"filename":"image_03012025_12_15_02_832240_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/feb880bf5bec9eaacf8b9077f902fb81.jpg","text":"TemporaryFile(/tmp/multipartBody5102420860935120058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735902992973,"filename":"image_03012025_12_14_02_683271_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325778225","file1":"1325778222","file0":"1325778131","file3":"1325778296"},"map_files_photo_id_array":[{"photo_id":"1325778225","filename":"file2"},{"photo_id":"1325778222","filename":"file1"},{"photo_id":"1325778131","filename":"file0"},{"photo_id":"1325778296","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325778222":["hashtag1","hashtag2"]},{"1325778225":["hashtag1","hashtag2"]},{"1325778296":["hashtag1","hashtag2"]},{"1325778131":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325778222, 1325778225, 1325778296, 1325778131)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.57730507850647 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 12:16:21.849044
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/12/15/image_03012025_12_15_02_832240_0003.jpg', '/home/pi/Desktop/images/03012025/12/16/image_03012025_12_16_03_025248_0000.jpg', '/home/pi/Desktop/images/03012025/12/16/image_03012025_12_16_03_025248_0001.jpg', '/home/pi/Desktop/images/03012025/12/16/image_03012025_12_16_03_025248_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/12/15/image_03012025_12_15_02_832240_0003.jpg
/home/pi/Desktop/images/03012025/12/16/image_03012025_12_16_03_025248_0000.jpg
/home/pi/Desktop/images/03012025/12/16/image_03012025_12_16_03_025248_0001.jpg
/home/pi/Desktop/images/03012025/12/16/image_03012025_12_16_03_025248_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325778675","1325778624","1325778618","1325778572"],"photo_ids_order":["1325778572","1325778618","1325778624","1325778675"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/22e16a8cc1321cfc2a15b47a5dbfce9f.jpg","text":"TemporaryFile(/tmp/multipartBody6104178985493398473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735903051971,"filename":"image_03012025_12_16_03_025248_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/13c2829c2036281a25e4281b8348c7b4.jpg","text":"TemporaryFile(/tmp/multipartBody4114682616171621053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735903051971,"filename":"image_03012025_12_16_03_025248_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b349b4fb29e9a04c0cdd4eb7414546ec.jpg","text":"TemporaryFile(/tmp/multipartBody9037705939376962139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735903051971,"filename":"image_03012025_12_16_03_025248_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/64d1ad2e9c3bf94b1db42d74a834f059.jpg","text":"TemporaryFile(/tmp/multipartBody3183402407408732688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735903051971,"filename":"image_03012025_12_15_02_832240_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325778624","file1":"1325778618","file0":"1325778572","file3":"1325778675"},"map_files_photo_id_array":[{"photo_id":"1325778624","filename":"file2"},{"photo_id":"1325778618","filename":"file1"},{"photo_id":"1325778572","filename":"file0"},{"photo_id":"1325778675","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325778675":["hashtag1","hashtag2"]},{"1325778624":["hashtag1","hashtag2"]},{"1325778618":["hashtag1","hashtag2"]},{"1325778572":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325778675, 1325778624, 1325778618, 1325778572)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.88762712478638 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 12:17:22.040838
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/12/16/image_03012025_12_16_03_025248_0003.jpg', '/home/pi/Desktop/images/03012025/12/17/image_03012025_12_17_02_256997_0000.jpg', '/home/pi/Desktop/images/03012025/12/17/image_03012025_12_17_02_256997_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/12/16/image_03012025_12_16_03_025248_0003.jpg
/home/pi/Desktop/images/03012025/12/17/image_03012025_12_17_02_256997_0000.jpg
/home/pi/Desktop/images/03012025/12/17/image_03012025_12_17_02_256997_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":["1325778760","1325778960","1325778767"],"photo_ids_order":["1325778760","1325778767","1325778960"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e6c50f7968624e208a708e2bbadfd5f9.jpg","text":"TemporaryFile(/tmp/multipartBody3859781268598759141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735903109774,"filename":"image_03012025_12_16_03_025248_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/877d38cf819be002756e38b53f151611.jpg","text":"TemporaryFile(/tmp/multipartBody8727251636185353470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735903109774,"filename":"image_03012025_12_17_02_256997_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/66077501a0fd367bb627d016ff68f03a.jpg","text":"TemporaryFile(/tmp/multipartBody6908156909328355507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735903109774,"filename":"image_03012025_12_17_02_256997_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325778960","file1":"1325778767","file0":"1325778760"},"map_files_photo_id_array":[{"photo_id":"1325778960","filename":"file2"},{"photo_id":"1325778767","filename":"file1"},{"photo_id":"1325778760","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325778760":["hashtag1","hashtag2"]},{"1325778960":["hashtag1","hashtag2"]},{"1325778767":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325778760, 1325778960, 1325778767)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.19662642478943 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 12:18:02.627220
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 12:18:22.221781
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/12/17/image_03012025_12_17_02_256997_0002.jpg', '/home/pi/Desktop/images/03012025/12/18/image_03012025_12_18_02_372563_0000.jpg', '/home/pi/Desktop/images/03012025/12/18/image_03012025_12_18_02_372563_0001.jpg', '/home/pi/Desktop/images/03012025/12/18/image_03012025_12_18_02_372563_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/12/17/image_03012025_12_17_02_256997_0002.jpg
/home/pi/Desktop/images/03012025/12/18/image_03012025_12_18_02_372563_0000.jpg
/home/pi/Desktop/images/03012025/12/18/image_03012025_12_18_02_372563_0001.jpg
/home/pi/Desktop/images/03012025/12/18/image_03012025_12_18_02_372563_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325779596","1325779359","1325779630","1325779627"],"photo_ids_order":["1325779359","1325779596","1325779627","1325779630"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/fd30687680e79d8edea64d8e29ae1194.jpg","text":"TemporaryFile(/tmp/multipartBody9027054718607948335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735903172524,"filename":"image_03012025_12_18_02_372563_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/40cad8e4c1b191e520f42bd5de769fa0.jpg","text":"TemporaryFile(/tmp/multipartBody2074349861991304021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735903172524,"filename":"image_03012025_12_17_02_256997_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2c805dc8c6df841ab11ca4ec0c208d4f.jpg","text":"TemporaryFile(/tmp/multipartBody8604081899715260519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735903172524,"filename":"image_03012025_12_18_02_372563_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d74e8fbe2783a97df35e176d4e8fcc49.jpg","text":"TemporaryFile(/tmp/multipartBody3001101251350442813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735903172524,"filename":"image_03012025_12_18_02_372563_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325779627","file1":"1325779596","file0":"1325779359","file3":"1325779630"},"map_files_photo_id_array":[{"photo_id":"1325779627","filename":"file2"},{"photo_id":"1325779596","filename":"file1"},{"photo_id":"1325779359","filename":"file0"},{"photo_id":"1325779630","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325779596":["hashtag1","hashtag2"]},{"1325779359":["hashtag1","hashtag2"]},{"1325779630":["hashtag1","hashtag2"]},{"1325779627":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325779596, 1325779359, 1325779630, 1325779627)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.94727873802185 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 12:19:22.508940
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/12/18/image_03012025_12_18_02_372563_0003.jpg', '/home/pi/Desktop/images/03012025/12/19/image_03012025_12_19_02_568309_0000.jpg', '/home/pi/Desktop/images/03012025/12/19/image_03012025_12_19_02_568309_0001.jpg', '/home/pi/Desktop/images/03012025/12/19/image_03012025_12_19_02_568309_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/12/18/image_03012025_12_18_02_372563_0003.jpg
/home/pi/Desktop/images/03012025/12/19/image_03012025_12_19_02_568309_0000.jpg
/home/pi/Desktop/images/03012025/12/19/image_03012025_12_19_02_568309_0001.jpg
/home/pi/Desktop/images/03012025/12/19/image_03012025_12_19_02_568309_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325780329","1325780200","1325780295","1325780204"],"photo_ids_order":["1325780200","1325780204","1325780295","1325780329"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b3f76939d1ec4efb712bee6776b8701b.jpg","text":"TemporaryFile(/tmp/multipartBody2383103281064288965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735903232767,"filename":"image_03012025_12_19_02_568309_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f97f8b2e353b6d5e9d7441e071713721.jpg","text":"TemporaryFile(/tmp/multipartBody3861776581409025030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735903232767,"filename":"image_03012025_12_18_02_372563_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/022bf0dbbc3a1fe535968bb3a9d6776c.jpg","text":"TemporaryFile(/tmp/multipartBody5436387038151444485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735903232767,"filename":"image_03012025_12_19_02_568309_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4bf8915bf31a5750e113853684aa1433.jpg","text":"TemporaryFile(/tmp/multipartBody7498055409816837588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735903232767,"filename":"image_03012025_12_19_02_568309_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325780295","file1":"1325780204","file0":"1325780200","file3":"1325780329"},"map_files_photo_id_array":[{"photo_id":"1325780295","filename":"file2"},{"photo_id":"1325780204","filename":"file1"},{"photo_id":"1325780200","filename":"file0"},{"photo_id":"1325780329","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325780329":["hashtag1","hashtag2"]},{"1325780200":["hashtag1","hashtag2"]},{"1325780295":["hashtag1","hashtag2"]},{"1325780204":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325780329, 1325780200, 1325780295, 1325780204)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.79715275764465 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 12:20:22.672989
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/12/19/image_03012025_12_19_02_568309_0003.jpg', '/home/pi/Desktop/images/03012025/12/20/image_03012025_12_20_02_772157_0000.jpg', '/home/pi/Desktop/images/03012025/12/20/image_03012025_12_20_02_772157_0001.jpg', '/home/pi/Desktop/images/03012025/12/20/image_03012025_12_20_02_772157_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/12/19/image_03012025_12_19_02_568309_0003.jpg
/home/pi/Desktop/images/03012025/12/20/image_03012025_12_20_02_772157_0000.jpg
/home/pi/Desktop/images/03012025/12/20/image_03012025_12_20_02_772157_0001.jpg
/home/pi/Desktop/images/03012025/12/20/image_03012025_12_20_02_772157_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325780381","1325780378","1325780372","1325780375"],"photo_ids_order":["1325780372","1325780375","1325780378","1325780381"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/93a28bb843834d3706470e86c0bb49d6.jpg","text":"TemporaryFile(/tmp/multipartBody1409604268862380319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735903293030,"filename":"image_03012025_12_20_02_772157_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/612e60d111276663f6dadb83b2475077.jpg","text":"TemporaryFile(/tmp/multipartBody3682425146739605485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735903293030,"filename":"image_03012025_12_20_02_772157_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4a75bd046308ce5519acb042e4754f3f.jpg","text":"TemporaryFile(/tmp/multipartBody2130996093695187599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735903293030,"filename":"image_03012025_12_19_02_568309_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2d7a10cd330967092bd6e319423b1f99.jpg","text":"TemporaryFile(/tmp/multipartBody1166870160388146057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735903293030,"filename":"image_03012025_12_20_02_772157_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325780378","file1":"1325780375","file0":"1325780372","file3":"1325780381"},"map_files_photo_id_array":[{"photo_id":"1325780378","filename":"file2"},{"photo_id":"1325780375","filename":"file1"},{"photo_id":"1325780372","filename":"file0"},{"photo_id":"1325780381","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325780381":["hashtag1","hashtag2"]},{"1325780378":["hashtag1","hashtag2"]},{"1325780372":["hashtag1","hashtag2"]},{"1325780375":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325780381, 1325780378, 1325780372, 1325780375)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.88563013076782 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 12:21:03.139099
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 12:21:22.708786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/12/20/image_03012025_12_20_02_772157_0003.jpg', '/home/pi/Desktop/images/03012025/12/21/image_03012025_12_21_02_933155_0000.jpg', '/home/pi/Desktop/images/03012025/12/21/image_03012025_12_21_02_933155_0001.jpg', '/home/pi/Desktop/images/03012025/12/21/image_03012025_12_21_02_933155_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/12/20/image_03012025_12_20_02_772157_0003.jpg
/home/pi/Desktop/images/03012025/12/21/image_03012025_12_21_02_933155_0000.jpg
/home/pi/Desktop/images/03012025/12/21/image_03012025_12_21_02_933155_0001.jpg
/home/pi/Desktop/images/03012025/12/21/image_03012025_12_21_02_933155_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325780638","1325780715","1325780717","1325780395"],"photo_ids_order":["1325780395","1325780638","1325780715","1325780717"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d455bd5dfeb5e886d19ff8bad48413e7.jpg","text":"TemporaryFile(/tmp/multipartBody3299846804009785301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735903353003,"filename":"image_03012025_12_21_02_933155_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6a4d0a9d035e67d48f96bfc40512cd31.jpg","text":"TemporaryFile(/tmp/multipartBody7053618376671777895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735903353003,"filename":"image_03012025_12_21_02_933155_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f3e5f078e16debef3bf998ce6c39fb42.jpg","text":"TemporaryFile(/tmp/multipartBody4295977533109206909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735903353003,"filename":"image_03012025_12_21_02_933155_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/73211c7312dc31acbc5554dac2cdbfa0.jpg","text":"TemporaryFile(/tmp/multipartBody2428142032881267074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735903353003,"filename":"image_03012025_12_20_02_772157_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325780715","file1":"1325780638","file0":"1325780395","file3":"1325780717"},"map_files_photo_id_array":[{"photo_id":"1325780715","filename":"file2"},{"photo_id":"1325780638","filename":"file1"},{"photo_id":"1325780395","filename":"file0"},{"photo_id":"1325780717","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325780638":["hashtag1","hashtag2"]},{"1325780715":["hashtag1","hashtag2"]},{"1325780717":["hashtag1","hashtag2"]},{"1325780395":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325780638, 1325780715, 1325780717, 1325780395)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.34922432899475 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 12:22:21.912724
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/12/21/image_03012025_12_21_02_933155_0003.jpg', '/home/pi/Desktop/images/03012025/12/22/image_03012025_12_22_03_161209_0000.jpg', '/home/pi/Desktop/images/03012025/12/22/image_03012025_12_22_03_161209_0001.jpg', '/home/pi/Desktop/images/03012025/12/22/image_03012025_12_22_03_161209_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/12/21/image_03012025_12_21_02_933155_0003.jpg
/home/pi/Desktop/images/03012025/12/22/image_03012025_12_22_03_161209_0000.jpg
/home/pi/Desktop/images/03012025/12/22/image_03012025_12_22_03_161209_0001.jpg
/home/pi/Desktop/images/03012025/12/22/image_03012025_12_22_03_161209_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325781150","1325781197","1325781097","1325781145"],"photo_ids_order":["1325781097","1325781145","1325781150","1325781197"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c3b9d2955088113293ec25aefc4b9801.jpg","text":"TemporaryFile(/tmp/multipartBody1891916761132098103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735903412352,"filename":"image_03012025_12_22_03_161209_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d8c83cd8e202f638d8532237723a6737.jpg","text":"TemporaryFile(/tmp/multipartBody6034003052033757190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735903412352,"filename":"image_03012025_12_22_03_161209_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0ab425018aa64d6b5661c5518a7b9cc1.jpg","text":"TemporaryFile(/tmp/multipartBody3228143301194568967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735903412352,"filename":"image_03012025_12_21_02_933155_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b8774a662bf49e590bf52408c656a561.jpg","text":"TemporaryFile(/tmp/multipartBody3762894993182245601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735903412352,"filename":"image_03012025_12_22_03_161209_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325781150","file1":"1325781145","file0":"1325781097","file3":"1325781197"},"map_files_photo_id_array":[{"photo_id":"1325781150","filename":"file2"},{"photo_id":"1325781145","filename":"file1"},{"photo_id":"1325781097","filename":"file0"},{"photo_id":"1325781197","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325781150":["hashtag1","hashtag2"]},{"1325781197":["hashtag1","hashtag2"]},{"1325781097":["hashtag1","hashtag2"]},{"1325781145":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325781150, 1325781197, 1325781097, 1325781145)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.69459891319275 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-03 12:23:22.099354
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/12/22/image_03012025_12_22_03_161209_0003.jpg', '/home/pi/Desktop/images/03012025/12/23/image_03012025_12_23_02_246293_0000.jpg', '/home/pi/Desktop/images/03012025/12/23/image_03012025_12_23_02_246293_0001.jpg', '/home/pi/Desktop/images/03012025/12/23/image_03012025_12_23_02_246293_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/12/22/image_03012025_12_22_03_161209_0003.jpg
/home/pi/Desktop/images/03012025/12/23/image_03012025_12_23_02_246293_0000.jpg
/home/pi/Desktop/images/03012025/12/23/image_03012025_12_23_02_246293_0001.jpg
/home/pi/Desktop/images/03012025/12/23/image_03012025_12_23_02_246293_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325781270","1325781534","1325781275","1325781368"],"photo_ids_order":["1325781270","1325781275","1325781368","1325781534"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/58348ed0dc2e27ff989624c7c8a9d96f.jpg","text":"TemporaryFile(/tmp/multipartBody6357314468792620663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735903472393,"filename":"image_03012025_12_22_03_161209_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/fd80705f29c8133ef6e4c2093c11901f.jpg","text":"TemporaryFile(/tmp/multipartBody5653845638695015509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735903472393,"filename":"image_03012025_12_23_02_246293_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/dd231ea26f8591cc8dbba643c9b3e93f.jpg","text":"TemporaryFile(/tmp/multipartBody3678021759316190530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735903472393,"filename":"image_03012025_12_23_02_246293_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/eae70fbb7619e8ef5b2a3a875682b1a0.jpg","text":"TemporaryFile(/tmp/multipartBody4476300949518332527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735903472393,"filename":"image_03012025_12_23_02_246293_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325781368","file1":"1325781275","file0":"1325781270","file3":"1325781534"},"map_files_photo_id_array":[{"photo_id":"1325781368","filename":"file2"},{"photo_id":"1325781275","filename":"file1"},{"photo_id":"1325781270","filename":"file0"},{"photo_id":"1325781534","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325781270":["hashtag1","hashtag2"]},{"1325781534":["hashtag1","hashtag2"]},{"1325781275":["hashtag1","hashtag2"]},{"1325781368":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325781270, 1325781534, 1325781275, 1325781368)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.06313371658325 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 12:24:22.253653
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/12/23/image_03012025_12_23_02_246293_0003.jpg', '/home/pi/Desktop/images/03012025/12/24/image_03012025_12_24_02_478978_0000.jpg', '/home/pi/Desktop/images/03012025/12/24/image_03012025_12_24_02_478978_0001.jpg', '/home/pi/Desktop/images/03012025/12/24/image_03012025_12_24_02_478978_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/12/23/image_03012025_12_23_02_246293_0003.jpg
/home/pi/Desktop/images/03012025/12/24/image_03012025_12_24_02_478978_0000.jpg
/home/pi/Desktop/images/03012025/12/24/image_03012025_12_24_02_478978_0001.jpg
/home/pi/Desktop/images/03012025/12/24/image_03012025_12_24_02_478978_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325781759","1325781755","1325781763","1325781766"],"photo_ids_order":["1325781755","1325781759","1325781763","1325781766"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ff55579458611913ea4429f1184b1ec3.jpg","text":"TemporaryFile(/tmp/multipartBody7034417683808114848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735903532444,"filename":"image_03012025_12_24_02_478978_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ec7f7500aebac1575507f4ca6e2b1dc4.jpg","text":"TemporaryFile(/tmp/multipartBody5645409270108139124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735903532444,"filename":"image_03012025_12_23_02_246293_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5e4a0207f47fe08846c4ec65da235732.jpg","text":"TemporaryFile(/tmp/multipartBody4072185862858908792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735903532444,"filename":"image_03012025_12_24_02_478978_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9f3ea4c2c9d84c6b3bfca022bc599196.jpg","text":"TemporaryFile(/tmp/multipartBody1540766114666344266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735903532444,"filename":"image_03012025_12_24_02_478978_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325781763","file1":"1325781759","file0":"1325781755","file3":"1325781766"},"map_files_photo_id_array":[{"photo_id":"1325781763","filename":"file2"},{"photo_id":"1325781759","filename":"file1"},{"photo_id":"1325781755","filename":"file0"},{"photo_id":"1325781766","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325781759":["hashtag1","hashtag2"]},{"1325781755":["hashtag1","hashtag2"]},{"1325781763":["hashtag1","hashtag2"]},{"1325781766":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325781759, 1325781755, 1325781763, 1325781766)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.92008137702942 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 12:25:22.450127
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/12/24/image_03012025_12_24_02_478978_0003.jpg', '/home/pi/Desktop/images/03012025/12/25/image_03012025_12_25_02_617769_0000.jpg', '/home/pi/Desktop/images/03012025/12/25/image_03012025_12_25_02_617769_0001.jpg', '/home/pi/Desktop/images/03012025/12/25/image_03012025_12_25_02_617769_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/12/24/image_03012025_12_24_02_478978_0003.jpg
/home/pi/Desktop/images/03012025/12/25/image_03012025_12_25_02_617769_0000.jpg
/home/pi/Desktop/images/03012025/12/25/image_03012025_12_25_02_617769_0001.jpg
/home/pi/Desktop/images/03012025/12/25/image_03012025_12_25_02_617769_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325782404","1325782541","1325782538","1325782333"],"photo_ids_order":["1325782333","1325782404","1325782538","1325782541"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d8d4113caadd6588ae9c402af4baed05.jpg","text":"TemporaryFile(/tmp/multipartBody5748907108131438920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735903592876,"filename":"image_03012025_12_25_02_617769_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/bd0265f479d9499ad209a3d19ca5e392.jpg","text":"TemporaryFile(/tmp/multipartBody6971008251262322540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735903592876,"filename":"image_03012025_12_25_02_617769_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4828bf81cf6d4d7a6ffb0c9b48c0595f.jpg","text":"TemporaryFile(/tmp/multipartBody851607843183953511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735903592876,"filename":"image_03012025_12_25_02_617769_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/24ca75f01ce7a654452f7065a893922b.jpg","text":"TemporaryFile(/tmp/multipartBody6812455078713146398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735903592876,"filename":"image_03012025_12_24_02_478978_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325782538","file1":"1325782404","file0":"1325782333","file3":"1325782541"},"map_files_photo_id_array":[{"photo_id":"1325782538","filename":"file2"},{"photo_id":"1325782404","filename":"file1"},{"photo_id":"1325782333","filename":"file0"},{"photo_id":"1325782541","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325782404":["hashtag1","hashtag2"]},{"1325782541":["hashtag1","hashtag2"]},{"1325782538":["hashtag1","hashtag2"]},{"1325782333":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325782404, 1325782541, 1325782538, 1325782333)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.25756502151489 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 12:26:22.678772
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/12/25/image_03012025_12_25_02_617769_0003.jpg', '/home/pi/Desktop/images/03012025/12/26/image_03012025_12_26_02_806950_0000.jpg', '/home/pi/Desktop/images/03012025/12/26/image_03012025_12_26_02_806950_0001.jpg', '/home/pi/Desktop/images/03012025/12/26/image_03012025_12_26_02_806950_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/12/25/image_03012025_12_25_02_617769_0003.jpg
/home/pi/Desktop/images/03012025/12/26/image_03012025_12_26_02_806950_0000.jpg
/home/pi/Desktop/images/03012025/12/26/image_03012025_12_26_02_806950_0001.jpg
/home/pi/Desktop/images/03012025/12/26/image_03012025_12_26_02_806950_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325783060","1325783057","1325783132","1325783114"],"photo_ids_order":["1325783057","1325783060","1325783114","1325783132"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/243c96007f91e43360005e2f2cbc8593.jpg","text":"TemporaryFile(/tmp/multipartBody2154464229368647219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735903652960,"filename":"image_03012025_12_26_02_806950_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5c4c74184ea03f4cde5d9d5ad110ea49.jpg","text":"TemporaryFile(/tmp/multipartBody2732917267259744609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735903652960,"filename":"image_03012025_12_25_02_617769_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/066006d329bd762c67605499793c5535.jpg","text":"TemporaryFile(/tmp/multipartBody7593020025081384320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735903652960,"filename":"image_03012025_12_26_02_806950_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/287b8899e5822257b0298151e7c344f0.jpg","text":"TemporaryFile(/tmp/multipartBody5254086629083957029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735903652960,"filename":"image_03012025_12_26_02_806950_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325783114","file1":"1325783060","file0":"1325783057","file3":"1325783132"},"map_files_photo_id_array":[{"photo_id":"1325783114","filename":"file2"},{"photo_id":"1325783060","filename":"file1"},{"photo_id":"1325783057","filename":"file0"},{"photo_id":"1325783132","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325783060":["hashtag1","hashtag2"]},{"1325783057":["hashtag1","hashtag2"]},{"1325783132":["hashtag1","hashtag2"]},{"1325783114":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325783060, 1325783057, 1325783132, 1325783114)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.01464486122131 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 12:27:21.986667
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/12/26/image_03012025_12_26_02_806950_0003.jpg', '/home/pi/Desktop/images/03012025/12/27/image_03012025_12_27_03_073317_0000.jpg', '/home/pi/Desktop/images/03012025/12/27/image_03012025_12_27_03_073317_0001.jpg', '/home/pi/Desktop/images/03012025/12/27/image_03012025_12_27_03_073317_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/12/26/image_03012025_12_26_02_806950_0003.jpg
/home/pi/Desktop/images/03012025/12/27/image_03012025_12_27_03_073317_0000.jpg
/home/pi/Desktop/images/03012025/12/27/image_03012025_12_27_03_073317_0001.jpg
/home/pi/Desktop/images/03012025/12/27/image_03012025_12_27_03_073317_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325783156","1325783141","1325783146","1325783151"],"photo_ids_order":["1325783141","1325783146","1325783151","1325783156"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e59464633b1a2dae3c8b4900dcbc32a6.jpg","text":"TemporaryFile(/tmp/multipartBody9142874204845537072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735903712145,"filename":"image_03012025_12_27_03_073317_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/622c0083a56527e7517110603d105792.jpg","text":"TemporaryFile(/tmp/multipartBody2920015335887138288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735903712145,"filename":"image_03012025_12_26_02_806950_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f2128250d35b611e9fbc0a425b6ff922.jpg","text":"TemporaryFile(/tmp/multipartBody5591211668115784106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735903712145,"filename":"image_03012025_12_27_03_073317_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0582fa63dcc5f4b12ffa63cb27f4f837.jpg","text":"TemporaryFile(/tmp/multipartBody8371156715478019971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735903712145,"filename":"image_03012025_12_27_03_073317_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325783151","file1":"1325783146","file0":"1325783141","file3":"1325783156"},"map_files_photo_id_array":[{"photo_id":"1325783151","filename":"file2"},{"photo_id":"1325783146","filename":"file1"},{"photo_id":"1325783141","filename":"file0"},{"photo_id":"1325783156","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325783156":["hashtag1","hashtag2"]},{"1325783141":["hashtag1","hashtag2"]},{"1325783146":["hashtag1","hashtag2"]},{"1325783151":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325783156, 1325783141, 1325783146, 1325783151)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.64066433906555 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 12:28:02.385668
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 12:28:22.099422
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/12/27/image_03012025_12_27_03_073317_0003.jpg', '/home/pi/Desktop/images/03012025/12/28/image_03012025_12_28_02_293063_0000.jpg', '/home/pi/Desktop/images/03012025/12/28/image_03012025_12_28_02_293063_0001.jpg', '/home/pi/Desktop/images/03012025/12/28/image_03012025_12_28_02_293063_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/12/27/image_03012025_12_27_03_073317_0003.jpg
/home/pi/Desktop/images/03012025/12/28/image_03012025_12_28_02_293063_0000.jpg
/home/pi/Desktop/images/03012025/12/28/image_03012025_12_28_02_293063_0001.jpg
/home/pi/Desktop/images/03012025/12/28/image_03012025_12_28_02_293063_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325783753","1325783674","1325783670","1325783739"],"photo_ids_order":["1325783670","1325783674","1325783739","1325783753"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a651595bf1438930c4dd50dcfd7b24b1.jpg","text":"TemporaryFile(/tmp/multipartBody4045073338150016879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735903772291,"filename":"image_03012025_12_28_02_293063_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3b894aadd5354266cceec37bcf41bd22.jpg","text":"TemporaryFile(/tmp/multipartBody7474042577980979280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735903772291,"filename":"image_03012025_12_28_02_293063_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a12ab2885b0236ac92bfc5b09b4f4dcc.jpg","text":"TemporaryFile(/tmp/multipartBody7435506495700344651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735903772291,"filename":"image_03012025_12_27_03_073317_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9891689ac44a12ae3254821e95adc952.jpg","text":"TemporaryFile(/tmp/multipartBody6507180148858100657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735903772291,"filename":"image_03012025_12_28_02_293063_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325783739","file1":"1325783674","file0":"1325783670","file3":"1325783753"},"map_files_photo_id_array":[{"photo_id":"1325783739","filename":"file2"},{"photo_id":"1325783674","filename":"file1"},{"photo_id":"1325783670","filename":"file0"},{"photo_id":"1325783753","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325783753":["hashtag1","hashtag2"]},{"1325783674":["hashtag1","hashtag2"]},{"1325783670":["hashtag1","hashtag2"]},{"1325783739":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325783753, 1325783674, 1325783670, 1325783739)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.3469922542572 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 12:29:22.206475
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/12/28/image_03012025_12_28_02_293063_0003.jpg', '/home/pi/Desktop/images/03012025/12/29/image_03012025_12_29_02_360920_0000.jpg', '/home/pi/Desktop/images/03012025/12/29/image_03012025_12_29_02_360920_0001.jpg', '/home/pi/Desktop/images/03012025/12/29/image_03012025_12_29_02_360920_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/12/28/image_03012025_12_28_02_293063_0003.jpg
/home/pi/Desktop/images/03012025/12/29/image_03012025_12_29_02_360920_0000.jpg
/home/pi/Desktop/images/03012025/12/29/image_03012025_12_29_02_360920_0001.jpg
/home/pi/Desktop/images/03012025/12/29/image_03012025_12_29_02_360920_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325784271","1325784277","1325784510","1325784680"],"photo_ids_order":["1325784271","1325784277","1325784510","1325784680"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/201fb7cc2ebe54d710162f000366b3a3.jpg","text":"TemporaryFile(/tmp/multipartBody4046159844206883634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735903832435,"filename":"image_03012025_12_28_02_293063_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4a299f378900eebe7b0fbc009966156f.jpg","text":"TemporaryFile(/tmp/multipartBody5304226580499160929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735903832435,"filename":"image_03012025_12_29_02_360920_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1130bc02bdfd8775d610f05ee404d034.jpg","text":"TemporaryFile(/tmp/multipartBody6446014504437079045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735903832435,"filename":"image_03012025_12_29_02_360920_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/05ff5f1988ad9983bbd14a300d082c5f.jpg","text":"TemporaryFile(/tmp/multipartBody8677777038037856554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735903832435,"filename":"image_03012025_12_29_02_360920_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325784510","file1":"1325784277","file0":"1325784271","file3":"1325784680"},"map_files_photo_id_array":[{"photo_id":"1325784510","filename":"file2"},{"photo_id":"1325784277","filename":"file1"},{"photo_id":"1325784271","filename":"file0"},{"photo_id":"1325784680","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325784271":["hashtag1","hashtag2"]},{"1325784277":["hashtag1","hashtag2"]},{"1325784510":["hashtag1","hashtag2"]},{"1325784680":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325784271, 1325784277, 1325784510, 1325784680)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.63900351524353 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-03 12:30:22.461315
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/12/29/image_03012025_12_29_02_360920_0003.jpg', '/home/pi/Desktop/images/03012025/12/30/image_03012025_12_30_02_611886_0000.jpg', '/home/pi/Desktop/images/03012025/12/30/image_03012025_12_30_02_611886_0001.jpg', '/home/pi/Desktop/images/03012025/12/30/image_03012025_12_30_02_611886_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/12/29/image_03012025_12_29_02_360920_0003.jpg
/home/pi/Desktop/images/03012025/12/30/image_03012025_12_30_02_611886_0000.jpg
/home/pi/Desktop/images/03012025/12/30/image_03012025_12_30_02_611886_0001.jpg
/home/pi/Desktop/images/03012025/12/30/image_03012025_12_30_02_611886_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325784860","1325784854","1325784849","1325784864"],"photo_ids_order":["1325784849","1325784854","1325784860","1325784864"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/dd2b4c13520dc29fa125fe06a6c3f393.jpg","text":"TemporaryFile(/tmp/multipartBody1437570222148270403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735903892748,"filename":"image_03012025_12_30_02_611886_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/41b4896f28d613a68bc44c12fe565967.jpg","text":"TemporaryFile(/tmp/multipartBody5193395586702387723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735903892748,"filename":"image_03012025_12_30_02_611886_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/214383a659c63d936596ad68ec965997.jpg","text":"TemporaryFile(/tmp/multipartBody7294632726891657655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735903892748,"filename":"image_03012025_12_29_02_360920_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/95268e5bf02227af9b04513910f11be5.jpg","text":"TemporaryFile(/tmp/multipartBody1145315945319626210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735903892748,"filename":"image_03012025_12_30_02_611886_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325784860","file1":"1325784854","file0":"1325784849","file3":"1325784864"},"map_files_photo_id_array":[{"photo_id":"1325784860","filename":"file2"},{"photo_id":"1325784854","filename":"file1"},{"photo_id":"1325784849","filename":"file0"},{"photo_id":"1325784864","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325784860":["hashtag1","hashtag2"]},{"1325784854":["hashtag1","hashtag2"]},{"1325784849":["hashtag1","hashtag2"]},{"1325784864":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325784860, 1325784854, 1325784849, 1325784864)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.90654110908508 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 12:31:03.104209
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 12:31:22.600023
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/12/30/image_03012025_12_30_02_611886_0003.jpg', '/home/pi/Desktop/images/03012025/12/31/image_03012025_12_31_02_852043_0000.jpg', '/home/pi/Desktop/images/03012025/12/31/image_03012025_12_31_02_852043_0001.jpg', '/home/pi/Desktop/images/03012025/12/31/image_03012025_12_31_02_852043_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/12/30/image_03012025_12_30_02_611886_0003.jpg
/home/pi/Desktop/images/03012025/12/31/image_03012025_12_31_02_852043_0000.jpg
/home/pi/Desktop/images/03012025/12/31/image_03012025_12_31_02_852043_0001.jpg
/home/pi/Desktop/images/03012025/12/31/image_03012025_12_31_02_852043_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325785261","1325784895","1325785664","1325784956"],"photo_ids_order":["1325784895","1325784956","1325785261","1325785664"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f475ee458fc1c94e6cfb2e0158a79938.jpg","text":"TemporaryFile(/tmp/multipartBody1187181223642933286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735903952805,"filename":"image_03012025_12_31_02_852043_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f98997459c5692fd6e071480c298e1a7.jpg","text":"TemporaryFile(/tmp/multipartBody3338642828224974812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735903952805,"filename":"image_03012025_12_30_02_611886_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/61d208adba169cb5c32cb6d8da037aec.jpg","text":"TemporaryFile(/tmp/multipartBody6673035871047218801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735903952805,"filename":"image_03012025_12_31_02_852043_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/56aa210f912e16a9945f5fc144c4db68.jpg","text":"TemporaryFile(/tmp/multipartBody7037005674352015315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735903952805,"filename":"image_03012025_12_31_02_852043_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325785261","file1":"1325784956","file0":"1325784895","file3":"1325785664"},"map_files_photo_id_array":[{"photo_id":"1325785261","filename":"file2"},{"photo_id":"1325784956","filename":"file1"},{"photo_id":"1325784895","filename":"file0"},{"photo_id":"1325785664","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325785261":["hashtag1","hashtag2"]},{"1325784895":["hashtag1","hashtag2"]},{"1325785664":["hashtag1","hashtag2"]},{"1325784956":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325785261, 1325784895, 1325785664, 1325784956)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.39826154708862 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 12:32:21.931092
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/12/31/image_03012025_12_31_02_852043_0003.jpg', '/home/pi/Desktop/images/03012025/12/32/image_03012025_12_32_02_936016_0000.jpg', '/home/pi/Desktop/images/03012025/12/32/image_03012025_12_32_02_936016_0001.jpg', '/home/pi/Desktop/images/03012025/12/32/image_03012025_12_32_02_936016_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/12/31/image_03012025_12_31_02_852043_0003.jpg
/home/pi/Desktop/images/03012025/12/32/image_03012025_12_32_02_936016_0000.jpg
/home/pi/Desktop/images/03012025/12/32/image_03012025_12_32_02_936016_0001.jpg
/home/pi/Desktop/images/03012025/12/32/image_03012025_12_32_02_936016_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325786173","1325786023","1325786133","1325786177"],"photo_ids_order":["1325786023","1325786133","1325786173","1325786177"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/40430061e85ee50efd01036010abc10f.jpg","text":"TemporaryFile(/tmp/multipartBody508416968881217510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735904012276,"filename":"image_03012025_12_32_02_936016_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/32a13e5d8e9973b04ec830c969720014.jpg","text":"TemporaryFile(/tmp/multipartBody6969054841765431328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735904012276,"filename":"image_03012025_12_31_02_852043_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8b1009e2927ee3d5b19d56d39a2ebebe.jpg","text":"TemporaryFile(/tmp/multipartBody1450129965348268012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735904012276,"filename":"image_03012025_12_32_02_936016_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/172decce514603f3518c20a6d9037c51.jpg","text":"TemporaryFile(/tmp/multipartBody4206775133857492106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735904012276,"filename":"image_03012025_12_32_02_936016_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325786173","file1":"1325786133","file0":"1325786023","file3":"1325786177"},"map_files_photo_id_array":[{"photo_id":"1325786173","filename":"file2"},{"photo_id":"1325786133","filename":"file1"},{"photo_id":"1325786023","filename":"file0"},{"photo_id":"1325786177","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325786173":["hashtag1","hashtag2"]},{"1325786023":["hashtag1","hashtag2"]},{"1325786133":["hashtag1","hashtag2"]},{"1325786177":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325786173, 1325786023, 1325786133, 1325786177)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.906532764434814 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 12:33:02.536019
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 12:33:21.989970
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/12/32/image_03012025_12_32_02_936016_0003.jpg', '/home/pi/Desktop/images/03012025/12/33/image_03012025_12_33_02_217480_0000.jpg', '/home/pi/Desktop/images/03012025/12/33/image_03012025_12_33_02_217480_0001.jpg', '/home/pi/Desktop/images/03012025/12/33/image_03012025_12_33_02_217480_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/12/32/image_03012025_12_32_02_936016_0003.jpg
/home/pi/Desktop/images/03012025/12/33/image_03012025_12_33_02_217480_0000.jpg
/home/pi/Desktop/images/03012025/12/33/image_03012025_12_33_02_217480_0001.jpg
/home/pi/Desktop/images/03012025/12/33/image_03012025_12_33_02_217480_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325786724","1325786642","1325786717","1325786639"],"photo_ids_order":["1325786639","1325786642","1325786717","1325786724"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b0c75695747376e323e8e0a145d0212d.jpg","text":"TemporaryFile(/tmp/multipartBody7389830914538256990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735904072595,"filename":"image_03012025_12_33_02_217480_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/fff87d248a2c075e3883ca07c5ade2ab.jpg","text":"TemporaryFile(/tmp/multipartBody3757606774762456591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735904072595,"filename":"image_03012025_12_33_02_217480_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/634be945b34f7375a1bacc9871188c86.jpg","text":"TemporaryFile(/tmp/multipartBody1246883844304625272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735904072595,"filename":"image_03012025_12_33_02_217480_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f379f02a0d93692d64115c5b0c6c9861.jpg","text":"TemporaryFile(/tmp/multipartBody3498539946820495165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735904072595,"filename":"image_03012025_12_32_02_936016_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325786717","file1":"1325786642","file0":"1325786639","file3":"1325786724"},"map_files_photo_id_array":[{"photo_id":"1325786717","filename":"file2"},{"photo_id":"1325786642","filename":"file1"},{"photo_id":"1325786639","filename":"file0"},{"photo_id":"1325786724","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325786724":["hashtag1","hashtag2"]},{"1325786642":["hashtag1","hashtag2"]},{"1325786717":["hashtag1","hashtag2"]},{"1325786639":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325786724, 1325786642, 1325786717, 1325786639)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.14906668663025 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 12:34:22.158119
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/12/33/image_03012025_12_33_02_217480_0003.jpg', '/home/pi/Desktop/images/03012025/12/34/image_03012025_12_34_02_354606_0000.jpg', '/home/pi/Desktop/images/03012025/12/34/image_03012025_12_34_02_354606_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/12/33/image_03012025_12_33_02_217480_0003.jpg
/home/pi/Desktop/images/03012025/12/34/image_03012025_12_34_02_354606_0000.jpg
/home/pi/Desktop/images/03012025/12/34/image_03012025_12_34_02_354606_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325787234","1325787128","1325787238"],"photo_ids_order":["1325787128","1325787234","1325787238"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/507642357e2791d8a07409d7a815326d.jpg","text":"TemporaryFile(/tmp/multipartBody6916987921584978685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735904129930,"filename":"image_03012025_12_34_02_354606_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3c50f92ef39305560b70e3a7b38c332f.jpg","text":"TemporaryFile(/tmp/multipartBody8488511632479988562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735904129930,"filename":"image_03012025_12_33_02_217480_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7c33776f84a5415f5635858b8c9cc375.jpg","text":"TemporaryFile(/tmp/multipartBody2219254677310681342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735904129930,"filename":"image_03012025_12_34_02_354606_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325787238","file1":"1325787234","file0":"1325787128"},"map_files_photo_id_array":[{"photo_id":"1325787238","filename":"file2"},{"photo_id":"1325787234","filename":"file1"},{"photo_id":"1325787128","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325787234":["hashtag1","hashtag2"]},{"1325787128":["hashtag1","hashtag2"]},{"1325787238":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325787234, 1325787128, 1325787238)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.1379189491272 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 12:35:03.063320
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 12:35:22.450132
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/12/34/image_03012025_12_34_02_354606_0003.jpg', '/home/pi/Desktop/images/03012025/12/35/image_03012025_12_35_02_527292_0000.jpg', '/home/pi/Desktop/images/03012025/12/35/image_03012025_12_35_02_527292_0001.jpg', '/home/pi/Desktop/images/03012025/12/35/image_03012025_12_35_02_527292_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/12/34/image_03012025_12_34_02_354606_0003.jpg
/home/pi/Desktop/images/03012025/12/35/image_03012025_12_35_02_527292_0000.jpg
/home/pi/Desktop/images/03012025/12/35/image_03012025_12_35_02_527292_0001.jpg
/home/pi/Desktop/images/03012025/12/35/image_03012025_12_35_02_527292_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325787855","1325787968","1325788217","1325788213"],"photo_ids_order":["1325787855","1325787968","1325788213","1325788217"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/224797522aa0e0b16ac1277e20812f0f.jpg","text":"TemporaryFile(/tmp/multipartBody8315745989511705339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735904192577,"filename":"image_03012025_12_34_02_354606_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f84580801859cd43beba9e55b3aefd4f.jpg","text":"TemporaryFile(/tmp/multipartBody3688072688854779244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735904192577,"filename":"image_03012025_12_35_02_527292_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b528f92a1002aad704c9a659fb30d3c0.jpg","text":"TemporaryFile(/tmp/multipartBody1674128997737396796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735904192577,"filename":"image_03012025_12_35_02_527292_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1f8a14c2f0d36bc5e8cfe8513f0baac5.jpg","text":"TemporaryFile(/tmp/multipartBody2278656188299242629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735904192577,"filename":"image_03012025_12_35_02_527292_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325788213","file1":"1325787968","file0":"1325787855","file3":"1325788217"},"map_files_photo_id_array":[{"photo_id":"1325788213","filename":"file2"},{"photo_id":"1325787968","filename":"file1"},{"photo_id":"1325787855","filename":"file0"},{"photo_id":"1325788217","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325787855":["hashtag1","hashtag2"]},{"1325787968":["hashtag1","hashtag2"]},{"1325788217":["hashtag1","hashtag2"]},{"1325788213":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325787855, 1325787968, 1325788217, 1325788213)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.35998797416687 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 12:36:02.904707
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 12:36:22.631734
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/12/35/image_03012025_12_35_02_527292_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/12/35/image_03012025_12_35_02_527292_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325788601"],"photo_id":"1325788601","photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b1beaccf194bcbb601859ba205d7062e.jpg","text":"TemporaryFile(/tmp/multipartBody353547426660946503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735904245560,"filename":"image_03012025_12_35_02_527292_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file0":"1325788601"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1325788601"}],"hashtags":[],"portfolio_id":"19381866","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.34568190574646 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-03 12:36:42.701924
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-03 12:36:52.546983
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 12:37:03.401027
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 12:37:22.742764
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/12/36/image_03012025_12_36_02_737237_0003.jpg', '/home/pi/Desktop/images/03012025/12/37/image_03012025_12_37_02_925259_0000.jpg', '/home/pi/Desktop/images/03012025/12/37/image_03012025_12_37_02_925259_0001.jpg', '/home/pi/Desktop/images/03012025/12/37/image_03012025_12_37_02_925259_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/12/36/image_03012025_12_36_02_737237_0003.jpg
/home/pi/Desktop/images/03012025/12/37/image_03012025_12_37_02_925259_0000.jpg
/home/pi/Desktop/images/03012025/12/37/image_03012025_12_37_02_925259_0001.jpg
/home/pi/Desktop/images/03012025/12/37/image_03012025_12_37_02_925259_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325788784","1325788771","1325788768","1325788801"],"photo_ids_order":["1325788768","1325788771","1325788784","1325788801"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2a77706babd0eaee9833d7b3dbc7abdb.jpg","text":"TemporaryFile(/tmp/multipartBody428066438830884738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735904312956,"filename":"image_03012025_12_37_02_925259_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/671d79702641a0df4e527e5dd9a8334c.jpg","text":"TemporaryFile(/tmp/multipartBody1543767639501245735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735904312956,"filename":"image_03012025_12_37_02_925259_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2459eaeff1baf971b9cbf41033d0ffc0.jpg","text":"TemporaryFile(/tmp/multipartBody1806017000345510197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735904312956,"filename":"image_03012025_12_36_02_737237_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e31a73b34793521534a82a3864d161fc.jpg","text":"TemporaryFile(/tmp/multipartBody4998956254780394968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735904312956,"filename":"image_03012025_12_37_02_925259_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325788784","file1":"1325788771","file0":"1325788768","file3":"1325788801"},"map_files_photo_id_array":[{"photo_id":"1325788784","filename":"file2"},{"photo_id":"1325788771","filename":"file1"},{"photo_id":"1325788768","filename":"file0"},{"photo_id":"1325788801","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325788784":["hashtag1","hashtag2"]},{"1325788771":["hashtag1","hashtag2"]},{"1325788768":["hashtag1","hashtag2"]},{"1325788801":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325788784, 1325788771, 1325788768, 1325788801)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.828295946121216 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 12:38:21.979502
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/12/37/image_03012025_12_37_02_925259_0003.jpg', '/home/pi/Desktop/images/03012025/12/38/image_03012025_12_38_03_069701_0000.jpg', '/home/pi/Desktop/images/03012025/12/38/image_03012025_12_38_03_069701_0001.jpg', '/home/pi/Desktop/images/03012025/12/38/image_03012025_12_38_03_069701_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/12/37/image_03012025_12_37_02_925259_0003.jpg
/home/pi/Desktop/images/03012025/12/38/image_03012025_12_38_03_069701_0000.jpg
/home/pi/Desktop/images/03012025/12/38/image_03012025_12_38_03_069701_0001.jpg
/home/pi/Desktop/images/03012025/12/38/image_03012025_12_38_03_069701_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.925943613052368 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-03 12:38:41.984147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/12/37/image_03012025_12_37_02_925259_0003.jpg', '/home/pi/Desktop/images/03012025/12/38/image_03012025_12_38_03_069701_0000.jpg', '/home/pi/Desktop/images/03012025/12/38/image_03012025_12_38_03_069701_0001.jpg', '/home/pi/Desktop/images/03012025/12/38/image_03012025_12_38_03_069701_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/12/37/image_03012025_12_37_02_925259_0003.jpg
/home/pi/Desktop/images/03012025/12/38/image_03012025_12_38_03_069701_0000.jpg
/home/pi/Desktop/images/03012025/12/38/image_03012025_12_38_03_069701_0001.jpg
/home/pi/Desktop/images/03012025/12/38/image_03012025_12_38_03_069701_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325789246","1325788869","1325789337","1325788866"],"photo_ids_order":["1325788866","1325788869","1325789246","1325789337"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/96335b40e04a64fba8b3676c080aec87.jpg","text":"TemporaryFile(/tmp/multipartBody6669091463675138632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735904392258,"filename":"image_03012025_12_38_03_069701_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5d33f85b291fc3bc4d9fbdfa0bac3106.jpg","text":"TemporaryFile(/tmp/multipartBody2563173484386866219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735904392258,"filename":"image_03012025_12_38_03_069701_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/616bb23dcce4c5c72154ed26e1528f41.jpg","text":"TemporaryFile(/tmp/multipartBody3932810817608640927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735904392258,"filename":"image_03012025_12_38_03_069701_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6f7502255f4f236394bee706d753019e.jpg","text":"TemporaryFile(/tmp/multipartBody8666534373625783324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735904392258,"filename":"image_03012025_12_37_02_925259_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325789246","file1":"1325788869","file0":"1325788866","file3":"1325789337"},"map_files_photo_id_array":[{"photo_id":"1325789246","filename":"file2"},{"photo_id":"1325788869","filename":"file1"},{"photo_id":"1325788866","filename":"file0"},{"photo_id":"1325789337","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325789246":["hashtag1","hashtag2"]},{"1325788869":["hashtag1","hashtag2"]},{"1325789337":["hashtag1","hashtag2"]},{"1325788866":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325789246, 1325788869, 1325789337, 1325788866)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.60505676269531 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-03 12:39:32.053519
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/12/38/image_03012025_12_38_03_069701_0003.jpg', '/home/pi/Desktop/images/03012025/12/39/image_03012025_12_39_02_331863_0000.jpg', '/home/pi/Desktop/images/03012025/12/39/image_03012025_12_39_02_331863_0001.jpg', '/home/pi/Desktop/images/03012025/12/39/image_03012025_12_39_02_331863_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/12/38/image_03012025_12_38_03_069701_0003.jpg
/home/pi/Desktop/images/03012025/12/39/image_03012025_12_39_02_331863_0000.jpg
/home/pi/Desktop/images/03012025/12/39/image_03012025_12_39_02_331863_0001.jpg
/home/pi/Desktop/images/03012025/12/39/image_03012025_12_39_02_331863_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325790017","1325790082","1325789503","1325789871"],"photo_ids_order":["1325789503","1325789871","1325790017","1325790082"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ec4b9da9c65515e39d411148345fe025.jpg","text":"TemporaryFile(/tmp/multipartBody4589979300017816066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735904442151,"filename":"image_03012025_12_39_02_331863_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/fca21c1f908e2d43fcc4a5e8ed70c3ee.jpg","text":"TemporaryFile(/tmp/multipartBody4260239340432159878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735904442151,"filename":"image_03012025_12_39_02_331863_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/af5d689989309a0781dd67aef332e338.jpg","text":"TemporaryFile(/tmp/multipartBody1267703269608570047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735904442151,"filename":"image_03012025_12_38_03_069701_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b220d3123e6d5194b3e5f761b0957eec.jpg","text":"TemporaryFile(/tmp/multipartBody2966864018081386702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735904442151,"filename":"image_03012025_12_39_02_331863_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325790017","file1":"1325789871","file0":"1325789503","file3":"1325790082"},"map_files_photo_id_array":[{"photo_id":"1325790017","filename":"file2"},{"photo_id":"1325789871","filename":"file1"},{"photo_id":"1325789503","filename":"file0"},{"photo_id":"1325790082","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325790017":["hashtag1","hashtag2"]},{"1325790082":["hashtag1","hashtag2"]},{"1325789503":["hashtag1","hashtag2"]},{"1325789871":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325790017, 1325790082, 1325789503, 1325789871)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.26001763343811 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 12:40:22.294050
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/12/39/image_03012025_12_39_02_331863_0003.jpg', '/home/pi/Desktop/images/03012025/12/40/image_03012025_12_40_02_397239_0000.jpg', '/home/pi/Desktop/images/03012025/12/40/image_03012025_12_40_02_397239_0001.jpg', '/home/pi/Desktop/images/03012025/12/40/image_03012025_12_40_02_397239_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/12/39/image_03012025_12_39_02_331863_0003.jpg
/home/pi/Desktop/images/03012025/12/40/image_03012025_12_40_02_397239_0000.jpg
/home/pi/Desktop/images/03012025/12/40/image_03012025_12_40_02_397239_0001.jpg
/home/pi/Desktop/images/03012025/12/40/image_03012025_12_40_02_397239_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325790953","1325790979","1325791120","1325791030"],"photo_ids_order":["1325790953","1325790979","1325791030","1325791120"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0cae353840cbd276276048e158eac5ab.jpg","text":"TemporaryFile(/tmp/multipartBody4461809863313127828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735904492469,"filename":"image_03012025_12_39_02_331863_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1efdec190d1939f52afcc0305b3b7a64.jpg","text":"TemporaryFile(/tmp/multipartBody7059577077394003600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735904492469,"filename":"image_03012025_12_40_02_397239_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5b8041660bb3c13979948c88bafea7bc.jpg","text":"TemporaryFile(/tmp/multipartBody4182693248199274988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735904492469,"filename":"image_03012025_12_40_02_397239_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d1f09763b68f1c164781df12db6df59e.jpg","text":"TemporaryFile(/tmp/multipartBody2467591990364769249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735904492469,"filename":"image_03012025_12_40_02_397239_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325791030","file1":"1325790979","file0":"1325790953","file3":"1325791120"},"map_files_photo_id_array":[{"photo_id":"1325791030","filename":"file2"},{"photo_id":"1325790979","filename":"file1"},{"photo_id":"1325790953","filename":"file0"},{"photo_id":"1325791120","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325790953":["hashtag1","hashtag2"]},{"1325790979":["hashtag1","hashtag2"]},{"1325791120":["hashtag1","hashtag2"]},{"1325791030":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325790953, 1325790979, 1325791120, 1325791030)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.08063054084778 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 12:41:22.432953
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/12/40/image_03012025_12_40_02_397239_0003.jpg', '/home/pi/Desktop/images/03012025/12/41/image_03012025_12_41_02_620373_0000.jpg', '/home/pi/Desktop/images/03012025/12/41/image_03012025_12_41_02_620373_0001.jpg', '/home/pi/Desktop/images/03012025/12/41/image_03012025_12_41_02_620373_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/12/40/image_03012025_12_40_02_397239_0003.jpg
/home/pi/Desktop/images/03012025/12/41/image_03012025_12_41_02_620373_0000.jpg
/home/pi/Desktop/images/03012025/12/41/image_03012025_12_41_02_620373_0001.jpg
/home/pi/Desktop/images/03012025/12/41/image_03012025_12_41_02_620373_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325791203","1325791172","1325791178","1325791353"],"photo_ids_order":["1325791172","1325791178","1325791203","1325791353"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/87f01661083ad8c70fb32d491f13c2ae.jpg","text":"TemporaryFile(/tmp/multipartBody6271456388339453951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735904552656,"filename":"image_03012025_12_41_02_620373_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6aae28ae75003b8b60d2db7c4c76261b.jpg","text":"TemporaryFile(/tmp/multipartBody1871555431881376914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735904552656,"filename":"image_03012025_12_40_02_397239_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/546553dcfb9b2853aecdafe95946193f.jpg","text":"TemporaryFile(/tmp/multipartBody4456997083128263261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735904552656,"filename":"image_03012025_12_41_02_620373_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9b3c755f436a22df1e2820a07de7f9bb.jpg","text":"TemporaryFile(/tmp/multipartBody4955445928587158958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735904552656,"filename":"image_03012025_12_41_02_620373_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325791203","file1":"1325791178","file0":"1325791172","file3":"1325791353"},"map_files_photo_id_array":[{"photo_id":"1325791203","filename":"file2"},{"photo_id":"1325791178","filename":"file1"},{"photo_id":"1325791172","filename":"file0"},{"photo_id":"1325791353","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325791203":["hashtag1","hashtag2"]},{"1325791172":["hashtag1","hashtag2"]},{"1325791178":["hashtag1","hashtag2"]},{"1325791353":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325791203, 1325791172, 1325791178, 1325791353)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.60869908332825 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 12:42:03.130637
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 12:42:22.645925
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/12/41/image_03012025_12_41_02_620373_0003.jpg', '/home/pi/Desktop/images/03012025/12/42/image_03012025_12_42_02_786733_0000.jpg', '/home/pi/Desktop/images/03012025/12/42/image_03012025_12_42_02_786733_0001.jpg', '/home/pi/Desktop/images/03012025/12/42/image_03012025_12_42_02_786733_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/12/41/image_03012025_12_41_02_620373_0003.jpg
/home/pi/Desktop/images/03012025/12/42/image_03012025_12_42_02_786733_0000.jpg
/home/pi/Desktop/images/03012025/12/42/image_03012025_12_42_02_786733_0001.jpg
/home/pi/Desktop/images/03012025/12/42/image_03012025_12_42_02_786733_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325791547","1325791597","1325791593","1325791589"],"photo_ids_order":["1325791547","1325791589","1325791593","1325791597"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/77feb024db5620b5df06b597fd1b33bb.jpg","text":"TemporaryFile(/tmp/multipartBody3080501482633528680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735904613239,"filename":"image_03012025_12_41_02_620373_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b3ef89594d0f88531aeb8709252f3de6.jpg","text":"TemporaryFile(/tmp/multipartBody8714531733823284857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735904613239,"filename":"image_03012025_12_42_02_786733_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e2029ab3fe31b0f2bf8692d96ccb4415.jpg","text":"TemporaryFile(/tmp/multipartBody2114948201484669906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735904613239,"filename":"image_03012025_12_42_02_786733_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/37c41b85227629a72e2c5183e39f6cd3.jpg","text":"TemporaryFile(/tmp/multipartBody8917954490663505522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735904613239,"filename":"image_03012025_12_42_02_786733_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325791593","file1":"1325791589","file0":"1325791547","file3":"1325791597"},"map_files_photo_id_array":[{"photo_id":"1325791593","filename":"file2"},{"photo_id":"1325791589","filename":"file1"},{"photo_id":"1325791547","filename":"file0"},{"photo_id":"1325791597","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325791547":["hashtag1","hashtag2"]},{"1325791597":["hashtag1","hashtag2"]},{"1325791593":["hashtag1","hashtag2"]},{"1325791589":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325791547, 1325791597, 1325791593, 1325791589)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.94624352455139 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 12:43:21.863907
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/12/42/image_03012025_12_42_02_786733_0003.jpg', '/home/pi/Desktop/images/03012025/12/43/image_03012025_12_43_03_065046_0000.jpg', '/home/pi/Desktop/images/03012025/12/43/image_03012025_12_43_03_065046_0001.jpg', '/home/pi/Desktop/images/03012025/12/43/image_03012025_12_43_03_065046_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/12/42/image_03012025_12_42_02_786733_0003.jpg
/home/pi/Desktop/images/03012025/12/43/image_03012025_12_43_03_065046_0000.jpg
/home/pi/Desktop/images/03012025/12/43/image_03012025_12_43_03_065046_0001.jpg
/home/pi/Desktop/images/03012025/12/43/image_03012025_12_43_03_065046_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325791754","1325791766","1325791762","1325791758"],"photo_ids_order":["1325791754","1325791758","1325791762","1325791766"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/dab2669de65aa5c043a127e06b3e3e28.jpg","text":"TemporaryFile(/tmp/multipartBody6907973416128585084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735904672440,"filename":"image_03012025_12_42_02_786733_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5df8e0b1a7335a58d9ca49fc8ef6267c.jpg","text":"TemporaryFile(/tmp/multipartBody7236333215756537536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735904672440,"filename":"image_03012025_12_43_03_065046_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/deaab8b940953fa42aff45956d8317eb.jpg","text":"TemporaryFile(/tmp/multipartBody4036294854390613093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735904672440,"filename":"image_03012025_12_43_03_065046_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/74e5ff65f505f5a1b8f0ed226a6b09ac.jpg","text":"TemporaryFile(/tmp/multipartBody7558514724371284884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735904672440,"filename":"image_03012025_12_43_03_065046_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325791762","file1":"1325791758","file0":"1325791754","file3":"1325791766"},"map_files_photo_id_array":[{"photo_id":"1325791762","filename":"file2"},{"photo_id":"1325791758","filename":"file1"},{"photo_id":"1325791754","filename":"file0"},{"photo_id":"1325791766","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325791754":["hashtag1","hashtag2"]},{"1325791766":["hashtag1","hashtag2"]},{"1325791762":["hashtag1","hashtag2"]},{"1325791758":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325791754, 1325791766, 1325791762, 1325791758)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.903587102890015 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 12:44:02.397223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 12:44:21.976642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/12/43/image_03012025_12_43_03_065046_0003.jpg', '/home/pi/Desktop/images/03012025/12/44/image_03012025_12_44_02_251901_0000.jpg', '/home/pi/Desktop/images/03012025/12/44/image_03012025_12_44_02_251901_0001.jpg', '/home/pi/Desktop/images/03012025/12/44/image_03012025_12_44_02_251901_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/12/43/image_03012025_12_43_03_065046_0003.jpg
/home/pi/Desktop/images/03012025/12/44/image_03012025_12_44_02_251901_0000.jpg
/home/pi/Desktop/images/03012025/12/44/image_03012025_12_44_02_251901_0001.jpg
/home/pi/Desktop/images/03012025/12/44/image_03012025_12_44_02_251901_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325791946","1325791954","1325791794","1325791923"],"photo_ids_order":["1325791794","1325791923","1325791946","1325791954"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3f5fa059ceba7eae12a2ebb7004245a0.jpg","text":"TemporaryFile(/tmp/multipartBody1756529465634691655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735904732441,"filename":"image_03012025_12_44_02_251901_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/000e4852930c03813995609b8ab04a89.jpg","text":"TemporaryFile(/tmp/multipartBody3044077868545252421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735904732441,"filename":"image_03012025_12_44_02_251901_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f6b6e837e7a54eadcbda1d3f34654bf9.jpg","text":"TemporaryFile(/tmp/multipartBody2248898798506284381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735904732441,"filename":"image_03012025_12_43_03_065046_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f524a55cba2dbf15494ae529114fdf3c.jpg","text":"TemporaryFile(/tmp/multipartBody8111544928143750248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735904732441,"filename":"image_03012025_12_44_02_251901_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325791946","file1":"1325791923","file0":"1325791794","file3":"1325791954"},"map_files_photo_id_array":[{"photo_id":"1325791946","filename":"file2"},{"photo_id":"1325791923","filename":"file1"},{"photo_id":"1325791794","filename":"file0"},{"photo_id":"1325791954","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325791946":["hashtag1","hashtag2"]},{"1325791954":["hashtag1","hashtag2"]},{"1325791794":["hashtag1","hashtag2"]},{"1325791923":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325791946, 1325791954, 1325791794, 1325791923)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.3958625793457 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 12:45:02.794937
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 12:45:22.173617
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/12/44/image_03012025_12_44_02_251901_0003.jpg', '/home/pi/Desktop/images/03012025/12/45/image_03012025_12_45_02_320522_0000.jpg', '/home/pi/Desktop/images/03012025/12/45/image_03012025_12_45_02_320522_0001.jpg', '/home/pi/Desktop/images/03012025/12/45/image_03012025_12_45_02_320522_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/12/44/image_03012025_12_44_02_251901_0003.jpg
/home/pi/Desktop/images/03012025/12/45/image_03012025_12_45_02_320522_0000.jpg
/home/pi/Desktop/images/03012025/12/45/image_03012025_12_45_02_320522_0001.jpg
/home/pi/Desktop/images/03012025/12/45/image_03012025_12_45_02_320522_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325792021","1325792015","1325791999","1325792004"],"photo_ids_order":["1325791999","1325792004","1325792015","1325792021"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5fa453d00d3883cec8cd52bc5b4e8718.jpg","text":"TemporaryFile(/tmp/multipartBody4153783038230160842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735904792515,"filename":"image_03012025_12_45_02_320522_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e0f8dcfc4ad622b53e84fdff556bdc4d.jpg","text":"TemporaryFile(/tmp/multipartBody2452706147731955096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735904792515,"filename":"image_03012025_12_45_02_320522_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0691a621b708a1b6f8b2a7a36bb103fe.jpg","text":"TemporaryFile(/tmp/multipartBody5264297065982229880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735904792515,"filename":"image_03012025_12_44_02_251901_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2cac921fa51314f806c47d35e4e46670.jpg","text":"TemporaryFile(/tmp/multipartBody5580394987545929811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735904792515,"filename":"image_03012025_12_45_02_320522_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325792015","file1":"1325792004","file0":"1325791999","file3":"1325792021"},"map_files_photo_id_array":[{"photo_id":"1325792015","filename":"file2"},{"photo_id":"1325792004","filename":"file1"},{"photo_id":"1325791999","filename":"file0"},{"photo_id":"1325792021","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325792021":["hashtag1","hashtag2"]},{"1325792015":["hashtag1","hashtag2"]},{"1325791999":["hashtag1","hashtag2"]},{"1325792004":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325792021, 1325792015, 1325791999, 1325792004)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.247862100601196 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 12:46:02.731907
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 12:46:22.440506
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/12/45/image_03012025_12_45_02_320522_0003.jpg', '/home/pi/Desktop/images/03012025/12/46/image_03012025_12_46_02_530838_0000.jpg', '/home/pi/Desktop/images/03012025/12/46/image_03012025_12_46_02_530838_0001.jpg', '/home/pi/Desktop/images/03012025/12/46/image_03012025_12_46_02_530838_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/12/45/image_03012025_12_45_02_320522_0003.jpg
/home/pi/Desktop/images/03012025/12/46/image_03012025_12_46_02_530838_0000.jpg
/home/pi/Desktop/images/03012025/12/46/image_03012025_12_46_02_530838_0001.jpg
/home/pi/Desktop/images/03012025/12/46/image_03012025_12_46_02_530838_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325792354","1325792364","1325792369","1325792360"],"photo_ids_order":["1325792354","1325792360","1325792364","1325792369"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/53323fb99c2cfdc7d4bfa6dc66ba8ea7.jpg","text":"TemporaryFile(/tmp/multipartBody2618045859939006175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735904852650,"filename":"image_03012025_12_45_02_320522_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/78264c4007956ed64705e5885d80b5d8.jpg","text":"TemporaryFile(/tmp/multipartBody3998922913851883845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735904852650,"filename":"image_03012025_12_46_02_530838_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a392c96b9865a9656b3459e77442499f.jpg","text":"TemporaryFile(/tmp/multipartBody2935944899594648583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735904852650,"filename":"image_03012025_12_46_02_530838_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a2f725635307445b26572a40277e3270.jpg","text":"TemporaryFile(/tmp/multipartBody6028565911661169119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735904852650,"filename":"image_03012025_12_46_02_530838_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325792364","file1":"1325792360","file0":"1325792354","file3":"1325792369"},"map_files_photo_id_array":[{"photo_id":"1325792364","filename":"file2"},{"photo_id":"1325792360","filename":"file1"},{"photo_id":"1325792354","filename":"file0"},{"photo_id":"1325792369","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325792354":["hashtag1","hashtag2"]},{"1325792364":["hashtag1","hashtag2"]},{"1325792369":["hashtag1","hashtag2"]},{"1325792360":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325792354, 1325792364, 1325792369, 1325792360)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.160399436950684 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 12:47:03.224590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 12:47:22.592738
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/12/46/image_03012025_12_46_02_530838_0003.jpg', '/home/pi/Desktop/images/03012025/12/47/image_03012025_12_47_02_734413_0000.jpg', '/home/pi/Desktop/images/03012025/12/47/image_03012025_12_47_02_734413_0001.jpg', '/home/pi/Desktop/images/03012025/12/47/image_03012025_12_47_02_734413_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/12/46/image_03012025_12_46_02_530838_0003.jpg
/home/pi/Desktop/images/03012025/12/47/image_03012025_12_47_02_734413_0000.jpg
/home/pi/Desktop/images/03012025/12/47/image_03012025_12_47_02_734413_0001.jpg
/home/pi/Desktop/images/03012025/12/47/image_03012025_12_47_02_734413_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325792525","1325792534","1325792529","1325792549"],"photo_ids_order":["1325792525","1325792529","1325792534","1325792549"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/acf88289578bee806dd34d12a873ddc2.jpg","text":"TemporaryFile(/tmp/multipartBody5924131854893341768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735904912815,"filename":"image_03012025_12_46_02_530838_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ac1817fd4e6f1a859930629bfc6a2e7b.jpg","text":"TemporaryFile(/tmp/multipartBody56888567856709551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735904912815,"filename":"image_03012025_12_47_02_734413_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/142d665a79f4b97c300204d7097a47cb.jpg","text":"TemporaryFile(/tmp/multipartBody60711154126384268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735904912815,"filename":"image_03012025_12_47_02_734413_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/676e9b1fa92c7a12ffdd00e4b0c5ce3a.jpg","text":"TemporaryFile(/tmp/multipartBody2515862627046708408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735904912815,"filename":"image_03012025_12_47_02_734413_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325792534","file1":"1325792529","file0":"1325792525","file3":"1325792549"},"map_files_photo_id_array":[{"photo_id":"1325792534","filename":"file2"},{"photo_id":"1325792529","filename":"file1"},{"photo_id":"1325792525","filename":"file0"},{"photo_id":"1325792549","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325792525":["hashtag1","hashtag2"]},{"1325792534":["hashtag1","hashtag2"]},{"1325792529":["hashtag1","hashtag2"]},{"1325792549":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325792525, 1325792534, 1325792529, 1325792549)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.54202914237976 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 12:48:22.737099
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/12/47/image_03012025_12_47_02_734413_0003.jpg', '/home/pi/Desktop/images/03012025/12/48/image_03012025_12_48_02_886179_0000.jpg', '/home/pi/Desktop/images/03012025/12/48/image_03012025_12_48_02_886179_0001.jpg', '/home/pi/Desktop/images/03012025/12/48/image_03012025_12_48_02_886179_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/12/47/image_03012025_12_47_02_734413_0003.jpg
/home/pi/Desktop/images/03012025/12/48/image_03012025_12_48_02_886179_0000.jpg
/home/pi/Desktop/images/03012025/12/48/image_03012025_12_48_02_886179_0001.jpg
/home/pi/Desktop/images/03012025/12/48/image_03012025_12_48_02_886179_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325792639","1325792643","1325792634","1325792573"],"photo_ids_order":["1325792573","1325792634","1325792639","1325792643"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9ecf81957e0a361b6f7a37e62363d148.jpg","text":"TemporaryFile(/tmp/multipartBody169200484786713633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735904973093,"filename":"image_03012025_12_48_02_886179_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9485f177a89c48e5c6f87eff908a8cd8.jpg","text":"TemporaryFile(/tmp/multipartBody1794608625665149970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735904973093,"filename":"image_03012025_12_48_02_886179_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/fc67cb2fe40a1d411efbba45502150d6.jpg","text":"TemporaryFile(/tmp/multipartBody1596138868775362023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735904973093,"filename":"image_03012025_12_48_02_886179_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1d4b8c3dad939948e7606af132bebcb8.jpg","text":"TemporaryFile(/tmp/multipartBody604191785123695976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735904973093,"filename":"image_03012025_12_47_02_734413_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325792639","file1":"1325792634","file0":"1325792573","file3":"1325792643"},"map_files_photo_id_array":[{"photo_id":"1325792639","filename":"file2"},{"photo_id":"1325792634","filename":"file1"},{"photo_id":"1325792573","filename":"file0"},{"photo_id":"1325792643","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325792639":["hashtag1","hashtag2"]},{"1325792643":["hashtag1","hashtag2"]},{"1325792634":["hashtag1","hashtag2"]},{"1325792573":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325792639, 1325792643, 1325792634, 1325792573)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.73045468330383 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 12:49:21.939538
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/12/48/image_03012025_12_48_02_886179_0003.jpg', '/home/pi/Desktop/images/03012025/12/49/image_03012025_12_49_03_107975_0000.jpg', '/home/pi/Desktop/images/03012025/12/49/image_03012025_12_49_03_107975_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/12/48/image_03012025_12_48_02_886179_0003.jpg
/home/pi/Desktop/images/03012025/12/49/image_03012025_12_49_03_107975_0000.jpg
/home/pi/Desktop/images/03012025/12/49/image_03012025_12_49_03_107975_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":["1325792961","1325793026","1325792999"],"photo_ids_order":["1325792961","1325792999","1325793026"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/be247d947283c875c1866fe3508c7c9b.jpg","text":"TemporaryFile(/tmp/multipartBody3104845034438248391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735905029878,"filename":"image_03012025_12_48_02_886179_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1f21148dc5e589a0dc81504947ce86ce.jpg","text":"TemporaryFile(/tmp/multipartBody7903494677232170190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735905029878,"filename":"image_03012025_12_49_03_107975_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/dba0f467f075681d3866c20286623c5e.jpg","text":"TemporaryFile(/tmp/multipartBody2860998400611911807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735905029878,"filename":"image_03012025_12_49_03_107975_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325793026","file1":"1325792999","file0":"1325792961"},"map_files_photo_id_array":[{"photo_id":"1325793026","filename":"file2"},{"photo_id":"1325792999","filename":"file1"},{"photo_id":"1325792961","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325792961":["hashtag1","hashtag2"]},{"1325793026":["hashtag1","hashtag2"]},{"1325792999":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325792961, 1325793026, 1325792999)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.365694522857666 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 12:50:02.372991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 12:50:22.141742
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/12/49/image_03012025_12_49_03_107975_0002.jpg', '/home/pi/Desktop/images/03012025/12/50/image_03012025_12_50_02_257777_0000.jpg', '/home/pi/Desktop/images/03012025/12/50/image_03012025_12_50_02_257777_0001.jpg', '/home/pi/Desktop/images/03012025/12/50/image_03012025_12_50_02_257777_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/12/49/image_03012025_12_49_03_107975_0002.jpg
/home/pi/Desktop/images/03012025/12/50/image_03012025_12_50_02_257777_0000.jpg
/home/pi/Desktop/images/03012025/12/50/image_03012025_12_50_02_257777_0001.jpg
/home/pi/Desktop/images/03012025/12/50/image_03012025_12_50_02_257777_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325793385","1325793460","1325793380","1325793377"],"photo_ids_order":["1325793377","1325793380","1325793385","1325793460"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9edd3f3a6c141a9c2e49a5cb5eaca428.jpg","text":"TemporaryFile(/tmp/multipartBody273810909134972879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735905092409,"filename":"image_03012025_12_50_02_257777_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f42905a1b51e2fcacdc15d9f41fe505b.jpg","text":"TemporaryFile(/tmp/multipartBody6004972824353691368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735905092409,"filename":"image_03012025_12_50_02_257777_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/360332a007644d05f9a4a3dbf72f7cb9.jpg","text":"TemporaryFile(/tmp/multipartBody5199187521397865610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735905092409,"filename":"image_03012025_12_50_02_257777_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/60a325e0ec2a413ffc4e19db1dbf00b8.jpg","text":"TemporaryFile(/tmp/multipartBody7474370922032821842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735905092409,"filename":"image_03012025_12_49_03_107975_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325793385","file1":"1325793380","file0":"1325793377","file3":"1325793460"},"map_files_photo_id_array":[{"photo_id":"1325793385","filename":"file2"},{"photo_id":"1325793380","filename":"file1"},{"photo_id":"1325793377","filename":"file0"},{"photo_id":"1325793460","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325793385":["hashtag1","hashtag2"]},{"1325793460":["hashtag1","hashtag2"]},{"1325793380":["hashtag1","hashtag2"]},{"1325793377":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325793385, 1325793460, 1325793380, 1325793377)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.432241678237915 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 12:51:02.824219
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 12:51:22.226726
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/12/50/image_03012025_12_50_02_257777_0003.jpg', '/home/pi/Desktop/images/03012025/12/51/image_03012025_12_51_02_458051_0000.jpg', '/home/pi/Desktop/images/03012025/12/51/image_03012025_12_51_02_458051_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/12/50/image_03012025_12_50_02_257777_0003.jpg
/home/pi/Desktop/images/03012025/12/51/image_03012025_12_51_02_458051_0000.jpg
/home/pi/Desktop/images/03012025/12/51/image_03012025_12_51_02_458051_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325793817","1325793846","1325793741"],"photo_ids_order":["1325793741","1325793817","1325793846"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/75b7ac5fe5fab63da3fef78f915e85d4.jpg","text":"TemporaryFile(/tmp/multipartBody2545807221716749437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735905150045,"filename":"image_03012025_12_51_02_458051_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c2f611750ca2dd25365fd0f11e42800c.jpg","text":"TemporaryFile(/tmp/multipartBody6494130504764114403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735905150045,"filename":"image_03012025_12_51_02_458051_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ac49f2349ff565555dd21f187180e8a2.jpg","text":"TemporaryFile(/tmp/multipartBody2163074822939602547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735905150045,"filename":"image_03012025_12_50_02_257777_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325793846","file1":"1325793817","file0":"1325793741"},"map_files_photo_id_array":[{"photo_id":"1325793846","filename":"file2"},{"photo_id":"1325793817","filename":"file1"},{"photo_id":"1325793741","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325793817":["hashtag1","hashtag2"]},{"1325793846":["hashtag1","hashtag2"]},{"1325793741":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325793817, 1325793846, 1325793741)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 33.39319133758545 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 12:52:02.797337
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 12:52:22.443888
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/12/51/image_03012025_12_51_02_458051_0003.jpg', '/home/pi/Desktop/images/03012025/12/52/image_03012025_12_52_02_624458_0000.jpg', '/home/pi/Desktop/images/03012025/12/52/image_03012025_12_52_02_624458_0001.jpg', '/home/pi/Desktop/images/03012025/12/52/image_03012025_12_52_02_624458_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/12/51/image_03012025_12_51_02_458051_0003.jpg
/home/pi/Desktop/images/03012025/12/52/image_03012025_12_52_02_624458_0000.jpg
/home/pi/Desktop/images/03012025/12/52/image_03012025_12_52_02_624458_0001.jpg
/home/pi/Desktop/images/03012025/12/52/image_03012025_12_52_02_624458_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325793895","1325794086","1325793897","1325793903"],"photo_ids_order":["1325793895","1325793897","1325793903","1325794086"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a2c3075c23d967611c084fd3c755e7d0.jpg","text":"TemporaryFile(/tmp/multipartBody274200255244301810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735905212643,"filename":"image_03012025_12_51_02_458051_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c6f6c33cf6372cdc0d9cf444af0fecdc.jpg","text":"TemporaryFile(/tmp/multipartBody9181960985559949321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735905212643,"filename":"image_03012025_12_52_02_624458_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/096b37d6e13c43d3de67ae6a69848a52.jpg","text":"TemporaryFile(/tmp/multipartBody2384652392963200741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735905212643,"filename":"image_03012025_12_52_02_624458_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2e7596c111f9358dc40df2340a2f60a4.jpg","text":"TemporaryFile(/tmp/multipartBody4949571296545120362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735905212643,"filename":"image_03012025_12_52_02_624458_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325793903","file1":"1325793897","file0":"1325793895","file3":"1325794086"},"map_files_photo_id_array":[{"photo_id":"1325793903","filename":"file2"},{"photo_id":"1325793897","filename":"file1"},{"photo_id":"1325793895","filename":"file0"},{"photo_id":"1325794086","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325793895":["hashtag1","hashtag2"]},{"1325794086":["hashtag1","hashtag2"]},{"1325793897":["hashtag1","hashtag2"]},{"1325793903":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325793895, 1325794086, 1325793897, 1325793903)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.30740547180176 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 12:53:22.615697
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/12/52/image_03012025_12_52_02_624458_0003.jpg', '/home/pi/Desktop/images/03012025/12/53/image_03012025_12_53_02_809342_0000.jpg', '/home/pi/Desktop/images/03012025/12/53/image_03012025_12_53_02_809342_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/12/52/image_03012025_12_52_02_624458_0003.jpg
/home/pi/Desktop/images/03012025/12/53/image_03012025_12_53_02_809342_0000.jpg
/home/pi/Desktop/images/03012025/12/53/image_03012025_12_53_02_809342_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":["1325794299","1325794295","1325794302"],"photo_ids_order":["1325794295","1325794299","1325794302"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/efc3b9611d5a9303071b6ab24baa430a.jpg","text":"TemporaryFile(/tmp/multipartBody452547950302025849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735905270459,"filename":"image_03012025_12_53_02_809342_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2de7c5779096bcc7467179d6679d7a56.jpg","text":"TemporaryFile(/tmp/multipartBody7936829190930592429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735905270459,"filename":"image_03012025_12_52_02_624458_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ffd4baab14f6a0db43710d2a565957fe.jpg","text":"TemporaryFile(/tmp/multipartBody1293861744940551885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735905270459,"filename":"image_03012025_12_53_02_809342_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325794302","file1":"1325794299","file0":"1325794295"},"map_files_photo_id_array":[{"photo_id":"1325794302","filename":"file2"},{"photo_id":"1325794299","filename":"file1"},{"photo_id":"1325794295","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325794299":["hashtag1","hashtag2"]},{"1325794295":["hashtag1","hashtag2"]},{"1325794302":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325794299, 1325794295, 1325794302)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.954617500305176 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 12:54:03.064659
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 12:54:22.733918
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/12/53/image_03012025_12_53_02_809342_0002.jpg', '/home/pi/Desktop/images/03012025/12/54/image_03012025_12_54_02_977393_0000.jpg', '/home/pi/Desktop/images/03012025/12/54/image_03012025_12_54_02_977393_0001.jpg', '/home/pi/Desktop/images/03012025/12/54/image_03012025_12_54_02_977393_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/12/53/image_03012025_12_53_02_809342_0002.jpg
/home/pi/Desktop/images/03012025/12/54/image_03012025_12_54_02_977393_0000.jpg
/home/pi/Desktop/images/03012025/12/54/image_03012025_12_54_02_977393_0001.jpg
/home/pi/Desktop/images/03012025/12/54/image_03012025_12_54_02_977393_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.843719482421875 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-03 12:54:42.762360
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/12/53/image_03012025_12_53_02_809342_0002.jpg', '/home/pi/Desktop/images/03012025/12/54/image_03012025_12_54_02_977393_0000.jpg', '/home/pi/Desktop/images/03012025/12/54/image_03012025_12_54_02_977393_0001.jpg', '/home/pi/Desktop/images/03012025/12/54/image_03012025_12_54_02_977393_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/12/53/image_03012025_12_53_02_809342_0002.jpg
/home/pi/Desktop/images/03012025/12/54/image_03012025_12_54_02_977393_0000.jpg
/home/pi/Desktop/images/03012025/12/54/image_03012025_12_54_02_977393_0001.jpg
/home/pi/Desktop/images/03012025/12/54/image_03012025_12_54_02_977393_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325794605","1325794616","1325794517","1325794594"],"photo_ids_order":["1325794517","1325794594","1325794605","1325794616"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/aa6bbf7369f56db8ad796a2279aa834d.jpg","text":"TemporaryFile(/tmp/multipartBody7789812437661209769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735905352987,"filename":"image_03012025_12_54_02_977393_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5c5de86961e6cdf2c191cf00aca3ee2e.jpg","text":"TemporaryFile(/tmp/multipartBody3452578525142298108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735905352987,"filename":"image_03012025_12_54_02_977393_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7a19b113dc960c5d222453d64e7ad031.jpg","text":"TemporaryFile(/tmp/multipartBody4309421392002119813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735905352987,"filename":"image_03012025_12_53_02_809342_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5388a209b12dde4bf19c572c3c4ee1ec.jpg","text":"TemporaryFile(/tmp/multipartBody2981453225264964190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735905352987,"filename":"image_03012025_12_54_02_977393_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325794605","file1":"1325794594","file0":"1325794517","file3":"1325794616"},"map_files_photo_id_array":[{"photo_id":"1325794605","filename":"file2"},{"photo_id":"1325794594","filename":"file1"},{"photo_id":"1325794517","filename":"file0"},{"photo_id":"1325794616","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325794605":["hashtag1","hashtag2"]},{"1325794616":["hashtag1","hashtag2"]},{"1325794517":["hashtag1","hashtag2"]},{"1325794594":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325794605, 1325794616, 1325794517, 1325794594)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.22041726112366 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-03 12:55:31.852795
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/12/54/image_03012025_12_54_02_977393_0003.jpg', '/home/pi/Desktop/images/03012025/12/55/image_03012025_12_55_03_116128_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/12/54/image_03012025_12_54_02_977393_0003.jpg
/home/pi/Desktop/images/03012025/12/55/image_03012025_12_55_03_116128_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":["1325794630","1325794627"],"photo_ids_order":["1325794627","1325794630"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/86990fd4c226946d362496913545e13c.jpg","text":"TemporaryFile(/tmp/multipartBody3851230139965297561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735905397248,"filename":"image_03012025_12_55_03_116128_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/960deefb2f4b2b15724a20eb560f5ea8.jpg","text":"TemporaryFile(/tmp/multipartBody1799364479035336056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735905397248,"filename":"image_03012025_12_54_02_977393_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1325794630","file0":"1325794627"},"map_files_photo_id_array":[{"photo_id":"1325794630","filename":"file1"},{"photo_id":"1325794627","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325794630":["hashtag1","hashtag2"]},{"1325794627":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325794630, 1325794627)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.217970371246338 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 12:56:02.516702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 12:56:22.148951
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/12/55/image_03012025_12_55_03_116128_0001.jpg', '/home/pi/Desktop/images/03012025/12/56/image_03012025_12_56_02_332969_0001.jpg', '/home/pi/Desktop/images/03012025/12/56/image_03012025_12_56_02_332969_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/12/55/image_03012025_12_55_03_116128_0001.jpg
/home/pi/Desktop/images/03012025/12/56/image_03012025_12_56_02_332969_0001.jpg
/home/pi/Desktop/images/03012025/12/56/image_03012025_12_56_02_332969_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325794691","1325794688","1325794685"],"photo_ids_order":["1325794685","1325794688","1325794691"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/dc9525ccc79d73cf8e6b597c22947eb5.jpg","text":"TemporaryFile(/tmp/multipartBody41505325483739227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735905450008,"filename":"image_03012025_12_56_02_332969_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ee0c57d0f50f2dd8a6b9795f24727c62.jpg","text":"TemporaryFile(/tmp/multipartBody5815117942392085747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735905450008,"filename":"image_03012025_12_56_02_332969_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f2b45b5d4397cb3eb50c5e3d625e8c17.jpg","text":"TemporaryFile(/tmp/multipartBody4401345106321772798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735905450008,"filename":"image_03012025_12_55_03_116128_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325794691","file1":"1325794688","file0":"1325794685"},"map_files_photo_id_array":[{"photo_id":"1325794691","filename":"file2"},{"photo_id":"1325794688","filename":"file1"},{"photo_id":"1325794685","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325794691":["hashtag1","hashtag2"]},{"1325794688":["hashtag1","hashtag2"]},{"1325794685":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325794691, 1325794688, 1325794685)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.38825249671936 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 12:57:02.840188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 12:57:22.338324
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/12/56/image_03012025_12_56_02_332969_0003.jpg', '/home/pi/Desktop/images/03012025/12/57/image_03012025_12_57_02_441757_0000.jpg', '/home/pi/Desktop/images/03012025/12/57/image_03012025_12_57_02_441757_0001.jpg', '/home/pi/Desktop/images/03012025/12/57/image_03012025_12_57_02_441757_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/12/56/image_03012025_12_56_02_332969_0003.jpg
/home/pi/Desktop/images/03012025/12/57/image_03012025_12_57_02_441757_0000.jpg
/home/pi/Desktop/images/03012025/12/57/image_03012025_12_57_02_441757_0001.jpg
/home/pi/Desktop/images/03012025/12/57/image_03012025_12_57_02_441757_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325794713","1325794706","1325794709","1325794703"],"photo_ids_order":["1325794703","1325794706","1325794709","1325794713"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1b9e35093bd0c6e46d491c6185cba034.jpg","text":"TemporaryFile(/tmp/multipartBody2640151711675884845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735905512519,"filename":"image_03012025_12_57_02_441757_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a88a40db8548b62af53b2a262adb8e00.jpg","text":"TemporaryFile(/tmp/multipartBody1464184062528663878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735905512519,"filename":"image_03012025_12_57_02_441757_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/bee014a8ebc040a6c5edab8ab0d556e4.jpg","text":"TemporaryFile(/tmp/multipartBody5022466081381523480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735905512519,"filename":"image_03012025_12_57_02_441757_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/90104a1ef859df55b76660ab2fd73011.jpg","text":"TemporaryFile(/tmp/multipartBody79654988986834115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735905512519,"filename":"image_03012025_12_56_02_332969_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325794709","file1":"1325794706","file0":"1325794703","file3":"1325794713"},"map_files_photo_id_array":[{"photo_id":"1325794709","filename":"file2"},{"photo_id":"1325794706","filename":"file1"},{"photo_id":"1325794703","filename":"file0"},{"photo_id":"1325794713","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325794713":["hashtag1","hashtag2"]},{"1325794706":["hashtag1","hashtag2"]},{"1325794709":["hashtag1","hashtag2"]},{"1325794703":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325794713, 1325794706, 1325794709, 1325794703)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.21276497840881 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 12:59:03.229713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/12/57/image_03012025_12_57_02_441757_0003.jpg', '/home/pi/Desktop/images/03012025/12/58/image_03012025_12_58_02_618726_0000.jpg', '/home/pi/Desktop/images/03012025/12/58/image_03012025_12_58_02_618726_0001.jpg', '/home/pi/Desktop/images/03012025/12/58/image_03012025_12_58_02_618726_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/12/57/image_03012025_12_57_02_441757_0003.jpg
/home/pi/Desktop/images/03012025/12/58/image_03012025_12_58_02_618726_0000.jpg
/home/pi/Desktop/images/03012025/12/58/image_03012025_12_58_02_618726_0001.jpg
/home/pi/Desktop/images/03012025/12/58/image_03012025_12_58_02_618726_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325795444","1325795435","1325795323","1325795425"],"photo_ids_order":["1325795323","1325795425","1325795435","1325795444"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c1d710e97690d9c213321965c58a086e.jpg","text":"TemporaryFile(/tmp/multipartBody3245545841574513294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735905613498,"filename":"image_03012025_12_58_02_618726_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8dae20a9cc768328e47c5b84acb5df5f.jpg","text":"TemporaryFile(/tmp/multipartBody8582615499462944510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735905613498,"filename":"image_03012025_12_58_02_618726_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/fd41a83083a5a9b4ae23112d6e301f08.jpg","text":"TemporaryFile(/tmp/multipartBody3422150476907132635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735905613498,"filename":"image_03012025_12_57_02_441757_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f2c8c9f9dc6af06f526ef30478de5297.jpg","text":"TemporaryFile(/tmp/multipartBody4630261008553542767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735905613498,"filename":"image_03012025_12_58_02_618726_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325795435","file1":"1325795425","file0":"1325795323","file3":"1325795444"},"map_files_photo_id_array":[{"photo_id":"1325795435","filename":"file2"},{"photo_id":"1325795425","filename":"file1"},{"photo_id":"1325795323","filename":"file0"},{"photo_id":"1325795444","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325795444":["hashtag1","hashtag2"]},{"1325795435":["hashtag1","hashtag2"]},{"1325795323":["hashtag1","hashtag2"]},{"1325795425":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325795444, 1325795435, 1325795323, 1325795425)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.73557496070862 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-03 12:59:52.475232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/12/58/image_03012025_12_58_02_618726_0003.jpg', '/home/pi/Desktop/images/03012025/12/59/image_03012025_12_59_02_739883_0000.jpg', '/home/pi/Desktop/images/03012025/12/59/image_03012025_12_59_02_739883_0001.jpg', '/home/pi/Desktop/images/03012025/12/59/image_03012025_12_59_02_739883_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/12/58/image_03012025_12_58_02_618726_0003.jpg
/home/pi/Desktop/images/03012025/12/59/image_03012025_12_59_02_739883_0000.jpg
/home/pi/Desktop/images/03012025/12/59/image_03012025_12_59_02_739883_0001.jpg
/home/pi/Desktop/images/03012025/12/59/image_03012025_12_59_02_739883_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":["1325796810","1325796631","1325796826","1325796616"],"photo_ids_order":["1325796616","1325796631","1325796810","1325796826"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b60774249ece9f05020afbd43ab56612.jpg","text":"TemporaryFile(/tmp/multipartBody5769480860959729683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735905662704,"filename":"image_03012025_12_59_02_739883_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3d868c381a0b9a723b8b0cce03c28105.jpg","text":"TemporaryFile(/tmp/multipartBody4286603172162035341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735905662704,"filename":"image_03012025_12_59_02_739883_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2d57afbd8281f7963d05971be1a21410.jpg","text":"TemporaryFile(/tmp/multipartBody1856282309388249213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735905662704,"filename":"image_03012025_12_59_02_739883_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e9be03f49d16bc0ae1e0f4c54a63f399.jpg","text":"TemporaryFile(/tmp/multipartBody4095078028965012527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735905662704,"filename":"image_03012025_12_58_02_618726_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325796810","file1":"1325796631","file0":"1325796616","file3":"1325796826"},"map_files_photo_id_array":[{"photo_id":"1325796810","filename":"file2"},{"photo_id":"1325796631","filename":"file1"},{"photo_id":"1325796616","filename":"file0"},{"photo_id":"1325796826","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325796810":["hashtag1","hashtag2"]},{"1325796631":["hashtag1","hashtag2"]},{"1325796826":["hashtag1","hashtag2"]},{"1325796616":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325796810, 1325796631, 1325796826, 1325796616)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.71398138999939 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-03 13:00:32.636381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/12/59/image_03012025_12_59_02_739883_0003.jpg', '/home/pi/Desktop/images/03012025/13/00/image_03012025_13_00_02_927309_0000.jpg', '/home/pi/Desktop/images/03012025/13/00/image_03012025_13_00_02_927309_0001.jpg', '/home/pi/Desktop/images/03012025/13/00/image_03012025_13_00_02_927309_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/12/59/image_03012025_12_59_02_739883_0003.jpg
/home/pi/Desktop/images/03012025/13/00/image_03012025_13_00_02_927309_0000.jpg
/home/pi/Desktop/images/03012025/13/00/image_03012025_13_00_02_927309_0001.jpg
/home/pi/Desktop/images/03012025/13/00/image_03012025_13_00_02_927309_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325797094","1325797078","1325797108","1325797105"],"photo_ids_order":["1325797078","1325797094","1325797105","1325797108"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5e1f8b5fd0ae8356abccd550fb865c2a.jpg","text":"TemporaryFile(/tmp/multipartBody2874555018113291116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735905702857,"filename":"image_03012025_13_00_02_927309_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9c389b0c086f4dfa72e64ddfd7bad0ce.jpg","text":"TemporaryFile(/tmp/multipartBody7138939358283237677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735905702857,"filename":"image_03012025_12_59_02_739883_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0ccd0bf0ca126843bc8d23f523fcbbac.jpg","text":"TemporaryFile(/tmp/multipartBody1796530213196298429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735905702857,"filename":"image_03012025_13_00_02_927309_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8db997b3613bc119a69d2a843ad3fb15.jpg","text":"TemporaryFile(/tmp/multipartBody3747736846649870198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735905702857,"filename":"image_03012025_13_00_02_927309_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325797105","file1":"1325797094","file0":"1325797078","file3":"1325797108"},"map_files_photo_id_array":[{"photo_id":"1325797105","filename":"file2"},{"photo_id":"1325797094","filename":"file1"},{"photo_id":"1325797078","filename":"file0"},{"photo_id":"1325797108","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325797094":["hashtag1","hashtag2"]},{"1325797078":["hashtag1","hashtag2"]},{"1325797108":["hashtag1","hashtag2"]},{"1325797105":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325797094, 1325797078, 1325797108, 1325797105)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.15372395515442 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 13:01:21.781923
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/13/00/image_03012025_13_00_02_927309_0003.jpg', '/home/pi/Desktop/images/03012025/13/01/image_03012025_13_01_03_037389_0001.jpg', '/home/pi/Desktop/images/03012025/13/01/image_03012025_13_01_03_037389_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/13/00/image_03012025_13_00_02_927309_0003.jpg
/home/pi/Desktop/images/03012025/13/01/image_03012025_13_01_03_037389_0001.jpg
/home/pi/Desktop/images/03012025/13/01/image_03012025_13_01_03_037389_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325797292","1325797288","1325797284"],"photo_ids_order":["1325797284","1325797288","1325797292"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b114f9ef8569879e3769a1aadba655c5.jpg","text":"TemporaryFile(/tmp/multipartBody3714677429487065650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735905749589,"filename":"image_03012025_13_01_03_037389_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e44c4ff906097e60b5d468f4b3b2cd91.jpg","text":"TemporaryFile(/tmp/multipartBody7392847535691136750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735905749589,"filename":"image_03012025_13_01_03_037389_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/54716c59fdd5d88d7b6dc78480418961.jpg","text":"TemporaryFile(/tmp/multipartBody4339323519308741368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735905749589,"filename":"image_03012025_13_00_02_927309_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325797292","file1":"1325797288","file0":"1325797284"},"map_files_photo_id_array":[{"photo_id":"1325797292","filename":"file2"},{"photo_id":"1325797288","filename":"file1"},{"photo_id":"1325797284","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325797292":["hashtag1","hashtag2"]},{"1325797288":["hashtag1","hashtag2"]},{"1325797284":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325797292, 1325797288, 1325797284)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.88895010948181 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 13:02:02.522647
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 13:02:22.073927
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/13/01/image_03012025_13_01_03_037389_0003.jpg', '/home/pi/Desktop/images/03012025/13/02/image_03012025_13_02_02_243792_0000.jpg', '/home/pi/Desktop/images/03012025/13/02/image_03012025_13_02_02_243792_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/13/01/image_03012025_13_01_03_037389_0003.jpg
/home/pi/Desktop/images/03012025/13/02/image_03012025_13_02_02_243792_0000.jpg
/home/pi/Desktop/images/03012025/13/02/image_03012025_13_02_02_243792_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":["1325797679","1325797669","1325797674"],"photo_ids_order":["1325797669","1325797674","1325797679"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1a315e1ad885067be3b46d477327c4e7.jpg","text":"TemporaryFile(/tmp/multipartBody3441571010106146335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735905809916,"filename":"image_03012025_13_02_02_243792_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f5203420d03cb1232a4bda968455fb27.jpg","text":"TemporaryFile(/tmp/multipartBody8660209687843855866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735905809916,"filename":"image_03012025_13_01_03_037389_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/88da543bc823ccd3926eeaeac9471c0f.jpg","text":"TemporaryFile(/tmp/multipartBody1915272715566207461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735905809916,"filename":"image_03012025_13_02_02_243792_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325797679","file1":"1325797674","file0":"1325797669"},"map_files_photo_id_array":[{"photo_id":"1325797679","filename":"file2"},{"photo_id":"1325797674","filename":"file1"},{"photo_id":"1325797669","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325797679":["hashtag1","hashtag2"]},{"1325797669":["hashtag1","hashtag2"]},{"1325797674":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325797679, 1325797669, 1325797674)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.329492807388306 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 13:03:02.888691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 13:03:22.244672
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/13/02/image_03012025_13_02_02_243792_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/13/02/image_03012025_13_02_02_243792_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325797804"],"photo_id":"1325797804","photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/47035e033d8d01ef901075d42738515f.jpg","text":"TemporaryFile(/tmp/multipartBody9066543846682252528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735905865273,"filename":"image_03012025_13_02_02_243792_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file0":"1325797804"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1325797804"}],"hashtags":[],"portfolio_id":"19381866","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.828752756118774 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-03 13:03:42.266910
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-03 13:03:52.248303
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 13:04:02.940175
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 13:04:22.457248
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/13/03/image_03012025_13_03_02_443080_0000.jpg', '/home/pi/Desktop/images/03012025/13/04/image_03012025_13_04_02_630586_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/13/03/image_03012025_13_03_02_443080_0000.jpg
/home/pi/Desktop/images/03012025/13/04/image_03012025_13_04_02_630586_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":["1325797868","1325797840"],"photo_ids_order":["1325797840","1325797868"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/dbea3696c0e28bf9b95b4498b9a6ba45.jpg","text":"TemporaryFile(/tmp/multipartBody7279872306612348099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735905927884,"filename":"image_03012025_13_04_02_630586_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/989efd0970257ba88fbce412522607b8.jpg","text":"TemporaryFile(/tmp/multipartBody7555227367634619406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735905927884,"filename":"image_03012025_13_03_02_443080_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1325797868","file0":"1325797840"},"map_files_photo_id_array":[{"photo_id":"1325797868","filename":"file1"},{"photo_id":"1325797840","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325797868":["hashtag1","hashtag2"]},{"1325797840":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325797868, 1325797840)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.176780223846436 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-03 13:04:52.439886
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 13:05:03.265887
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 13:05:22.603960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/13/04/image_03012025_13_04_02_630586_0002.jpg', '/home/pi/Desktop/images/03012025/13/05/image_03012025_13_05_02_880066_0000.jpg', '/home/pi/Desktop/images/03012025/13/05/image_03012025_13_05_02_880066_0001.jpg', '/home/pi/Desktop/images/03012025/13/05/image_03012025_13_05_02_880066_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/13/04/image_03012025_13_04_02_630586_0002.jpg
/home/pi/Desktop/images/03012025/13/05/image_03012025_13_05_02_880066_0000.jpg
/home/pi/Desktop/images/03012025/13/05/image_03012025_13_05_02_880066_0001.jpg
/home/pi/Desktop/images/03012025/13/05/image_03012025_13_05_02_880066_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325798182","1325798155","1325798130","1325798177"],"photo_ids_order":["1325798130","1325798155","1325798177","1325798182"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3f648c421d405e8ef271daf4102cafcc.jpg","text":"TemporaryFile(/tmp/multipartBody8018690791914888194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735905992790,"filename":"image_03012025_13_05_02_880066_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8191b88346691ea5b6261ef942dacf3d.jpg","text":"TemporaryFile(/tmp/multipartBody1933233160847707300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735905992790,"filename":"image_03012025_13_05_02_880066_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/bef60057d17be71a0be541b7c352fc11.jpg","text":"TemporaryFile(/tmp/multipartBody7112539177830052541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735905992790,"filename":"image_03012025_13_04_02_630586_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d81c5b213e31686bdb98eab0e98ccdc7.jpg","text":"TemporaryFile(/tmp/multipartBody8934813564542450841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735905992790,"filename":"image_03012025_13_05_02_880066_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325798177","file1":"1325798155","file0":"1325798130","file3":"1325798182"},"map_files_photo_id_array":[{"photo_id":"1325798177","filename":"file2"},{"photo_id":"1325798155","filename":"file1"},{"photo_id":"1325798130","filename":"file0"},{"photo_id":"1325798182","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325798182":["hashtag1","hashtag2"]},{"1325798155":["hashtag1","hashtag2"]},{"1325798130":["hashtag1","hashtag2"]},{"1325798177":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325798182, 1325798155, 1325798130, 1325798177)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.22727346420288 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 13:06:21.808764
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/13/05/image_03012025_13_05_02_880066_0003.jpg', '/home/pi/Desktop/images/03012025/13/06/image_03012025_13_06_03_031069_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/13/05/image_03012025_13_05_02_880066_0003.jpg
/home/pi/Desktop/images/03012025/13/06/image_03012025_13_06_03_031069_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":["1325798501","1325798458"],"photo_ids_order":["1325798458","1325798501"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7d3735a63d6773c910987619ad0bf85e.jpg","text":"TemporaryFile(/tmp/multipartBody6280533302113060834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735906047207,"filename":"image_03012025_13_06_03_031069_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/033af62b824835f9d653fa622b56e483.jpg","text":"TemporaryFile(/tmp/multipartBody8798387004883115683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735906047207,"filename":"image_03012025_13_05_02_880066_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1325798501","file0":"1325798458"},"map_files_photo_id_array":[{"photo_id":"1325798501","filename":"file1"},{"photo_id":"1325798458","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325798501":["hashtag1","hashtag2"]},{"1325798458":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325798501, 1325798458)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 25.21995759010315 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-03 13:06:51.822253
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 13:07:02.591613
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 13:07:22.105321
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/13/06/image_03012025_13_06_03_031069_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/13/06/image_03012025_13_06_03_031069_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325798769"],"photo_id":"1325798769","photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e9fdca7f01031f475871c1aba9b81704.jpg","text":"TemporaryFile(/tmp/multipartBody3002472446002094954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735906105141,"filename":"image_03012025_13_06_03_031069_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file0":"1325798769"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1325798769"}],"hashtags":[],"portfolio_id":"19381866","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.684146404266357 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-03 13:07:41.989001
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-03 13:07:52.017679
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 13:08:02.620184
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 13:08:22.257885
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/13/07/image_03012025_13_07_02_147964_0001.jpg', '/home/pi/Desktop/images/03012025/13/08/image_03012025_13_08_02_428304_0000.jpg', '/home/pi/Desktop/images/03012025/13/08/image_03012025_13_08_02_428304_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/13/07/image_03012025_13_07_02_147964_0001.jpg
/home/pi/Desktop/images/03012025/13/08/image_03012025_13_08_02_428304_0000.jpg
/home/pi/Desktop/images/03012025/13/08/image_03012025_13_08_02_428304_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":["1325799067","1325799060","1325799071"],"photo_ids_order":["1325799060","1325799067","1325799071"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/884431da05af2a9a03e7f9323762d026.jpg","text":"TemporaryFile(/tmp/multipartBody4747266657126476441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735906170056,"filename":"image_03012025_13_08_02_428304_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/bd0af0771c66a584d8302743bda12f21.jpg","text":"TemporaryFile(/tmp/multipartBody8865143771712481070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735906170056,"filename":"image_03012025_13_07_02_147964_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/31682eea26c4c3aa41cc0ccb2f9f0504.jpg","text":"TemporaryFile(/tmp/multipartBody8884565563934792182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735906170056,"filename":"image_03012025_13_08_02_428304_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325799071","file1":"1325799067","file0":"1325799060"},"map_files_photo_id_array":[{"photo_id":"1325799071","filename":"file2"},{"photo_id":"1325799067","filename":"file1"},{"photo_id":"1325799060","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325799067":["hashtag1","hashtag2"]},{"1325799060":["hashtag1","hashtag2"]},{"1325799071":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325799067, 1325799060, 1325799071)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.345600843429565 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 13:09:03.131707
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 13:09:22.423284
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/13/08/image_03012025_13_08_02_428304_0003.jpg', '/home/pi/Desktop/images/03012025/13/09/image_03012025_13_09_02_612268_0000.jpg', '/home/pi/Desktop/images/03012025/13/09/image_03012025_13_09_02_612268_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/13/08/image_03012025_13_08_02_428304_0003.jpg
/home/pi/Desktop/images/03012025/13/09/image_03012025_13_09_02_612268_0000.jpg
/home/pi/Desktop/images/03012025/13/09/image_03012025_13_09_02_612268_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":["1325799274","1325799288","1325799312"],"photo_ids_order":["1325799274","1325799288","1325799312"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/759ef20d48ae0f4656c19f800391c167.jpg","text":"TemporaryFile(/tmp/multipartBody1344025185971673509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735906230243,"filename":"image_03012025_13_08_02_428304_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/26b9900b8c2f43299a706f2e600569d0.jpg","text":"TemporaryFile(/tmp/multipartBody4616594456892454323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735906230243,"filename":"image_03012025_13_09_02_612268_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c6b18493de24338ca4edb0306fcae37f.jpg","text":"TemporaryFile(/tmp/multipartBody3715972134832898295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735906230243,"filename":"image_03012025_13_09_02_612268_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325799312","file1":"1325799288","file0":"1325799274"},"map_files_photo_id_array":[{"photo_id":"1325799312","filename":"file2"},{"photo_id":"1325799288","filename":"file1"},{"photo_id":"1325799274","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325799274":["hashtag1","hashtag2"]},{"1325799288":["hashtag1","hashtag2"]},{"1325799312":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325799274, 1325799288, 1325799312)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.92652726173401 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 13:10:02.991588
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 13:10:22.620055
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/13/09/image_03012025_13_09_02_612268_0002.jpg', '/home/pi/Desktop/images/03012025/13/10/image_03012025_13_10_02_791496_0000.jpg', '/home/pi/Desktop/images/03012025/13/10/image_03012025_13_10_02_791496_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/13/09/image_03012025_13_09_02_612268_0002.jpg
/home/pi/Desktop/images/03012025/13/10/image_03012025_13_10_02_791496_0000.jpg
/home/pi/Desktop/images/03012025/13/10/image_03012025_13_10_02_791496_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325799399","1325799405","1325799395"],"photo_ids_order":["1325799395","1325799399","1325799405"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/93d24554268ba1ec04623db4ae09aaff.jpg","text":"TemporaryFile(/tmp/multipartBody2936915931475228384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735906290424,"filename":"image_03012025_13_10_02_791496_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/201412ff87de476ff0270bca809ce98e.jpg","text":"TemporaryFile(/tmp/multipartBody8847618675197477934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735906290424,"filename":"image_03012025_13_10_02_791496_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8b059cc1a2297546789ae9aba3d68578.jpg","text":"TemporaryFile(/tmp/multipartBody7890070537420778734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735906290424,"filename":"image_03012025_13_09_02_612268_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325799405","file1":"1325799399","file0":"1325799395"},"map_files_photo_id_array":[{"photo_id":"1325799405","filename":"file2"},{"photo_id":"1325799399","filename":"file1"},{"photo_id":"1325799395","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325799399":["hashtag1","hashtag2"]},{"1325799405":["hashtag1","hashtag2"]},{"1325799395":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325799399, 1325799405, 1325799395)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.40112543106079 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 13:11:02.313563
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 13:11:21.819148
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/13/10/image_03012025_13_10_02_791496_0003.jpg', '/home/pi/Desktop/images/03012025/13/11/image_03012025_13_11_02_939378_0001.jpg', '/home/pi/Desktop/images/03012025/13/11/image_03012025_13_11_02_939378_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/13/10/image_03012025_13_10_02_791496_0003.jpg
/home/pi/Desktop/images/03012025/13/11/image_03012025_13_11_02_939378_0001.jpg
/home/pi/Desktop/images/03012025/13/11/image_03012025_13_11_02_939378_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325799952","1325799789","1325799918"],"photo_ids_order":["1325799789","1325799918","1325799952"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/572c5585e49d581ef46e59eada93e316.jpg","text":"TemporaryFile(/tmp/multipartBody6937571600338706224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735906349606,"filename":"image_03012025_13_11_02_939378_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/29d783dc6feb3f4e1ebb3640a7258965.jpg","text":"TemporaryFile(/tmp/multipartBody6625809169940816134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735906349606,"filename":"image_03012025_13_10_02_791496_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b473bc5dafd4e3c60709888466d776b9.jpg","text":"TemporaryFile(/tmp/multipartBody25700580321435014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735906349606,"filename":"image_03012025_13_11_02_939378_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325799952","file1":"1325799918","file0":"1325799789"},"map_files_photo_id_array":[{"photo_id":"1325799952","filename":"file2"},{"photo_id":"1325799918","filename":"file1"},{"photo_id":"1325799789","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325799952":["hashtag1","hashtag2"]},{"1325799789":["hashtag1","hashtag2"]},{"1325799918":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325799952, 1325799789, 1325799918)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 34.65462255477905 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 13:12:02.479655
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 13:12:21.923746
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/13/11/image_03012025_13_11_02_939378_0003.jpg', '/home/pi/Desktop/images/03012025/13/12/image_03012025_13_12_02_150824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/13/11/image_03012025_13_11_02_939378_0003.jpg
/home/pi/Desktop/images/03012025/13/12/image_03012025_13_12_02_150824_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":["1325800183","1325800197"],"photo_ids_order":["1325800183","1325800197"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/867f1bef29db02abed1896776739975a.jpg","text":"TemporaryFile(/tmp/multipartBody8613195242576205367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735906407345,"filename":"image_03012025_13_11_02_939378_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/17a1ffbf484b109768c56b65dce806bf.jpg","text":"TemporaryFile(/tmp/multipartBody5950151698285945749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735906407345,"filename":"image_03012025_13_12_02_150824_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1325800197","file0":"1325800183"},"map_files_photo_id_array":[{"photo_id":"1325800197","filename":"file1"},{"photo_id":"1325800183","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325800183":["hashtag1","hashtag2"]},{"1325800197":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325800183, 1325800197)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.758068561553955 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-03 13:12:51.948984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 13:13:02.678275
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 13:13:22.140955
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/13/12/image_03012025_13_12_02_150824_0003.jpg', '/home/pi/Desktop/images/03012025/13/13/image_03012025_13_13_02_267513_0001.jpg', '/home/pi/Desktop/images/03012025/13/13/image_03012025_13_13_02_267513_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/13/12/image_03012025_13_12_02_150824_0003.jpg
/home/pi/Desktop/images/03012025/13/13/image_03012025_13_13_02_267513_0001.jpg
/home/pi/Desktop/images/03012025/13/13/image_03012025_13_13_02_267513_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325800458","1325800428","1325800447"],"photo_ids_order":["1325800428","1325800447","1325800458"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/56d8fcb253a8d281a78f735e8ff637f5.jpg","text":"TemporaryFile(/tmp/multipartBody3036290864421656124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735906469935,"filename":"image_03012025_13_13_02_267513_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/25bce3dfeb5f64d49c486abd1d9cd6b4.jpg","text":"TemporaryFile(/tmp/multipartBody5921863702362643664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735906469935,"filename":"image_03012025_13_12_02_150824_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e0d2a065b1a92b0f6812712536985241.jpg","text":"TemporaryFile(/tmp/multipartBody91747851234768949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735906469935,"filename":"image_03012025_13_13_02_267513_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325800458","file1":"1325800447","file0":"1325800428"},"map_files_photo_id_array":[{"photo_id":"1325800458","filename":"file2"},{"photo_id":"1325800447","filename":"file1"},{"photo_id":"1325800428","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325800458":["hashtag1","hashtag2"]},{"1325800428":["hashtag1","hashtag2"]},{"1325800447":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325800458, 1325800428, 1325800447)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.47709012031555 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 13:14:02.838468
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 13:14:22.332374
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/13/13/image_03012025_13_13_02_267513_0003.jpg', '/home/pi/Desktop/images/03012025/13/14/image_03012025_13_14_02_539870_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/13/13/image_03012025_13_13_02_267513_0003.jpg
/home/pi/Desktop/images/03012025/13/14/image_03012025_13_14_02_539870_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":["1325800676","1325800718"],"photo_ids_order":["1325800676","1325800718"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/890dcc76e093d330b76ede536a7d8962.jpg","text":"TemporaryFile(/tmp/multipartBody1298146790524642563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735906527681,"filename":"image_03012025_13_13_02_267513_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/51dd4f6542a7f4b73ad04996675b1af6.jpg","text":"TemporaryFile(/tmp/multipartBody407134769949651169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735906527681,"filename":"image_03012025_13_14_02_539870_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1325800718","file0":"1325800676"},"map_files_photo_id_array":[{"photo_id":"1325800718","filename":"file1"},{"photo_id":"1325800676","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325800676":["hashtag1","hashtag2"]},{"1325800718":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325800676, 1325800718)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.893190383911133 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-03 13:14:52.302466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 13:15:03.031157
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 13:15:22.556736
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/13/14/image_03012025_13_14_02_539870_0002.jpg', '/home/pi/Desktop/images/03012025/13/15/image_03012025_13_15_02_711732_0000.jpg', '/home/pi/Desktop/images/03012025/13/15/image_03012025_13_15_02_711732_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/13/14/image_03012025_13_14_02_539870_0002.jpg
/home/pi/Desktop/images/03012025/13/15/image_03012025_13_15_02_711732_0000.jpg
/home/pi/Desktop/images/03012025/13/15/image_03012025_13_15_02_711732_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325801034","1325801084","1325801012"],"photo_ids_order":["1325801012","1325801034","1325801084"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/80f3ea0c51519c8e33833a9f0fb9e919.jpg","text":"TemporaryFile(/tmp/multipartBody7251918319231727303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735906590208,"filename":"image_03012025_13_15_02_711732_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7ab859f94ef8862633573d236fb8fb64.jpg","text":"TemporaryFile(/tmp/multipartBody393282478664864772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735906590208,"filename":"image_03012025_13_15_02_711732_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/730aa935dda53bdab2d837ed74db0a1a.jpg","text":"TemporaryFile(/tmp/multipartBody7056495510654812779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735906590208,"filename":"image_03012025_13_14_02_539870_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325801084","file1":"1325801034","file0":"1325801012"},"map_files_photo_id_array":[{"photo_id":"1325801084","filename":"file2"},{"photo_id":"1325801034","filename":"file1"},{"photo_id":"1325801012","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325801034":["hashtag1","hashtag2"]},{"1325801084":["hashtag1","hashtag2"]},{"1325801012":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325801034, 1325801084, 1325801012)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.624836683273315 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 13:16:02.188842
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 13:16:21.818036
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/13/15/image_03012025_13_15_02_711732_0003.jpg', '/home/pi/Desktop/images/03012025/13/16/image_03012025_13_16_02_966305_0000.jpg', '/home/pi/Desktop/images/03012025/13/16/image_03012025_13_16_02_966305_0001.jpg', '/home/pi/Desktop/images/03012025/13/16/image_03012025_13_16_02_966305_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/13/15/image_03012025_13_15_02_711732_0003.jpg
/home/pi/Desktop/images/03012025/13/16/image_03012025_13_16_02_966305_0000.jpg
/home/pi/Desktop/images/03012025/13/16/image_03012025_13_16_02_966305_0001.jpg
/home/pi/Desktop/images/03012025/13/16/image_03012025_13_16_02_966305_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325801183","1325801201","1325801187","1325801190"],"photo_ids_order":["1325801183","1325801187","1325801190","1325801201"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a05e06b6329a34c0d0f03cfb4ff3d537.jpg","text":"TemporaryFile(/tmp/multipartBody855867494019916013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735906652178,"filename":"image_03012025_13_15_02_711732_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3a44815ca756a7fcd3804c25123b3ace.jpg","text":"TemporaryFile(/tmp/multipartBody4659365932491040521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735906652178,"filename":"image_03012025_13_16_02_966305_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2420d2386175384de23492b37571023e.jpg","text":"TemporaryFile(/tmp/multipartBody5068927775128947357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735906652178,"filename":"image_03012025_13_16_02_966305_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/454a10f2688341fb896785f14e2e039e.jpg","text":"TemporaryFile(/tmp/multipartBody4474865843121997241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735906652178,"filename":"image_03012025_13_16_02_966305_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325801190","file1":"1325801187","file0":"1325801183","file3":"1325801201"},"map_files_photo_id_array":[{"photo_id":"1325801190","filename":"file2"},{"photo_id":"1325801187","filename":"file1"},{"photo_id":"1325801183","filename":"file0"},{"photo_id":"1325801201","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325801183":["hashtag1","hashtag2"]},{"1325801201":["hashtag1","hashtag2"]},{"1325801187":["hashtag1","hashtag2"]},{"1325801190":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325801183, 1325801201, 1325801187, 1325801190)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.335447788238525 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 13:17:21.916093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/13/16/image_03012025_13_16_02_966305_0003.jpg', '/home/pi/Desktop/images/03012025/13/17/image_03012025_13_17_02_190896_0000.jpg', '/home/pi/Desktop/images/03012025/13/17/image_03012025_13_17_02_190896_0001.jpg', '/home/pi/Desktop/images/03012025/13/17/image_03012025_13_17_02_190896_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/13/16/image_03012025_13_16_02_966305_0003.jpg
/home/pi/Desktop/images/03012025/13/17/image_03012025_13_17_02_190896_0000.jpg
/home/pi/Desktop/images/03012025/13/17/image_03012025_13_17_02_190896_0001.jpg
/home/pi/Desktop/images/03012025/13/17/image_03012025_13_17_02_190896_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325801432","1325801228","1325801461","1325801455"],"photo_ids_order":["1325801228","1325801432","1325801455","1325801461"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9371409f5784d4effb91f09eb8ff4c1f.jpg","text":"TemporaryFile(/tmp/multipartBody1410894743044143436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735906712118,"filename":"image_03012025_13_17_02_190896_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c89b4b668ca450c7e5f6b3d22b36df37.jpg","text":"TemporaryFile(/tmp/multipartBody2542264088241920054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735906712118,"filename":"image_03012025_13_16_02_966305_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/61de833ffcf0ab5af0d4276000df30c2.jpg","text":"TemporaryFile(/tmp/multipartBody6764960349345137547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735906712118,"filename":"image_03012025_13_17_02_190896_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4fef87955400eb0b736fe4e4eec55488.jpg","text":"TemporaryFile(/tmp/multipartBody6737721990979935970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735906712118,"filename":"image_03012025_13_17_02_190896_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325801455","file1":"1325801432","file0":"1325801228","file3":"1325801461"},"map_files_photo_id_array":[{"photo_id":"1325801455","filename":"file2"},{"photo_id":"1325801432","filename":"file1"},{"photo_id":"1325801228","filename":"file0"},{"photo_id":"1325801461","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325801432":["hashtag1","hashtag2"]},{"1325801228":["hashtag1","hashtag2"]},{"1325801461":["hashtag1","hashtag2"]},{"1325801455":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325801432, 1325801228, 1325801461, 1325801455)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.17950201034546 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 13:18:02.418264
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 13:18:22.089993
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/13/17/image_03012025_13_17_02_190896_0003.jpg', '/home/pi/Desktop/images/03012025/13/18/image_03012025_13_18_02_402795_0000.jpg', '/home/pi/Desktop/images/03012025/13/18/image_03012025_13_18_02_402795_0001.jpg', '/home/pi/Desktop/images/03012025/13/18/image_03012025_13_18_02_402795_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/13/17/image_03012025_13_17_02_190896_0003.jpg
/home/pi/Desktop/images/03012025/13/18/image_03012025_13_18_02_402795_0000.jpg
/home/pi/Desktop/images/03012025/13/18/image_03012025_13_18_02_402795_0001.jpg
/home/pi/Desktop/images/03012025/13/18/image_03012025_13_18_02_402795_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.085487842559814 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-03 13:18:42.184515
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/13/17/image_03012025_13_17_02_190896_0003.jpg', '/home/pi/Desktop/images/03012025/13/18/image_03012025_13_18_02_402795_0000.jpg', '/home/pi/Desktop/images/03012025/13/18/image_03012025_13_18_02_402795_0001.jpg', '/home/pi/Desktop/images/03012025/13/18/image_03012025_13_18_02_402795_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/13/17/image_03012025_13_17_02_190896_0003.jpg
/home/pi/Desktop/images/03012025/13/18/image_03012025_13_18_02_402795_0000.jpg
/home/pi/Desktop/images/03012025/13/18/image_03012025_13_18_02_402795_0001.jpg
/home/pi/Desktop/images/03012025/13/18/image_03012025_13_18_02_402795_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":["1325801861","1325801863","1325801856","1325801859"],"photo_ids_order":["1325801856","1325801859","1325801861","1325801863"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f95c88c662f096d91639fca0bb6f5a53.jpg","text":"TemporaryFile(/tmp/multipartBody1467894713625396905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735906792659,"filename":"image_03012025_13_18_02_402795_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3fad5a752157d8ea0b528c5fba86cbb2.jpg","text":"TemporaryFile(/tmp/multipartBody1399430194147009329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735906792659,"filename":"image_03012025_13_18_02_402795_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/cee5210e2bed4dc7df7a0c2402090f76.jpg","text":"TemporaryFile(/tmp/multipartBody7047695659485012889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735906792659,"filename":"image_03012025_13_17_02_190896_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/551c09188ef950cafb32974eea54efd4.jpg","text":"TemporaryFile(/tmp/multipartBody5729356424912491601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735906792659,"filename":"image_03012025_13_18_02_402795_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325801861","file1":"1325801859","file0":"1325801856","file3":"1325801863"},"map_files_photo_id_array":[{"photo_id":"1325801861","filename":"file2"},{"photo_id":"1325801859","filename":"file1"},{"photo_id":"1325801856","filename":"file0"},{"photo_id":"1325801863","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325801861":["hashtag1","hashtag2"]},{"1325801863":["hashtag1","hashtag2"]},{"1325801856":["hashtag1","hashtag2"]},{"1325801859":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325801861, 1325801863, 1325801856, 1325801859)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.18552017211914 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 13:19:22.250112
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/13/18/image_03012025_13_18_02_402795_0003.jpg', '/home/pi/Desktop/images/03012025/13/19/image_03012025_13_19_02_479937_0000.jpg', '/home/pi/Desktop/images/03012025/13/19/image_03012025_13_19_02_479937_0001.jpg', '/home/pi/Desktop/images/03012025/13/19/image_03012025_13_19_02_479937_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/13/18/image_03012025_13_18_02_402795_0003.jpg
/home/pi/Desktop/images/03012025/13/19/image_03012025_13_19_02_479937_0000.jpg
/home/pi/Desktop/images/03012025/13/19/image_03012025_13_19_02_479937_0001.jpg
/home/pi/Desktop/images/03012025/13/19/image_03012025_13_19_02_479937_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325802223","1325801929","1325802255","1325802141"],"photo_ids_order":["1325801929","1325802141","1325802223","1325802255"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0f3a0dd88b688bbef8f625973703409e.jpg","text":"TemporaryFile(/tmp/multipartBody8864489943586349581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735906832581,"filename":"image_03012025_13_19_02_479937_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a82652a6566b8251d9742274c6b61ec8.jpg","text":"TemporaryFile(/tmp/multipartBody2110736310625362197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735906832581,"filename":"image_03012025_13_18_02_402795_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7cb2364e7ddf0580bcf835d6ab37a617.jpg","text":"TemporaryFile(/tmp/multipartBody7145489781177004927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735906832581,"filename":"image_03012025_13_19_02_479937_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1b842c9c0223e9ac4b0ef979a39ce4fa.jpg","text":"TemporaryFile(/tmp/multipartBody7784405446140363848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735906832581,"filename":"image_03012025_13_19_02_479937_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325802223","file1":"1325802141","file0":"1325801929","file3":"1325802255"},"map_files_photo_id_array":[{"photo_id":"1325802223","filename":"file2"},{"photo_id":"1325802141","filename":"file1"},{"photo_id":"1325801929","filename":"file0"},{"photo_id":"1325802255","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325802223":["hashtag1","hashtag2"]},{"1325801929":["hashtag1","hashtag2"]},{"1325802255":["hashtag1","hashtag2"]},{"1325802141":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325802223, 1325801929, 1325802255, 1325802141)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.447717905044556 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 13:20:02.914068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 13:20:22.573904
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/13/19/image_03012025_13_19_02_479937_0003.jpg', '/home/pi/Desktop/images/03012025/13/20/image_03012025_13_20_02_771319_0001.jpg', '/home/pi/Desktop/images/03012025/13/20/image_03012025_13_20_02_771319_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/13/19/image_03012025_13_19_02_479937_0003.jpg
/home/pi/Desktop/images/03012025/13/20/image_03012025_13_20_02_771319_0001.jpg
/home/pi/Desktop/images/03012025/13/20/image_03012025_13_20_02_771319_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325802611","1325802570","1325802546"],"photo_ids_order":["1325802546","1325802570","1325802611"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ed17816594ff87d9b08bc330a124ed73.jpg","text":"TemporaryFile(/tmp/multipartBody7034884500947538353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735906890473,"filename":"image_03012025_13_20_02_771319_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f8388fdfc88fad0471429cc5d33ff0de.jpg","text":"TemporaryFile(/tmp/multipartBody2295664522670904217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735906890473,"filename":"image_03012025_13_20_02_771319_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5ffebc112aef5035c70c8f2c9bf28ec9.jpg","text":"TemporaryFile(/tmp/multipartBody9086211158050314404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735906890473,"filename":"image_03012025_13_19_02_479937_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325802611","file1":"1325802570","file0":"1325802546"},"map_files_photo_id_array":[{"photo_id":"1325802611","filename":"file2"},{"photo_id":"1325802570","filename":"file1"},{"photo_id":"1325802546","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325802611":["hashtag1","hashtag2"]},{"1325802570":["hashtag1","hashtag2"]},{"1325802546":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325802611, 1325802570, 1325802546)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.91205668449402 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 13:21:03.335232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 13:21:22.675295
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/13/20/image_03012025_13_20_02_771319_0003.jpg', '/home/pi/Desktop/images/03012025/13/21/image_03012025_13_21_02_872279_0001.jpg', '/home/pi/Desktop/images/03012025/13/21/image_03012025_13_21_02_872279_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/13/20/image_03012025_13_20_02_771319_0003.jpg
/home/pi/Desktop/images/03012025/13/21/image_03012025_13_21_02_872279_0001.jpg
/home/pi/Desktop/images/03012025/13/21/image_03012025_13_21_02_872279_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325803026","1325803011","1325803005"],"photo_ids_order":["1325803005","1325803011","1325803026"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/57f4a56122781b55e6f20de7bbe49b2d.jpg","text":"TemporaryFile(/tmp/multipartBody2851416088945956012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735906950548,"filename":"image_03012025_13_21_02_872279_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4a65b2b5c94dee473d1a2186ae28e013.jpg","text":"TemporaryFile(/tmp/multipartBody4261661362637658310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735906950548,"filename":"image_03012025_13_21_02_872279_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5606031deedb77b6947bb5dd12426544.jpg","text":"TemporaryFile(/tmp/multipartBody7746546486675920581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735906950548,"filename":"image_03012025_13_20_02_771319_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325803026","file1":"1325803011","file0":"1325803005"},"map_files_photo_id_array":[{"photo_id":"1325803026","filename":"file2"},{"photo_id":"1325803011","filename":"file1"},{"photo_id":"1325803005","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325803026":["hashtag1","hashtag2"]},{"1325803011":["hashtag1","hashtag2"]},{"1325803005":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325803026, 1325803011, 1325803005)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 33.022857427597046 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 13:22:02.326430
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 13:22:21.949762
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/13/21/image_03012025_13_21_02_872279_0003.jpg', '/home/pi/Desktop/images/03012025/13/22/image_03012025_13_22_03_056541_0000.jpg', '/home/pi/Desktop/images/03012025/13/22/image_03012025_13_22_03_056541_0001.jpg', '/home/pi/Desktop/images/03012025/13/22/image_03012025_13_22_03_056541_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/13/21/image_03012025_13_21_02_872279_0003.jpg
/home/pi/Desktop/images/03012025/13/22/image_03012025_13_22_03_056541_0000.jpg
/home/pi/Desktop/images/03012025/13/22/image_03012025_13_22_03_056541_0001.jpg
/home/pi/Desktop/images/03012025/13/22/image_03012025_13_22_03_056541_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325803333","1325803414","1325803419","1325803355"],"photo_ids_order":["1325803333","1325803355","1325803414","1325803419"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b69586f386112de3fe6b51174fdd43cc.jpg","text":"TemporaryFile(/tmp/multipartBody7305721806249033872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735907012168,"filename":"image_03012025_13_21_02_872279_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b4e7004eaab55bd5da5c46b2bde658e5.jpg","text":"TemporaryFile(/tmp/multipartBody6761738139613016506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735907012168,"filename":"image_03012025_13_22_03_056541_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1a5c7ac7dff60fb6566eac5bd2f79d1e.jpg","text":"TemporaryFile(/tmp/multipartBody1593042254767108445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735907012168,"filename":"image_03012025_13_22_03_056541_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4182e69a99f6d62357f215a354316c2f.jpg","text":"TemporaryFile(/tmp/multipartBody572747488765627105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735907012168,"filename":"image_03012025_13_22_03_056541_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325803414","file1":"1325803355","file0":"1325803333","file3":"1325803419"},"map_files_photo_id_array":[{"photo_id":"1325803414","filename":"file2"},{"photo_id":"1325803355","filename":"file1"},{"photo_id":"1325803333","filename":"file0"},{"photo_id":"1325803419","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325803333":["hashtag1","hashtag2"]},{"1325803414":["hashtag1","hashtag2"]},{"1325803419":["hashtag1","hashtag2"]},{"1325803355":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325803333, 1325803414, 1325803419, 1325803355)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.87730097770691 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 13:23:02.643277
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 13:23:22.011596
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/13/22/image_03012025_13_22_03_056541_0003.jpg', '/home/pi/Desktop/images/03012025/13/23/image_03012025_13_23_02_254317_0000.jpg', '/home/pi/Desktop/images/03012025/13/23/image_03012025_13_23_02_254317_0001.jpg', '/home/pi/Desktop/images/03012025/13/23/image_03012025_13_23_02_254317_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/13/22/image_03012025_13_22_03_056541_0003.jpg
/home/pi/Desktop/images/03012025/13/23/image_03012025_13_23_02_254317_0000.jpg
/home/pi/Desktop/images/03012025/13/23/image_03012025_13_23_02_254317_0001.jpg
/home/pi/Desktop/images/03012025/13/23/image_03012025_13_23_02_254317_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325803438","1325803443","1325803446","1325803434"],"photo_ids_order":["1325803434","1325803438","1325803443","1325803446"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e0708fb5bc8e3c92f07cfde997f24eaa.jpg","text":"TemporaryFile(/tmp/multipartBody7513125805066777963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735907072419,"filename":"image_03012025_13_23_02_254317_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ba8930326b292f805c23465cc8779a31.jpg","text":"TemporaryFile(/tmp/multipartBody7074349019307359131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735907072419,"filename":"image_03012025_13_23_02_254317_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5b910da59e527a8add4fa2beca26031f.jpg","text":"TemporaryFile(/tmp/multipartBody2798890709941840825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735907072419,"filename":"image_03012025_13_23_02_254317_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/38ea05f03a56d4ac120562e3fa6b53e1.jpg","text":"TemporaryFile(/tmp/multipartBody742675149194533374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735907072419,"filename":"image_03012025_13_22_03_056541_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325803443","file1":"1325803438","file0":"1325803434","file3":"1325803446"},"map_files_photo_id_array":[{"photo_id":"1325803443","filename":"file2"},{"photo_id":"1325803438","filename":"file1"},{"photo_id":"1325803434","filename":"file0"},{"photo_id":"1325803446","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325803438":["hashtag1","hashtag2"]},{"1325803443":["hashtag1","hashtag2"]},{"1325803446":["hashtag1","hashtag2"]},{"1325803434":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325803438, 1325803443, 1325803446, 1325803434)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.89769530296326 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 13:24:02.481684
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 13:24:22.193753
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/13/23/image_03012025_13_23_02_254317_0003.jpg', '/home/pi/Desktop/images/03012025/13/24/image_03012025_13_24_02_366820_0000.jpg', '/home/pi/Desktop/images/03012025/13/24/image_03012025_13_24_02_366820_0001.jpg', '/home/pi/Desktop/images/03012025/13/24/image_03012025_13_24_02_366820_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/13/23/image_03012025_13_23_02_254317_0003.jpg
/home/pi/Desktop/images/03012025/13/24/image_03012025_13_24_02_366820_0000.jpg
/home/pi/Desktop/images/03012025/13/24/image_03012025_13_24_02_366820_0001.jpg
/home/pi/Desktop/images/03012025/13/24/image_03012025_13_24_02_366820_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.920462846755981 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-03 13:24:42.148812
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/13/23/image_03012025_13_23_02_254317_0003.jpg', '/home/pi/Desktop/images/03012025/13/24/image_03012025_13_24_02_366820_0000.jpg', '/home/pi/Desktop/images/03012025/13/24/image_03012025_13_24_02_366820_0001.jpg', '/home/pi/Desktop/images/03012025/13/24/image_03012025_13_24_02_366820_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/13/23/image_03012025_13_23_02_254317_0003.jpg
/home/pi/Desktop/images/03012025/13/24/image_03012025_13_24_02_366820_0000.jpg
/home/pi/Desktop/images/03012025/13/24/image_03012025_13_24_02_366820_0001.jpg
/home/pi/Desktop/images/03012025/13/24/image_03012025_13_24_02_366820_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325803764","1325803773","1325803775","1325803769"],"photo_ids_order":["1325803764","1325803769","1325803773","1325803775"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/82db72c1588c394f7ecea122134dac3d.jpg","text":"TemporaryFile(/tmp/multipartBody6764094428574505498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735907152427,"filename":"image_03012025_13_23_02_254317_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7362aa72d427f7c571a1dd25a307c090.jpg","text":"TemporaryFile(/tmp/multipartBody8830988024904875860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735907152427,"filename":"image_03012025_13_24_02_366820_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a04a8102cdb4da7ad91306a25a1dd169.jpg","text":"TemporaryFile(/tmp/multipartBody6672685656918525252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735907152427,"filename":"image_03012025_13_24_02_366820_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b25095c5dc97cbbb2023aed4abf26317.jpg","text":"TemporaryFile(/tmp/multipartBody1765656562197302685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735907152427,"filename":"image_03012025_13_24_02_366820_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325803773","file1":"1325803769","file0":"1325803764","file3":"1325803775"},"map_files_photo_id_array":[{"photo_id":"1325803773","filename":"file2"},{"photo_id":"1325803769","filename":"file1"},{"photo_id":"1325803764","filename":"file0"},{"photo_id":"1325803775","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325803764":["hashtag1","hashtag2"]},{"1325803773":["hashtag1","hashtag2"]},{"1325803775":["hashtag1","hashtag2"]},{"1325803769":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325803764, 1325803773, 1325803775, 1325803769)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.85161471366882 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-03 13:25:32.350571
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/13/24/image_03012025_13_24_02_366820_0003.jpg', '/home/pi/Desktop/images/03012025/13/25/image_03012025_13_25_02_596418_0000.jpg', '/home/pi/Desktop/images/03012025/13/25/image_03012025_13_25_02_596418_0001.jpg', '/home/pi/Desktop/images/03012025/13/25/image_03012025_13_25_02_596418_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/13/24/image_03012025_13_24_02_366820_0003.jpg
/home/pi/Desktop/images/03012025/13/25/image_03012025_13_25_02_596418_0000.jpg
/home/pi/Desktop/images/03012025/13/25/image_03012025_13_25_02_596418_0001.jpg
/home/pi/Desktop/images/03012025/13/25/image_03012025_13_25_02_596418_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325804253","1325804142","1325804091","1325804118"],"photo_ids_order":["1325804091","1325804118","1325804142","1325804253"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1a43bf0b6c1c326b63ba11769a5bbc5e.jpg","text":"TemporaryFile(/tmp/multipartBody8487277886921674421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735907202531,"filename":"image_03012025_13_25_02_596418_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5e9bd4d74d08e5ded96cbc66e28bf601.jpg","text":"TemporaryFile(/tmp/multipartBody5164706961255793033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735907202531,"filename":"image_03012025_13_25_02_596418_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a98dae10eb40770808a15cf2f4b1e03a.jpg","text":"TemporaryFile(/tmp/multipartBody284509962087345102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735907202531,"filename":"image_03012025_13_24_02_366820_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/31d23ac1942cd9afe940a4e2e09b0d5e.jpg","text":"TemporaryFile(/tmp/multipartBody4462909407007210954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735907202531,"filename":"image_03012025_13_25_02_596418_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325804142","file1":"1325804118","file0":"1325804091","file3":"1325804253"},"map_files_photo_id_array":[{"photo_id":"1325804142","filename":"file2"},{"photo_id":"1325804118","filename":"file1"},{"photo_id":"1325804091","filename":"file0"},{"photo_id":"1325804253","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325804253":["hashtag1","hashtag2"]},{"1325804142":["hashtag1","hashtag2"]},{"1325804091":["hashtag1","hashtag2"]},{"1325804118":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325804253, 1325804142, 1325804091, 1325804118)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.11703824996948 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 13:26:22.587729
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/13/25/image_03012025_13_25_02_596418_0003.jpg', '/home/pi/Desktop/images/03012025/13/26/image_03012025_13_26_02_722122_0000.jpg', '/home/pi/Desktop/images/03012025/13/26/image_03012025_13_26_02_722122_0001.jpg', '/home/pi/Desktop/images/03012025/13/26/image_03012025_13_26_02_722122_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/13/25/image_03012025_13_25_02_596418_0003.jpg
/home/pi/Desktop/images/03012025/13/26/image_03012025_13_26_02_722122_0000.jpg
/home/pi/Desktop/images/03012025/13/26/image_03012025_13_26_02_722122_0001.jpg
/home/pi/Desktop/images/03012025/13/26/image_03012025_13_26_02_722122_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325804304","1325804307","1325804297","1325804301"],"photo_ids_order":["1325804297","1325804301","1325804304","1325804307"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/fe35f161090f8bd85671fe59a7b673cf.jpg","text":"TemporaryFile(/tmp/multipartBody7566246233553956533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735907252761,"filename":"image_03012025_13_26_02_722122_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/43157101dc0ae567240145f88e8f6ebc.jpg","text":"TemporaryFile(/tmp/multipartBody7633794374800428127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735907252761,"filename":"image_03012025_13_26_02_722122_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/925aeb9f05f9548f78583a8aef8fe20f.jpg","text":"TemporaryFile(/tmp/multipartBody4594088988201072713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735907252761,"filename":"image_03012025_13_25_02_596418_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/888b41f9e9415ac69f69baca5839b24a.jpg","text":"TemporaryFile(/tmp/multipartBody8764288526199496215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735907252761,"filename":"image_03012025_13_26_02_722122_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325804304","file1":"1325804301","file0":"1325804297","file3":"1325804307"},"map_files_photo_id_array":[{"photo_id":"1325804304","filename":"file2"},{"photo_id":"1325804301","filename":"file1"},{"photo_id":"1325804297","filename":"file0"},{"photo_id":"1325804307","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325804304":["hashtag1","hashtag2"]},{"1325804307":["hashtag1","hashtag2"]},{"1325804297":["hashtag1","hashtag2"]},{"1325804301":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325804304, 1325804307, 1325804297, 1325804301)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.780940532684326 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 13:27:22.757974
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/13/26/image_03012025_13_26_02_722122_0003.jpg', '/home/pi/Desktop/images/03012025/13/27/image_03012025_13_27_02_885505_0000.jpg', '/home/pi/Desktop/images/03012025/13/27/image_03012025_13_27_02_885505_0001.jpg', '/home/pi/Desktop/images/03012025/13/27/image_03012025_13_27_02_885505_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/13/26/image_03012025_13_26_02_722122_0003.jpg
/home/pi/Desktop/images/03012025/13/27/image_03012025_13_27_02_885505_0000.jpg
/home/pi/Desktop/images/03012025/13/27/image_03012025_13_27_02_885505_0001.jpg
/home/pi/Desktop/images/03012025/13/27/image_03012025_13_27_02_885505_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325804319","1325804327","1325804330","1325804324"],"photo_ids_order":["1325804319","1325804324","1325804327","1325804330"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/401284e68d957b10b62661278845f40d.jpg","text":"TemporaryFile(/tmp/multipartBody5781247267665816381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735907312757,"filename":"image_03012025_13_26_02_722122_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/443129e6cdf6813f5815457019765c47.jpg","text":"TemporaryFile(/tmp/multipartBody4862918926590863625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735907312757,"filename":"image_03012025_13_27_02_885505_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3fe184952fd63bcabc7be0c1aba081f7.jpg","text":"TemporaryFile(/tmp/multipartBody1077595631243469322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735907312757,"filename":"image_03012025_13_27_02_885505_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d69bb062e17f9d74ca1db8e6b6ace5c7.jpg","text":"TemporaryFile(/tmp/multipartBody4498740548413963402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735907312757,"filename":"image_03012025_13_27_02_885505_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325804327","file1":"1325804324","file0":"1325804319","file3":"1325804330"},"map_files_photo_id_array":[{"photo_id":"1325804327","filename":"file2"},{"photo_id":"1325804324","filename":"file1"},{"photo_id":"1325804319","filename":"file0"},{"photo_id":"1325804330","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325804319":["hashtag1","hashtag2"]},{"1325804327":["hashtag1","hashtag2"]},{"1325804330":["hashtag1","hashtag2"]},{"1325804324":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325804319, 1325804327, 1325804330, 1325804324)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 38.73059582710266 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 13:28:22.015288
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/13/27/image_03012025_13_27_02_885505_0003.jpg', '/home/pi/Desktop/images/03012025/13/28/image_03012025_13_28_03_100540_0001.jpg', '/home/pi/Desktop/images/03012025/13/28/image_03012025_13_28_03_100540_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/13/27/image_03012025_13_27_02_885505_0003.jpg
/home/pi/Desktop/images/03012025/13/28/image_03012025_13_28_03_100540_0001.jpg
/home/pi/Desktop/images/03012025/13/28/image_03012025_13_28_03_100540_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325804350","1325804354","1325804357"],"photo_ids_order":["1325804350","1325804354","1325804357"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/79cb1cda50fadf9d787a17fcd1136e8f.jpg","text":"TemporaryFile(/tmp/multipartBody2157167218194489474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735907370269,"filename":"image_03012025_13_27_02_885505_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9ee04c9794274d96990b9744324f7586.jpg","text":"TemporaryFile(/tmp/multipartBody736431458976356782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735907370269,"filename":"image_03012025_13_28_03_100540_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/23983ff7fdd48bad5922ea6e5ca879b2.jpg","text":"TemporaryFile(/tmp/multipartBody7560303698633866319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735907370269,"filename":"image_03012025_13_28_03_100540_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325804357","file1":"1325804354","file0":"1325804350"},"map_files_photo_id_array":[{"photo_id":"1325804357","filename":"file2"},{"photo_id":"1325804354","filename":"file1"},{"photo_id":"1325804350","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325804350":["hashtag1","hashtag2"]},{"1325804354":["hashtag1","hashtag2"]},{"1325804357":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325804350, 1325804354, 1325804357)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.441693544387817 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 13:29:02.790340
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 13:29:22.110413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/13/28/image_03012025_13_28_03_100540_0003.jpg', '/home/pi/Desktop/images/03012025/13/29/image_03012025_13_29_02_284909_0000.jpg', '/home/pi/Desktop/images/03012025/13/29/image_03012025_13_29_02_284909_0001.jpg', '/home/pi/Desktop/images/03012025/13/29/image_03012025_13_29_02_284909_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/13/28/image_03012025_13_28_03_100540_0003.jpg
/home/pi/Desktop/images/03012025/13/29/image_03012025_13_29_02_284909_0000.jpg
/home/pi/Desktop/images/03012025/13/29/image_03012025_13_29_02_284909_0001.jpg
/home/pi/Desktop/images/03012025/13/29/image_03012025_13_29_02_284909_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325805035","1325805385","1325805073","1325805026"],"photo_ids_order":["1325805026","1325805035","1325805073","1325805385"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/23e48b8aaefd306502623502656d46ce.jpg","text":"TemporaryFile(/tmp/multipartBody6994432819214825464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735907432415,"filename":"image_03012025_13_29_02_284909_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a0ef36291b4c50ed52e413de5d5b4348.jpg","text":"TemporaryFile(/tmp/multipartBody428406323909153166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735907432415,"filename":"image_03012025_13_29_02_284909_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5a9bcac97a9b23335235a96c1880d69c.jpg","text":"TemporaryFile(/tmp/multipartBody2260804769362774004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735907432415,"filename":"image_03012025_13_29_02_284909_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7a2aa8932b42d46855a7337d230c7084.jpg","text":"TemporaryFile(/tmp/multipartBody1550638313059303923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735907432415,"filename":"image_03012025_13_28_03_100540_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325805073","file1":"1325805035","file0":"1325805026","file3":"1325805385"},"map_files_photo_id_array":[{"photo_id":"1325805073","filename":"file2"},{"photo_id":"1325805035","filename":"file1"},{"photo_id":"1325805026","filename":"file0"},{"photo_id":"1325805385","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325805035":["hashtag1","hashtag2"]},{"1325805385":["hashtag1","hashtag2"]},{"1325805073":["hashtag1","hashtag2"]},{"1325805026":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325805035, 1325805385, 1325805073, 1325805026)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.93965435028076 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 13:30:22.275446
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/13/29/image_03012025_13_29_02_284909_0003.jpg', '/home/pi/Desktop/images/03012025/13/30/image_03012025_13_30_02_526188_0000.jpg', '/home/pi/Desktop/images/03012025/13/30/image_03012025_13_30_02_526188_0001.jpg', '/home/pi/Desktop/images/03012025/13/30/image_03012025_13_30_02_526188_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/13/29/image_03012025_13_29_02_284909_0003.jpg
/home/pi/Desktop/images/03012025/13/30/image_03012025_13_30_02_526188_0000.jpg
/home/pi/Desktop/images/03012025/13/30/image_03012025_13_30_02_526188_0001.jpg
/home/pi/Desktop/images/03012025/13/30/image_03012025_13_30_02_526188_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325806179","1325805942","1325805720","1325806183"],"photo_ids_order":["1325805720","1325805942","1325806179","1325806183"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/fbffe5a685edd577ddc15e94ec3409f4.jpg","text":"TemporaryFile(/tmp/multipartBody5025257356017533198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735907492549,"filename":"image_03012025_13_30_02_526188_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e41d2cd0c797ab5805b865bc79f97817.jpg","text":"TemporaryFile(/tmp/multipartBody1238077492519653414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735907492549,"filename":"image_03012025_13_30_02_526188_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/47d1ddbefcae90fa6f827754bd717b1e.jpg","text":"TemporaryFile(/tmp/multipartBody7298802778217067326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735907492549,"filename":"image_03012025_13_29_02_284909_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1688ea4fd40d2215b268586a8cc0a442.jpg","text":"TemporaryFile(/tmp/multipartBody2695228017710470314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735907492549,"filename":"image_03012025_13_30_02_526188_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325806179","file1":"1325805942","file0":"1325805720","file3":"1325806183"},"map_files_photo_id_array":[{"photo_id":"1325806179","filename":"file2"},{"photo_id":"1325805942","filename":"file1"},{"photo_id":"1325805720","filename":"file0"},{"photo_id":"1325806183","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325806179":["hashtag1","hashtag2"]},{"1325805942":["hashtag1","hashtag2"]},{"1325805720":["hashtag1","hashtag2"]},{"1325806183":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325806179, 1325805942, 1325805720, 1325806183)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.7412314414978 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 13:31:03.153607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 13:31:22.543288
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/13/30/image_03012025_13_30_02_526188_0003.jpg', '/home/pi/Desktop/images/03012025/13/31/image_03012025_13_31_02_686316_0000.jpg', '/home/pi/Desktop/images/03012025/13/31/image_03012025_13_31_02_686316_0001.jpg', '/home/pi/Desktop/images/03012025/13/31/image_03012025_13_31_02_686316_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/13/30/image_03012025_13_30_02_526188_0003.jpg
/home/pi/Desktop/images/03012025/13/31/image_03012025_13_31_02_686316_0000.jpg
/home/pi/Desktop/images/03012025/13/31/image_03012025_13_31_02_686316_0001.jpg
/home/pi/Desktop/images/03012025/13/31/image_03012025_13_31_02_686316_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325806623","1325806985","1325807031","1325806785"],"photo_ids_order":["1325806623","1325806785","1325806985","1325807031"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9a214eff9b2c6d42aac24bd096daeaa6.jpg","text":"TemporaryFile(/tmp/multipartBody4569318477173825256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735907552785,"filename":"image_03012025_13_30_02_526188_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/671de4332dbfe60d680e4cfb9de7a1a9.jpg","text":"TemporaryFile(/tmp/multipartBody3033601035702515370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735907552785,"filename":"image_03012025_13_31_02_686316_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d2e838612a6577bb04b1cd3f03845117.jpg","text":"TemporaryFile(/tmp/multipartBody8063037369247415279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735907552785,"filename":"image_03012025_13_31_02_686316_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/536e18189c3b953fa9215c2feae510ab.jpg","text":"TemporaryFile(/tmp/multipartBody2729507548762772237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735907552785,"filename":"image_03012025_13_31_02_686316_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325806985","file1":"1325806785","file0":"1325806623","file3":"1325807031"},"map_files_photo_id_array":[{"photo_id":"1325806985","filename":"file2"},{"photo_id":"1325806785","filename":"file1"},{"photo_id":"1325806623","filename":"file0"},{"photo_id":"1325807031","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325806623":["hashtag1","hashtag2"]},{"1325806985":["hashtag1","hashtag2"]},{"1325807031":["hashtag1","hashtag2"]},{"1325806785":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325806623, 1325806985, 1325807031, 1325806785)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.9166145324707 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 13:32:22.856941
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/13/31/image_03012025_13_31_02_686316_0003.jpg', '/home/pi/Desktop/images/03012025/13/32/image_03012025_13_32_02_916895_0000.jpg', '/home/pi/Desktop/images/03012025/13/32/image_03012025_13_32_02_916895_0001.jpg', '/home/pi/Desktop/images/03012025/13/32/image_03012025_13_32_02_916895_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/13/31/image_03012025_13_31_02_686316_0003.jpg
/home/pi/Desktop/images/03012025/13/32/image_03012025_13_32_02_916895_0000.jpg
/home/pi/Desktop/images/03012025/13/32/image_03012025_13_32_02_916895_0001.jpg
/home/pi/Desktop/images/03012025/13/32/image_03012025_13_32_02_916895_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325807297","1325807363","1325807368","1325807358"],"photo_ids_order":["1325807297","1325807358","1325807363","1325807368"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/fd4507759a34334d082ae61a1769ad5d.jpg","text":"TemporaryFile(/tmp/multipartBody4900304036726839886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735907613030,"filename":"image_03012025_13_31_02_686316_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/483ac38cc9621680fce3b5f17d641e08.jpg","text":"TemporaryFile(/tmp/multipartBody5544832494650471232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735907613030,"filename":"image_03012025_13_32_02_916895_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a9d1f7eff4f5851820a5036649c6b3d0.jpg","text":"TemporaryFile(/tmp/multipartBody7434265714861367677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735907613030,"filename":"image_03012025_13_32_02_916895_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/75c3a056c08885e61e324d589bb1a6cb.jpg","text":"TemporaryFile(/tmp/multipartBody4902776937533795795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735907613030,"filename":"image_03012025_13_32_02_916895_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325807363","file1":"1325807358","file0":"1325807297","file3":"1325807368"},"map_files_photo_id_array":[{"photo_id":"1325807363","filename":"file2"},{"photo_id":"1325807358","filename":"file1"},{"photo_id":"1325807297","filename":"file0"},{"photo_id":"1325807368","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325807297":["hashtag1","hashtag2"]},{"1325807363":["hashtag1","hashtag2"]},{"1325807368":["hashtag1","hashtag2"]},{"1325807358":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325807297, 1325807363, 1325807368, 1325807358)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.812164306640625 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 13:33:22.013900
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/13/32/image_03012025_13_32_02_916895_0003.jpg', '/home/pi/Desktop/images/03012025/13/33/image_03012025_13_33_03_126724_0000.jpg', '/home/pi/Desktop/images/03012025/13/33/image_03012025_13_33_03_126724_0001.jpg', '/home/pi/Desktop/images/03012025/13/33/image_03012025_13_33_03_126724_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/13/32/image_03012025_13_32_02_916895_0003.jpg
/home/pi/Desktop/images/03012025/13/33/image_03012025_13_33_03_126724_0000.jpg
/home/pi/Desktop/images/03012025/13/33/image_03012025_13_33_03_126724_0001.jpg
/home/pi/Desktop/images/03012025/13/33/image_03012025_13_33_03_126724_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325808230","1325807993","1325808088","1325808082"],"photo_ids_order":["1325807993","1325808082","1325808088","1325808230"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/07cef21100b16142a6782e72a61fd6d6.jpg","text":"TemporaryFile(/tmp/multipartBody1189563482605487513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735907672331,"filename":"image_03012025_13_33_03_126724_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/22072ca2d2c9571dadaa61cac4b92796.jpg","text":"TemporaryFile(/tmp/multipartBody2152377397611230273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735907672331,"filename":"image_03012025_13_32_02_916895_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ca590aa39e968d5da49673e1dd184295.jpg","text":"TemporaryFile(/tmp/multipartBody8297794011668703396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735907672331,"filename":"image_03012025_13_33_03_126724_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/72557f4aef3b3bfdd59ffa3756a4b844.jpg","text":"TemporaryFile(/tmp/multipartBody7417730501011733151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735907672331,"filename":"image_03012025_13_33_03_126724_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325808088","file1":"1325808082","file0":"1325807993","file3":"1325808230"},"map_files_photo_id_array":[{"photo_id":"1325808088","filename":"file2"},{"photo_id":"1325808082","filename":"file1"},{"photo_id":"1325807993","filename":"file0"},{"photo_id":"1325808230","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325808230":["hashtag1","hashtag2"]},{"1325807993":["hashtag1","hashtag2"]},{"1325808088":["hashtag1","hashtag2"]},{"1325808082":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325808230, 1325807993, 1325808088, 1325808082)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.93911051750183 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 13:34:22.219032
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/13/33/image_03012025_13_33_03_126724_0003.jpg', '/home/pi/Desktop/images/03012025/13/34/image_03012025_13_34_02_394443_0000.jpg', '/home/pi/Desktop/images/03012025/13/34/image_03012025_13_34_02_394443_0001.jpg', '/home/pi/Desktop/images/03012025/13/34/image_03012025_13_34_02_394443_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/13/33/image_03012025_13_33_03_126724_0003.jpg
/home/pi/Desktop/images/03012025/13/34/image_03012025_13_34_02_394443_0000.jpg
/home/pi/Desktop/images/03012025/13/34/image_03012025_13_34_02_394443_0001.jpg
/home/pi/Desktop/images/03012025/13/34/image_03012025_13_34_02_394443_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325808697","1325808681","1325808692","1325808686"],"photo_ids_order":["1325808681","1325808686","1325808692","1325808697"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ad82a7b696bd0975d5009c8403e18855.jpg","text":"TemporaryFile(/tmp/multipartBody5737787424431628564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735907732524,"filename":"image_03012025_13_34_02_394443_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/57ad69879cb3fca2c288cebe3d43ea91.jpg","text":"TemporaryFile(/tmp/multipartBody1210428138981451912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735907732524,"filename":"image_03012025_13_33_03_126724_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/24bbd3567cf7462ae57f6b420f1d55b8.jpg","text":"TemporaryFile(/tmp/multipartBody2723573755976457708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735907732524,"filename":"image_03012025_13_34_02_394443_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/039fe5854d7d8c89e4dfeed749c8a4ce.jpg","text":"TemporaryFile(/tmp/multipartBody4925054533357938555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735907732524,"filename":"image_03012025_13_34_02_394443_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325808692","file1":"1325808686","file0":"1325808681","file3":"1325808697"},"map_files_photo_id_array":[{"photo_id":"1325808692","filename":"file2"},{"photo_id":"1325808686","filename":"file1"},{"photo_id":"1325808681","filename":"file0"},{"photo_id":"1325808697","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325808697":["hashtag1","hashtag2"]},{"1325808681":["hashtag1","hashtag2"]},{"1325808692":["hashtag1","hashtag2"]},{"1325808686":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325808697, 1325808681, 1325808692, 1325808686)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.64925241470337 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 13:35:02.893674
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 13:35:22.494641
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/13/34/image_03012025_13_34_02_394443_0003.jpg', '/home/pi/Desktop/images/03012025/13/35/image_03012025_13_35_02_551503_0000.jpg', '/home/pi/Desktop/images/03012025/13/35/image_03012025_13_35_02_551503_0001.jpg', '/home/pi/Desktop/images/03012025/13/35/image_03012025_13_35_02_551503_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/13/34/image_03012025_13_34_02_394443_0003.jpg
/home/pi/Desktop/images/03012025/13/35/image_03012025_13_35_02_551503_0000.jpg
/home/pi/Desktop/images/03012025/13/35/image_03012025_13_35_02_551503_0001.jpg
/home/pi/Desktop/images/03012025/13/35/image_03012025_13_35_02_551503_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325808824","1325808829","1325808808","1325808834"],"photo_ids_order":["1325808808","1325808824","1325808829","1325808834"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/067c47688b10c58365a25023758afd3b.jpg","text":"TemporaryFile(/tmp/multipartBody7847544317796000852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735907792782,"filename":"image_03012025_13_35_02_551503_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/70cc0f5674244599fb807423721ee362.jpg","text":"TemporaryFile(/tmp/multipartBody6379524272220806451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735907792782,"filename":"image_03012025_13_35_02_551503_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/26266783fb6d3d642fb7c59f9ee40af6.jpg","text":"TemporaryFile(/tmp/multipartBody1342953827326273240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735907792782,"filename":"image_03012025_13_34_02_394443_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b4994457e54d40b4109ece650b612673.jpg","text":"TemporaryFile(/tmp/multipartBody5248879048670972656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735907792782,"filename":"image_03012025_13_35_02_551503_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325808829","file1":"1325808824","file0":"1325808808","file3":"1325808834"},"map_files_photo_id_array":[{"photo_id":"1325808829","filename":"file2"},{"photo_id":"1325808824","filename":"file1"},{"photo_id":"1325808808","filename":"file0"},{"photo_id":"1325808834","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325808824":["hashtag1","hashtag2"]},{"1325808829":["hashtag1","hashtag2"]},{"1325808808":["hashtag1","hashtag2"]},{"1325808834":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325808824, 1325808829, 1325808808, 1325808834)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.86825203895569 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 13:36:02.909744
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 13:36:22.624571
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/13/35/image_03012025_13_35_02_551503_0003.jpg', '/home/pi/Desktop/images/03012025/13/36/image_03012025_13_36_02_759267_0000.jpg', '/home/pi/Desktop/images/03012025/13/36/image_03012025_13_36_02_759267_0001.jpg', '/home/pi/Desktop/images/03012025/13/36/image_03012025_13_36_02_759267_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/13/35/image_03012025_13_35_02_551503_0003.jpg
/home/pi/Desktop/images/03012025/13/36/image_03012025_13_36_02_759267_0000.jpg
/home/pi/Desktop/images/03012025/13/36/image_03012025_13_36_02_759267_0001.jpg
/home/pi/Desktop/images/03012025/13/36/image_03012025_13_36_02_759267_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.023597955703735 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-03 13:36:42.560816
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/13/35/image_03012025_13_35_02_551503_0003.jpg', '/home/pi/Desktop/images/03012025/13/36/image_03012025_13_36_02_759267_0000.jpg', '/home/pi/Desktop/images/03012025/13/36/image_03012025_13_36_02_759267_0001.jpg', '/home/pi/Desktop/images/03012025/13/36/image_03012025_13_36_02_759267_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/13/35/image_03012025_13_35_02_551503_0003.jpg
/home/pi/Desktop/images/03012025/13/36/image_03012025_13_36_02_759267_0000.jpg
/home/pi/Desktop/images/03012025/13/36/image_03012025_13_36_02_759267_0001.jpg
/home/pi/Desktop/images/03012025/13/36/image_03012025_13_36_02_759267_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":["1325809297","1325809318","1325809329","1325809256"],"photo_ids_order":["1325809256","1325809297","1325809318","1325809329"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c272f4f4177069a941de944136c68c4c.jpg","text":"TemporaryFile(/tmp/multipartBody5941222505984032553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735907872967,"filename":"image_03012025_13_36_02_759267_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2cc21ff8e9e8cf107326354441552f5f.jpg","text":"TemporaryFile(/tmp/multipartBody5494399847380925644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735907872967,"filename":"image_03012025_13_36_02_759267_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6b48c552c2f3bc79018c6accede56859.jpg","text":"TemporaryFile(/tmp/multipartBody166170549840694333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735907872967,"filename":"image_03012025_13_36_02_759267_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/481f1660a7d169ffba3d07b19dbd4420.jpg","text":"TemporaryFile(/tmp/multipartBody8099031371852023390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735907872967,"filename":"image_03012025_13_35_02_551503_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325809318","file1":"1325809297","file0":"1325809256","file3":"1325809329"},"map_files_photo_id_array":[{"photo_id":"1325809318","filename":"file2"},{"photo_id":"1325809297","filename":"file1"},{"photo_id":"1325809256","filename":"file0"},{"photo_id":"1325809329","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325809297":["hashtag1","hashtag2"]},{"1325809318":["hashtag1","hashtag2"]},{"1325809329":["hashtag1","hashtag2"]},{"1325809256":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325809297, 1325809318, 1325809329, 1325809256)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.390474796295166 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 13:37:22.716839
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/13/36/image_03012025_13_36_02_759267_0003.jpg', '/home/pi/Desktop/images/03012025/13/37/image_03012025_13_37_02_889454_0001.jpg', '/home/pi/Desktop/images/03012025/13/37/image_03012025_13_37_02_889454_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/13/36/image_03012025_13_36_02_759267_0003.jpg
/home/pi/Desktop/images/03012025/13/37/image_03012025_13_37_02_889454_0001.jpg
/home/pi/Desktop/images/03012025/13/37/image_03012025_13_37_02_889454_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325809357","1325809345","1325809340"],"photo_ids_order":["1325809340","1325809345","1325809357"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4863d04a5ead636bd1714cbd704096b3.jpg","text":"TemporaryFile(/tmp/multipartBody4429140502865750963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735907910560,"filename":"image_03012025_13_37_02_889454_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ea59c85cf140147aeb10ca66839bf0e7.jpg","text":"TemporaryFile(/tmp/multipartBody4651952942869272501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735907910560,"filename":"image_03012025_13_37_02_889454_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a5b1a732d8021eb1fd67f49925b9a594.jpg","text":"TemporaryFile(/tmp/multipartBody945681013814273051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735907910560,"filename":"image_03012025_13_36_02_759267_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325809357","file1":"1325809345","file0":"1325809340"},"map_files_photo_id_array":[{"photo_id":"1325809357","filename":"file2"},{"photo_id":"1325809345","filename":"file1"},{"photo_id":"1325809340","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325809357":["hashtag1","hashtag2"]},{"1325809345":["hashtag1","hashtag2"]},{"1325809340":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325809357, 1325809345, 1325809340)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.22335648536682 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 13:38:02.493982
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 13:38:21.971160
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/13/37/image_03012025_13_37_02_889454_0003.jpg', '/home/pi/Desktop/images/03012025/13/38/image_03012025_13_38_03_072912_0000.jpg', '/home/pi/Desktop/images/03012025/13/38/image_03012025_13_38_03_072912_0001.jpg', '/home/pi/Desktop/images/03012025/13/38/image_03012025_13_38_03_072912_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/13/37/image_03012025_13_37_02_889454_0003.jpg
/home/pi/Desktop/images/03012025/13/38/image_03012025_13_38_03_072912_0000.jpg
/home/pi/Desktop/images/03012025/13/38/image_03012025_13_38_03_072912_0001.jpg
/home/pi/Desktop/images/03012025/13/38/image_03012025_13_38_03_072912_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325810162","1325810243","1325810209","1325810079"],"photo_ids_order":["1325810079","1325810162","1325810209","1325810243"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0520ed4e968a50df375d53a4e0edc07d.jpg","text":"TemporaryFile(/tmp/multipartBody7354788377529807153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735907972240,"filename":"image_03012025_13_38_03_072912_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2d57b74b70087f05642a6dc5410eeaac.jpg","text":"TemporaryFile(/tmp/multipartBody7625436180069791141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735907972240,"filename":"image_03012025_13_38_03_072912_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/20c146f2533e22cbcec267c951c6d003.jpg","text":"TemporaryFile(/tmp/multipartBody1496545743587094817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735907972240,"filename":"image_03012025_13_38_03_072912_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/66bd73554b5081212dd2b22230f2c0c4.jpg","text":"TemporaryFile(/tmp/multipartBody4880533939566603270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735907972240,"filename":"image_03012025_13_37_02_889454_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325810209","file1":"1325810162","file0":"1325810079","file3":"1325810243"},"map_files_photo_id_array":[{"photo_id":"1325810209","filename":"file2"},{"photo_id":"1325810162","filename":"file1"},{"photo_id":"1325810079","filename":"file0"},{"photo_id":"1325810243","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325810162":["hashtag1","hashtag2"]},{"1325810243":["hashtag1","hashtag2"]},{"1325810209":["hashtag1","hashtag2"]},{"1325810079":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325810162, 1325810243, 1325810209, 1325810079)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.266215324401855 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 13:39:22.210599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/13/38/image_03012025_13_38_03_072912_0003.jpg', '/home/pi/Desktop/images/03012025/13/39/image_03012025_13_39_02_298360_0000.jpg', '/home/pi/Desktop/images/03012025/13/39/image_03012025_13_39_02_298360_0001.jpg', '/home/pi/Desktop/images/03012025/13/39/image_03012025_13_39_02_298360_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/13/38/image_03012025_13_38_03_072912_0003.jpg
/home/pi/Desktop/images/03012025/13/39/image_03012025_13_39_02_298360_0000.jpg
/home/pi/Desktop/images/03012025/13/39/image_03012025_13_39_02_298360_0001.jpg
/home/pi/Desktop/images/03012025/13/39/image_03012025_13_39_02_298360_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325810281","1325810275","1325810286","1325810289"],"photo_ids_order":["1325810275","1325810281","1325810286","1325810289"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2acd27320c7861b7d66d6067d2d2f215.jpg","text":"TemporaryFile(/tmp/multipartBody5063396198437817954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735908032574,"filename":"image_03012025_13_39_02_298360_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d056cf0544cab8fc590a177ee4d6021b.jpg","text":"TemporaryFile(/tmp/multipartBody1780325440944997137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735908032574,"filename":"image_03012025_13_38_03_072912_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/71a6be343016360535e9f983031ad0b7.jpg","text":"TemporaryFile(/tmp/multipartBody5684712934337152831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735908032574,"filename":"image_03012025_13_39_02_298360_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a3a38f225bfcd55b495fe2fc4d19fd4a.jpg","text":"TemporaryFile(/tmp/multipartBody2074314062469773378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735908032574,"filename":"image_03012025_13_39_02_298360_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325810286","file1":"1325810281","file0":"1325810275","file3":"1325810289"},"map_files_photo_id_array":[{"photo_id":"1325810286","filename":"file2"},{"photo_id":"1325810281","filename":"file1"},{"photo_id":"1325810275","filename":"file0"},{"photo_id":"1325810289","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325810281":["hashtag1","hashtag2"]},{"1325810275":["hashtag1","hashtag2"]},{"1325810286":["hashtag1","hashtag2"]},{"1325810289":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325810281, 1325810275, 1325810286, 1325810289)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.50010704994202 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 13:40:22.382824
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/13/39/image_03012025_13_39_02_298360_0003.jpg', '/home/pi/Desktop/images/03012025/13/40/image_03012025_13_40_02_540002_0000.jpg', '/home/pi/Desktop/images/03012025/13/40/image_03012025_13_40_02_540002_0001.jpg', '/home/pi/Desktop/images/03012025/13/40/image_03012025_13_40_02_540002_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/13/39/image_03012025_13_39_02_298360_0003.jpg
/home/pi/Desktop/images/03012025/13/40/image_03012025_13_40_02_540002_0000.jpg
/home/pi/Desktop/images/03012025/13/40/image_03012025_13_40_02_540002_0001.jpg
/home/pi/Desktop/images/03012025/13/40/image_03012025_13_40_02_540002_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.15091323852539 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-03 13:40:42.336590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/13/39/image_03012025_13_39_02_298360_0003.jpg', '/home/pi/Desktop/images/03012025/13/40/image_03012025_13_40_02_540002_0000.jpg', '/home/pi/Desktop/images/03012025/13/40/image_03012025_13_40_02_540002_0001.jpg', '/home/pi/Desktop/images/03012025/13/40/image_03012025_13_40_02_540002_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/13/39/image_03012025_13_39_02_298360_0003.jpg
/home/pi/Desktop/images/03012025/13/40/image_03012025_13_40_02_540002_0000.jpg
/home/pi/Desktop/images/03012025/13/40/image_03012025_13_40_02_540002_0001.jpg
/home/pi/Desktop/images/03012025/13/40/image_03012025_13_40_02_540002_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325810872","1325810920","1325810967","1325810894"],"photo_ids_order":["1325810872","1325810894","1325810920","1325810967"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5ad4fef300bb00355e230b289e73712e.jpg","text":"TemporaryFile(/tmp/multipartBody8958809225486998683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735908112868,"filename":"image_03012025_13_39_02_298360_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c838b7e1c3605b927a2aad840ccd0964.jpg","text":"TemporaryFile(/tmp/multipartBody3878527740524768031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735908112868,"filename":"image_03012025_13_40_02_540002_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b7e7df657f36ef95cbb8c01c6662ff33.jpg","text":"TemporaryFile(/tmp/multipartBody4142725233342761612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735908112868,"filename":"image_03012025_13_40_02_540002_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/bb03a87048ae2f2a367a4e6694cbbeb7.jpg","text":"TemporaryFile(/tmp/multipartBody3998966284139690157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735908112868,"filename":"image_03012025_13_40_02_540002_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325810920","file1":"1325810894","file0":"1325810872","file3":"1325810967"},"map_files_photo_id_array":[{"photo_id":"1325810920","filename":"file2"},{"photo_id":"1325810894","filename":"file1"},{"photo_id":"1325810872","filename":"file0"},{"photo_id":"1325810967","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325810872":["hashtag1","hashtag2"]},{"1325810920":["hashtag1","hashtag2"]},{"1325810967":["hashtag1","hashtag2"]},{"1325810894":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325810872, 1325810920, 1325810967, 1325810894)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.0680468082428 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-03 13:41:32.548128
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/13/40/image_03012025_13_40_02_540002_0003.jpg', '/home/pi/Desktop/images/03012025/13/41/image_03012025_13_41_02_692984_0000.jpg', '/home/pi/Desktop/images/03012025/13/41/image_03012025_13_41_02_692984_0001.jpg', '/home/pi/Desktop/images/03012025/13/41/image_03012025_13_41_02_692984_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/13/40/image_03012025_13_40_02_540002_0003.jpg
/home/pi/Desktop/images/03012025/13/41/image_03012025_13_41_02_692984_0000.jpg
/home/pi/Desktop/images/03012025/13/41/image_03012025_13_41_02_692984_0001.jpg
/home/pi/Desktop/images/03012025/13/41/image_03012025_13_41_02_692984_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325811232","1325811211","1325811162","1325811185"],"photo_ids_order":["1325811162","1325811185","1325811211","1325811232"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ffc85e0bdffe163dbeea3b60d5ccc354.jpg","text":"TemporaryFile(/tmp/multipartBody8759074790014630475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735908163007,"filename":"image_03012025_13_41_02_692984_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f3a117d23711fda9345593c4bf995f2a.jpg","text":"TemporaryFile(/tmp/multipartBody302080621445740420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735908163007,"filename":"image_03012025_13_41_02_692984_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/38c5f808c0da05eb88a0b5c5ec3d3eda.jpg","text":"TemporaryFile(/tmp/multipartBody5971206877649639434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735908163007,"filename":"image_03012025_13_40_02_540002_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/fd3142216c7c6eebf9bc92132f2e832c.jpg","text":"TemporaryFile(/tmp/multipartBody1702041884643753476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735908163007,"filename":"image_03012025_13_41_02_692984_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325811211","file1":"1325811185","file0":"1325811162","file3":"1325811232"},"map_files_photo_id_array":[{"photo_id":"1325811211","filename":"file2"},{"photo_id":"1325811185","filename":"file1"},{"photo_id":"1325811162","filename":"file0"},{"photo_id":"1325811232","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325811232":["hashtag1","hashtag2"]},{"1325811211":["hashtag1","hashtag2"]},{"1325811162":["hashtag1","hashtag2"]},{"1325811185":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325811232, 1325811211, 1325811162, 1325811185)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.27519869804382 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 13:42:22.814218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/13/41/image_03012025_13_41_02_692984_0003.jpg', '/home/pi/Desktop/images/03012025/13/42/image_03012025_13_42_02_866160_0000.jpg', '/home/pi/Desktop/images/03012025/13/42/image_03012025_13_42_02_866160_0001.jpg', '/home/pi/Desktop/images/03012025/13/42/image_03012025_13_42_02_866160_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/13/41/image_03012025_13_41_02_692984_0003.jpg
/home/pi/Desktop/images/03012025/13/42/image_03012025_13_42_02_866160_0000.jpg
/home/pi/Desktop/images/03012025/13/42/image_03012025_13_42_02_866160_0001.jpg
/home/pi/Desktop/images/03012025/13/42/image_03012025_13_42_02_866160_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325811409","1325811403","1325811414","1325811425"],"photo_ids_order":["1325811403","1325811409","1325811414","1325811425"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9c59b89c81b29ddc49d600c7814a89cc.jpg","text":"TemporaryFile(/tmp/multipartBody1956142233748363001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735908213166,"filename":"image_03012025_13_42_02_866160_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c08b5d4cd8e437a6f7d8b11d103801b3.jpg","text":"TemporaryFile(/tmp/multipartBody7692642171276463968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735908213166,"filename":"image_03012025_13_41_02_692984_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a346a65cbd2ce4fbeaadad3d48a704fd.jpg","text":"TemporaryFile(/tmp/multipartBody7328419007545315954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735908213166,"filename":"image_03012025_13_42_02_866160_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7a810e88cfb064450a8a3907dbfddfa6.jpg","text":"TemporaryFile(/tmp/multipartBody2681644510681831848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735908213166,"filename":"image_03012025_13_42_02_866160_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325811414","file1":"1325811409","file0":"1325811403","file3":"1325811425"},"map_files_photo_id_array":[{"photo_id":"1325811414","filename":"file2"},{"photo_id":"1325811409","filename":"file1"},{"photo_id":"1325811403","filename":"file0"},{"photo_id":"1325811425","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325811409":["hashtag1","hashtag2"]},{"1325811403":["hashtag1","hashtag2"]},{"1325811414":["hashtag1","hashtag2"]},{"1325811425":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325811409, 1325811403, 1325811414, 1325811425)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.37372088432312 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 13:43:21.941498
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/13/42/image_03012025_13_42_02_866160_0003.jpg', '/home/pi/Desktop/images/03012025/13/43/image_03012025_13_43_03_107878_0000.jpg', '/home/pi/Desktop/images/03012025/13/43/image_03012025_13_43_03_107878_0001.jpg', '/home/pi/Desktop/images/03012025/13/43/image_03012025_13_43_03_107878_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/13/42/image_03012025_13_42_02_866160_0003.jpg
/home/pi/Desktop/images/03012025/13/43/image_03012025_13_43_03_107878_0000.jpg
/home/pi/Desktop/images/03012025/13/43/image_03012025_13_43_03_107878_0001.jpg
/home/pi/Desktop/images/03012025/13/43/image_03012025_13_43_03_107878_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325811847","1325811765","1325811507","1325811623"],"photo_ids_order":["1325811507","1325811623","1325811765","1325811847"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/64240b1621e7f5d81ffaa020ab670322.jpg","text":"TemporaryFile(/tmp/multipartBody5104131578817702960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735908272304,"filename":"image_03012025_13_43_03_107878_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/664545a33cd956986074e162e19abf1b.jpg","text":"TemporaryFile(/tmp/multipartBody7023819611583515848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735908272304,"filename":"image_03012025_13_43_03_107878_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3ae183410d554af325d4f70d53948f05.jpg","text":"TemporaryFile(/tmp/multipartBody2847631633339276106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735908272304,"filename":"image_03012025_13_42_02_866160_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9cb3a2473916f6d6797ef84192ce5d77.jpg","text":"TemporaryFile(/tmp/multipartBody7632721782576837556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735908272304,"filename":"image_03012025_13_43_03_107878_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325811765","file1":"1325811623","file0":"1325811507","file3":"1325811847"},"map_files_photo_id_array":[{"photo_id":"1325811765","filename":"file2"},{"photo_id":"1325811623","filename":"file1"},{"photo_id":"1325811507","filename":"file0"},{"photo_id":"1325811847","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325811847":["hashtag1","hashtag2"]},{"1325811765":["hashtag1","hashtag2"]},{"1325811507":["hashtag1","hashtag2"]},{"1325811623":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325811847, 1325811765, 1325811507, 1325811623)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.09154987335205 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 13:44:22.097103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/13/43/image_03012025_13_43_03_107878_0003.jpg', '/home/pi/Desktop/images/03012025/13/44/image_03012025_13_44_02_257194_0000.jpg', '/home/pi/Desktop/images/03012025/13/44/image_03012025_13_44_02_257194_0001.jpg', '/home/pi/Desktop/images/03012025/13/44/image_03012025_13_44_02_257194_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/13/43/image_03012025_13_43_03_107878_0003.jpg
/home/pi/Desktop/images/03012025/13/44/image_03012025_13_44_02_257194_0000.jpg
/home/pi/Desktop/images/03012025/13/44/image_03012025_13_44_02_257194_0001.jpg
/home/pi/Desktop/images/03012025/13/44/image_03012025_13_44_02_257194_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325811937","1325812254","1325812014","1325812019"],"photo_ids_order":["1325811937","1325812014","1325812019","1325812254"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6011d815c7f1941585ae9c9fd22e8915.jpg","text":"TemporaryFile(/tmp/multipartBody4609665925668505177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735908332331,"filename":"image_03012025_13_43_03_107878_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/cf5dadd17c806c0c59a7ec4c09567ec1.jpg","text":"TemporaryFile(/tmp/multipartBody8958497070529113120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735908332331,"filename":"image_03012025_13_44_02_257194_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7adca23ecb5b5ed0904666b58c84e2a1.jpg","text":"TemporaryFile(/tmp/multipartBody7824246006601847934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735908332331,"filename":"image_03012025_13_44_02_257194_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7aec3c812d75ec6ac150e221f1917ec7.jpg","text":"TemporaryFile(/tmp/multipartBody4607431786435704165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735908332331,"filename":"image_03012025_13_44_02_257194_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325812019","file1":"1325812014","file0":"1325811937","file3":"1325812254"},"map_files_photo_id_array":[{"photo_id":"1325812019","filename":"file2"},{"photo_id":"1325812014","filename":"file1"},{"photo_id":"1325811937","filename":"file0"},{"photo_id":"1325812254","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325811937":["hashtag1","hashtag2"]},{"1325812254":["hashtag1","hashtag2"]},{"1325812014":["hashtag1","hashtag2"]},{"1325812019":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325811937, 1325812254, 1325812014, 1325812019)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.58424258232117 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-03 13:45:22.384091
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/13/44/image_03012025_13_44_02_257194_0003.jpg', '/home/pi/Desktop/images/03012025/13/45/image_03012025_13_45_02_424393_0000.jpg', '/home/pi/Desktop/images/03012025/13/45/image_03012025_13_45_02_424393_0001.jpg', '/home/pi/Desktop/images/03012025/13/45/image_03012025_13_45_02_424393_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/13/44/image_03012025_13_44_02_257194_0003.jpg
/home/pi/Desktop/images/03012025/13/45/image_03012025_13_45_02_424393_0000.jpg
/home/pi/Desktop/images/03012025/13/45/image_03012025_13_45_02_424393_0001.jpg
/home/pi/Desktop/images/03012025/13/45/image_03012025_13_45_02_424393_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.014256715774536 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-03 13:45:42.300417
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/13/44/image_03012025_13_44_02_257194_0003.jpg', '/home/pi/Desktop/images/03012025/13/45/image_03012025_13_45_02_424393_0000.jpg', '/home/pi/Desktop/images/03012025/13/45/image_03012025_13_45_02_424393_0001.jpg', '/home/pi/Desktop/images/03012025/13/45/image_03012025_13_45_02_424393_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/13/44/image_03012025_13_44_02_257194_0003.jpg
/home/pi/Desktop/images/03012025/13/45/image_03012025_13_45_02_424393_0000.jpg
/home/pi/Desktop/images/03012025/13/45/image_03012025_13_45_02_424393_0001.jpg
/home/pi/Desktop/images/03012025/13/45/image_03012025_13_45_02_424393_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":["1325812603","1325812633","1325812632","1325812605"],"photo_ids_order":["1325812603","1325812605","1325812632","1325812633"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/53c9b57f47281dca451648fbd7eefe39.jpg","text":"TemporaryFile(/tmp/multipartBody3292782994861445653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735908412719,"filename":"image_03012025_13_44_02_257194_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b76d0fd069fbf360761910416792b922.jpg","text":"TemporaryFile(/tmp/multipartBody2420651877430397265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735908412719,"filename":"image_03012025_13_45_02_424393_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2983c27faa2f96b3f5310be1137b2d11.jpg","text":"TemporaryFile(/tmp/multipartBody62034729686597172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735908412719,"filename":"image_03012025_13_45_02_424393_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/86665834b4fb900d4cfa6a60cf934453.jpg","text":"TemporaryFile(/tmp/multipartBody4611453233107722373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735908412719,"filename":"image_03012025_13_45_02_424393_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325812632","file1":"1325812605","file0":"1325812603","file3":"1325812633"},"map_files_photo_id_array":[{"photo_id":"1325812632","filename":"file2"},{"photo_id":"1325812605","filename":"file1"},{"photo_id":"1325812603","filename":"file0"},{"photo_id":"1325812633","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325812603":["hashtag1","hashtag2"]},{"1325812633":["hashtag1","hashtag2"]},{"1325812632":["hashtag1","hashtag2"]},{"1325812605":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325812603, 1325812633, 1325812632, 1325812605)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.347764015197754 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 13:46:22.433246
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/13/45/image_03012025_13_45_02_424393_0003.jpg', '/home/pi/Desktop/images/03012025/13/46/image_03012025_13_46_02_638456_0000.jpg', '/home/pi/Desktop/images/03012025/13/46/image_03012025_13_46_02_638456_0001.jpg', '/home/pi/Desktop/images/03012025/13/46/image_03012025_13_46_02_638456_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/13/45/image_03012025_13_45_02_424393_0003.jpg
/home/pi/Desktop/images/03012025/13/46/image_03012025_13_46_02_638456_0000.jpg
/home/pi/Desktop/images/03012025/13/46/image_03012025_13_46_02_638456_0001.jpg
/home/pi/Desktop/images/03012025/13/46/image_03012025_13_46_02_638456_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325812645","1325812650","1325812641","1325812654"],"photo_ids_order":["1325812641","1325812645","1325812650","1325812654"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a6b6fb26c176373087cdf291721a1e02.jpg","text":"TemporaryFile(/tmp/multipartBody7562842329900471720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735908452794,"filename":"image_03012025_13_46_02_638456_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/790a13ed9daf6d48dc319be33913cd1c.jpg","text":"TemporaryFile(/tmp/multipartBody7821860047450576126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735908452794,"filename":"image_03012025_13_46_02_638456_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/73edd1894c3142ef86e9c3c5e1fdeeff.jpg","text":"TemporaryFile(/tmp/multipartBody6741846702140932349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735908452794,"filename":"image_03012025_13_45_02_424393_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e764d940f06e27dbb25aeb1385df21b4.jpg","text":"TemporaryFile(/tmp/multipartBody513073205341819698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735908452794,"filename":"image_03012025_13_46_02_638456_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325812650","file1":"1325812645","file0":"1325812641","file3":"1325812654"},"map_files_photo_id_array":[{"photo_id":"1325812650","filename":"file2"},{"photo_id":"1325812645","filename":"file1"},{"photo_id":"1325812641","filename":"file0"},{"photo_id":"1325812654","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325812645":["hashtag1","hashtag2"]},{"1325812650":["hashtag1","hashtag2"]},{"1325812641":["hashtag1","hashtag2"]},{"1325812654":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325812645, 1325812650, 1325812641, 1325812654)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.091405630111694 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 13:47:03.262469
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 13:47:22.541447
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/13/46/image_03012025_13_46_02_638456_0003.jpg', '/home/pi/Desktop/images/03012025/13/47/image_03012025_13_47_02_811150_0000.jpg', '/home/pi/Desktop/images/03012025/13/47/image_03012025_13_47_02_811150_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/13/46/image_03012025_13_46_02_638456_0003.jpg
/home/pi/Desktop/images/03012025/13/47/image_03012025_13_47_02_811150_0000.jpg
/home/pi/Desktop/images/03012025/13/47/image_03012025_13_47_02_811150_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":["1325812674","1325812670","1325812667"],"photo_ids_order":["1325812667","1325812670","1325812674"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/dbab0bab0d3daa3bc49be0279b29cae4.jpg","text":"TemporaryFile(/tmp/multipartBody6775997377996440548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735908510439,"filename":"image_03012025_13_47_02_811150_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/cac7a76b0c4f8c6d1eab0d1e45f6fd22.jpg","text":"TemporaryFile(/tmp/multipartBody8046643331501683802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735908510439,"filename":"image_03012025_13_47_02_811150_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3c0c69c711cd24d3d9c1b06d0359b965.jpg","text":"TemporaryFile(/tmp/multipartBody2764064281876988664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735908510439,"filename":"image_03012025_13_46_02_638456_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325812674","file1":"1325812670","file0":"1325812667"},"map_files_photo_id_array":[{"photo_id":"1325812674","filename":"file2"},{"photo_id":"1325812670","filename":"file1"},{"photo_id":"1325812667","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325812674":["hashtag1","hashtag2"]},{"1325812670":["hashtag1","hashtag2"]},{"1325812667":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325812674, 1325812670, 1325812667)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.215904712677002 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 13:48:03.175184
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 13:48:22.795467
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/13/47/image_03012025_13_47_02_811150_0003.jpg', '/home/pi/Desktop/images/03012025/13/48/image_03012025_13_48_02_930013_0000.jpg', '/home/pi/Desktop/images/03012025/13/48/image_03012025_13_48_02_930013_0001.jpg', '/home/pi/Desktop/images/03012025/13/48/image_03012025_13_48_02_930013_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/13/47/image_03012025_13_47_02_811150_0003.jpg
/home/pi/Desktop/images/03012025/13/48/image_03012025_13_48_02_930013_0000.jpg
/home/pi/Desktop/images/03012025/13/48/image_03012025_13_48_02_930013_0001.jpg
/home/pi/Desktop/images/03012025/13/48/image_03012025_13_48_02_930013_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325813661","1325813598","1325813736","1325813593"],"photo_ids_order":["1325813593","1325813598","1325813661","1325813736"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/948006adcc60b17c5de76156dee5a487.jpg","text":"TemporaryFile(/tmp/multipartBody4283497692970488252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735908573209,"filename":"image_03012025_13_48_02_930013_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a6fca8f23731f607dc09e0a9ca19c2c8.jpg","text":"TemporaryFile(/tmp/multipartBody5981877924475582325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735908573209,"filename":"image_03012025_13_48_02_930013_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/135d3236065691367d40a785efbec5f3.jpg","text":"TemporaryFile(/tmp/multipartBody407375046507270807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735908573209,"filename":"image_03012025_13_48_02_930013_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1e02d66b353056e470f462e9cd6fda77.jpg","text":"TemporaryFile(/tmp/multipartBody6472257272743470696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735908573209,"filename":"image_03012025_13_47_02_811150_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325813661","file1":"1325813598","file0":"1325813593","file3":"1325813736"},"map_files_photo_id_array":[{"photo_id":"1325813661","filename":"file2"},{"photo_id":"1325813598","filename":"file1"},{"photo_id":"1325813593","filename":"file0"},{"photo_id":"1325813736","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325813661":["hashtag1","hashtag2"]},{"1325813598":["hashtag1","hashtag2"]},{"1325813736":["hashtag1","hashtag2"]},{"1325813593":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325813661, 1325813598, 1325813736, 1325813593)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.47421908378601 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 13:49:02.619489
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 13:49:21.936646
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/13/48/image_03012025_13_48_02_930013_0003.jpg', '/home/pi/Desktop/images/03012025/13/49/image_03012025_13_49_03_152469_0000.jpg', '/home/pi/Desktop/images/03012025/13/49/image_03012025_13_49_03_152469_0001.jpg', '/home/pi/Desktop/images/03012025/13/49/image_03012025_13_49_03_152469_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/13/48/image_03012025_13_48_02_930013_0003.jpg
/home/pi/Desktop/images/03012025/13/49/image_03012025_13_49_03_152469_0000.jpg
/home/pi/Desktop/images/03012025/13/49/image_03012025_13_49_03_152469_0001.jpg
/home/pi/Desktop/images/03012025/13/49/image_03012025_13_49_03_152469_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325813892","1325813796","1325814218","1325814215"],"photo_ids_order":["1325813796","1325813892","1325814215","1325814218"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ab16d7c2adbe03b898115544586fb207.jpg","text":"TemporaryFile(/tmp/multipartBody6995579365589875956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735908632288,"filename":"image_03012025_13_49_03_152469_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/25b5ab136572cf8f5fab6cea4c76ee5c.jpg","text":"TemporaryFile(/tmp/multipartBody8075573141578057789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735908632288,"filename":"image_03012025_13_48_02_930013_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ee81db850786025412e016c73c106003.jpg","text":"TemporaryFile(/tmp/multipartBody7404687889537433594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735908632288,"filename":"image_03012025_13_49_03_152469_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/efc6bea883f463bcf42be3e537e6d77e.jpg","text":"TemporaryFile(/tmp/multipartBody1011050971793692439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735908632288,"filename":"image_03012025_13_49_03_152469_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325814215","file1":"1325813892","file0":"1325813796","file3":"1325814218"},"map_files_photo_id_array":[{"photo_id":"1325814215","filename":"file2"},{"photo_id":"1325813892","filename":"file1"},{"photo_id":"1325813796","filename":"file0"},{"photo_id":"1325814218","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325813892":["hashtag1","hashtag2"]},{"1325813796":["hashtag1","hashtag2"]},{"1325814218":["hashtag1","hashtag2"]},{"1325814215":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325813892, 1325813796, 1325814218, 1325814215)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.68095350265503 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-03 13:50:22.187700
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/13/49/image_03012025_13_49_03_152469_0003.jpg', '/home/pi/Desktop/images/03012025/13/50/image_03012025_13_50_02_362427_0000.jpg', '/home/pi/Desktop/images/03012025/13/50/image_03012025_13_50_02_362427_0001.jpg', '/home/pi/Desktop/images/03012025/13/50/image_03012025_13_50_02_362427_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/13/49/image_03012025_13_49_03_152469_0003.jpg
/home/pi/Desktop/images/03012025/13/50/image_03012025_13_50_02_362427_0000.jpg
/home/pi/Desktop/images/03012025/13/50/image_03012025_13_50_02_362427_0001.jpg
/home/pi/Desktop/images/03012025/13/50/image_03012025_13_50_02_362427_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325814450","1325814423","1325814458","1325814454"],"photo_ids_order":["1325814423","1325814450","1325814454","1325814458"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/10307825e0b0d08d005c99e7a1c9b2e3.jpg","text":"TemporaryFile(/tmp/multipartBody3653710292385043278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735908692480,"filename":"image_03012025_13_50_02_362427_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/05da5726ed8dd7e167e2d170fe808c3a.jpg","text":"TemporaryFile(/tmp/multipartBody114858307717974951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735908692480,"filename":"image_03012025_13_49_03_152469_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/dbd48ddb767caf331a5e25c9041bb9bb.jpg","text":"TemporaryFile(/tmp/multipartBody7080027276030184270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735908692480,"filename":"image_03012025_13_50_02_362427_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0bb0e775a1b8899e39ddf3eed24b35ff.jpg","text":"TemporaryFile(/tmp/multipartBody970451867294353749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735908692480,"filename":"image_03012025_13_50_02_362427_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325814454","file1":"1325814450","file0":"1325814423","file3":"1325814458"},"map_files_photo_id_array":[{"photo_id":"1325814454","filename":"file2"},{"photo_id":"1325814450","filename":"file1"},{"photo_id":"1325814423","filename":"file0"},{"photo_id":"1325814458","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325814450":["hashtag1","hashtag2"]},{"1325814423":["hashtag1","hashtag2"]},{"1325814458":["hashtag1","hashtag2"]},{"1325814454":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325814450, 1325814423, 1325814458, 1325814454)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.465126514434814 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 13:51:02.879084
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 13:51:22.282036
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/13/50/image_03012025_13_50_02_362427_0003.jpg', '/home/pi/Desktop/images/03012025/13/51/image_03012025_13_51_02_457156_0000.jpg', '/home/pi/Desktop/images/03012025/13/51/image_03012025_13_51_02_457156_0001.jpg', '/home/pi/Desktop/images/03012025/13/51/image_03012025_13_51_02_457156_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/13/50/image_03012025_13_50_02_362427_0003.jpg
/home/pi/Desktop/images/03012025/13/51/image_03012025_13_51_02_457156_0000.jpg
/home/pi/Desktop/images/03012025/13/51/image_03012025_13_51_02_457156_0001.jpg
/home/pi/Desktop/images/03012025/13/51/image_03012025_13_51_02_457156_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325815595","1325815636","1325815552","1325815306"],"photo_ids_order":["1325815306","1325815552","1325815595","1325815636"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/318ac2b293dcd6ef969624e4492f4d2b.jpg","text":"TemporaryFile(/tmp/multipartBody5040568186188573461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735908752651,"filename":"image_03012025_13_51_02_457156_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/450e16e242ebe4e3c1ec24cbeef057a2.jpg","text":"TemporaryFile(/tmp/multipartBody5429229743559557428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735908752651,"filename":"image_03012025_13_51_02_457156_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f5bbcf09c9551e8e1fb11287437f4bca.jpg","text":"TemporaryFile(/tmp/multipartBody6558233065043876196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735908752651,"filename":"image_03012025_13_51_02_457156_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d266b18839fdb3a46fe455d9ec363a4a.jpg","text":"TemporaryFile(/tmp/multipartBody389472645984069493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735908752651,"filename":"image_03012025_13_50_02_362427_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325815595","file1":"1325815552","file0":"1325815306","file3":"1325815636"},"map_files_photo_id_array":[{"photo_id":"1325815595","filename":"file2"},{"photo_id":"1325815552","filename":"file1"},{"photo_id":"1325815306","filename":"file0"},{"photo_id":"1325815636","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325815595":["hashtag1","hashtag2"]},{"1325815636":["hashtag1","hashtag2"]},{"1325815552":["hashtag1","hashtag2"]},{"1325815306":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325815595, 1325815636, 1325815552, 1325815306)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.416720390319824 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 13:52:02.865110
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 13:52:22.449272
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/13/51/image_03012025_13_51_02_457156_0003.jpg', '/home/pi/Desktop/images/03012025/13/52/image_03012025_13_52_02_635495_0000.jpg', '/home/pi/Desktop/images/03012025/13/52/image_03012025_13_52_02_635495_0001.jpg', '/home/pi/Desktop/images/03012025/13/52/image_03012025_13_52_02_635495_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/13/51/image_03012025_13_51_02_457156_0003.jpg
/home/pi/Desktop/images/03012025/13/52/image_03012025_13_52_02_635495_0000.jpg
/home/pi/Desktop/images/03012025/13/52/image_03012025_13_52_02_635495_0001.jpg
/home/pi/Desktop/images/03012025/13/52/image_03012025_13_52_02_635495_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325816248","1325816259","1325816253","1325816256"],"photo_ids_order":["1325816248","1325816253","1325816256","1325816259"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/aee26fc83ff14c1290f727415ee7c952.jpg","text":"TemporaryFile(/tmp/multipartBody7840779134641654529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735908812805,"filename":"image_03012025_13_51_02_457156_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ee2f67fb32f1ddf15f7ef98f12fd8987.jpg","text":"TemporaryFile(/tmp/multipartBody3534559343382239540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735908812805,"filename":"image_03012025_13_52_02_635495_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7a8b64dc652636cf02a2c953eb36e6b4.jpg","text":"TemporaryFile(/tmp/multipartBody5573809205377352935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735908812805,"filename":"image_03012025_13_52_02_635495_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c2a4e751927f54c88fe811ca869b7a91.jpg","text":"TemporaryFile(/tmp/multipartBody211061001905828747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735908812805,"filename":"image_03012025_13_52_02_635495_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325816256","file1":"1325816253","file0":"1325816248","file3":"1325816259"},"map_files_photo_id_array":[{"photo_id":"1325816256","filename":"file2"},{"photo_id":"1325816253","filename":"file1"},{"photo_id":"1325816248","filename":"file0"},{"photo_id":"1325816259","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325816248":["hashtag1","hashtag2"]},{"1325816259":["hashtag1","hashtag2"]},{"1325816253":["hashtag1","hashtag2"]},{"1325816256":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325816248, 1325816259, 1325816253, 1325816256)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.456770181655884 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 13:53:03.360746
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 13:53:22.652489
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/13/52/image_03012025_13_52_02_635495_0003.jpg', '/home/pi/Desktop/images/03012025/13/53/image_03012025_13_53_02_828086_0000.jpg', '/home/pi/Desktop/images/03012025/13/53/image_03012025_13_53_02_828086_0001.jpg', '/home/pi/Desktop/images/03012025/13/53/image_03012025_13_53_02_828086_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/13/52/image_03012025_13_52_02_635495_0003.jpg
/home/pi/Desktop/images/03012025/13/53/image_03012025_13_53_02_828086_0000.jpg
/home/pi/Desktop/images/03012025/13/53/image_03012025_13_53_02_828086_0001.jpg
/home/pi/Desktop/images/03012025/13/53/image_03012025_13_53_02_828086_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325816698","1325816647","1325816946","1325816652"],"photo_ids_order":["1325816647","1325816652","1325816698","1325816946"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/57e0a3c0e55bc89ba17981e7b602ebbe.jpg","text":"TemporaryFile(/tmp/multipartBody5304835422383440920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735908872919,"filename":"image_03012025_13_53_02_828086_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/536de0419d48c6b60845924864c8ed85.jpg","text":"TemporaryFile(/tmp/multipartBody4721454609304375137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735908872919,"filename":"image_03012025_13_52_02_635495_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3aaf4ad1757b4a81c75083b531f317ee.jpg","text":"TemporaryFile(/tmp/multipartBody723481417631709846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735908872919,"filename":"image_03012025_13_53_02_828086_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7c28ec7c0d4426fedbdce6cc8ec6f7f9.jpg","text":"TemporaryFile(/tmp/multipartBody8435236179087183014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735908872919,"filename":"image_03012025_13_53_02_828086_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325816698","file1":"1325816652","file0":"1325816647","file3":"1325816946"},"map_files_photo_id_array":[{"photo_id":"1325816698","filename":"file2"},{"photo_id":"1325816652","filename":"file1"},{"photo_id":"1325816647","filename":"file0"},{"photo_id":"1325816946","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325816698":["hashtag1","hashtag2"]},{"1325816647":["hashtag1","hashtag2"]},{"1325816946":["hashtag1","hashtag2"]},{"1325816652":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325816698, 1325816647, 1325816946, 1325816652)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.57755422592163 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 13:54:02.385667
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 13:54:21.861303
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/13/53/image_03012025_13_53_02_828086_0003.jpg', '/home/pi/Desktop/images/03012025/13/54/image_03012025_13_54_03_132141_0000.jpg', '/home/pi/Desktop/images/03012025/13/54/image_03012025_13_54_03_132141_0001.jpg', '/home/pi/Desktop/images/03012025/13/54/image_03012025_13_54_03_132141_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/13/53/image_03012025_13_53_02_828086_0003.jpg
/home/pi/Desktop/images/03012025/13/54/image_03012025_13_54_03_132141_0000.jpg
/home/pi/Desktop/images/03012025/13/54/image_03012025_13_54_03_132141_0001.jpg
/home/pi/Desktop/images/03012025/13/54/image_03012025_13_54_03_132141_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325817070","1325817084","1325817105","1325817065"],"photo_ids_order":["1325817065","1325817070","1325817084","1325817105"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/829c3c278afdb85b41ea6b17af414604.jpg","text":"TemporaryFile(/tmp/multipartBody6994354278431935359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735908932136,"filename":"image_03012025_13_54_03_132141_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/34e383c3726edc38f9ec80745a73da88.jpg","text":"TemporaryFile(/tmp/multipartBody840796957884834247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735908932136,"filename":"image_03012025_13_54_03_132141_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b86af134fa51fbec7667dd70eed45e27.jpg","text":"TemporaryFile(/tmp/multipartBody2742297981833729726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735908932136,"filename":"image_03012025_13_54_03_132141_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/339fd5e42a4c76d69fa0e0d15fe3a828.jpg","text":"TemporaryFile(/tmp/multipartBody820739060757511183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735908932136,"filename":"image_03012025_13_53_02_828086_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325817084","file1":"1325817070","file0":"1325817065","file3":"1325817105"},"map_files_photo_id_array":[{"photo_id":"1325817084","filename":"file2"},{"photo_id":"1325817070","filename":"file1"},{"photo_id":"1325817065","filename":"file0"},{"photo_id":"1325817105","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325817070":["hashtag1","hashtag2"]},{"1325817084":["hashtag1","hashtag2"]},{"1325817105":["hashtag1","hashtag2"]},{"1325817065":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325817070, 1325817084, 1325817105, 1325817065)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.45813512802124 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 13:55:02.850068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 13:55:22.091898
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/13/54/image_03012025_13_54_03_132141_0003.jpg', '/home/pi/Desktop/images/03012025/13/55/image_03012025_13_55_02_216420_0000.jpg', '/home/pi/Desktop/images/03012025/13/55/image_03012025_13_55_02_216420_0001.jpg', '/home/pi/Desktop/images/03012025/13/55/image_03012025_13_55_02_216420_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/13/54/image_03012025_13_54_03_132141_0003.jpg
/home/pi/Desktop/images/03012025/13/55/image_03012025_13_55_02_216420_0000.jpg
/home/pi/Desktop/images/03012025/13/55/image_03012025_13_55_02_216420_0001.jpg
/home/pi/Desktop/images/03012025/13/55/image_03012025_13_55_02_216420_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325817547","1325817597","1325817489","1325817615"],"photo_ids_order":["1325817489","1325817547","1325817597","1325817615"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/22c036c50e6314afcc393519ec7a2a63.jpg","text":"TemporaryFile(/tmp/multipartBody4799029794811959985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735908992237,"filename":"image_03012025_13_55_02_216420_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d008e5fd74cd049b78b3327b82673a98.jpg","text":"TemporaryFile(/tmp/multipartBody7373520633163704221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735908992237,"filename":"image_03012025_13_55_02_216420_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3d1a964ab8b960b138ee35ee48569012.jpg","text":"TemporaryFile(/tmp/multipartBody7890392870073722455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735908992237,"filename":"image_03012025_13_54_03_132141_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c1540547b36d64157b31315f9fc2864f.jpg","text":"TemporaryFile(/tmp/multipartBody7170544420340580038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735908992237,"filename":"image_03012025_13_55_02_216420_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325817597","file1":"1325817547","file0":"1325817489","file3":"1325817615"},"map_files_photo_id_array":[{"photo_id":"1325817597","filename":"file2"},{"photo_id":"1325817547","filename":"file1"},{"photo_id":"1325817489","filename":"file0"},{"photo_id":"1325817615","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325817547":["hashtag1","hashtag2"]},{"1325817597":["hashtag1","hashtag2"]},{"1325817489":["hashtag1","hashtag2"]},{"1325817615":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325817547, 1325817597, 1325817489, 1325817615)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.577290773391724 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-03 13:56:22.212147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/13/55/image_03012025_13_55_02_216420_0003.jpg', '/home/pi/Desktop/images/03012025/13/56/image_03012025_13_56_02_475609_0000.jpg', '/home/pi/Desktop/images/03012025/13/56/image_03012025_13_56_02_475609_0001.jpg', '/home/pi/Desktop/images/03012025/13/56/image_03012025_13_56_02_475609_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/13/55/image_03012025_13_55_02_216420_0003.jpg
/home/pi/Desktop/images/03012025/13/56/image_03012025_13_56_02_475609_0000.jpg
/home/pi/Desktop/images/03012025/13/56/image_03012025_13_56_02_475609_0001.jpg
/home/pi/Desktop/images/03012025/13/56/image_03012025_13_56_02_475609_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325817922","1325817891","1325817951","1325817956"],"photo_ids_order":["1325817891","1325817922","1325817951","1325817956"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d3c2d4b8bce428a15bdd7245989cd8c2.jpg","text":"TemporaryFile(/tmp/multipartBody6653082934283980155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735909052596,"filename":"image_03012025_13_56_02_475609_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ea29234da17b858190036da0c0be6ead.jpg","text":"TemporaryFile(/tmp/multipartBody3517890871317217714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735909052596,"filename":"image_03012025_13_55_02_216420_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3337c41b3028dff615c707b164fad90c.jpg","text":"TemporaryFile(/tmp/multipartBody6092145347182953742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735909052596,"filename":"image_03012025_13_56_02_475609_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/66735cbb2e00f25052cf279757701576.jpg","text":"TemporaryFile(/tmp/multipartBody1657981514590741228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735909052596,"filename":"image_03012025_13_56_02_475609_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325817951","file1":"1325817922","file0":"1325817891","file3":"1325817956"},"map_files_photo_id_array":[{"photo_id":"1325817951","filename":"file2"},{"photo_id":"1325817922","filename":"file1"},{"photo_id":"1325817891","filename":"file0"},{"photo_id":"1325817956","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325817922":["hashtag1","hashtag2"]},{"1325817891":["hashtag1","hashtag2"]},{"1325817951":["hashtag1","hashtag2"]},{"1325817956":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325817922, 1325817891, 1325817951, 1325817956)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 39.81948184967041 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 13:57:22.355580
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/13/56/image_03012025_13_56_02_475609_0003.jpg', '/home/pi/Desktop/images/03012025/13/57/image_03012025_13_57_02_557210_0000.jpg', '/home/pi/Desktop/images/03012025/13/57/image_03012025_13_57_02_557210_0001.jpg', '/home/pi/Desktop/images/03012025/13/57/image_03012025_13_57_02_557210_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/13/56/image_03012025_13_56_02_475609_0003.jpg
/home/pi/Desktop/images/03012025/13/57/image_03012025_13_57_02_557210_0000.jpg
/home/pi/Desktop/images/03012025/13/57/image_03012025_13_57_02_557210_0001.jpg
/home/pi/Desktop/images/03012025/13/57/image_03012025_13_57_02_557210_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325818491","1325818488","1325818455","1325818514"],"photo_ids_order":["1325818455","1325818488","1325818491","1325818514"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/aa43cacfe3c2ccccba085982b325ac64.jpg","text":"TemporaryFile(/tmp/multipartBody2580970931925357002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735909112636,"filename":"image_03012025_13_57_02_557210_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/275c9236d2a929971c80db61e31f7ec2.jpg","text":"TemporaryFile(/tmp/multipartBody320732728206014461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735909112636,"filename":"image_03012025_13_57_02_557210_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/07a1ed014d083c04900f6d0c8d9ab131.jpg","text":"TemporaryFile(/tmp/multipartBody7531727774988462329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735909112636,"filename":"image_03012025_13_56_02_475609_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f5f6a5a1acbcdb3e02e4d692c567267e.jpg","text":"TemporaryFile(/tmp/multipartBody6720362678928781559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735909112636,"filename":"image_03012025_13_57_02_557210_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325818491","file1":"1325818488","file0":"1325818455","file3":"1325818514"},"map_files_photo_id_array":[{"photo_id":"1325818491","filename":"file2"},{"photo_id":"1325818488","filename":"file1"},{"photo_id":"1325818455","filename":"file0"},{"photo_id":"1325818514","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325818491":["hashtag1","hashtag2"]},{"1325818488":["hashtag1","hashtag2"]},{"1325818455":["hashtag1","hashtag2"]},{"1325818514":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325818491, 1325818488, 1325818455, 1325818514)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.84481406211853 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 13:59:03.313184
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/13/57/image_03012025_13_57_02_557210_0003.jpg', '/home/pi/Desktop/images/03012025/13/58/image_03012025_13_58_02_682675_0000.jpg', '/home/pi/Desktop/images/03012025/13/58/image_03012025_13_58_02_682675_0001.jpg', '/home/pi/Desktop/images/03012025/13/58/image_03012025_13_58_02_682675_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/13/57/image_03012025_13_57_02_557210_0003.jpg
/home/pi/Desktop/images/03012025/13/58/image_03012025_13_58_02_682675_0000.jpg
/home/pi/Desktop/images/03012025/13/58/image_03012025_13_58_02_682675_0001.jpg
/home/pi/Desktop/images/03012025/13/58/image_03012025_13_58_02_682675_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":["1325819999","1325819774","1325820006","1325819923"],"photo_ids_order":["1325819774","1325819923","1325819999","1325820006"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c3d1ecd848f9d89c24d075c8816e3913.jpg","text":"TemporaryFile(/tmp/multipartBody3600189740975823039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735909213539,"filename":"image_03012025_13_58_02_682675_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/16f35d909bd72da385d3d570b5ef7f77.jpg","text":"TemporaryFile(/tmp/multipartBody6614780560076317681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735909213539,"filename":"image_03012025_13_57_02_557210_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/558a6c8742e32f149147a07362fa54ff.jpg","text":"TemporaryFile(/tmp/multipartBody365796079051331142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735909213539,"filename":"image_03012025_13_58_02_682675_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e18c95c2ea9550daa793eb805bd917ca.jpg","text":"TemporaryFile(/tmp/multipartBody1728963885539042671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735909213539,"filename":"image_03012025_13_58_02_682675_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325819999","file1":"1325819923","file0":"1325819774","file3":"1325820006"},"map_files_photo_id_array":[{"photo_id":"1325819999","filename":"file2"},{"photo_id":"1325819923","filename":"file1"},{"photo_id":"1325819774","filename":"file0"},{"photo_id":"1325820006","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325819999":["hashtag1","hashtag2"]},{"1325819774":["hashtag1","hashtag2"]},{"1325820006":["hashtag1","hashtag2"]},{"1325819923":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325819999, 1325819774, 1325820006, 1325819923)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.075148582458496 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-03 13:59:42.792004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/13/58/image_03012025_13_58_02_682675_0003.jpg', '/home/pi/Desktop/images/03012025/13/59/image_03012025_13_59_02_860485_0000.jpg', '/home/pi/Desktop/images/03012025/13/59/image_03012025_13_59_02_860485_0001.jpg', '/home/pi/Desktop/images/03012025/13/59/image_03012025_13_59_02_860485_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/13/58/image_03012025_13_58_02_682675_0003.jpg
/home/pi/Desktop/images/03012025/13/59/image_03012025_13_59_02_860485_0000.jpg
/home/pi/Desktop/images/03012025/13/59/image_03012025_13_59_02_860485_0001.jpg
/home/pi/Desktop/images/03012025/13/59/image_03012025_13_59_02_860485_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325820248","1325820242","1325820245","1325820239"],"photo_ids_order":["1325820239","1325820242","1325820245","1325820248"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/bb6e7ee1348f4606cd19c226932cd57c.jpg","text":"TemporaryFile(/tmp/multipartBody6418207225587625082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735909253309,"filename":"image_03012025_13_59_02_860485_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/38d3b17d9e1ee0c0ff57c3309c8a0391.jpg","text":"TemporaryFile(/tmp/multipartBody5349474582744875844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735909253309,"filename":"image_03012025_13_59_02_860485_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f4a961227c520843a5f92e03ccae53b4.jpg","text":"TemporaryFile(/tmp/multipartBody8256530651199457850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735909253309,"filename":"image_03012025_13_59_02_860485_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/82bb979b1b0d703b887ab63ae5f8ff5c.jpg","text":"TemporaryFile(/tmp/multipartBody3035030725151008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735909253309,"filename":"image_03012025_13_58_02_682675_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325820245","file1":"1325820242","file0":"1325820239","file3":"1325820248"},"map_files_photo_id_array":[{"photo_id":"1325820245","filename":"file2"},{"photo_id":"1325820242","filename":"file1"},{"photo_id":"1325820239","filename":"file0"},{"photo_id":"1325820248","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325820248":["hashtag1","hashtag2"]},{"1325820242":["hashtag1","hashtag2"]},{"1325820245":["hashtag1","hashtag2"]},{"1325820239":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325820248, 1325820242, 1325820245, 1325820239)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.37861633300781 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-03 14:00:31.870631
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/13/59/image_03012025_13_59_02_860485_0003.jpg', '/home/pi/Desktop/images/03012025/14/00/image_03012025_14_00_03_096448_0000.jpg', '/home/pi/Desktop/images/03012025/14/00/image_03012025_14_00_03_096448_0001.jpg', '/home/pi/Desktop/images/03012025/14/00/image_03012025_14_00_03_096448_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/13/59/image_03012025_13_59_02_860485_0003.jpg
/home/pi/Desktop/images/03012025/14/00/image_03012025_14_00_03_096448_0000.jpg
/home/pi/Desktop/images/03012025/14/00/image_03012025_14_00_03_096448_0001.jpg
/home/pi/Desktop/images/03012025/14/00/image_03012025_14_00_03_096448_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.856328248977661 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-03 14:00:51.848796
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/13/59/image_03012025_13_59_02_860485_0003.jpg', '/home/pi/Desktop/images/03012025/14/00/image_03012025_14_00_03_096448_0000.jpg', '/home/pi/Desktop/images/03012025/14/00/image_03012025_14_00_03_096448_0001.jpg', '/home/pi/Desktop/images/03012025/14/00/image_03012025_14_00_03_096448_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/13/59/image_03012025_13_59_02_860485_0003.jpg
/home/pi/Desktop/images/03012025/14/00/image_03012025_14_00_03_096448_0000.jpg
/home/pi/Desktop/images/03012025/14/00/image_03012025_14_00_03_096448_0001.jpg
/home/pi/Desktop/images/03012025/14/00/image_03012025_14_00_03_096448_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":["1325820547","1325820747","1325820744","1325820746"],"photo_ids_order":["1325820547","1325820744","1325820746","1325820747"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e39bf27311ca4cef3df743d6e4f54dbc.jpg","text":"TemporaryFile(/tmp/multipartBody1223479785437671039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735909322095,"filename":"image_03012025_13_59_02_860485_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6233d5b01bea0f9d26acf2e41e994194.jpg","text":"TemporaryFile(/tmp/multipartBody5163105028096563393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735909322095,"filename":"image_03012025_14_00_03_096448_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4b20ace8c8114384506af4db45fbc429.jpg","text":"TemporaryFile(/tmp/multipartBody5632403215980308424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735909322095,"filename":"image_03012025_14_00_03_096448_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3a1c4dc62512ff79ca64a05467cdd23c.jpg","text":"TemporaryFile(/tmp/multipartBody1673106488479838462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735909322095,"filename":"image_03012025_14_00_03_096448_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325820746","file1":"1325820744","file0":"1325820547","file3":"1325820747"},"map_files_photo_id_array":[{"photo_id":"1325820746","filename":"file2"},{"photo_id":"1325820744","filename":"file1"},{"photo_id":"1325820547","filename":"file0"},{"photo_id":"1325820747","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325820547":["hashtag1","hashtag2"]},{"1325820747":["hashtag1","hashtag2"]},{"1325820744":["hashtag1","hashtag2"]},{"1325820746":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325820547, 1325820747, 1325820744, 1325820746)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.01823687553406 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-03 14:01:32.014684
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/14/00/image_03012025_14_00_03_096448_0003.jpg', '/home/pi/Desktop/images/03012025/14/01/image_03012025_14_01_02_313068_0000.jpg', '/home/pi/Desktop/images/03012025/14/01/image_03012025_14_01_02_313068_0001.jpg', '/home/pi/Desktop/images/03012025/14/01/image_03012025_14_01_02_313068_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/14/00/image_03012025_14_00_03_096448_0003.jpg
/home/pi/Desktop/images/03012025/14/01/image_03012025_14_01_02_313068_0000.jpg
/home/pi/Desktop/images/03012025/14/01/image_03012025_14_01_02_313068_0001.jpg
/home/pi/Desktop/images/03012025/14/01/image_03012025_14_01_02_313068_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325820952","1325820946","1325820895","1325820835"],"photo_ids_order":["1325820835","1325820895","1325820946","1325820952"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7214db59e036b46d3704399932e5a508.jpg","text":"TemporaryFile(/tmp/multipartBody8913901873995348734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735909362342,"filename":"image_03012025_14_01_02_313068_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/09ee6403a4923d68784e4a93b54d5988.jpg","text":"TemporaryFile(/tmp/multipartBody5980406550856986327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735909362342,"filename":"image_03012025_14_01_02_313068_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/dc825f128f85da5eaa53a25ffe9ea9b8.jpg","text":"TemporaryFile(/tmp/multipartBody1386227842612796577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735909362342,"filename":"image_03012025_14_01_02_313068_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2693f53248dcf13c44c59c76ee408f5b.jpg","text":"TemporaryFile(/tmp/multipartBody5239632587439877301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735909362342,"filename":"image_03012025_14_00_03_096448_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325820946","file1":"1325820895","file0":"1325820835","file3":"1325820952"},"map_files_photo_id_array":[{"photo_id":"1325820946","filename":"file2"},{"photo_id":"1325820895","filename":"file1"},{"photo_id":"1325820835","filename":"file0"},{"photo_id":"1325820952","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325820952":["hashtag1","hashtag2"]},{"1325820946":["hashtag1","hashtag2"]},{"1325820895":["hashtag1","hashtag2"]},{"1325820835":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325820952, 1325820946, 1325820895, 1325820835)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.63022255897522 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 14:02:22.306462
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/14/01/image_03012025_14_01_02_313068_0003.jpg', '/home/pi/Desktop/images/03012025/14/02/image_03012025_14_02_02_407746_0000.jpg', '/home/pi/Desktop/images/03012025/14/02/image_03012025_14_02_02_407746_0001.jpg', '/home/pi/Desktop/images/03012025/14/02/image_03012025_14_02_02_407746_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/14/01/image_03012025_14_01_02_313068_0003.jpg
/home/pi/Desktop/images/03012025/14/02/image_03012025_14_02_02_407746_0000.jpg
/home/pi/Desktop/images/03012025/14/02/image_03012025_14_02_02_407746_0001.jpg
/home/pi/Desktop/images/03012025/14/02/image_03012025_14_02_02_407746_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325821407","1325821007","1325821411","1325821222"],"photo_ids_order":["1325821007","1325821222","1325821407","1325821411"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f361e939230d1b4806d4a20109ce582a.jpg","text":"TemporaryFile(/tmp/multipartBody5447401537777507379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735909412726,"filename":"image_03012025_14_02_02_407746_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2efb6fa6c39612a561b62f8c2afd39ab.jpg","text":"TemporaryFile(/tmp/multipartBody8453831549085673380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735909412726,"filename":"image_03012025_14_01_02_313068_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e50b0e63a8dfe856ef328a200abf706f.jpg","text":"TemporaryFile(/tmp/multipartBody5784465557808096920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735909412726,"filename":"image_03012025_14_02_02_407746_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/859d1f0ed2ab06a3fd344bc6f574281e.jpg","text":"TemporaryFile(/tmp/multipartBody6261957150111410173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735909412726,"filename":"image_03012025_14_02_02_407746_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325821407","file1":"1325821222","file0":"1325821007","file3":"1325821411"},"map_files_photo_id_array":[{"photo_id":"1325821407","filename":"file2"},{"photo_id":"1325821222","filename":"file1"},{"photo_id":"1325821007","filename":"file0"},{"photo_id":"1325821411","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325821407":["hashtag1","hashtag2"]},{"1325821007":["hashtag1","hashtag2"]},{"1325821411":["hashtag1","hashtag2"]},{"1325821222":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325821407, 1325821007, 1325821411, 1325821222)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.66895794868469 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-03 14:03:22.436880
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/14/02/image_03012025_14_02_02_407746_0003.jpg', '/home/pi/Desktop/images/03012025/14/03/image_03012025_14_03_02_577799_0000.jpg', '/home/pi/Desktop/images/03012025/14/03/image_03012025_14_03_02_577799_0001.jpg', '/home/pi/Desktop/images/03012025/14/03/image_03012025_14_03_02_577799_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/14/02/image_03012025_14_02_02_407746_0003.jpg
/home/pi/Desktop/images/03012025/14/03/image_03012025_14_03_02_577799_0000.jpg
/home/pi/Desktop/images/03012025/14/03/image_03012025_14_03_02_577799_0001.jpg
/home/pi/Desktop/images/03012025/14/03/image_03012025_14_03_02_577799_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1325822282","1325822318","1325822170","1325822166"],"photo_ids_order":["1325822166","1325822170","1325822282","1325822318"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9f7fa2e5640d01eafc2632d771f9303a.jpg","text":"TemporaryFile(/tmp/multipartBody5143971536549913810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735909472674,"filename":"image_03012025_14_03_02_577799_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4cb99b9b6c9f1395389b63ad77f3c3e1.jpg","text":"TemporaryFile(/tmp/multipartBody8731786499604497332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735909472674,"filename":"image_03012025_14_03_02_577799_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d2ff5c411a96ddfd05284a8284218f31.jpg","text":"TemporaryFile(/tmp/multipartBody1391878058593598347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735909472674,"filename":"image_03012025_14_03_02_577799_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/936f143e82f5acb0249b25ae93efa8a1.jpg","text":"TemporaryFile(/tmp/multipartBody6684532649828609964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735909472674,"filename":"image_03012025_14_02_02_407746_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325822282","file1":"1325822170","file0":"1325822166","file3":"1325822318"},"map_files_photo_id_array":[{"photo_id":"1325822282","filename":"file2"},{"photo_id":"1325822170","filename":"file1"},{"photo_id":"1325822166","filename":"file0"},{"photo_id":"1325822318","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325822282":["hashtag1","hashtag2"]},{"1325822318":["hashtag1","hashtag2"]},{"1325822170":["hashtag1","hashtag2"]},{"1325822166":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325822282, 1325822318, 1325822170, 1325822166)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.69727921485901 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 14:04:22.579492
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/14/03/image_03012025_14_03_02_577799_0003.jpg', '/home/pi/Desktop/images/03012025/14/04/image_03012025_14_04_02_744963_0000.jpg', '/home/pi/Desktop/images/03012025/14/04/image_03012025_14_04_02_744963_0001.jpg', '/home/pi/Desktop/images/03012025/14/04/image_03012025_14_04_02_744963_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/14/03/image_03012025_14_03_02_577799_0003.jpg
/home/pi/Desktop/images/03012025/14/04/image_03012025_14_04_02_744963_0000.jpg
/home/pi/Desktop/images/03012025/14/04/image_03012025_14_04_02_744963_0001.jpg
/home/pi/Desktop/images/03012025/14/04/image_03012025_14_04_02_744963_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.875648975372314 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-03 14:04:42.613264
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/14/03/image_03012025_14_03_02_577799_0003.jpg', '/home/pi/Desktop/images/03012025/14/04/image_03012025_14_04_02_744963_0000.jpg', '/home/pi/Desktop/images/03012025/14/04/image_03012025_14_04_02_744963_0001.jpg', '/home/pi/Desktop/images/03012025/14/04/image_03012025_14_04_02_744963_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/14/03/image_03012025_14_03_02_577799_0003.jpg
/home/pi/Desktop/images/03012025/14/04/image_03012025_14_04_02_744963_0000.jpg
/home/pi/Desktop/images/03012025/14/04/image_03012025_14_04_02_744963_0001.jpg
/home/pi/Desktop/images/03012025/14/04/image_03012025_14_04_02_744963_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325823530","1325823608","1325823493","1325823717"],"photo_ids_order":["1325823493","1325823530","1325823608","1325823717"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8a5b9ddd883412eb274c1d9ec3723d2c.jpg","text":"TemporaryFile(/tmp/multipartBody3610948962444887388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735909552886,"filename":"image_03012025_14_04_02_744963_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f6f5f144a7dcc327e86843d4a2e42770.jpg","text":"TemporaryFile(/tmp/multipartBody956043799818260069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735909552886,"filename":"image_03012025_14_04_02_744963_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2340eea84f27930d8ee5e81b1a9ecb54.jpg","text":"TemporaryFile(/tmp/multipartBody5559005921479704927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735909552886,"filename":"image_03012025_14_03_02_577799_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/cf3858ecc13585ee1db35a7683861133.jpg","text":"TemporaryFile(/tmp/multipartBody7252840159251673280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735909552886,"filename":"image_03012025_14_04_02_744963_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325823608","file1":"1325823530","file0":"1325823493","file3":"1325823717"},"map_files_photo_id_array":[{"photo_id":"1325823608","filename":"file2"},{"photo_id":"1325823530","filename":"file1"},{"photo_id":"1325823493","filename":"file0"},{"photo_id":"1325823717","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325823530":["hashtag1","hashtag2"]},{"1325823608":["hashtag1","hashtag2"]},{"1325823493":["hashtag1","hashtag2"]},{"1325823717":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325823530, 1325823608, 1325823493, 1325823717)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.58541536331177 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-03 14:05:31.799376
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/14/04/image_03012025_14_04_02_744963_0003.jpg', '/home/pi/Desktop/images/03012025/14/05/image_03012025_14_05_02_959406_0000.jpg', '/home/pi/Desktop/images/03012025/14/05/image_03012025_14_05_02_959406_0001.jpg', '/home/pi/Desktop/images/03012025/14/05/image_03012025_14_05_02_959406_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/14/04/image_03012025_14_04_02_744963_0003.jpg
/home/pi/Desktop/images/03012025/14/05/image_03012025_14_05_02_959406_0000.jpg
/home/pi/Desktop/images/03012025/14/05/image_03012025_14_05_02_959406_0001.jpg
/home/pi/Desktop/images/03012025/14/05/image_03012025_14_05_02_959406_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325823821","1325823973","1325823825","1325823816"],"photo_ids_order":["1325823816","1325823821","1325823825","1325823973"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/fade76fdaf1abdaf49aeb88e33de79c4.jpg","text":"TemporaryFile(/tmp/multipartBody6195740049339780376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735909602113,"filename":"image_03012025_14_05_02_959406_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/aa4491f7569654aa9768ab08fbd2744d.jpg","text":"TemporaryFile(/tmp/multipartBody4525426318341070880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735909602113,"filename":"image_03012025_14_05_02_959406_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/869a52a2c649af655efdf507ff29fa2a.jpg","text":"TemporaryFile(/tmp/multipartBody5129460465089100039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735909602113,"filename":"image_03012025_14_05_02_959406_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b7df3ad8411abef8f8c42d10109024c6.jpg","text":"TemporaryFile(/tmp/multipartBody7973598012574395139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735909602113,"filename":"image_03012025_14_04_02_744963_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325823825","file1":"1325823821","file0":"1325823816","file3":"1325823973"},"map_files_photo_id_array":[{"photo_id":"1325823825","filename":"file2"},{"photo_id":"1325823821","filename":"file1"},{"photo_id":"1325823816","filename":"file0"},{"photo_id":"1325823973","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325823821":["hashtag1","hashtag2"]},{"1325823973":["hashtag1","hashtag2"]},{"1325823825":["hashtag1","hashtag2"]},{"1325823816":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325823821, 1325823973, 1325823825, 1325823816)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.21474862098694 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 14:06:21.991887
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/14/05/image_03012025_14_05_02_959406_0003.jpg', '/home/pi/Desktop/images/03012025/14/06/image_03012025_14_06_02_173902_0000.jpg', '/home/pi/Desktop/images/03012025/14/06/image_03012025_14_06_02_173902_0001.jpg', '/home/pi/Desktop/images/03012025/14/06/image_03012025_14_06_02_173902_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/14/05/image_03012025_14_05_02_959406_0003.jpg
/home/pi/Desktop/images/03012025/14/06/image_03012025_14_06_02_173902_0000.jpg
/home/pi/Desktop/images/03012025/14/06/image_03012025_14_06_02_173902_0001.jpg
/home/pi/Desktop/images/03012025/14/06/image_03012025_14_06_02_173902_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325824555","1325824807","1325824359","1325824803"],"photo_ids_order":["1325824359","1325824555","1325824803","1325824807"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c1c32aaa8505c282b552207e74e1e1f8.jpg","text":"TemporaryFile(/tmp/multipartBody5502410733274560744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735909652447,"filename":"image_03012025_14_06_02_173902_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b7e850ca9996b5d4b5498a3033ceda8f.jpg","text":"TemporaryFile(/tmp/multipartBody2450748740199874899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735909652447,"filename":"image_03012025_14_06_02_173902_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/65fcd73db361a397a69d23c85d0ab657.jpg","text":"TemporaryFile(/tmp/multipartBody5258001819560444886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735909652447,"filename":"image_03012025_14_05_02_959406_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5f87fc490ff20e0d1d0115ea49693a78.jpg","text":"TemporaryFile(/tmp/multipartBody8522433365531111983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735909652447,"filename":"image_03012025_14_06_02_173902_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325824803","file1":"1325824555","file0":"1325824359","file3":"1325824807"},"map_files_photo_id_array":[{"photo_id":"1325824803","filename":"file2"},{"photo_id":"1325824555","filename":"file1"},{"photo_id":"1325824359","filename":"file0"},{"photo_id":"1325824807","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325824555":["hashtag1","hashtag2"]},{"1325824807":["hashtag1","hashtag2"]},{"1325824359":["hashtag1","hashtag2"]},{"1325824803":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325824555, 1325824807, 1325824359, 1325824803)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.147095680236816 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 14:07:22.196689
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-03 14:07:32.113058
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-03 14:07:42.227715
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-03 14:07:52.110591
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 14:08:02.819581
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 14:08:22.367942
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/14/06/image_03012025_14_06_02_173902_0003.jpg', '/home/pi/Desktop/images/03012025/14/08/image_03012025_14_08_02_504001_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/14/06/image_03012025_14_06_02_173902_0003.jpg
/home/pi/Desktop/images/03012025/14/08/image_03012025_14_08_02_504001_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.244735956192017 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-03 14:08:32.345204
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/14/06/image_03012025_14_06_02_173902_0003.jpg', '/home/pi/Desktop/images/03012025/14/08/image_03012025_14_08_02_504001_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/14/06/image_03012025_14_06_02_173902_0003.jpg
/home/pi/Desktop/images/03012025/14/08/image_03012025_14_08_02_504001_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":["1325825047","1325825051"],"photo_ids_order":["1325825047","1325825051"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/79944bd901c296f98143c2bab355ebd3.jpg","text":"TemporaryFile(/tmp/multipartBody8972596006714162501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735909777958,"filename":"image_03012025_14_06_02_173902_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/19fadb008f0c8a2da804a18705fc183e.jpg","text":"TemporaryFile(/tmp/multipartBody2124370572772111214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735909777958,"filename":"image_03012025_14_08_02_504001_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1325825051","file0":"1325825047"},"map_files_photo_id_array":[{"photo_id":"1325825051","filename":"file1"},{"photo_id":"1325825047","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325825047":["hashtag1","hashtag2"]},{"1325825051":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325825047, 1325825051)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.12110996246338 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 14:09:03.207699
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 14:09:22.551860
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/14/08/image_03012025_14_08_02_504001_0003.jpg', '/home/pi/Desktop/images/03012025/14/09/image_03012025_14_09_02_650873_0000.jpg', '/home/pi/Desktop/images/03012025/14/09/image_03012025_14_09_02_650873_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/14/08/image_03012025_14_08_02_504001_0003.jpg
/home/pi/Desktop/images/03012025/14/09/image_03012025_14_09_02_650873_0000.jpg
/home/pi/Desktop/images/03012025/14/09/image_03012025_14_09_02_650873_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":["1325825964","1325825961","1325825993"],"photo_ids_order":["1325825961","1325825964","1325825993"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7c924e972048b194a227783955e06a41.jpg","text":"TemporaryFile(/tmp/multipartBody6684971029549701791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735909830667,"filename":"image_03012025_14_09_02_650873_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f5dcb9955632d18756737441b89ee1b1.jpg","text":"TemporaryFile(/tmp/multipartBody633264090624340298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735909830667,"filename":"image_03012025_14_08_02_504001_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/faae9f0242d5e0bb0cfeed774aa76964.jpg","text":"TemporaryFile(/tmp/multipartBody6514762657173427704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735909830667,"filename":"image_03012025_14_09_02_650873_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325825993","file1":"1325825964","file0":"1325825961"},"map_files_photo_id_array":[{"photo_id":"1325825993","filename":"file2"},{"photo_id":"1325825964","filename":"file1"},{"photo_id":"1325825961","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325825964":["hashtag1","hashtag2"]},{"1325825961":["hashtag1","hashtag2"]},{"1325825993":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325825964, 1325825961, 1325825993)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.814749002456665 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 14:10:03.071882
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 14:10:22.667331
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/14/09/image_03012025_14_09_02_650873_0003.jpg', '/home/pi/Desktop/images/03012025/14/10/image_03012025_14_10_02_841756_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/14/09/image_03012025_14_09_02_650873_0003.jpg
/home/pi/Desktop/images/03012025/14/10/image_03012025_14_10_02_841756_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":["1325826345","1325826542"],"photo_ids_order":["1325826345","1325826542"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f5b1fd837445474ce41fd27ea97f22ea.jpg","text":"TemporaryFile(/tmp/multipartBody4205359259242860031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735909888318,"filename":"image_03012025_14_09_02_650873_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6cad337097399e10ac2822c35b94d63b.jpg","text":"TemporaryFile(/tmp/multipartBody9131181675965255923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735909888318,"filename":"image_03012025_14_10_02_841756_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1325826542","file0":"1325826345"},"map_files_photo_id_array":[{"photo_id":"1325826542","filename":"file1"},{"photo_id":"1325826345","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325826345":["hashtag1","hashtag2"]},{"1325826542":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325826345, 1325826542)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.803661584854126 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-03 14:10:52.657456
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 14:11:02.323597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 14:11:21.804856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/14/10/image_03012025_14_10_02_841756_0003.jpg', '/home/pi/Desktop/images/03012025/14/11/image_03012025_14_11_03_011699_0000.jpg', '/home/pi/Desktop/images/03012025/14/11/image_03012025_14_11_03_011699_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/14/10/image_03012025_14_10_02_841756_0003.jpg
/home/pi/Desktop/images/03012025/14/11/image_03012025_14_11_03_011699_0000.jpg
/home/pi/Desktop/images/03012025/14/11/image_03012025_14_11_03_011699_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325826888","1325826898","1325826892"],"photo_ids_order":["1325826888","1325826892","1325826898"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/50fdcbd6f026414a9eb63735ad9c41b0.jpg","text":"TemporaryFile(/tmp/multipartBody1348826969328531126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735909949918,"filename":"image_03012025_14_10_02_841756_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/fa6a7ff6fed3bbcc48c0b9bc83163596.jpg","text":"TemporaryFile(/tmp/multipartBody2485019117779914747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735909949918,"filename":"image_03012025_14_11_03_011699_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f2538f5686ccda4fe7724209590dcafe.jpg","text":"TemporaryFile(/tmp/multipartBody3099164501991698628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735909949918,"filename":"image_03012025_14_11_03_011699_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325826898","file1":"1325826892","file0":"1325826888"},"map_files_photo_id_array":[{"photo_id":"1325826898","filename":"file2"},{"photo_id":"1325826892","filename":"file1"},{"photo_id":"1325826888","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325826888":["hashtag1","hashtag2"]},{"1325826898":["hashtag1","hashtag2"]},{"1325826892":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325826888, 1325826898, 1325826892)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 34.578524589538574 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 14:12:02.419620
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 14:12:22.044858
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/14/11/image_03012025_14_11_03_011699_0003.jpg', '/home/pi/Desktop/images/03012025/14/12/image_03012025_14_12_02_247043_0000.jpg', '/home/pi/Desktop/images/03012025/14/12/image_03012025_14_12_02_247043_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/14/11/image_03012025_14_11_03_011699_0003.jpg
/home/pi/Desktop/images/03012025/14/12/image_03012025_14_12_02_247043_0000.jpg
/home/pi/Desktop/images/03012025/14/12/image_03012025_14_12_02_247043_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325827392","1325827435","1325827395"],"photo_ids_order":["1325827392","1325827395","1325827435"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c84a984c615f7b4c740b0428a0163a79.jpg","text":"TemporaryFile(/tmp/multipartBody717096408579410692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735910010158,"filename":"image_03012025_14_11_03_011699_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b704d1c0c97a3e0c0013ebe1c9b37ca2.jpg","text":"TemporaryFile(/tmp/multipartBody603118282002558710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735910010158,"filename":"image_03012025_14_12_02_247043_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3b82db72e03d82b6828323cf31fa7fca.jpg","text":"TemporaryFile(/tmp/multipartBody1965915527032209240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735910010158,"filename":"image_03012025_14_12_02_247043_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325827435","file1":"1325827395","file0":"1325827392"},"map_files_photo_id_array":[{"photo_id":"1325827435","filename":"file2"},{"photo_id":"1325827395","filename":"file1"},{"photo_id":"1325827392","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325827392":["hashtag1","hashtag2"]},{"1325827435":["hashtag1","hashtag2"]},{"1325827395":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325827392, 1325827435, 1325827395)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.196581602096558 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 14:13:02.921745
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 14:13:22.208064
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/14/12/image_03012025_14_12_02_247043_0003.jpg', '/home/pi/Desktop/images/03012025/14/13/image_03012025_14_13_02_435824_0000.jpg', '/home/pi/Desktop/images/03012025/14/13/image_03012025_14_13_02_435824_0001.jpg', '/home/pi/Desktop/images/03012025/14/13/image_03012025_14_13_02_435824_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/14/12/image_03012025_14_12_02_247043_0003.jpg
/home/pi/Desktop/images/03012025/14/13/image_03012025_14_13_02_435824_0000.jpg
/home/pi/Desktop/images/03012025/14/13/image_03012025_14_13_02_435824_0001.jpg
/home/pi/Desktop/images/03012025/14/13/image_03012025_14_13_02_435824_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.22849154472351 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-03 14:13:42.208652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/14/12/image_03012025_14_12_02_247043_0003.jpg', '/home/pi/Desktop/images/03012025/14/13/image_03012025_14_13_02_435824_0000.jpg', '/home/pi/Desktop/images/03012025/14/13/image_03012025_14_13_02_435824_0001.jpg', '/home/pi/Desktop/images/03012025/14/13/image_03012025_14_13_02_435824_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/14/12/image_03012025_14_12_02_247043_0003.jpg
/home/pi/Desktop/images/03012025/14/13/image_03012025_14_13_02_435824_0000.jpg
/home/pi/Desktop/images/03012025/14/13/image_03012025_14_13_02_435824_0001.jpg
/home/pi/Desktop/images/03012025/14/13/image_03012025_14_13_02_435824_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":["1325827955","1325827957","1325828181","1325828061"],"photo_ids_order":["1325827955","1325827957","1325828061","1325828181"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3cccbbabd1e006aa126cc24df2d10322.jpg","text":"TemporaryFile(/tmp/multipartBody1771374853463838835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735910092822,"filename":"image_03012025_14_12_02_247043_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/aef4553aec9a1c3e60851e9cc79caf2c.jpg","text":"TemporaryFile(/tmp/multipartBody3225350292932219545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735910092822,"filename":"image_03012025_14_13_02_435824_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0a18863103f66724263e86d76e173d4c.jpg","text":"TemporaryFile(/tmp/multipartBody1764692178733229216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735910092822,"filename":"image_03012025_14_13_02_435824_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ff71481c1590f94561d088e930a20617.jpg","text":"TemporaryFile(/tmp/multipartBody4253446295664606476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735910092822,"filename":"image_03012025_14_13_02_435824_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325828061","file1":"1325827957","file0":"1325827955","file3":"1325828181"},"map_files_photo_id_array":[{"photo_id":"1325828061","filename":"file2"},{"photo_id":"1325827957","filename":"file1"},{"photo_id":"1325827955","filename":"file0"},{"photo_id":"1325828181","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325827955":["hashtag1","hashtag2"]},{"1325827957":["hashtag1","hashtag2"]},{"1325828181":["hashtag1","hashtag2"]},{"1325828061":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325827955, 1325827957, 1325828181, 1325828061)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.529794454574585 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 14:14:22.464971
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/14/13/image_03012025_14_13_02_435824_0003.jpg', '/home/pi/Desktop/images/03012025/14/14/image_03012025_14_14_02_658277_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/14/13/image_03012025_14_13_02_435824_0003.jpg
/home/pi/Desktop/images/03012025/14/14/image_03012025_14_14_02_658277_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":["1325829140","1325829138"],"photo_ids_order":["1325829138","1325829140"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/445ceae0db3031cc990ba9fe1f5409ca.jpg","text":"TemporaryFile(/tmp/multipartBody1332193586427365242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735910128112,"filename":"image_03012025_14_14_02_658277_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/13f4f8377be7e11b8e5675ba98cf0c49.jpg","text":"TemporaryFile(/tmp/multipartBody307545618393434432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735910128112,"filename":"image_03012025_14_13_02_435824_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1325829140","file0":"1325829138"},"map_files_photo_id_array":[{"photo_id":"1325829140","filename":"file1"},{"photo_id":"1325829138","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325829140":["hashtag1","hashtag2"]},{"1325829138":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325829140, 1325829138)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.681488752365112 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-03 14:14:52.423879
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 14:15:03.213960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 14:15:22.622357
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/14/14/image_03012025_14_14_02_658277_0001.jpg', '/home/pi/Desktop/images/03012025/14/15/image_03012025_14_15_02_782998_0000.jpg', '/home/pi/Desktop/images/03012025/14/15/image_03012025_14_15_02_782998_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/14/14/image_03012025_14_14_02_658277_0001.jpg
/home/pi/Desktop/images/03012025/14/15/image_03012025_14_15_02_782998_0000.jpg
/home/pi/Desktop/images/03012025/14/15/image_03012025_14_15_02_782998_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325829745","1325829816","1325829723"],"photo_ids_order":["1325829723","1325829745","1325829816"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/33464b669decef435b211472d1c8815d.jpg","text":"TemporaryFile(/tmp/multipartBody8889223488265330804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735910190741,"filename":"image_03012025_14_15_02_782998_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a1b3a6b20a77af72ee43794f0233ef19.jpg","text":"TemporaryFile(/tmp/multipartBody8079097632802861221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735910190741,"filename":"image_03012025_14_15_02_782998_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/cea618cb599aa880ca24890b2b4f6390.jpg","text":"TemporaryFile(/tmp/multipartBody3423107478196463644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735910190741,"filename":"image_03012025_14_14_02_658277_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325829816","file1":"1325829745","file0":"1325829723"},"map_files_photo_id_array":[{"photo_id":"1325829816","filename":"file2"},{"photo_id":"1325829745","filename":"file1"},{"photo_id":"1325829723","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325829745":["hashtag1","hashtag2"]},{"1325829816":["hashtag1","hashtag2"]},{"1325829723":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325829745, 1325829816, 1325829723)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.243822813034058 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 14:16:02.183595
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 14:16:21.781279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/14/15/image_03012025_14_15_02_782998_0003.jpg', '/home/pi/Desktop/images/03012025/14/16/image_03012025_14_16_03_062796_0000.jpg', '/home/pi/Desktop/images/03012025/14/16/image_03012025_14_16_03_062796_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/14/15/image_03012025_14_15_02_782998_0003.jpg
/home/pi/Desktop/images/03012025/14/16/image_03012025_14_16_03_062796_0000.jpg
/home/pi/Desktop/images/03012025/14/16/image_03012025_14_16_03_062796_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":["1325830109","1325830053","1325830083"],"photo_ids_order":["1325830053","1325830083","1325830109"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ee9a973c06f8040bdcbfa7a68c22b471.jpg","text":"TemporaryFile(/tmp/multipartBody6607786658636547585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735910249951,"filename":"image_03012025_14_16_03_062796_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0f5c3e6ed18b0cad93e7945f553bfb77.jpg","text":"TemporaryFile(/tmp/multipartBody8289303178319496985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735910249951,"filename":"image_03012025_14_15_02_782998_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/78a851fb21012414ba9dc4c7dbb3d5bf.jpg","text":"TemporaryFile(/tmp/multipartBody5670436815799403166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735910249951,"filename":"image_03012025_14_16_03_062796_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325830109","file1":"1325830083","file0":"1325830053"},"map_files_photo_id_array":[{"photo_id":"1325830109","filename":"file2"},{"photo_id":"1325830083","filename":"file1"},{"photo_id":"1325830053","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325830109":["hashtag1","hashtag2"]},{"1325830053":["hashtag1","hashtag2"]},{"1325830083":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325830109, 1325830053, 1325830083)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.631812810897827 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 14:17:02.674678
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 14:17:22.097845
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/14/16/image_03012025_14_16_03_062796_0003.jpg', '/home/pi/Desktop/images/03012025/14/17/image_03012025_14_17_02_242717_0000.jpg', '/home/pi/Desktop/images/03012025/14/17/image_03012025_14_17_02_242717_0001.jpg', '/home/pi/Desktop/images/03012025/14/17/image_03012025_14_17_02_242717_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/14/16/image_03012025_14_16_03_062796_0003.jpg
/home/pi/Desktop/images/03012025/14/17/image_03012025_14_17_02_242717_0000.jpg
/home/pi/Desktop/images/03012025/14/17/image_03012025_14_17_02_242717_0001.jpg
/home/pi/Desktop/images/03012025/14/17/image_03012025_14_17_02_242717_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325830267","1325830272","1325830251","1325830263"],"photo_ids_order":["1325830251","1325830263","1325830267","1325830272"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/bb1d89a495d8abb1633a20548643d817.jpg","text":"TemporaryFile(/tmp/multipartBody2879893116551210695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735910312726,"filename":"image_03012025_14_17_02_242717_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/33a8e32a0375ee63efefe892b0194438.jpg","text":"TemporaryFile(/tmp/multipartBody1760615296993639468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735910312726,"filename":"image_03012025_14_17_02_242717_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/73412d95c467cd5d0d250d4c09f7d003.jpg","text":"TemporaryFile(/tmp/multipartBody6915863756477548918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735910312726,"filename":"image_03012025_14_16_03_062796_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b3e107149085178d4f00853cc11059d8.jpg","text":"TemporaryFile(/tmp/multipartBody2953920891197497428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735910312726,"filename":"image_03012025_14_17_02_242717_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325830267","file1":"1325830263","file0":"1325830251","file3":"1325830272"},"map_files_photo_id_array":[{"photo_id":"1325830267","filename":"file2"},{"photo_id":"1325830263","filename":"file1"},{"photo_id":"1325830251","filename":"file0"},{"photo_id":"1325830272","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325830267":["hashtag1","hashtag2"]},{"1325830272":["hashtag1","hashtag2"]},{"1325830251":["hashtag1","hashtag2"]},{"1325830263":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325830267, 1325830272, 1325830251, 1325830263)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.80887150764465 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 14:18:22.215944
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/14/17/image_03012025_14_17_02_242717_0003.jpg', '/home/pi/Desktop/images/03012025/14/18/image_03012025_14_18_02_351324_0000.jpg', '/home/pi/Desktop/images/03012025/14/18/image_03012025_14_18_02_351324_0001.jpg', '/home/pi/Desktop/images/03012025/14/18/image_03012025_14_18_02_351324_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/14/17/image_03012025_14_17_02_242717_0003.jpg
/home/pi/Desktop/images/03012025/14/18/image_03012025_14_18_02_351324_0000.jpg
/home/pi/Desktop/images/03012025/14/18/image_03012025_14_18_02_351324_0001.jpg
/home/pi/Desktop/images/03012025/14/18/image_03012025_14_18_02_351324_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325830676","1325830330","1325830327","1325830491"],"photo_ids_order":["1325830327","1325830330","1325830491","1325830676"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/42fb83b51d7a64ca48606e56333ec109.jpg","text":"TemporaryFile(/tmp/multipartBody1703377094257240467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735910372851,"filename":"image_03012025_14_18_02_351324_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/257cd7c77ad4d1206753b4499a16f902.jpg","text":"TemporaryFile(/tmp/multipartBody2506946094351636683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735910372851,"filename":"image_03012025_14_18_02_351324_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a21f186e9fe9240f415a344beee8b804.jpg","text":"TemporaryFile(/tmp/multipartBody1066985714801447228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735910372851,"filename":"image_03012025_14_17_02_242717_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ce96dfbd6e46ff50d17fa289cddccc6e.jpg","text":"TemporaryFile(/tmp/multipartBody8130687386610639499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735910372851,"filename":"image_03012025_14_18_02_351324_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325830491","file1":"1325830330","file0":"1325830327","file3":"1325830676"},"map_files_photo_id_array":[{"photo_id":"1325830491","filename":"file2"},{"photo_id":"1325830330","filename":"file1"},{"photo_id":"1325830327","filename":"file0"},{"photo_id":"1325830676","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325830676":["hashtag1","hashtag2"]},{"1325830330":["hashtag1","hashtag2"]},{"1325830327":["hashtag1","hashtag2"]},{"1325830491":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325830676, 1325830330, 1325830327, 1325830491)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.68691849708557 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 14:19:22.435848
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/14/18/image_03012025_14_18_02_351324_0003.jpg', '/home/pi/Desktop/images/03012025/14/19/image_03012025_14_19_02_549807_0000.jpg', '/home/pi/Desktop/images/03012025/14/19/image_03012025_14_19_02_549807_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/14/18/image_03012025_14_18_02_351324_0003.jpg
/home/pi/Desktop/images/03012025/14/19/image_03012025_14_19_02_549807_0000.jpg
/home/pi/Desktop/images/03012025/14/19/image_03012025_14_19_02_549807_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325831197","1325831194","1325831173"],"photo_ids_order":["1325831173","1325831194","1325831197"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1d1f30a5a78e26aa44ca51ce6180bf52.jpg","text":"TemporaryFile(/tmp/multipartBody6648693004899716662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735910430588,"filename":"image_03012025_14_19_02_549807_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d91061fe2adfa30d6c95946b4136702e.jpg","text":"TemporaryFile(/tmp/multipartBody2975136741847768654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735910430588,"filename":"image_03012025_14_19_02_549807_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/fcbc457d42f4d0646e9deaeb6c4630b2.jpg","text":"TemporaryFile(/tmp/multipartBody3528283134353709722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735910430588,"filename":"image_03012025_14_18_02_351324_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325831197","file1":"1325831194","file0":"1325831173"},"map_files_photo_id_array":[{"photo_id":"1325831197","filename":"file2"},{"photo_id":"1325831194","filename":"file1"},{"photo_id":"1325831173","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325831197":["hashtag1","hashtag2"]},{"1325831194":["hashtag1","hashtag2"]},{"1325831173":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325831197, 1325831194, 1325831173)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.47058081626892 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 14:20:02.989844
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 14:20:22.597868
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/14/19/image_03012025_14_19_02_549807_0003.jpg', '/home/pi/Desktop/images/03012025/14/20/image_03012025_14_20_02_789094_0000.jpg', '/home/pi/Desktop/images/03012025/14/20/image_03012025_14_20_02_789094_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/14/19/image_03012025_14_19_02_549807_0003.jpg
/home/pi/Desktop/images/03012025/14/20/image_03012025_14_20_02_789094_0000.jpg
/home/pi/Desktop/images/03012025/14/20/image_03012025_14_20_02_789094_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":["1325831215","1325831224","1325831220"],"photo_ids_order":["1325831215","1325831220","1325831224"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2cc671ea4ef7efde77818b3640fd6ef9.jpg","text":"TemporaryFile(/tmp/multipartBody7606154541163539770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735910490735,"filename":"image_03012025_14_19_02_549807_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d3f538b20e52ee4496f9f1f62524a0dc.jpg","text":"TemporaryFile(/tmp/multipartBody5901267710223284836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735910490735,"filename":"image_03012025_14_20_02_789094_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0b1492661fcb4531ca3e6fe5a2075ff1.jpg","text":"TemporaryFile(/tmp/multipartBody7577535010692809034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735910490735,"filename":"image_03012025_14_20_02_789094_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325831224","file1":"1325831220","file0":"1325831215"},"map_files_photo_id_array":[{"photo_id":"1325831224","filename":"file2"},{"photo_id":"1325831220","filename":"file1"},{"photo_id":"1325831215","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325831215":["hashtag1","hashtag2"]},{"1325831224":["hashtag1","hashtag2"]},{"1325831220":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325831215, 1325831224, 1325831220)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.59674906730652 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 14:21:03.322633
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 14:21:22.767274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/14/20/image_03012025_14_20_02_789094_0002.jpg', '/home/pi/Desktop/images/03012025/14/21/image_03012025_14_21_02_928847_0000.jpg', '/home/pi/Desktop/images/03012025/14/21/image_03012025_14_21_02_928847_0001.jpg', '/home/pi/Desktop/images/03012025/14/21/image_03012025_14_21_02_928847_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/14/20/image_03012025_14_20_02_789094_0002.jpg
/home/pi/Desktop/images/03012025/14/21/image_03012025_14_21_02_928847_0000.jpg
/home/pi/Desktop/images/03012025/14/21/image_03012025_14_21_02_928847_0001.jpg
/home/pi/Desktop/images/03012025/14/21/image_03012025_14_21_02_928847_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325832097","1325831784","1325832353","1325831558"],"photo_ids_order":["1325831558","1325831784","1325832097","1325832353"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/59e571ee4c96ad932a6a462f362f4fb8.jpg","text":"TemporaryFile(/tmp/multipartBody1873294122048378203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735910553435,"filename":"image_03012025_14_21_02_928847_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c68ef192563bf6cfd1af938c22a080d0.jpg","text":"TemporaryFile(/tmp/multipartBody5348225691881231089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735910553435,"filename":"image_03012025_14_21_02_928847_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9b5ebf1de1387ef6e9b967b75afc7ebc.jpg","text":"TemporaryFile(/tmp/multipartBody4263415551689333751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735910553435,"filename":"image_03012025_14_21_02_928847_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/98978e5d1bdf9201d06a1307fe36da70.jpg","text":"TemporaryFile(/tmp/multipartBody5519954969467957015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735910553435,"filename":"image_03012025_14_20_02_789094_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325832097","file1":"1325831784","file0":"1325831558","file3":"1325832353"},"map_files_photo_id_array":[{"photo_id":"1325832097","filename":"file2"},{"photo_id":"1325831784","filename":"file1"},{"photo_id":"1325831558","filename":"file0"},{"photo_id":"1325832353","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325832097":["hashtag1","hashtag2"]},{"1325831784":["hashtag1","hashtag2"]},{"1325832353":["hashtag1","hashtag2"]},{"1325831558":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325832097, 1325831784, 1325832353, 1325831558)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.799081325531006 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 14:22:22.004941
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/14/21/image_03012025_14_21_02_928847_0003.jpg', '/home/pi/Desktop/images/03012025/14/22/image_03012025_14_22_03_102189_0000.jpg', '/home/pi/Desktop/images/03012025/14/22/image_03012025_14_22_03_102189_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/14/21/image_03012025_14_21_02_928847_0003.jpg
/home/pi/Desktop/images/03012025/14/22/image_03012025_14_22_03_102189_0000.jpg
/home/pi/Desktop/images/03012025/14/22/image_03012025_14_22_03_102189_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":["1325832808","1325832805","1325832675"],"photo_ids_order":["1325832675","1325832805","1325832808"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/20a10dcc7bbe417000a5f79bacfa4cdd.jpg","text":"TemporaryFile(/tmp/multipartBody3863928321413551576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735910610265,"filename":"image_03012025_14_22_03_102189_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6550018ec7e3dd08e6a967bc35a5838f.jpg","text":"TemporaryFile(/tmp/multipartBody228239820667690950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735910610265,"filename":"image_03012025_14_22_03_102189_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6f5a3702554a95b13f2762f668175069.jpg","text":"TemporaryFile(/tmp/multipartBody4754825318148309022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735910610265,"filename":"image_03012025_14_21_02_928847_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325832808","file1":"1325832805","file0":"1325832675"},"map_files_photo_id_array":[{"photo_id":"1325832808","filename":"file2"},{"photo_id":"1325832805","filename":"file1"},{"photo_id":"1325832675","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325832808":["hashtag1","hashtag2"]},{"1325832805":["hashtag1","hashtag2"]},{"1325832675":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325832808, 1325832805, 1325832675)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.867645740509033 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 14:23:02.816724
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 14:23:22.231451
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/14/22/image_03012025_14_22_03_102189_0002.jpg', '/home/pi/Desktop/images/03012025/14/23/image_03012025_14_23_02_327424_0000.jpg', '/home/pi/Desktop/images/03012025/14/23/image_03012025_14_23_02_327424_0001.jpg', '/home/pi/Desktop/images/03012025/14/23/image_03012025_14_23_02_327424_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/14/22/image_03012025_14_22_03_102189_0002.jpg
/home/pi/Desktop/images/03012025/14/23/image_03012025_14_23_02_327424_0000.jpg
/home/pi/Desktop/images/03012025/14/23/image_03012025_14_23_02_327424_0001.jpg
/home/pi/Desktop/images/03012025/14/23/image_03012025_14_23_02_327424_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325833063","1325833038","1325833130","1325833168"],"photo_ids_order":["1325833038","1325833063","1325833130","1325833168"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1dc9ccc1e012ea25b07ff672e5986c4d.jpg","text":"TemporaryFile(/tmp/multipartBody7658336801469930365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735910672875,"filename":"image_03012025_14_23_02_327424_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f4dceb2c1690baf4e274ff774dda5dcb.jpg","text":"TemporaryFile(/tmp/multipartBody4093410822086387826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735910672875,"filename":"image_03012025_14_22_03_102189_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7e94982ab14af30d6bd174f7bd6aebde.jpg","text":"TemporaryFile(/tmp/multipartBody8163355708165608649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735910672875,"filename":"image_03012025_14_23_02_327424_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/417e44149c9e48dde304ab132f33e40a.jpg","text":"TemporaryFile(/tmp/multipartBody107685414146316319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735910672875,"filename":"image_03012025_14_23_02_327424_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325833130","file1":"1325833063","file0":"1325833038","file3":"1325833168"},"map_files_photo_id_array":[{"photo_id":"1325833130","filename":"file2"},{"photo_id":"1325833063","filename":"file1"},{"photo_id":"1325833038","filename":"file0"},{"photo_id":"1325833168","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325833063":["hashtag1","hashtag2"]},{"1325833038":["hashtag1","hashtag2"]},{"1325833130":["hashtag1","hashtag2"]},{"1325833168":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325833063, 1325833038, 1325833130, 1325833168)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.39529728889465 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 14:24:22.421396
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/14/23/image_03012025_14_23_02_327424_0003.jpg', '/home/pi/Desktop/images/03012025/14/24/image_03012025_14_24_02_625305_0000.jpg', '/home/pi/Desktop/images/03012025/14/24/image_03012025_14_24_02_625305_0001.jpg', '/home/pi/Desktop/images/03012025/14/24/image_03012025_14_24_02_625305_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/14/23/image_03012025_14_23_02_327424_0003.jpg
/home/pi/Desktop/images/03012025/14/24/image_03012025_14_24_02_625305_0000.jpg
/home/pi/Desktop/images/03012025/14/24/image_03012025_14_24_02_625305_0001.jpg
/home/pi/Desktop/images/03012025/14/24/image_03012025_14_24_02_625305_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325833185","1325833346","1325833192","1325833189"],"photo_ids_order":["1325833185","1325833189","1325833192","1325833346"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/603970490afaa83dd2ca8493764e5531.jpg","text":"TemporaryFile(/tmp/multipartBody8257709676996455442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735910733054,"filename":"image_03012025_14_23_02_327424_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/48cc2feb313113fb247785695066dbd6.jpg","text":"TemporaryFile(/tmp/multipartBody7101640137342583598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735910733054,"filename":"image_03012025_14_24_02_625305_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9b2d1353a8ebe8d3bb9e00eb2ffaf941.jpg","text":"TemporaryFile(/tmp/multipartBody8032748195663578270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735910733054,"filename":"image_03012025_14_24_02_625305_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0c81e367a691e2259a2d8709a9327f54.jpg","text":"TemporaryFile(/tmp/multipartBody6299266983487047757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735910733054,"filename":"image_03012025_14_24_02_625305_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325833192","file1":"1325833189","file0":"1325833185","file3":"1325833346"},"map_files_photo_id_array":[{"photo_id":"1325833192","filename":"file2"},{"photo_id":"1325833189","filename":"file1"},{"photo_id":"1325833185","filename":"file0"},{"photo_id":"1325833346","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325833185":["hashtag1","hashtag2"]},{"1325833346":["hashtag1","hashtag2"]},{"1325833192":["hashtag1","hashtag2"]},{"1325833189":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325833185, 1325833346, 1325833192, 1325833189)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.759615421295166 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 14:25:03.012755
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 14:25:22.583650
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/14/24/image_03012025_14_24_02_625305_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/14/24/image_03012025_14_24_02_625305_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325833556"],"photo_id":"1325833556","photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/65496bb0ff5af2e0a23960c63189ec6d.jpg","text":"TemporaryFile(/tmp/multipartBody3828155295783760948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735910785741,"filename":"image_03012025_14_24_02_625305_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file0":"1325833556"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1325833556"}],"hashtags":[],"portfolio_id":"19381866","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 18.853559494018555 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-03 14:25:42.524468
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-03 14:25:52.537686
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 14:26:03.071197
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 14:26:22.813049
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/14/25/image_03012025_14_25_02_772505_0003.jpg', '/home/pi/Desktop/images/03012025/14/26/image_03012025_14_26_02_898779_0000.jpg', '/home/pi/Desktop/images/03012025/14/26/image_03012025_14_26_02_898779_0001.jpg', '/home/pi/Desktop/images/03012025/14/26/image_03012025_14_26_02_898779_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/14/25/image_03012025_14_25_02_772505_0003.jpg
/home/pi/Desktop/images/03012025/14/26/image_03012025_14_26_02_898779_0000.jpg
/home/pi/Desktop/images/03012025/14/26/image_03012025_14_26_02_898779_0001.jpg
/home/pi/Desktop/images/03012025/14/26/image_03012025_14_26_02_898779_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325834125","1325834187","1325834166","1325834130"],"photo_ids_order":["1325834125","1325834130","1325834166","1325834187"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/135e58463bcb87e6116680b626b28ced.jpg","text":"TemporaryFile(/tmp/multipartBody2989042940022660296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735910853466,"filename":"image_03012025_14_25_02_772505_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/541c1f2947e59a306ee9e1bb50c58423.jpg","text":"TemporaryFile(/tmp/multipartBody7029510159140215279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735910853466,"filename":"image_03012025_14_26_02_898779_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/699d37acd95a9ae68be15454e62f931e.jpg","text":"TemporaryFile(/tmp/multipartBody8483511377179989336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735910853466,"filename":"image_03012025_14_26_02_898779_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4cc3364160082bf037f79ae095b52828.jpg","text":"TemporaryFile(/tmp/multipartBody4403238720178301504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735910853466,"filename":"image_03012025_14_26_02_898779_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325834166","file1":"1325834130","file0":"1325834125","file3":"1325834187"},"map_files_photo_id_array":[{"photo_id":"1325834166","filename":"file2"},{"photo_id":"1325834130","filename":"file1"},{"photo_id":"1325834125","filename":"file0"},{"photo_id":"1325834187","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325834125":["hashtag1","hashtag2"]},{"1325834187":["hashtag1","hashtag2"]},{"1325834166":["hashtag1","hashtag2"]},{"1325834130":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325834125, 1325834187, 1325834166, 1325834130)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.16508960723877 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 14:27:02.430414
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 14:27:22.046996
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/14/26/image_03012025_14_26_02_898779_0003.jpg', '/home/pi/Desktop/images/03012025/14/27/image_03012025_14_27_03_131726_0000.jpg', '/home/pi/Desktop/images/03012025/14/27/image_03012025_14_27_03_131726_0001.jpg', '/home/pi/Desktop/images/03012025/14/27/image_03012025_14_27_03_131726_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/14/26/image_03012025_14_26_02_898779_0003.jpg
/home/pi/Desktop/images/03012025/14/27/image_03012025_14_27_03_131726_0000.jpg
/home/pi/Desktop/images/03012025/14/27/image_03012025_14_27_03_131726_0001.jpg
/home/pi/Desktop/images/03012025/14/27/image_03012025_14_27_03_131726_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325834472","1325834463","1325834459","1325834467"],"photo_ids_order":["1325834459","1325834463","1325834467","1325834472"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/db8870b4e01ff23140fb961ace9ee3bf.jpg","text":"TemporaryFile(/tmp/multipartBody5066890707247126245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735910912727,"filename":"image_03012025_14_27_03_131726_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c3d2566fb25a8bd16b37a263577b09be.jpg","text":"TemporaryFile(/tmp/multipartBody3081108225863762282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735910912727,"filename":"image_03012025_14_27_03_131726_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b79f3b3d66ad612e8ec523d7c58a70d4.jpg","text":"TemporaryFile(/tmp/multipartBody5947456415878415433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735910912727,"filename":"image_03012025_14_26_02_898779_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8a47e95df61d663666a1ec0058e0f646.jpg","text":"TemporaryFile(/tmp/multipartBody5642702061689371899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735910912727,"filename":"image_03012025_14_27_03_131726_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325834467","file1":"1325834463","file0":"1325834459","file3":"1325834472"},"map_files_photo_id_array":[{"photo_id":"1325834467","filename":"file2"},{"photo_id":"1325834463","filename":"file1"},{"photo_id":"1325834459","filename":"file0"},{"photo_id":"1325834472","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325834472":["hashtag1","hashtag2"]},{"1325834463":["hashtag1","hashtag2"]},{"1325834459":["hashtag1","hashtag2"]},{"1325834467":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325834472, 1325834463, 1325834459, 1325834467)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.89839482307434 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 14:28:22.156294
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/14/27/image_03012025_14_27_03_131726_0003.jpg', '/home/pi/Desktop/images/03012025/14/28/image_03012025_14_28_02_211445_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/14/27/image_03012025_14_27_03_131726_0003.jpg
/home/pi/Desktop/images/03012025/14/28/image_03012025_14_28_02_211445_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":["1325834749","1325834746"],"photo_ids_order":["1325834746","1325834749"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/fb5bca6b87c821584388025987f9719e.jpg","text":"TemporaryFile(/tmp/multipartBody7245527807351262213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735910967807,"filename":"image_03012025_14_28_02_211445_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/fcbe3bba3f94be455debf83a1aaaa168.jpg","text":"TemporaryFile(/tmp/multipartBody1285278505443264421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735910967807,"filename":"image_03012025_14_27_03_131726_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1325834749","file0":"1325834746"},"map_files_photo_id_array":[{"photo_id":"1325834749","filename":"file1"},{"photo_id":"1325834746","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325834749":["hashtag1","hashtag2"]},{"1325834746":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325834749, 1325834746)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.65253520011902 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-03 14:28:52.081629
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 14:29:02.999908
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 14:29:22.358879
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/14/28/image_03012025_14_28_02_211445_0001.jpg', '/home/pi/Desktop/images/03012025/14/29/image_03012025_14_29_02_524790_0000.jpg', '/home/pi/Desktop/images/03012025/14/29/image_03012025_14_29_02_524790_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/14/28/image_03012025_14_28_02_211445_0001.jpg
/home/pi/Desktop/images/03012025/14/29/image_03012025_14_29_02_524790_0000.jpg
/home/pi/Desktop/images/03012025/14/29/image_03012025_14_29_02_524790_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325835135","1325835068","1325835062"],"photo_ids_order":["1325835062","1325835068","1325835135"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7be0c16e98c582d429d85dffad35baed.jpg","text":"TemporaryFile(/tmp/multipartBody7931521667047180008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735911030476,"filename":"image_03012025_14_29_02_524790_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c2e7217290780fb960e8f62a6cc41c31.jpg","text":"TemporaryFile(/tmp/multipartBody8567522119813721109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735911030476,"filename":"image_03012025_14_29_02_524790_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4d1b66544167401bd2f5a1106d2ff2d2.jpg","text":"TemporaryFile(/tmp/multipartBody3755855904832871547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735911030476,"filename":"image_03012025_14_28_02_211445_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325835135","file1":"1325835068","file0":"1325835062"},"map_files_photo_id_array":[{"photo_id":"1325835135","filename":"file2"},{"photo_id":"1325835068","filename":"file1"},{"photo_id":"1325835062","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325835135":["hashtag1","hashtag2"]},{"1325835068":["hashtag1","hashtag2"]},{"1325835062":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325835135, 1325835068, 1325835062)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.821242809295654 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 14:30:02.954802
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 14:30:22.488426
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/14/29/image_03012025_14_29_02_524790_0003.jpg', '/home/pi/Desktop/images/03012025/14/30/image_03012025_14_30_02_645304_0000.jpg', '/home/pi/Desktop/images/03012025/14/30/image_03012025_14_30_02_645304_0001.jpg', '/home/pi/Desktop/images/03012025/14/30/image_03012025_14_30_02_645304_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/14/29/image_03012025_14_29_02_524790_0003.jpg
/home/pi/Desktop/images/03012025/14/30/image_03012025_14_30_02_645304_0000.jpg
/home/pi/Desktop/images/03012025/14/30/image_03012025_14_30_02_645304_0001.jpg
/home/pi/Desktop/images/03012025/14/30/image_03012025_14_30_02_645304_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325835513","1325835494","1325835362","1325835470"],"photo_ids_order":["1325835362","1325835470","1325835494","1325835513"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/20ea6a8d2468de3f7a1e1f2bd27f2567.jpg","text":"TemporaryFile(/tmp/multipartBody3700367683531436809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735911093175,"filename":"image_03012025_14_30_02_645304_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/19a18662088560012399c389dbc449d8.jpg","text":"TemporaryFile(/tmp/multipartBody3369047308823461727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735911093175,"filename":"image_03012025_14_30_02_645304_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/06a87ae3d4341249ff76ef3f0fa5f736.jpg","text":"TemporaryFile(/tmp/multipartBody5643047696739415905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735911093175,"filename":"image_03012025_14_29_02_524790_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/65e01723f6ed013171cc3b3d3964f703.jpg","text":"TemporaryFile(/tmp/multipartBody8195070723110814261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735911093175,"filename":"image_03012025_14_30_02_645304_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325835494","file1":"1325835470","file0":"1325835362","file3":"1325835513"},"map_files_photo_id_array":[{"photo_id":"1325835494","filename":"file2"},{"photo_id":"1325835470","filename":"file1"},{"photo_id":"1325835362","filename":"file0"},{"photo_id":"1325835513","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325835513":["hashtag1","hashtag2"]},{"1325835494":["hashtag1","hashtag2"]},{"1325835362":["hashtag1","hashtag2"]},{"1325835470":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325835513, 1325835494, 1325835362, 1325835470)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.13592457771301 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 14:31:22.611643
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/14/30/image_03012025_14_30_02_645304_0003.jpg', '/home/pi/Desktop/images/03012025/14/31/image_03012025_14_31_02_808843_0000.jpg', '/home/pi/Desktop/images/03012025/14/31/image_03012025_14_31_02_808843_0001.jpg', '/home/pi/Desktop/images/03012025/14/31/image_03012025_14_31_02_808843_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/14/30/image_03012025_14_30_02_645304_0003.jpg
/home/pi/Desktop/images/03012025/14/31/image_03012025_14_31_02_808843_0000.jpg
/home/pi/Desktop/images/03012025/14/31/image_03012025_14_31_02_808843_0001.jpg
/home/pi/Desktop/images/03012025/14/31/image_03012025_14_31_02_808843_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325835606","1325835609","1325835601","1325835597"],"photo_ids_order":["1325835597","1325835601","1325835606","1325835609"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a14db48b120914a04fae46a482be2c64.jpg","text":"TemporaryFile(/tmp/multipartBody8391432475117383136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735911153250,"filename":"image_03012025_14_31_02_808843_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/076a0bc5ebacb43aa511d2f975b0382b.jpg","text":"TemporaryFile(/tmp/multipartBody2019890826962640625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735911153250,"filename":"image_03012025_14_31_02_808843_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6cc6066f9b0e2054a1fa7cb5d1713fff.jpg","text":"TemporaryFile(/tmp/multipartBody3260062461232949365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735911153250,"filename":"image_03012025_14_31_02_808843_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/24f1e2bcf6bf803029bc9d7a630e2733.jpg","text":"TemporaryFile(/tmp/multipartBody6723912950259958968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735911153250,"filename":"image_03012025_14_30_02_645304_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325835606","file1":"1325835601","file0":"1325835597","file3":"1325835609"},"map_files_photo_id_array":[{"photo_id":"1325835606","filename":"file2"},{"photo_id":"1325835601","filename":"file1"},{"photo_id":"1325835597","filename":"file0"},{"photo_id":"1325835609","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325835606":["hashtag1","hashtag2"]},{"1325835609":["hashtag1","hashtag2"]},{"1325835601":["hashtag1","hashtag2"]},{"1325835597":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325835606, 1325835609, 1325835601, 1325835597)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.789910078048706 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 14:32:21.872224
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/14/31/image_03012025_14_31_02_808843_0003.jpg', '/home/pi/Desktop/images/03012025/14/32/image_03012025_14_32_03_040958_0000.jpg', '/home/pi/Desktop/images/03012025/14/32/image_03012025_14_32_03_040958_0001.jpg', '/home/pi/Desktop/images/03012025/14/32/image_03012025_14_32_03_040958_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/14/31/image_03012025_14_31_02_808843_0003.jpg
/home/pi/Desktop/images/03012025/14/32/image_03012025_14_32_03_040958_0000.jpg
/home/pi/Desktop/images/03012025/14/32/image_03012025_14_32_03_040958_0001.jpg
/home/pi/Desktop/images/03012025/14/32/image_03012025_14_32_03_040958_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.314441680908203 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-03 14:32:41.853469
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/14/31/image_03012025_14_31_02_808843_0003.jpg', '/home/pi/Desktop/images/03012025/14/32/image_03012025_14_32_03_040958_0000.jpg', '/home/pi/Desktop/images/03012025/14/32/image_03012025_14_32_03_040958_0001.jpg', '/home/pi/Desktop/images/03012025/14/32/image_03012025_14_32_03_040958_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/14/31/image_03012025_14_31_02_808843_0003.jpg
/home/pi/Desktop/images/03012025/14/32/image_03012025_14_32_03_040958_0000.jpg
/home/pi/Desktop/images/03012025/14/32/image_03012025_14_32_03_040958_0001.jpg
/home/pi/Desktop/images/03012025/14/32/image_03012025_14_32_03_040958_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325836026","1325835991","1325835994","1325836045"],"photo_ids_order":["1325835991","1325835994","1325836026","1325836045"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a74c76a0b65ad17035da05959af2262b.jpg","text":"TemporaryFile(/tmp/multipartBody8048942079303052592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735911232499,"filename":"image_03012025_14_32_03_040958_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0cc9deda180c17b945f502d71aacd98b.jpg","text":"TemporaryFile(/tmp/multipartBody4147710754108544233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735911232499,"filename":"image_03012025_14_31_02_808843_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4845257fc3ae36488e01f4fdb09eb2e4.jpg","text":"TemporaryFile(/tmp/multipartBody4440001401461136096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735911232499,"filename":"image_03012025_14_32_03_040958_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0d7231e1aeed06e2ec90029ffcc65647.jpg","text":"TemporaryFile(/tmp/multipartBody7212085276468445974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735911232499,"filename":"image_03012025_14_32_03_040958_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325836026","file1":"1325835994","file0":"1325835991","file3":"1325836045"},"map_files_photo_id_array":[{"photo_id":"1325836026","filename":"file2"},{"photo_id":"1325835994","filename":"file1"},{"photo_id":"1325835991","filename":"file0"},{"photo_id":"1325836045","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325836026":["hashtag1","hashtag2"]},{"1325835991":["hashtag1","hashtag2"]},{"1325835994":["hashtag1","hashtag2"]},{"1325836045":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325836026, 1325835991, 1325835994, 1325836045)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.040066957473755 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-03 14:33:31.989520
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/14/32/image_03012025_14_32_03_040958_0003.jpg', '/home/pi/Desktop/images/03012025/14/33/image_03012025_14_33_02_213790_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/14/32/image_03012025_14_32_03_040958_0003.jpg
/home/pi/Desktop/images/03012025/14/33/image_03012025_14_33_02_213790_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":["1325836415","1325836420"],"photo_ids_order":["1325836415","1325836420"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ff87132ca7a758ad624f56e0b8fe4ccd.jpg","text":"TemporaryFile(/tmp/multipartBody3594096134907822013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735911277649,"filename":"image_03012025_14_32_03_040958_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/cdedc80ef86b5d1bca5168d49cf114ae.jpg","text":"TemporaryFile(/tmp/multipartBody7500225020169689202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735911277649,"filename":"image_03012025_14_33_02_213790_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1325836420","file0":"1325836415"},"map_files_photo_id_array":[{"photo_id":"1325836420","filename":"file1"},{"photo_id":"1325836415","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325836415":["hashtag1","hashtag2"]},{"1325836420":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325836415, 1325836420)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.034929513931274 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 14:34:02.537028
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 14:34:22.168257
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/14/33/image_03012025_14_33_02_213790_0002.jpg', '/home/pi/Desktop/images/03012025/14/34/image_03012025_14_34_02_447853_0000.jpg', '/home/pi/Desktop/images/03012025/14/34/image_03012025_14_34_02_447853_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/14/33/image_03012025_14_33_02_213790_0002.jpg
/home/pi/Desktop/images/03012025/14/34/image_03012025_14_34_02_447853_0000.jpg
/home/pi/Desktop/images/03012025/14/34/image_03012025_14_34_02_447853_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":["1325836515","1325836777","1325836887"],"photo_ids_order":["1325836515","1325836777","1325836887"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/30c3b1c41c92db118801459f5ed5cc65.jpg","text":"TemporaryFile(/tmp/multipartBody6528716603622762044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735911330304,"filename":"image_03012025_14_33_02_213790_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d5a6656d4fcbf6802b05f9dc414ab4be.jpg","text":"TemporaryFile(/tmp/multipartBody5181394160527321684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735911330304,"filename":"image_03012025_14_34_02_447853_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/872ade024b955eb1d8fd9f4d14dda9ef.jpg","text":"TemporaryFile(/tmp/multipartBody4624667453207842597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735911330304,"filename":"image_03012025_14_34_02_447853_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325836887","file1":"1325836777","file0":"1325836515"},"map_files_photo_id_array":[{"photo_id":"1325836887","filename":"file2"},{"photo_id":"1325836777","filename":"file1"},{"photo_id":"1325836515","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325836515":["hashtag1","hashtag2"]},{"1325836777":["hashtag1","hashtag2"]},{"1325836887":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325836515, 1325836777, 1325836887)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 35.80358171463013 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 14:35:02.979266
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 14:35:22.447302
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/14/34/image_03012025_14_34_02_447853_0002.jpg', '/home/pi/Desktop/images/03012025/14/35/image_03012025_14_35_02_501953_0000.jpg', '/home/pi/Desktop/images/03012025/14/35/image_03012025_14_35_02_501953_0001.jpg', '/home/pi/Desktop/images/03012025/14/35/image_03012025_14_35_02_501953_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/14/34/image_03012025_14_34_02_447853_0002.jpg
/home/pi/Desktop/images/03012025/14/35/image_03012025_14_35_02_501953_0000.jpg
/home/pi/Desktop/images/03012025/14/35/image_03012025_14_35_02_501953_0001.jpg
/home/pi/Desktop/images/03012025/14/35/image_03012025_14_35_02_501953_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325837957","1325837929","1325837789","1325837954"],"photo_ids_order":["1325837789","1325837929","1325837954","1325837957"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9ab4e21d2a363cc3c42a8c42ae2a03b0.jpg","text":"TemporaryFile(/tmp/multipartBody6438636697591030235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735911393092,"filename":"image_03012025_14_35_02_501953_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8f95cb8c1caa3f912925ab4bad2dfc7c.jpg","text":"TemporaryFile(/tmp/multipartBody4333337585675461924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735911393092,"filename":"image_03012025_14_35_02_501953_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5c575305c19918898903b43b3bd65577.jpg","text":"TemporaryFile(/tmp/multipartBody4732185579705147011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735911393092,"filename":"image_03012025_14_34_02_447853_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/fb1f9fadf7282b1be614a1e221e9e258.jpg","text":"TemporaryFile(/tmp/multipartBody7220147728328876227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735911393092,"filename":"image_03012025_14_35_02_501953_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325837954","file1":"1325837929","file0":"1325837789","file3":"1325837957"},"map_files_photo_id_array":[{"photo_id":"1325837954","filename":"file2"},{"photo_id":"1325837929","filename":"file1"},{"photo_id":"1325837789","filename":"file0"},{"photo_id":"1325837957","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325837957":["hashtag1","hashtag2"]},{"1325837929":["hashtag1","hashtag2"]},{"1325837789":["hashtag1","hashtag2"]},{"1325837954":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325837957, 1325837929, 1325837789, 1325837954)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.28303670883179 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 14:36:02.973549
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 14:36:22.607834
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/14/35/image_03012025_14_35_02_501953_0003.jpg', '/home/pi/Desktop/images/03012025/14/36/image_03012025_14_36_02_714569_0000.jpg', '/home/pi/Desktop/images/03012025/14/36/image_03012025_14_36_02_714569_0001.jpg', '/home/pi/Desktop/images/03012025/14/36/image_03012025_14_36_02_714569_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/14/35/image_03012025_14_35_02_501953_0003.jpg
/home/pi/Desktop/images/03012025/14/36/image_03012025_14_36_02_714569_0000.jpg
/home/pi/Desktop/images/03012025/14/36/image_03012025_14_36_02_714569_0001.jpg
/home/pi/Desktop/images/03012025/14/36/image_03012025_14_36_02_714569_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325838031","1325838040","1325838036","1325838027"],"photo_ids_order":["1325838027","1325838031","1325838036","1325838040"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/619d9d33efc7c5ca3822832792ae3c0f.jpg","text":"TemporaryFile(/tmp/multipartBody8741783163720681447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735911453287,"filename":"image_03012025_14_36_02_714569_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/65ed9c2cf09539858a8b02efa01ff8d7.jpg","text":"TemporaryFile(/tmp/multipartBody820007065692799718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735911453287,"filename":"image_03012025_14_36_02_714569_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/bc28fdf27275ebd5897b51899ac46c6d.jpg","text":"TemporaryFile(/tmp/multipartBody9197994661235369453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735911453287,"filename":"image_03012025_14_36_02_714569_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d98d1556ace6994a098944982ee3623f.jpg","text":"TemporaryFile(/tmp/multipartBody7121349045533127335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735911453287,"filename":"image_03012025_14_35_02_501953_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325838036","file1":"1325838031","file0":"1325838027","file3":"1325838040"},"map_files_photo_id_array":[{"photo_id":"1325838036","filename":"file2"},{"photo_id":"1325838031","filename":"file1"},{"photo_id":"1325838027","filename":"file0"},{"photo_id":"1325838040","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325838031":["hashtag1","hashtag2"]},{"1325838040":["hashtag1","hashtag2"]},{"1325838036":["hashtag1","hashtag2"]},{"1325838027":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325838031, 1325838040, 1325838036, 1325838027)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.868698596954346 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 14:37:03.414547
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 14:37:22.749332
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/14/36/image_03012025_14_36_02_714569_0003.jpg', '/home/pi/Desktop/images/03012025/14/37/image_03012025_14_37_02_901729_0000.jpg', '/home/pi/Desktop/images/03012025/14/37/image_03012025_14_37_02_901729_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/14/36/image_03012025_14_36_02_714569_0003.jpg
/home/pi/Desktop/images/03012025/14/37/image_03012025_14_37_02_901729_0000.jpg
/home/pi/Desktop/images/03012025/14/37/image_03012025_14_37_02_901729_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":["1325838509","1325838504","1325838479"],"photo_ids_order":["1325838479","1325838504","1325838509"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7a07245b833dd018606153bbe3becd1e.jpg","text":"TemporaryFile(/tmp/multipartBody7044406961309040825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735911510864,"filename":"image_03012025_14_37_02_901729_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5740f63f04cbca057820fc3fe8a5e421.jpg","text":"TemporaryFile(/tmp/multipartBody5639338644423829555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735911510864,"filename":"image_03012025_14_37_02_901729_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7449ac8241974d196136e7634d7d4dd2.jpg","text":"TemporaryFile(/tmp/multipartBody5508771787806984196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735911510864,"filename":"image_03012025_14_36_02_714569_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325838509","file1":"1325838504","file0":"1325838479"},"map_files_photo_id_array":[{"photo_id":"1325838509","filename":"file2"},{"photo_id":"1325838504","filename":"file1"},{"photo_id":"1325838479","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325838509":["hashtag1","hashtag2"]},{"1325838504":["hashtag1","hashtag2"]},{"1325838479":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325838509, 1325838504, 1325838479)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.4562087059021 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 14:38:02.323455
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 14:38:22.007177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/14/37/image_03012025_14_37_02_901729_0002.jpg', '/home/pi/Desktop/images/03012025/14/38/image_03012025_14_38_03_132165_0000.jpg', '/home/pi/Desktop/images/03012025/14/38/image_03012025_14_38_03_132165_0001.jpg', '/home/pi/Desktop/images/03012025/14/38/image_03012025_14_38_03_132165_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/14/37/image_03012025_14_37_02_901729_0002.jpg
/home/pi/Desktop/images/03012025/14/38/image_03012025_14_38_03_132165_0000.jpg
/home/pi/Desktop/images/03012025/14/38/image_03012025_14_38_03_132165_0001.jpg
/home/pi/Desktop/images/03012025/14/38/image_03012025_14_38_03_132165_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325839000","1325838879","1325838558","1325838555"],"photo_ids_order":["1325838555","1325838558","1325838879","1325839000"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2a76590c4e320e40b7c56c033f69dcb0.jpg","text":"TemporaryFile(/tmp/multipartBody7816504284240559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735911572670,"filename":"image_03012025_14_38_03_132165_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3ff8dc084405c943f320be4cad17b323.jpg","text":"TemporaryFile(/tmp/multipartBody3594241789554597061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735911572670,"filename":"image_03012025_14_38_03_132165_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0124b91fdc5909d30a0337451ecb0c70.jpg","text":"TemporaryFile(/tmp/multipartBody6274303554337716754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735911572670,"filename":"image_03012025_14_38_03_132165_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ec03cc5a930342810230fe3a6f348b75.jpg","text":"TemporaryFile(/tmp/multipartBody2451352938711297553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735911572670,"filename":"image_03012025_14_37_02_901729_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325838879","file1":"1325838558","file0":"1325838555","file3":"1325839000"},"map_files_photo_id_array":[{"photo_id":"1325838879","filename":"file2"},{"photo_id":"1325838558","filename":"file1"},{"photo_id":"1325838555","filename":"file0"},{"photo_id":"1325839000","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325839000":["hashtag1","hashtag2"]},{"1325838879":["hashtag1","hashtag2"]},{"1325838558":["hashtag1","hashtag2"]},{"1325838555":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325839000, 1325838879, 1325838558, 1325838555)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.12427067756653 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 14:39:22.107041
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/14/38/image_03012025_14_38_03_132165_0003.jpg', '/home/pi/Desktop/images/03012025/14/39/image_03012025_14_39_02_293145_0000.jpg', '/home/pi/Desktop/images/03012025/14/39/image_03012025_14_39_02_293145_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/14/38/image_03012025_14_38_03_132165_0003.jpg
/home/pi/Desktop/images/03012025/14/39/image_03012025_14_39_02_293145_0000.jpg
/home/pi/Desktop/images/03012025/14/39/image_03012025_14_39_02_293145_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":["1325839330","1325839594","1325839180"],"photo_ids_order":["1325839180","1325839330","1325839594"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/350dd1cd6edfcbc8e04dcdfa294d0c78.jpg","text":"TemporaryFile(/tmp/multipartBody6154025803168989505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735911630287,"filename":"image_03012025_14_39_02_293145_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b1c36268b90d831d00ab2838fe9e4f0d.jpg","text":"TemporaryFile(/tmp/multipartBody463528738296383766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735911630287,"filename":"image_03012025_14_39_02_293145_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/dcc696a7c54a781520e1bbf0bd84c8d0.jpg","text":"TemporaryFile(/tmp/multipartBody2015916153955984401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735911630287,"filename":"image_03012025_14_38_03_132165_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325839594","file1":"1325839330","file0":"1325839180"},"map_files_photo_id_array":[{"photo_id":"1325839594","filename":"file2"},{"photo_id":"1325839330","filename":"file1"},{"photo_id":"1325839180","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325839330":["hashtag1","hashtag2"]},{"1325839594":["hashtag1","hashtag2"]},{"1325839180":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325839330, 1325839594, 1325839180)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.66373348236084 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 14:40:02.764574
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 14:40:22.245918
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/14/39/image_03012025_14_39_02_293145_0003.jpg', '/home/pi/Desktop/images/03012025/14/40/image_03012025_14_40_02_442196_0000.jpg', '/home/pi/Desktop/images/03012025/14/40/image_03012025_14_40_02_442196_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/14/39/image_03012025_14_39_02_293145_0003.jpg
/home/pi/Desktop/images/03012025/14/40/image_03012025_14_40_02_442196_0000.jpg
/home/pi/Desktop/images/03012025/14/40/image_03012025_14_40_02_442196_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325840056","1325840063","1325840528"],"photo_ids_order":["1325840056","1325840063","1325840528"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/644b1ed57558e6c3e8e38b68f802ca95.jpg","text":"TemporaryFile(/tmp/multipartBody3549120593177458548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735911690378,"filename":"image_03012025_14_39_02_293145_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9949d596e5db50518e2da78c70ae1244.jpg","text":"TemporaryFile(/tmp/multipartBody433306538137713315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735911690378,"filename":"image_03012025_14_40_02_442196_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5ea32566ec75f5b53477aef0c8ba702a.jpg","text":"TemporaryFile(/tmp/multipartBody8377355249383578715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735911690378,"filename":"image_03012025_14_40_02_442196_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325840528","file1":"1325840063","file0":"1325840056"},"map_files_photo_id_array":[{"photo_id":"1325840528","filename":"file2"},{"photo_id":"1325840063","filename":"file1"},{"photo_id":"1325840056","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325840056":["hashtag1","hashtag2"]},{"1325840063":["hashtag1","hashtag2"]},{"1325840528":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325840056, 1325840063, 1325840528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 33.246673822402954 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 14:41:03.026026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 14:41:22.493385
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/14/40/image_03012025_14_40_02_442196_0003.jpg', '/home/pi/Desktop/images/03012025/14/41/image_03012025_14_41_02_608113_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/14/40/image_03012025_14_40_02_442196_0003.jpg
/home/pi/Desktop/images/03012025/14/41/image_03012025_14_41_02_608113_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":["1325840966","1325840954"],"photo_ids_order":["1325840954","1325840966"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e286b36a8197fd39c1e29086fb3f0171.jpg","text":"TemporaryFile(/tmp/multipartBody5410155909679149323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735911748171,"filename":"image_03012025_14_41_02_608113_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2b578533ed2421fcbfb522e41d05f3d4.jpg","text":"TemporaryFile(/tmp/multipartBody4652034949116061195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735911748171,"filename":"image_03012025_14_40_02_442196_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1325840966","file0":"1325840954"},"map_files_photo_id_array":[{"photo_id":"1325840966","filename":"file1"},{"photo_id":"1325840954","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325840966":["hashtag1","hashtag2"]},{"1325840954":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325840966, 1325840954)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 24.41921067237854 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-03 14:41:52.471413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 14:42:03.096629
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 14:42:22.694574
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/14/41/image_03012025_14_41_02_608113_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/14/41/image_03012025_14_41_02_608113_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325841382"],"photo_id":"1325841382","photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7afdc4d86d5dcefaa104d44045ceb109.jpg","text":"TemporaryFile(/tmp/multipartBody1340906152299838808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735911805852,"filename":"image_03012025_14_41_02_608113_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file0":"1325841382"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1325841382"}],"hashtags":[],"portfolio_id":"19381866","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.46660828590393 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-03 14:42:42.662453
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-03 14:42:52.645002
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 14:43:02.356608
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 14:43:21.879802
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/14/42/image_03012025_14_42_02_861032_0003.jpg', '/home/pi/Desktop/images/03012025/14/43/image_03012025_14_43_03_026046_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/14/42/image_03012025_14_42_02_861032_0003.jpg
/home/pi/Desktop/images/03012025/14/43/image_03012025_14_43_03_026046_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":["1325841738","1325841734"],"photo_ids_order":["1325841734","1325841738"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e9cd9355bed9594342a07e852b07facf.jpg","text":"TemporaryFile(/tmp/multipartBody8884932025139303050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735911867522,"filename":"image_03012025_14_43_03_026046_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/28824fc4483188cf58d6f8daac69e338.jpg","text":"TemporaryFile(/tmp/multipartBody6559086455890651765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735911867522,"filename":"image_03012025_14_42_02_861032_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1325841738","file0":"1325841734"},"map_files_photo_id_array":[{"photo_id":"1325841738","filename":"file1"},{"photo_id":"1325841734","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325841738":["hashtag1","hashtag2"]},{"1325841734":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325841738, 1325841734)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 24.55905318260193 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-03 14:43:51.855865
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 14:44:02.453211
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 14:44:22.078309
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/14/43/image_03012025_14_43_03_026046_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/14/43/image_03012025_14_43_03_026046_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325842358"],"photo_id":"1325842358","photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/87f86066bd7472954adc798b6ca1ceb0.jpg","text":"TemporaryFile(/tmp/multipartBody3135724802693665500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735911925237,"filename":"image_03012025_14_43_03_026046_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file0":"1325842358"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1325842358"}],"hashtags":[],"portfolio_id":"19381866","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.305166244506836 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-03 14:44:42.052885
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-03 14:44:52.019862
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 14:45:02.916494
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 14:45:22.272332
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/14/44/image_03012025_14_44_02_232168_0003.jpg', '/home/pi/Desktop/images/03012025/14/45/image_03012025_14_45_02_448102_0001.jpg', '/home/pi/Desktop/images/03012025/14/45/image_03012025_14_45_02_448102_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/14/44/image_03012025_14_44_02_232168_0003.jpg
/home/pi/Desktop/images/03012025/14/45/image_03012025_14_45_02_448102_0001.jpg
/home/pi/Desktop/images/03012025/14/45/image_03012025_14_45_02_448102_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325842659","1325842667","1325842663"],"photo_ids_order":["1325842659","1325842663","1325842667"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/abfe35c10fbad226ef81516e0172e8e1.jpg","text":"TemporaryFile(/tmp/multipartBody8805212953729576934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735911990392,"filename":"image_03012025_14_44_02_232168_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8f4a0958cf55b9e17b57a80ac76b4a32.jpg","text":"TemporaryFile(/tmp/multipartBody3794419589275489254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735911990392,"filename":"image_03012025_14_45_02_448102_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/26751976ff4a756339f99d8a823133c1.jpg","text":"TemporaryFile(/tmp/multipartBody213235493936348821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735911990392,"filename":"image_03012025_14_45_02_448102_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325842667","file1":"1325842663","file0":"1325842659"},"map_files_photo_id_array":[{"photo_id":"1325842667","filename":"file2"},{"photo_id":"1325842663","filename":"file1"},{"photo_id":"1325842659","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325842659":["hashtag1","hashtag2"]},{"1325842667":["hashtag1","hashtag2"]},{"1325842663":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325842659, 1325842667, 1325842663)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.24621796607971 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 14:46:02.930475
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 14:46:22.562780
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/14/45/image_03012025_14_45_02_448102_0003.jpg', '/home/pi/Desktop/images/03012025/14/46/image_03012025_14_46_02_626049_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/14/45/image_03012025_14_45_02_448102_0003.jpg
/home/pi/Desktop/images/03012025/14/46/image_03012025_14_46_02_626049_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":["1325842915","1325842912"],"photo_ids_order":["1325842912","1325842915"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/36e109eee9644b064a0499d8e14a0042.jpg","text":"TemporaryFile(/tmp/multipartBody7303030985928142516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735912048219,"filename":"image_03012025_14_46_02_626049_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0beaa3a95cc26e9af3b898dc311b672c.jpg","text":"TemporaryFile(/tmp/multipartBody6715997459300783731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735912048219,"filename":"image_03012025_14_45_02_448102_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1325842915","file0":"1325842912"},"map_files_photo_id_array":[{"photo_id":"1325842915","filename":"file1"},{"photo_id":"1325842912","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325842915":["hashtag1","hashtag2"]},{"1325842912":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325842915, 1325842912)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 25.39591121673584 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-03 14:46:52.474452
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 14:47:03.198076
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 14:47:22.610368
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/14/46/image_03012025_14_46_02_626049_0002.jpg', '/home/pi/Desktop/images/03012025/14/47/image_03012025_14_47_02_837433_0000.jpg', '/home/pi/Desktop/images/03012025/14/47/image_03012025_14_47_02_837433_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/14/46/image_03012025_14_46_02_626049_0002.jpg
/home/pi/Desktop/images/03012025/14/47/image_03012025_14_47_02_837433_0000.jpg
/home/pi/Desktop/images/03012025/14/47/image_03012025_14_47_02_837433_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":["1325843124","1325843120","1325843161"],"photo_ids_order":["1325843120","1325843124","1325843161"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d2c18c76886da226238c8bb532a259cc.jpg","text":"TemporaryFile(/tmp/multipartBody7672216812761244833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735912110761,"filename":"image_03012025_14_47_02_837433_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c705ca52dc1f060923ee7fd4babb342a.jpg","text":"TemporaryFile(/tmp/multipartBody237518937301991560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735912110761,"filename":"image_03012025_14_46_02_626049_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/03d17d0f21611f57b1959412185dde3e.jpg","text":"TemporaryFile(/tmp/multipartBody7548351108174325371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735912110761,"filename":"image_03012025_14_47_02_837433_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325843161","file1":"1325843124","file0":"1325843120"},"map_files_photo_id_array":[{"photo_id":"1325843161","filename":"file2"},{"photo_id":"1325843124","filename":"file1"},{"photo_id":"1325843120","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325843124":["hashtag1","hashtag2"]},{"1325843120":["hashtag1","hashtag2"]},{"1325843161":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325843124, 1325843120, 1325843161)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.74529266357422 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 14:48:02.343418
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 14:48:21.897502
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/14/47/image_03012025_14_47_02_837433_0002.jpg', '/home/pi/Desktop/images/03012025/14/48/image_03012025_14_48_02_977487_0000.jpg', '/home/pi/Desktop/images/03012025/14/48/image_03012025_14_48_02_977487_0001.jpg', '/home/pi/Desktop/images/03012025/14/48/image_03012025_14_48_02_977487_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/14/47/image_03012025_14_47_02_837433_0002.jpg
/home/pi/Desktop/images/03012025/14/48/image_03012025_14_48_02_977487_0000.jpg
/home/pi/Desktop/images/03012025/14/48/image_03012025_14_48_02_977487_0001.jpg
/home/pi/Desktop/images/03012025/14/48/image_03012025_14_48_02_977487_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325843616","1325843590","1325843428","1325843568"],"photo_ids_order":["1325843428","1325843568","1325843590","1325843616"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c0a7ef7fba1477e890ae997c463a10df.jpg","text":"TemporaryFile(/tmp/multipartBody7365541136439563579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735912172543,"filename":"image_03012025_14_48_02_977487_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/bf75974d1344151b9bcc3f43ee290303.jpg","text":"TemporaryFile(/tmp/multipartBody7310181854996266799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735912172543,"filename":"image_03012025_14_48_02_977487_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/cc79ffb3b86588cf451695bb6a29aea3.jpg","text":"TemporaryFile(/tmp/multipartBody5555974402746164133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735912172543,"filename":"image_03012025_14_47_02_837433_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/45e4982b1f25aeb73c97e6d6b9da08fc.jpg","text":"TemporaryFile(/tmp/multipartBody4147670234023539083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735912172543,"filename":"image_03012025_14_48_02_977487_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325843590","file1":"1325843568","file0":"1325843428","file3":"1325843616"},"map_files_photo_id_array":[{"photo_id":"1325843590","filename":"file2"},{"photo_id":"1325843568","filename":"file1"},{"photo_id":"1325843428","filename":"file0"},{"photo_id":"1325843616","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325843616":["hashtag1","hashtag2"]},{"1325843590":["hashtag1","hashtag2"]},{"1325843428":["hashtag1","hashtag2"]},{"1325843568":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325843616, 1325843590, 1325843428, 1325843568)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.44054079055786 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-03 14:49:22.037652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-03 14:49:32.050302
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-03 14:49:42.093944
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-03 14:49:52.044428
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 14:50:02.641534
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 14:50:22.259292
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/14/48/image_03012025_14_48_02_977487_0003.jpg', '/home/pi/Desktop/images/03012025/14/50/image_03012025_14_50_02_451074_0000.jpg', '/home/pi/Desktop/images/03012025/14/50/image_03012025_14_50_02_451074_0001.jpg', '/home/pi/Desktop/images/03012025/14/50/image_03012025_14_50_02_451074_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/14/48/image_03012025_14_48_02_977487_0003.jpg
/home/pi/Desktop/images/03012025/14/50/image_03012025_14_50_02_451074_0000.jpg
/home/pi/Desktop/images/03012025/14/50/image_03012025_14_50_02_451074_0001.jpg
/home/pi/Desktop/images/03012025/14/50/image_03012025_14_50_02_451074_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325844094","1325844076","1325844052","1325844024"],"photo_ids_order":["1325844024","1325844052","1325844076","1325844094"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2bfbd1167c8d383d00960d218a8f08f0.jpg","text":"TemporaryFile(/tmp/multipartBody5365906755691945482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735912292882,"filename":"image_03012025_14_50_02_451074_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4743d708374fc6e48df72b1286749bf5.jpg","text":"TemporaryFile(/tmp/multipartBody3731126087469502162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735912292882,"filename":"image_03012025_14_50_02_451074_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0bf7c720dfa85801b47f3721adc5851c.jpg","text":"TemporaryFile(/tmp/multipartBody2120525280105885418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735912292882,"filename":"image_03012025_14_50_02_451074_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/285652dbe08b7eab9ee337bfc0a53bf5.jpg","text":"TemporaryFile(/tmp/multipartBody8304234826864801314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735912292882,"filename":"image_03012025_14_48_02_977487_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325844076","file1":"1325844052","file0":"1325844024","file3":"1325844094"},"map_files_photo_id_array":[{"photo_id":"1325844076","filename":"file2"},{"photo_id":"1325844052","filename":"file1"},{"photo_id":"1325844024","filename":"file0"},{"photo_id":"1325844094","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325844094":["hashtag1","hashtag2"]},{"1325844076":["hashtag1","hashtag2"]},{"1325844052":["hashtag1","hashtag2"]},{"1325844024":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325844094, 1325844076, 1325844052, 1325844024)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.53885769844055 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 14:51:03.091060
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 14:51:22.434051
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/14/50/image_03012025_14_50_02_451074_0003.jpg', '/home/pi/Desktop/images/03012025/14/51/image_03012025_14_51_02_561376_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/14/50/image_03012025_14_50_02_451074_0003.jpg
/home/pi/Desktop/images/03012025/14/51/image_03012025_14_51_02_561376_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":["1325844428","1325844457"],"photo_ids_order":["1325844428","1325844457"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c153a162490470c122f9997d3be2eb93.jpg","text":"TemporaryFile(/tmp/multipartBody8809614605391436625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735912348075,"filename":"image_03012025_14_50_02_451074_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5c62f23d55f485600b17fb4cf277fba3.jpg","text":"TemporaryFile(/tmp/multipartBody3631367327898941195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735912348075,"filename":"image_03012025_14_51_02_561376_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1325844457","file0":"1325844428"},"map_files_photo_id_array":[{"photo_id":"1325844457","filename":"file1"},{"photo_id":"1325844428","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325844428":["hashtag1","hashtag2"]},{"1325844457":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325844428, 1325844457)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.810483932495117 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-03 14:51:52.394331
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 14:52:02.920896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 14:52:22.632823
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/14/51/image_03012025_14_51_02_561376_0002.jpg', '/home/pi/Desktop/images/03012025/14/52/image_03012025_14_52_02_846440_0001.jpg', '/home/pi/Desktop/images/03012025/14/52/image_03012025_14_52_02_846440_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/14/51/image_03012025_14_51_02_561376_0002.jpg
/home/pi/Desktop/images/03012025/14/52/image_03012025_14_52_02_846440_0001.jpg
/home/pi/Desktop/images/03012025/14/52/image_03012025_14_52_02_846440_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.748365163803101 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-03 14:52:32.531040
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/14/51/image_03012025_14_51_02_561376_0002.jpg', '/home/pi/Desktop/images/03012025/14/52/image_03012025_14_52_02_846440_0001.jpg', '/home/pi/Desktop/images/03012025/14/52/image_03012025_14_52_02_846440_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/14/51/image_03012025_14_51_02_561376_0002.jpg
/home/pi/Desktop/images/03012025/14/52/image_03012025_14_52_02_846440_0001.jpg
/home/pi/Desktop/images/03012025/14/52/image_03012025_14_52_02_846440_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325844706","1325844703","1325844698"],"photo_ids_order":["1325844698","1325844703","1325844706"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/82806fd3dd1f960b9e693bb5f67b1193.jpg","text":"TemporaryFile(/tmp/multipartBody8559828228295015095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735912420692,"filename":"image_03012025_14_52_02_846440_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ca7b8ab690fd0815e6281426dbf36542.jpg","text":"TemporaryFile(/tmp/multipartBody6470225076214411149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735912420692,"filename":"image_03012025_14_52_02_846440_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/293751ac7838b5f19f125b8046ad456b.jpg","text":"TemporaryFile(/tmp/multipartBody5683409371622121782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735912420692,"filename":"image_03012025_14_51_02_561376_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325844706","file1":"1325844703","file0":"1325844698"},"map_files_photo_id_array":[{"photo_id":"1325844706","filename":"file2"},{"photo_id":"1325844703","filename":"file1"},{"photo_id":"1325844698","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325844706":["hashtag1","hashtag2"]},{"1325844703":["hashtag1","hashtag2"]},{"1325844698":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325844706, 1325844703, 1325844698)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.845875024795532 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 14:53:22.735632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/14/52/image_03012025_14_52_02_846440_0003.jpg', '/home/pi/Desktop/images/03012025/14/53/image_03012025_14_53_02_983014_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/14/52/image_03012025_14_52_02_846440_0003.jpg
/home/pi/Desktop/images/03012025/14/53/image_03012025_14_53_02_983014_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":["1325844932","1325844936"],"photo_ids_order":["1325844932","1325844936"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/020588e231087edd374a46a6b0a1cb25.jpg","text":"TemporaryFile(/tmp/multipartBody568174261521203365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735912468369,"filename":"image_03012025_14_52_02_846440_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ec12d0d7e5afa10a1d0ced88b7875a7a.jpg","text":"TemporaryFile(/tmp/multipartBody3402336338345287124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735912468369,"filename":"image_03012025_14_53_02_983014_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1325844936","file0":"1325844932"},"map_files_photo_id_array":[{"photo_id":"1325844936","filename":"file1"},{"photo_id":"1325844932","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325844932":["hashtag1","hashtag2"]},{"1325844936":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325844932, 1325844936)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 24.842596292495728 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-03 14:53:52.723647
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 14:54:02.216413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 14:54:21.901375
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/14/53/image_03012025_14_53_02_983014_0003.jpg', '/home/pi/Desktop/images/03012025/14/54/image_03012025_14_54_03_144875_0000.jpg', '/home/pi/Desktop/images/03012025/14/54/image_03012025_14_54_03_144875_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/14/53/image_03012025_14_53_02_983014_0003.jpg
/home/pi/Desktop/images/03012025/14/54/image_03012025_14_54_03_144875_0000.jpg
/home/pi/Desktop/images/03012025/14/54/image_03012025_14_54_03_144875_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":["1325845208","1325845204","1325845286"],"photo_ids_order":["1325845204","1325845208","1325845286"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e3afc5a66d11e771cb1a88f8902a6871.jpg","text":"TemporaryFile(/tmp/multipartBody585148610338519330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735912530061,"filename":"image_03012025_14_54_03_144875_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/dad2fe50fb306d768f1ff5538c5a872f.jpg","text":"TemporaryFile(/tmp/multipartBody5010082715257346118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735912530061,"filename":"image_03012025_14_53_02_983014_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ef899cf64fe21755fba83ae497451444.jpg","text":"TemporaryFile(/tmp/multipartBody5687385426714969806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735912530061,"filename":"image_03012025_14_54_03_144875_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325845286","file1":"1325845208","file0":"1325845204"},"map_files_photo_id_array":[{"photo_id":"1325845286","filename":"file2"},{"photo_id":"1325845208","filename":"file1"},{"photo_id":"1325845204","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325845208":["hashtag1","hashtag2"]},{"1325845204":["hashtag1","hashtag2"]},{"1325845286":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325845208, 1325845204, 1325845286)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.557111501693726 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 14:55:02.769897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 14:55:22.127028
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/14/54/image_03012025_14_54_03_144875_0003.jpg', '/home/pi/Desktop/images/03012025/14/55/image_03012025_14_55_02_285178_0000.jpg', '/home/pi/Desktop/images/03012025/14/55/image_03012025_14_55_02_285178_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/14/54/image_03012025_14_54_03_144875_0003.jpg
/home/pi/Desktop/images/03012025/14/55/image_03012025_14_55_02_285178_0000.jpg
/home/pi/Desktop/images/03012025/14/55/image_03012025_14_55_02_285178_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":["1325845384","1325845414","1325845410"],"photo_ids_order":["1325845384","1325845410","1325845414"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e58e5b060147f4f0e96d43e2fe287da0.jpg","text":"TemporaryFile(/tmp/multipartBody5235732977197881412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735912590288,"filename":"image_03012025_14_54_03_144875_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1fc6029a0652de2029c76ab6bad5f720.jpg","text":"TemporaryFile(/tmp/multipartBody4640199330635140225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735912590288,"filename":"image_03012025_14_55_02_285178_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/fe5b6b572ff1e0afa795769d4e7c09c0.jpg","text":"TemporaryFile(/tmp/multipartBody372961516986393960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735912590288,"filename":"image_03012025_14_55_02_285178_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325845414","file1":"1325845410","file0":"1325845384"},"map_files_photo_id_array":[{"photo_id":"1325845414","filename":"file2"},{"photo_id":"1325845410","filename":"file1"},{"photo_id":"1325845384","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325845384":["hashtag1","hashtag2"]},{"1325845414":["hashtag1","hashtag2"]},{"1325845410":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325845384, 1325845414, 1325845410)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.676666259765625 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 14:56:02.731802
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 14:56:22.305934
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/14/55/image_03012025_14_55_02_285178_0002.jpg', '/home/pi/Desktop/images/03012025/14/56/image_03012025_14_56_02_495952_0001.jpg', '/home/pi/Desktop/images/03012025/14/56/image_03012025_14_56_02_495952_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/14/55/image_03012025_14_55_02_285178_0002.jpg
/home/pi/Desktop/images/03012025/14/56/image_03012025_14_56_02_495952_0001.jpg
/home/pi/Desktop/images/03012025/14/56/image_03012025_14_56_02_495952_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325845606","1325845476","1325845481"],"photo_ids_order":["1325845476","1325845481","1325845606"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c1372bcec6f1ddf687e92e672123bb01.jpg","text":"TemporaryFile(/tmp/multipartBody3947503872686482041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735912650488,"filename":"image_03012025_14_56_02_495952_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d18e87de89e8158665122a5128927499.jpg","text":"TemporaryFile(/tmp/multipartBody3734784782167905534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735912650488,"filename":"image_03012025_14_55_02_285178_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d1c1b193cc5ff6841df51928764b22cc.jpg","text":"TemporaryFile(/tmp/multipartBody8409085631526690888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735912650488,"filename":"image_03012025_14_56_02_495952_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325845606","file1":"1325845481","file0":"1325845476"},"map_files_photo_id_array":[{"photo_id":"1325845606","filename":"file2"},{"photo_id":"1325845481","filename":"file1"},{"photo_id":"1325845476","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325845606":["hashtag1","hashtag2"]},{"1325845476":["hashtag1","hashtag2"]},{"1325845481":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325845606, 1325845476, 1325845481)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.49599289894104 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 14:57:03.037402
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 14:57:22.457476
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/14/56/image_03012025_14_56_02_495952_0003.jpg', '/home/pi/Desktop/images/03012025/14/57/image_03012025_14_57_02_701594_0001.jpg', '/home/pi/Desktop/images/03012025/14/57/image_03012025_14_57_02_701594_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/14/56/image_03012025_14_56_02_495952_0003.jpg
/home/pi/Desktop/images/03012025/14/57/image_03012025_14_57_02_701594_0001.jpg
/home/pi/Desktop/images/03012025/14/57/image_03012025_14_57_02_701594_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325846329","1325846355","1325846287"],"photo_ids_order":["1325846287","1325846329","1325846355"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/df0e8666058b9cffce866d18d07cdbb6.jpg","text":"TemporaryFile(/tmp/multipartBody3389124460013441183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735912710617,"filename":"image_03012025_14_57_02_701594_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1e038f40ecba36757a4be6bfa345edd9.jpg","text":"TemporaryFile(/tmp/multipartBody4071460787634976015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735912710617,"filename":"image_03012025_14_57_02_701594_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8fd6af6aba3753d8311484b8aca77cdc.jpg","text":"TemporaryFile(/tmp/multipartBody3042258216617327312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735912710617,"filename":"image_03012025_14_56_02_495952_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325846355","file1":"1325846329","file0":"1325846287"},"map_files_photo_id_array":[{"photo_id":"1325846355","filename":"file2"},{"photo_id":"1325846329","filename":"file1"},{"photo_id":"1325846287","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325846329":["hashtag1","hashtag2"]},{"1325846355":["hashtag1","hashtag2"]},{"1325846287":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325846329, 1325846355, 1325846287)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.94644331932068 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 14:59:02.437821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/14/57/image_03012025_14_57_02_701594_0003.jpg', '/home/pi/Desktop/images/03012025/14/58/image_03012025_14_58_02_790903_0000.jpg', '/home/pi/Desktop/images/03012025/14/58/image_03012025_14_58_02_790903_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/14/57/image_03012025_14_57_02_701594_0003.jpg
/home/pi/Desktop/images/03012025/14/58/image_03012025_14_58_02_790903_0000.jpg
/home/pi/Desktop/images/03012025/14/58/image_03012025_14_58_02_790903_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":["1325847150","1325847265","1325847154"],"photo_ids_order":["1325847150","1325847154","1325847265"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f6c4cdf9e3f5e2d7bd434185804c8a38.jpg","text":"TemporaryFile(/tmp/multipartBody391495577861115140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735912810668,"filename":"image_03012025_14_57_02_701594_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/049f4a414e9fcfa0f679ce2e5a66e774.jpg","text":"TemporaryFile(/tmp/multipartBody4935200025490407822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735912810668,"filename":"image_03012025_14_58_02_790903_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/809406aa1a741d6545ea9487984e2d15.jpg","text":"TemporaryFile(/tmp/multipartBody4243922444928150891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735912810668,"filename":"image_03012025_14_58_02_790903_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325847265","file1":"1325847154","file0":"1325847150"},"map_files_photo_id_array":[{"photo_id":"1325847265","filename":"file2"},{"photo_id":"1325847154","filename":"file1"},{"photo_id":"1325847150","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325847150":["hashtag1","hashtag2"]},{"1325847265":["hashtag1","hashtag2"]},{"1325847154":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325847150, 1325847265, 1325847154)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 36.09418773651123 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-03 14:59:41.833492
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/14/58/image_03012025_14_58_02_790903_0003.jpg', '/home/pi/Desktop/images/03012025/14/59/image_03012025_14_59_03_026605_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/14/58/image_03012025_14_58_02_790903_0003.jpg
/home/pi/Desktop/images/03012025/14/59/image_03012025_14_59_03_026605_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":["1325847402","1325847770"],"photo_ids_order":["1325847402","1325847770"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ce4719a25c15725343014c929fcf20e5.jpg","text":"TemporaryFile(/tmp/multipartBody3612442019724842895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735912847506,"filename":"image_03012025_14_58_02_790903_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/68430762415fa662c49be01d7d7fef2a.jpg","text":"TemporaryFile(/tmp/multipartBody5320269576472526163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735912847506,"filename":"image_03012025_14_59_03_026605_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1325847770","file0":"1325847402"},"map_files_photo_id_array":[{"photo_id":"1325847770","filename":"file1"},{"photo_id":"1325847402","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325847402":["hashtag1","hashtag2"]},{"1325847770":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325847402, 1325847770)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.27795910835266 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 15:00:21.951074
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/14/59/image_03012025_14_59_03_026605_0002.jpg', '/home/pi/Desktop/images/03012025/15/00/image_03012025_15_00_02_133479_0001.jpg', '/home/pi/Desktop/images/03012025/15/00/image_03012025_15_00_02_133479_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/14/59/image_03012025_14_59_03_026605_0002.jpg
/home/pi/Desktop/images/03012025/15/00/image_03012025_15_00_02_133479_0001.jpg
/home/pi/Desktop/images/03012025/15/00/image_03012025_15_00_02_133479_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325847907","1325847978","1325847909"],"photo_ids_order":["1325847907","1325847909","1325847978"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/94a6fb96e432765921c4bcf7db472271.jpg","text":"TemporaryFile(/tmp/multipartBody4255828711150757509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735912890094,"filename":"image_03012025_14_59_03_026605_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5a43f081370d890b8e985d5405beb349.jpg","text":"TemporaryFile(/tmp/multipartBody8664198460542896478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735912890094,"filename":"image_03012025_15_00_02_133479_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f670ac4688665d69e1495a16c14ddadc.jpg","text":"TemporaryFile(/tmp/multipartBody826568340087354541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735912890094,"filename":"image_03012025_15_00_02_133479_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325847978","file1":"1325847909","file0":"1325847907"},"map_files_photo_id_array":[{"photo_id":"1325847978","filename":"file2"},{"photo_id":"1325847909","filename":"file1"},{"photo_id":"1325847907","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325847907":["hashtag1","hashtag2"]},{"1325847978":["hashtag1","hashtag2"]},{"1325847909":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325847907, 1325847978, 1325847909)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.61521100997925 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 15:01:02.846471
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 15:01:22.196645
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/15/00/image_03012025_15_00_02_133479_0003.jpg', '/home/pi/Desktop/images/03012025/15/01/image_03012025_15_01_02_358295_0000.jpg', '/home/pi/Desktop/images/03012025/15/01/image_03012025_15_01_02_358295_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/15/00/image_03012025_15_00_02_133479_0003.jpg
/home/pi/Desktop/images/03012025/15/01/image_03012025_15_01_02_358295_0000.jpg
/home/pi/Desktop/images/03012025/15/01/image_03012025_15_01_02_358295_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":["1325848263","1325848164","1325848174"],"photo_ids_order":["1325848164","1325848174","1325848263"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/638ef1c0d899a6bed33d636ee8c880e6.jpg","text":"TemporaryFile(/tmp/multipartBody3836619631485343446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735912950356,"filename":"image_03012025_15_01_02_358295_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7dd64e7bd5439dbedaaf621ade30cabe.jpg","text":"TemporaryFile(/tmp/multipartBody4069599361745095430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735912950356,"filename":"image_03012025_15_00_02_133479_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d857a44c80c55e80c53df948fd17d716.jpg","text":"TemporaryFile(/tmp/multipartBody4949692060335738456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735912950356,"filename":"image_03012025_15_01_02_358295_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325848263","file1":"1325848174","file0":"1325848164"},"map_files_photo_id_array":[{"photo_id":"1325848263","filename":"file2"},{"photo_id":"1325848174","filename":"file1"},{"photo_id":"1325848164","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325848263":["hashtag1","hashtag2"]},{"1325848164":["hashtag1","hashtag2"]},{"1325848174":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325848263, 1325848164, 1325848174)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.13814091682434 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 15:02:02.755258
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 15:02:22.418174
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/15/01/image_03012025_15_01_02_358295_0003.jpg', '/home/pi/Desktop/images/03012025/15/02/image_03012025_15_02_02_519943_0000.jpg', '/home/pi/Desktop/images/03012025/15/02/image_03012025_15_02_02_519943_0001.jpg', '/home/pi/Desktop/images/03012025/15/02/image_03012025_15_02_02_519943_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/15/01/image_03012025_15_01_02_358295_0003.jpg
/home/pi/Desktop/images/03012025/15/02/image_03012025_15_02_02_519943_0000.jpg
/home/pi/Desktop/images/03012025/15/02/image_03012025_15_02_02_519943_0001.jpg
/home/pi/Desktop/images/03012025/15/02/image_03012025_15_02_02_519943_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325848740","1325848754","1325848613","1325848604"],"photo_ids_order":["1325848604","1325848613","1325848740","1325848754"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/13876dc09d34f5b4b88ab6bbd752e081.jpg","text":"TemporaryFile(/tmp/multipartBody2128864949361165511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735913013094,"filename":"image_03012025_15_02_02_519943_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6d48aac9a177f7891a3bc0a8c955bcaf.jpg","text":"TemporaryFile(/tmp/multipartBody3456925624543869840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735913013094,"filename":"image_03012025_15_02_02_519943_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5bd9d91d80646e20cb1cb945cefefdbf.jpg","text":"TemporaryFile(/tmp/multipartBody3107936963980663047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735913013094,"filename":"image_03012025_15_02_02_519943_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/19a6acf75032076e01b08f2eaeccc08a.jpg","text":"TemporaryFile(/tmp/multipartBody1908030399404338523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735913013094,"filename":"image_03012025_15_01_02_358295_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325848740","file1":"1325848613","file0":"1325848604","file3":"1325848754"},"map_files_photo_id_array":[{"photo_id":"1325848740","filename":"file2"},{"photo_id":"1325848613","filename":"file1"},{"photo_id":"1325848604","filename":"file0"},{"photo_id":"1325848754","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325848740":["hashtag1","hashtag2"]},{"1325848754":["hashtag1","hashtag2"]},{"1325848613":["hashtag1","hashtag2"]},{"1325848604":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325848740, 1325848754, 1325848613, 1325848604)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.68323230743408 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 15:03:03.080598
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 15:03:22.478585
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/15/02/image_03012025_15_02_02_519943_0003.jpg', '/home/pi/Desktop/images/03012025/15/03/image_03012025_15_03_02_774485_0000.jpg', '/home/pi/Desktop/images/03012025/15/03/image_03012025_15_03_02_774485_0001.jpg', '/home/pi/Desktop/images/03012025/15/03/image_03012025_15_03_02_774485_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/15/02/image_03012025_15_02_02_519943_0003.jpg
/home/pi/Desktop/images/03012025/15/03/image_03012025_15_03_02_774485_0000.jpg
/home/pi/Desktop/images/03012025/15/03/image_03012025_15_03_02_774485_0001.jpg
/home/pi/Desktop/images/03012025/15/03/image_03012025_15_03_02_774485_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325848886","1325848877","1325848891","1325848881"],"photo_ids_order":["1325848877","1325848881","1325848886","1325848891"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/fd987f050b2128943e0783c9623b1b1c.jpg","text":"TemporaryFile(/tmp/multipartBody5259647584488504068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735913073150,"filename":"image_03012025_15_03_02_774485_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/60b701850c1c061df3773fb3b9e3dee2.jpg","text":"TemporaryFile(/tmp/multipartBody5060347748731824372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735913073150,"filename":"image_03012025_15_02_02_519943_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a67e456971889e5d77c570c2970e909d.jpg","text":"TemporaryFile(/tmp/multipartBody6219607636020674451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735913073150,"filename":"image_03012025_15_03_02_774485_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/220d28b8f5670060791b6afef0c4047f.jpg","text":"TemporaryFile(/tmp/multipartBody8709863415588937101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735913073150,"filename":"image_03012025_15_03_02_774485_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325848886","file1":"1325848881","file0":"1325848877","file3":"1325848891"},"map_files_photo_id_array":[{"photo_id":"1325848886","filename":"file2"},{"photo_id":"1325848881","filename":"file1"},{"photo_id":"1325848877","filename":"file0"},{"photo_id":"1325848891","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325848886":["hashtag1","hashtag2"]},{"1325848877":["hashtag1","hashtag2"]},{"1325848891":["hashtag1","hashtag2"]},{"1325848881":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325848886, 1325848877, 1325848891, 1325848881)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.98123574256897 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 15:04:03.137109
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 15:04:22.600588
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/15/03/image_03012025_15_03_02_774485_0003.jpg', '/home/pi/Desktop/images/03012025/15/04/image_03012025_15_04_02_900924_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/15/03/image_03012025_15_03_02_774485_0003.jpg
/home/pi/Desktop/images/03012025/15/04/image_03012025_15_04_02_900924_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":["1325849314","1325849295"],"photo_ids_order":["1325849295","1325849314"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/139986bbf35cd3fdcec129f819cb4078.jpg","text":"TemporaryFile(/tmp/multipartBody8057595467171853899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735913128263,"filename":"image_03012025_15_04_02_900924_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/19b003410d5f5377edae1c8e9b4154aa.jpg","text":"TemporaryFile(/tmp/multipartBody5427269576771046349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735913128263,"filename":"image_03012025_15_03_02_774485_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1325849314","file0":"1325849295"},"map_files_photo_id_array":[{"photo_id":"1325849314","filename":"file1"},{"photo_id":"1325849295","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325849314":["hashtag1","hashtag2"]},{"1325849295":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325849314, 1325849295)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.175411701202393 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-03 15:04:52.637853
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 15:05:02.403350
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 15:05:22.017361
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/15/04/image_03012025_15_04_02_900924_0003.jpg', '/home/pi/Desktop/images/03012025/15/05/image_03012025_15_05_02_979048_0001.jpg', '/home/pi/Desktop/images/03012025/15/05/image_03012025_15_05_02_979048_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/15/04/image_03012025_15_04_02_900924_0003.jpg
/home/pi/Desktop/images/03012025/15/05/image_03012025_15_05_02_979048_0001.jpg
/home/pi/Desktop/images/03012025/15/05/image_03012025_15_05_02_979048_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325849558","1325849767","1325849658"],"photo_ids_order":["1325849558","1325849658","1325849767"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1b8f9451bae7eaaf5ee38f7e281568e3.jpg","text":"TemporaryFile(/tmp/multipartBody8793915088610824118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735913190157,"filename":"image_03012025_15_04_02_900924_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d1c18ae6756f849f74bb3666daf3d350.jpg","text":"TemporaryFile(/tmp/multipartBody5128517551083249172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735913190157,"filename":"image_03012025_15_05_02_979048_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3c73d75edf3ecb5e9f406c952b10d128.jpg","text":"TemporaryFile(/tmp/multipartBody1612417781269861084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735913190157,"filename":"image_03012025_15_05_02_979048_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325849767","file1":"1325849658","file0":"1325849558"},"map_files_photo_id_array":[{"photo_id":"1325849767","filename":"file2"},{"photo_id":"1325849658","filename":"file1"},{"photo_id":"1325849558","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325849558":["hashtag1","hashtag2"]},{"1325849767":["hashtag1","hashtag2"]},{"1325849658":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325849558, 1325849767, 1325849658)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 33.69773507118225 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 15:06:02.393328
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 15:06:22.027900
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/15/05/image_03012025_15_05_02_979048_0003.jpg', '/home/pi/Desktop/images/03012025/15/06/image_03012025_15_06_02_250166_0000.jpg', '/home/pi/Desktop/images/03012025/15/06/image_03012025_15_06_02_250166_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/15/05/image_03012025_15_05_02_979048_0003.jpg
/home/pi/Desktop/images/03012025/15/06/image_03012025_15_06_02_250166_0000.jpg
/home/pi/Desktop/images/03012025/15/06/image_03012025_15_06_02_250166_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":["1325850308","1325850262","1325850259"],"photo_ids_order":["1325850259","1325850262","1325850308"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/33ee9f10bff7439262d264d4795d6123.jpg","text":"TemporaryFile(/tmp/multipartBody588495589253804687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735913250125,"filename":"image_03012025_15_06_02_250166_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7659d07078b5c59b63c501abc26829a8.jpg","text":"TemporaryFile(/tmp/multipartBody8233998385519887396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735913250125,"filename":"image_03012025_15_06_02_250166_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/760012c44517117caa766acf3990023b.jpg","text":"TemporaryFile(/tmp/multipartBody2359811485860594828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735913250125,"filename":"image_03012025_15_05_02_979048_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325850308","file1":"1325850262","file0":"1325850259"},"map_files_photo_id_array":[{"photo_id":"1325850308","filename":"file2"},{"photo_id":"1325850262","filename":"file1"},{"photo_id":"1325850259","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325850308":["hashtag1","hashtag2"]},{"1325850262":["hashtag1","hashtag2"]},{"1325850259":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325850308, 1325850262, 1325850259)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.276235342025757 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 15:07:02.923858
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 15:07:22.193263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/15/06/image_03012025_15_06_02_250166_0002.jpg', '/home/pi/Desktop/images/03012025/15/07/image_03012025_15_07_02_432523_0000.jpg', '/home/pi/Desktop/images/03012025/15/07/image_03012025_15_07_02_432523_0001.jpg', '/home/pi/Desktop/images/03012025/15/07/image_03012025_15_07_02_432523_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/15/06/image_03012025_15_06_02_250166_0002.jpg
/home/pi/Desktop/images/03012025/15/07/image_03012025_15_07_02_432523_0000.jpg
/home/pi/Desktop/images/03012025/15/07/image_03012025_15_07_02_432523_0001.jpg
/home/pi/Desktop/images/03012025/15/07/image_03012025_15_07_02_432523_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325850327","1325850321","1325850324","1325850317"],"photo_ids_order":["1325850317","1325850321","1325850324","1325850327"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/234c29d37a577bc89af93fe8767571b0.jpg","text":"TemporaryFile(/tmp/multipartBody5773582516823888315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735913312535,"filename":"image_03012025_15_07_02_432523_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0edfdfaa19582172414282a955d0cd28.jpg","text":"TemporaryFile(/tmp/multipartBody7954913458738789246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735913312535,"filename":"image_03012025_15_07_02_432523_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/26a52e6bd8aa434bf365df43d1050e02.jpg","text":"TemporaryFile(/tmp/multipartBody394799230914380817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735913312535,"filename":"image_03012025_15_07_02_432523_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6b91148bc755d8baa103a00f29eb94e8.jpg","text":"TemporaryFile(/tmp/multipartBody7971021393894174930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735913312535,"filename":"image_03012025_15_06_02_250166_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325850324","file1":"1325850321","file0":"1325850317","file3":"1325850327"},"map_files_photo_id_array":[{"photo_id":"1325850324","filename":"file2"},{"photo_id":"1325850321","filename":"file1"},{"photo_id":"1325850317","filename":"file0"},{"photo_id":"1325850327","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325850327":["hashtag1","hashtag2"]},{"1325850321":["hashtag1","hashtag2"]},{"1325850324":["hashtag1","hashtag2"]},{"1325850317":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325850327, 1325850321, 1325850324, 1325850317)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.70070242881775 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 15:08:02.720059
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 15:08:22.317535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/15/07/image_03012025_15_07_02_432523_0003.jpg', '/home/pi/Desktop/images/03012025/15/08/image_03012025_15_08_02_612567_0000.jpg', '/home/pi/Desktop/images/03012025/15/08/image_03012025_15_08_02_612567_0001.jpg', '/home/pi/Desktop/images/03012025/15/08/image_03012025_15_08_02_612567_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/15/07/image_03012025_15_07_02_432523_0003.jpg
/home/pi/Desktop/images/03012025/15/08/image_03012025_15_08_02_612567_0000.jpg
/home/pi/Desktop/images/03012025/15/08/image_03012025_15_08_02_612567_0001.jpg
/home/pi/Desktop/images/03012025/15/08/image_03012025_15_08_02_612567_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325850695","1325850692","1325850659","1325850676"],"photo_ids_order":["1325850659","1325850676","1325850692","1325850695"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b43cb024a57490028dabe6bf0e8eec1e.jpg","text":"TemporaryFile(/tmp/multipartBody3829305019991772656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735913372133,"filename":"image_03012025_15_08_02_612567_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4480c16a52f265bcade7abdf3846a193.jpg","text":"TemporaryFile(/tmp/multipartBody6594920264191493959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735913372133,"filename":"image_03012025_15_08_02_612567_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8d9db671f5c7069c6814ee7bd89bf3e0.jpg","text":"TemporaryFile(/tmp/multipartBody4228190384059271623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735913372133,"filename":"image_03012025_15_07_02_432523_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/955b3c2e87b6874d0fba5fb38cecc58e.jpg","text":"TemporaryFile(/tmp/multipartBody1737712638968566241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735913372133,"filename":"image_03012025_15_08_02_612567_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325850692","file1":"1325850676","file0":"1325850659","file3":"1325850695"},"map_files_photo_id_array":[{"photo_id":"1325850692","filename":"file2"},{"photo_id":"1325850676","filename":"file1"},{"photo_id":"1325850659","filename":"file0"},{"photo_id":"1325850695","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325850695":["hashtag1","hashtag2"]},{"1325850692":["hashtag1","hashtag2"]},{"1325850659":["hashtag1","hashtag2"]},{"1325850676":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325850695, 1325850692, 1325850659, 1325850676)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.95679259300232 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 15:09:03.081980
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 15:09:22.564151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/15/08/image_03012025_15_08_02_612567_0003.jpg', '/home/pi/Desktop/images/03012025/15/09/image_03012025_15_09_02_640332_0000.jpg', '/home/pi/Desktop/images/03012025/15/09/image_03012025_15_09_02_640332_0001.jpg', '/home/pi/Desktop/images/03012025/15/09/image_03012025_15_09_02_640332_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/15/08/image_03012025_15_08_02_612567_0003.jpg
/home/pi/Desktop/images/03012025/15/09/image_03012025_15_09_02_640332_0000.jpg
/home/pi/Desktop/images/03012025/15/09/image_03012025_15_09_02_640332_0001.jpg
/home/pi/Desktop/images/03012025/15/09/image_03012025_15_09_02_640332_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325850720","1325850717","1325850711","1325850714"],"photo_ids_order":["1325850711","1325850714","1325850717","1325850720"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/25b8446cddfd58b049955a07bb2673fd.jpg","text":"TemporaryFile(/tmp/multipartBody5733548907465548068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735913432399,"filename":"image_03012025_15_09_02_640332_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/97a99cbd5832d6c528ec587376b83df0.jpg","text":"TemporaryFile(/tmp/multipartBody6280632205664291804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735913432399,"filename":"image_03012025_15_09_02_640332_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6c9bc6f63cc063627490ea7842c17b56.jpg","text":"TemporaryFile(/tmp/multipartBody6815745343470132253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735913432399,"filename":"image_03012025_15_08_02_612567_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/000cb193f47ce1931dc3be172a6ed1fc.jpg","text":"TemporaryFile(/tmp/multipartBody4362823938155776486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735913432399,"filename":"image_03012025_15_09_02_640332_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325850717","file1":"1325850714","file0":"1325850711","file3":"1325850720"},"map_files_photo_id_array":[{"photo_id":"1325850717","filename":"file2"},{"photo_id":"1325850714","filename":"file1"},{"photo_id":"1325850711","filename":"file0"},{"photo_id":"1325850720","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325850720":["hashtag1","hashtag2"]},{"1325850717":["hashtag1","hashtag2"]},{"1325850711":["hashtag1","hashtag2"]},{"1325850714":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325850720, 1325850717, 1325850711, 1325850714)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.68718600273132 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 15:10:03.083747
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 15:10:22.617781
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/15/09/image_03012025_15_09_02_640332_0003.jpg', '/home/pi/Desktop/images/03012025/15/10/image_03012025_15_10_02_843291_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/15/09/image_03012025_15_09_02_640332_0003.jpg
/home/pi/Desktop/images/03012025/15/10/image_03012025_15_10_02_843291_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":["1325850915","1325850964"],"photo_ids_order":["1325850915","1325850964"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0db13d41a06cfc2c43492e5b9ba38335.jpg","text":"TemporaryFile(/tmp/multipartBody1715242240794587054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735913487981,"filename":"image_03012025_15_09_02_640332_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/aa13cf1be87aea1d1dd824952a449651.jpg","text":"TemporaryFile(/tmp/multipartBody4430056945258652280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735913487981,"filename":"image_03012025_15_10_02_843291_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1325850964","file0":"1325850915"},"map_files_photo_id_array":[{"photo_id":"1325850964","filename":"file1"},{"photo_id":"1325850915","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325850915":["hashtag1","hashtag2"]},{"1325850964":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325850915, 1325850964)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 25.362217903137207 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-03 15:10:52.597147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 15:11:02.348697
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 15:11:21.804550
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/15/10/image_03012025_15_10_02_843291_0003.jpg', '/home/pi/Desktop/images/03012025/15/11/image_03012025_15_11_02_975687_0000.jpg', '/home/pi/Desktop/images/03012025/15/11/image_03012025_15_11_02_975687_0001.jpg', '/home/pi/Desktop/images/03012025/15/11/image_03012025_15_11_02_975687_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/15/10/image_03012025_15_10_02_843291_0003.jpg
/home/pi/Desktop/images/03012025/15/11/image_03012025_15_11_02_975687_0000.jpg
/home/pi/Desktop/images/03012025/15/11/image_03012025_15_11_02_975687_0001.jpg
/home/pi/Desktop/images/03012025/15/11/image_03012025_15_11_02_975687_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325851283","1325851286","1325851280","1325851262"],"photo_ids_order":["1325851262","1325851280","1325851283","1325851286"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8f166a37222f8e17e2561649a3033413.jpg","text":"TemporaryFile(/tmp/multipartBody600402542371800408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735913552221,"filename":"image_03012025_15_11_02_975687_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f1f315a11dadf9d9c3cdc3fa1bab85b8.jpg","text":"TemporaryFile(/tmp/multipartBody8101455759445309379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735913552221,"filename":"image_03012025_15_11_02_975687_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4e29ec074374c92d6a120aafb41ee6bf.jpg","text":"TemporaryFile(/tmp/multipartBody7739418151232381117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735913552221,"filename":"image_03012025_15_11_02_975687_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9c11a5d7c60b09c10df5f266f16c0e79.jpg","text":"TemporaryFile(/tmp/multipartBody3271542677627813313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735913552221,"filename":"image_03012025_15_10_02_843291_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325851283","file1":"1325851280","file0":"1325851262","file3":"1325851286"},"map_files_photo_id_array":[{"photo_id":"1325851283","filename":"file2"},{"photo_id":"1325851280","filename":"file1"},{"photo_id":"1325851262","filename":"file0"},{"photo_id":"1325851286","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325851283":["hashtag1","hashtag2"]},{"1325851286":["hashtag1","hashtag2"]},{"1325851280":["hashtag1","hashtag2"]},{"1325851262":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325851283, 1325851286, 1325851280, 1325851262)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.775439739227295 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 15:12:21.986043
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/15/11/image_03012025_15_11_02_975687_0003.jpg', '/home/pi/Desktop/images/03012025/15/12/image_03012025_15_12_02_186700_0000.jpg', '/home/pi/Desktop/images/03012025/15/12/image_03012025_15_12_02_186700_0001.jpg', '/home/pi/Desktop/images/03012025/15/12/image_03012025_15_12_02_186700_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/15/11/image_03012025_15_11_02_975687_0003.jpg
/home/pi/Desktop/images/03012025/15/12/image_03012025_15_12_02_186700_0000.jpg
/home/pi/Desktop/images/03012025/15/12/image_03012025_15_12_02_186700_0001.jpg
/home/pi/Desktop/images/03012025/15/12/image_03012025_15_12_02_186700_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325851628","1325851714","1325851599","1325851863"],"photo_ids_order":["1325851599","1325851628","1325851714","1325851863"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/bb4779973fb36ef519034bea4e896765.jpg","text":"TemporaryFile(/tmp/multipartBody5444302422382484814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735913612445,"filename":"image_03012025_15_12_02_186700_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/98556facb4a862e66a6b7ae8ab5761f2.jpg","text":"TemporaryFile(/tmp/multipartBody7844333045437650589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735913612445,"filename":"image_03012025_15_12_02_186700_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6c71aacf5f3610e8f12ba4a9bc64b3ca.jpg","text":"TemporaryFile(/tmp/multipartBody642850847059947901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735913612445,"filename":"image_03012025_15_11_02_975687_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6c379ec38d50ff46477da6ca0b02915e.jpg","text":"TemporaryFile(/tmp/multipartBody4755576797544864135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735913612445,"filename":"image_03012025_15_12_02_186700_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325851714","file1":"1325851628","file0":"1325851599","file3":"1325851863"},"map_files_photo_id_array":[{"photo_id":"1325851714","filename":"file2"},{"photo_id":"1325851628","filename":"file1"},{"photo_id":"1325851599","filename":"file0"},{"photo_id":"1325851863","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325851628":["hashtag1","hashtag2"]},{"1325851714":["hashtag1","hashtag2"]},{"1325851599":["hashtag1","hashtag2"]},{"1325851863":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325851628, 1325851714, 1325851599, 1325851863)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.18317413330078 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 15:13:02.581952
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 15:13:22.075163
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/15/12/image_03012025_15_12_02_186700_0003.jpg', '/home/pi/Desktop/images/03012025/15/13/image_03012025_15_13_02_306674_0000.jpg', '/home/pi/Desktop/images/03012025/15/13/image_03012025_15_13_02_306674_0001.jpg', '/home/pi/Desktop/images/03012025/15/13/image_03012025_15_13_02_306674_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/15/12/image_03012025_15_12_02_186700_0003.jpg
/home/pi/Desktop/images/03012025/15/13/image_03012025_15_13_02_306674_0000.jpg
/home/pi/Desktop/images/03012025/15/13/image_03012025_15_13_02_306674_0001.jpg
/home/pi/Desktop/images/03012025/15/13/image_03012025_15_13_02_306674_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325852266","1325852247","1325852229","1325852250"],"photo_ids_order":["1325852229","1325852247","1325852250","1325852266"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b4f8c24224ddf69d9148af24c5f3270e.jpg","text":"TemporaryFile(/tmp/multipartBody236329525894473436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735913672383,"filename":"image_03012025_15_13_02_306674_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/09817bafc3e64d9f29a694e2cad5e3f4.jpg","text":"TemporaryFile(/tmp/multipartBody5427371969407088591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735913672383,"filename":"image_03012025_15_13_02_306674_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/fd5015a0de3f48cfb701b3656ad6a434.jpg","text":"TemporaryFile(/tmp/multipartBody4505141939027841192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735913672383,"filename":"image_03012025_15_12_02_186700_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f6a7d8531b6a54151acc5db452080580.jpg","text":"TemporaryFile(/tmp/multipartBody2217380758771296762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735913672383,"filename":"image_03012025_15_13_02_306674_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325852250","file1":"1325852247","file0":"1325852229","file3":"1325852266"},"map_files_photo_id_array":[{"photo_id":"1325852250","filename":"file2"},{"photo_id":"1325852247","filename":"file1"},{"photo_id":"1325852229","filename":"file0"},{"photo_id":"1325852266","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325852266":["hashtag1","hashtag2"]},{"1325852247":["hashtag1","hashtag2"]},{"1325852229":["hashtag1","hashtag2"]},{"1325852250":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325852266, 1325852247, 1325852229, 1325852250)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.68797206878662 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 15:14:22.279430
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/15/13/image_03012025_15_13_02_306674_0003.jpg', '/home/pi/Desktop/images/03012025/15/14/image_03012025_15_14_02_459876_0000.jpg', '/home/pi/Desktop/images/03012025/15/14/image_03012025_15_14_02_459876_0001.jpg', '/home/pi/Desktop/images/03012025/15/14/image_03012025_15_14_02_459876_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/15/13/image_03012025_15_13_02_306674_0003.jpg
/home/pi/Desktop/images/03012025/15/14/image_03012025_15_14_02_459876_0000.jpg
/home/pi/Desktop/images/03012025/15/14/image_03012025_15_14_02_459876_0001.jpg
/home/pi/Desktop/images/03012025/15/14/image_03012025_15_14_02_459876_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325852741","1325852680","1325852655","1325852766"],"photo_ids_order":["1325852655","1325852680","1325852741","1325852766"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/58b489634664091025a1333e1f87d64f.jpg","text":"TemporaryFile(/tmp/multipartBody7078756837847961486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735913732537,"filename":"image_03012025_15_14_02_459876_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/994131c069a6df990c445f5a0049cd08.jpg","text":"TemporaryFile(/tmp/multipartBody8153660594132750400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735913732537,"filename":"image_03012025_15_14_02_459876_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c294b304c3e43b2550aab56e4015fe99.jpg","text":"TemporaryFile(/tmp/multipartBody2605449593335870731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735913732537,"filename":"image_03012025_15_13_02_306674_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2bde0c641e9658d487ec937b1073126c.jpg","text":"TemporaryFile(/tmp/multipartBody9096533372363496750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735913732537,"filename":"image_03012025_15_14_02_459876_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325852741","file1":"1325852680","file0":"1325852655","file3":"1325852766"},"map_files_photo_id_array":[{"photo_id":"1325852741","filename":"file2"},{"photo_id":"1325852680","filename":"file1"},{"photo_id":"1325852655","filename":"file0"},{"photo_id":"1325852766","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325852741":["hashtag1","hashtag2"]},{"1325852680":["hashtag1","hashtag2"]},{"1325852655":["hashtag1","hashtag2"]},{"1325852766":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325852741, 1325852680, 1325852655, 1325852766)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.47771596908569 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 15:15:22.487918
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/15/14/image_03012025_15_14_02_459876_0003.jpg', '/home/pi/Desktop/images/03012025/15/15/image_03012025_15_15_02_626406_0000.jpg', '/home/pi/Desktop/images/03012025/15/15/image_03012025_15_15_02_626406_0001.jpg', '/home/pi/Desktop/images/03012025/15/15/image_03012025_15_15_02_626406_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/15/14/image_03012025_15_14_02_459876_0003.jpg
/home/pi/Desktop/images/03012025/15/15/image_03012025_15_15_02_626406_0000.jpg
/home/pi/Desktop/images/03012025/15/15/image_03012025_15_15_02_626406_0001.jpg
/home/pi/Desktop/images/03012025/15/15/image_03012025_15_15_02_626406_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325852812","1325852806","1325852815","1325852809"],"photo_ids_order":["1325852806","1325852809","1325852812","1325852815"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ca2112b091cf3de814dc7b57403eb4c2.jpg","text":"TemporaryFile(/tmp/multipartBody6074024154685212942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735913792788,"filename":"image_03012025_15_15_02_626406_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/428d426783e376b889a6fa040251c4cd.jpg","text":"TemporaryFile(/tmp/multipartBody7687588569547861011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735913792788,"filename":"image_03012025_15_14_02_459876_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3ea1ef01cb77ce921a35a3ff5d087600.jpg","text":"TemporaryFile(/tmp/multipartBody2281243002163418345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735913792788,"filename":"image_03012025_15_15_02_626406_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/95f9f058aa962c39706629c3ec53fde1.jpg","text":"TemporaryFile(/tmp/multipartBody8756498157531857188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735913792788,"filename":"image_03012025_15_15_02_626406_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325852812","file1":"1325852809","file0":"1325852806","file3":"1325852815"},"map_files_photo_id_array":[{"photo_id":"1325852812","filename":"file2"},{"photo_id":"1325852809","filename":"file1"},{"photo_id":"1325852806","filename":"file0"},{"photo_id":"1325852815","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325852812":["hashtag1","hashtag2"]},{"1325852806":["hashtag1","hashtag2"]},{"1325852815":["hashtag1","hashtag2"]},{"1325852809":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325852812, 1325852806, 1325852815, 1325852809)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.57479810714722 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 15:16:03.137920
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 15:16:22.710646
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/15/15/image_03012025_15_15_02_626406_0003.jpg', '/home/pi/Desktop/images/03012025/15/16/image_03012025_15_16_02_784832_0000.jpg', '/home/pi/Desktop/images/03012025/15/16/image_03012025_15_16_02_784832_0001.jpg', '/home/pi/Desktop/images/03012025/15/16/image_03012025_15_16_02_784832_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/15/15/image_03012025_15_15_02_626406_0003.jpg
/home/pi/Desktop/images/03012025/15/16/image_03012025_15_16_02_784832_0000.jpg
/home/pi/Desktop/images/03012025/15/16/image_03012025_15_16_02_784832_0001.jpg
/home/pi/Desktop/images/03012025/15/16/image_03012025_15_16_02_784832_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325853140","1325852823","1325853056","1325853335"],"photo_ids_order":["1325852823","1325853056","1325853140","1325853335"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/482d0d93f89447a1cab4e508a25b666b.jpg","text":"TemporaryFile(/tmp/multipartBody262557303465354638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735913853099,"filename":"image_03012025_15_16_02_784832_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8d0c0eab75c8de41d0d9b201c0e07e3d.jpg","text":"TemporaryFile(/tmp/multipartBody2174685378792506600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735913853099,"filename":"image_03012025_15_15_02_626406_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7359f812515cd4a3473e86dcb0d79a51.jpg","text":"TemporaryFile(/tmp/multipartBody7810160716428712031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735913853099,"filename":"image_03012025_15_16_02_784832_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a15ab141dc0949f09b6eeaa966857ce4.jpg","text":"TemporaryFile(/tmp/multipartBody1100203176840165493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735913853099,"filename":"image_03012025_15_16_02_784832_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325853140","file1":"1325853056","file0":"1325852823","file3":"1325853335"},"map_files_photo_id_array":[{"photo_id":"1325853140","filename":"file2"},{"photo_id":"1325853056","filename":"file1"},{"photo_id":"1325852823","filename":"file0"},{"photo_id":"1325853335","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325853140":["hashtag1","hashtag2"]},{"1325852823":["hashtag1","hashtag2"]},{"1325853056":["hashtag1","hashtag2"]},{"1325853335":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325853140, 1325852823, 1325853056, 1325853335)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.361886978149414 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 15:17:22.123947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/15/16/image_03012025_15_16_02_784832_0003.jpg', '/home/pi/Desktop/images/03012025/15/17/image_03012025_15_17_03_025006_0000.jpg', '/home/pi/Desktop/images/03012025/15/17/image_03012025_15_17_03_025006_0001.jpg', '/home/pi/Desktop/images/03012025/15/17/image_03012025_15_17_03_025006_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/15/16/image_03012025_15_16_02_784832_0003.jpg
/home/pi/Desktop/images/03012025/15/17/image_03012025_15_17_03_025006_0000.jpg
/home/pi/Desktop/images/03012025/15/17/image_03012025_15_17_03_025006_0001.jpg
/home/pi/Desktop/images/03012025/15/17/image_03012025_15_17_03_025006_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325853876","1325853879","1325853869","1325853863"],"photo_ids_order":["1325853863","1325853869","1325853876","1325853879"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3e56e40f3aae9c4926aee3a5978752a5.jpg","text":"TemporaryFile(/tmp/multipartBody496996545005524743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735913912594,"filename":"image_03012025_15_17_03_025006_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/617aa020c8f4fd8af994b1fe5848fa23.jpg","text":"TemporaryFile(/tmp/multipartBody4817249415674325019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735913912594,"filename":"image_03012025_15_17_03_025006_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/59bd42593a5cf6d023d54f8afaf01b52.jpg","text":"TemporaryFile(/tmp/multipartBody553702767524653570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735913912594,"filename":"image_03012025_15_17_03_025006_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f0752fee996f3a896e03bd0df73e0a1f.jpg","text":"TemporaryFile(/tmp/multipartBody365771431799473347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735913912594,"filename":"image_03012025_15_16_02_784832_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325853876","file1":"1325853869","file0":"1325853863","file3":"1325853879"},"map_files_photo_id_array":[{"photo_id":"1325853876","filename":"file2"},{"photo_id":"1325853869","filename":"file1"},{"photo_id":"1325853863","filename":"file0"},{"photo_id":"1325853879","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325853876":["hashtag1","hashtag2"]},{"1325853879":["hashtag1","hashtag2"]},{"1325853869":["hashtag1","hashtag2"]},{"1325853863":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325853876, 1325853879, 1325853869, 1325853863)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.280574321746826 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 15:18:22.317224
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/15/17/image_03012025_15_17_03_025006_0003.jpg', '/home/pi/Desktop/images/03012025/15/18/image_03012025_15_18_02_506160_0000.jpg', '/home/pi/Desktop/images/03012025/15/18/image_03012025_15_18_02_506160_0001.jpg', '/home/pi/Desktop/images/03012025/15/18/image_03012025_15_18_02_506160_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/15/17/image_03012025_15_17_03_025006_0003.jpg
/home/pi/Desktop/images/03012025/15/18/image_03012025_15_18_02_506160_0000.jpg
/home/pi/Desktop/images/03012025/15/18/image_03012025_15_18_02_506160_0001.jpg
/home/pi/Desktop/images/03012025/15/18/image_03012025_15_18_02_506160_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325854015","1325854145","1325854124","1325854127"],"photo_ids_order":["1325854015","1325854124","1325854127","1325854145"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d70252334c7b31aee6606556644fea13.jpg","text":"TemporaryFile(/tmp/multipartBody7233450897924185150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735913972654,"filename":"image_03012025_15_17_03_025006_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/05bfbf1b8a2b332f015a83aedde4856e.jpg","text":"TemporaryFile(/tmp/multipartBody8581300978434952468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735913972654,"filename":"image_03012025_15_18_02_506160_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8220b683606d8a57c34d1158c6d76bf4.jpg","text":"TemporaryFile(/tmp/multipartBody142813115751178842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735913972654,"filename":"image_03012025_15_18_02_506160_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6783ab8f0f89a1398c5881f7b8249e78.jpg","text":"TemporaryFile(/tmp/multipartBody2922983551185286598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735913972654,"filename":"image_03012025_15_18_02_506160_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325854127","file1":"1325854124","file0":"1325854015","file3":"1325854145"},"map_files_photo_id_array":[{"photo_id":"1325854127","filename":"file2"},{"photo_id":"1325854124","filename":"file1"},{"photo_id":"1325854015","filename":"file0"},{"photo_id":"1325854145","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325854015":["hashtag1","hashtag2"]},{"1325854145":["hashtag1","hashtag2"]},{"1325854124":["hashtag1","hashtag2"]},{"1325854127":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325854015, 1325854145, 1325854124, 1325854127)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.76504731178284 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 15:19:22.468895
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/15/18/image_03012025_15_18_02_506160_0003.jpg', '/home/pi/Desktop/images/03012025/15/19/image_03012025_15_19_02_666618_0000.jpg', '/home/pi/Desktop/images/03012025/15/19/image_03012025_15_19_02_666618_0001.jpg', '/home/pi/Desktop/images/03012025/15/19/image_03012025_15_19_02_666618_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/15/18/image_03012025_15_18_02_506160_0003.jpg
/home/pi/Desktop/images/03012025/15/19/image_03012025_15_19_02_666618_0000.jpg
/home/pi/Desktop/images/03012025/15/19/image_03012025_15_19_02_666618_0001.jpg
/home/pi/Desktop/images/03012025/15/19/image_03012025_15_19_02_666618_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325854620","1325854539","1325854568","1325854591"],"photo_ids_order":["1325854539","1325854568","1325854591","1325854620"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/92d58a15bdb4357f7ffa1b32eebb690f.jpg","text":"TemporaryFile(/tmp/multipartBody6625701838565347213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735914032800,"filename":"image_03012025_15_19_02_666618_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e133b1f7e64de63c73f7bf22dc07b164.jpg","text":"TemporaryFile(/tmp/multipartBody3669392394292993373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735914032800,"filename":"image_03012025_15_18_02_506160_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/509126be896c6a70b84f113daea5bbcf.jpg","text":"TemporaryFile(/tmp/multipartBody7620878415750319267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735914032800,"filename":"image_03012025_15_19_02_666618_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5ac352f3f614a914356f57e4f0583d3a.jpg","text":"TemporaryFile(/tmp/multipartBody7060407910123234331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735914032800,"filename":"image_03012025_15_19_02_666618_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325854591","file1":"1325854568","file0":"1325854539","file3":"1325854620"},"map_files_photo_id_array":[{"photo_id":"1325854591","filename":"file2"},{"photo_id":"1325854568","filename":"file1"},{"photo_id":"1325854539","filename":"file0"},{"photo_id":"1325854620","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325854620":["hashtag1","hashtag2"]},{"1325854539":["hashtag1","hashtag2"]},{"1325854568":["hashtag1","hashtag2"]},{"1325854591":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325854620, 1325854539, 1325854568, 1325854591)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.67093014717102 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 15:20:22.707276
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/15/19/image_03012025_15_19_02_666618_0003.jpg', '/home/pi/Desktop/images/03012025/15/20/image_03012025_15_20_02_849911_0000.jpg', '/home/pi/Desktop/images/03012025/15/20/image_03012025_15_20_02_849911_0001.jpg', '/home/pi/Desktop/images/03012025/15/20/image_03012025_15_20_02_849911_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/15/19/image_03012025_15_19_02_666618_0003.jpg
/home/pi/Desktop/images/03012025/15/20/image_03012025_15_20_02_849911_0000.jpg
/home/pi/Desktop/images/03012025/15/20/image_03012025_15_20_02_849911_0001.jpg
/home/pi/Desktop/images/03012025/15/20/image_03012025_15_20_02_849911_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325854945","1325854939","1325854942","1325854913"],"photo_ids_order":["1325854913","1325854939","1325854942","1325854945"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4119cd6236f6ed064e1f5a502a0cef82.jpg","text":"TemporaryFile(/tmp/multipartBody216991218092767126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735914093034,"filename":"image_03012025_15_20_02_849911_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1b6f95816929e5a3ed49b56df0867eb2.jpg","text":"TemporaryFile(/tmp/multipartBody2473419607251031807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735914093034,"filename":"image_03012025_15_20_02_849911_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7c17f65613937e0e20899612d0b87fe4.jpg","text":"TemporaryFile(/tmp/multipartBody454789359817633727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735914093034,"filename":"image_03012025_15_20_02_849911_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d6bf61c8225b5e680b06632c79a5ebd4.jpg","text":"TemporaryFile(/tmp/multipartBody349090479626693675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735914093034,"filename":"image_03012025_15_19_02_666618_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325854942","file1":"1325854939","file0":"1325854913","file3":"1325854945"},"map_files_photo_id_array":[{"photo_id":"1325854942","filename":"file2"},{"photo_id":"1325854939","filename":"file1"},{"photo_id":"1325854913","filename":"file0"},{"photo_id":"1325854945","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325854945":["hashtag1","hashtag2"]},{"1325854939":["hashtag1","hashtag2"]},{"1325854942":["hashtag1","hashtag2"]},{"1325854913":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325854945, 1325854939, 1325854942, 1325854913)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.598999977111816 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-03 15:21:21.902217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/15/20/image_03012025_15_20_02_849911_0003.jpg', '/home/pi/Desktop/images/03012025/15/21/image_03012025_15_21_03_067214_0000.jpg', '/home/pi/Desktop/images/03012025/15/21/image_03012025_15_21_03_067214_0001.jpg', '/home/pi/Desktop/images/03012025/15/21/image_03012025_15_21_03_067214_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/15/20/image_03012025_15_20_02_849911_0003.jpg
/home/pi/Desktop/images/03012025/15/21/image_03012025_15_21_03_067214_0000.jpg
/home/pi/Desktop/images/03012025/15/21/image_03012025_15_21_03_067214_0001.jpg
/home/pi/Desktop/images/03012025/15/21/image_03012025_15_21_03_067214_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325855673","1325855457","1325855288","1325855810"],"photo_ids_order":["1325855288","1325855457","1325855673","1325855810"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/032b9d53b70d6aea18939f3fbc98967e.jpg","text":"TemporaryFile(/tmp/multipartBody7135620667376977517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735914152357,"filename":"image_03012025_15_21_03_067214_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/27569e00cb8eb7fb6229ac6b719a8363.jpg","text":"TemporaryFile(/tmp/multipartBody333761620420725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735914152357,"filename":"image_03012025_15_21_03_067214_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/24bbc221829a17aecbf0f4f5bf3324fc.jpg","text":"TemporaryFile(/tmp/multipartBody8788057540051447902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735914152357,"filename":"image_03012025_15_20_02_849911_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d75dbedb560fd7c97c8ff31411d10a2f.jpg","text":"TemporaryFile(/tmp/multipartBody3647184392757195657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735914152357,"filename":"image_03012025_15_21_03_067214_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325855673","file1":"1325855457","file0":"1325855288","file3":"1325855810"},"map_files_photo_id_array":[{"photo_id":"1325855673","filename":"file2"},{"photo_id":"1325855457","filename":"file1"},{"photo_id":"1325855288","filename":"file0"},{"photo_id":"1325855810","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325855673":["hashtag1","hashtag2"]},{"1325855457":["hashtag1","hashtag2"]},{"1325855288":["hashtag1","hashtag2"]},{"1325855810":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325855673, 1325855457, 1325855288, 1325855810)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.9419424533844 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 15:22:02.940326
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 15:22:22.627299
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/15/21/image_03012025_15_21_03_067214_0003.jpg', '/home/pi/Desktop/images/03012025/15/22/image_03012025_15_22_02_243907_0000.jpg', '/home/pi/Desktop/images/03012025/15/22/image_03012025_15_22_02_243907_0001.jpg', '/home/pi/Desktop/images/03012025/15/22/image_03012025_15_22_02_243907_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/15/21/image_03012025_15_21_03_067214_0003.jpg
/home/pi/Desktop/images/03012025/15/22/image_03012025_15_22_02_243907_0000.jpg
/home/pi/Desktop/images/03012025/15/22/image_03012025_15_22_02_243907_0001.jpg
/home/pi/Desktop/images/03012025/15/22/image_03012025_15_22_02_243907_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325856080","1325856074","1325856083","1325856077"],"photo_ids_order":["1325856074","1325856077","1325856080","1325856083"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c66792ef2c2f4148932291fa85967996.jpg","text":"TemporaryFile(/tmp/multipartBody8693891841237223631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735914213138,"filename":"image_03012025_15_22_02_243907_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/48b3edec900e1f7e01a555c610b73165.jpg","text":"TemporaryFile(/tmp/multipartBody1395262060284389671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735914213138,"filename":"image_03012025_15_21_03_067214_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/791d32a94dbd351a7a2d84ad9be2b31d.jpg","text":"TemporaryFile(/tmp/multipartBody6335679909382915955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735914213138,"filename":"image_03012025_15_22_02_243907_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/85d3aed88d46a28a3149f60725090350.jpg","text":"TemporaryFile(/tmp/multipartBody7064107789136330691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735914213138,"filename":"image_03012025_15_22_02_243907_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325856080","file1":"1325856077","file0":"1325856074","file3":"1325856083"},"map_files_photo_id_array":[{"photo_id":"1325856080","filename":"file2"},{"photo_id":"1325856077","filename":"file1"},{"photo_id":"1325856074","filename":"file0"},{"photo_id":"1325856083","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325856080":["hashtag1","hashtag2"]},{"1325856074":["hashtag1","hashtag2"]},{"1325856083":["hashtag1","hashtag2"]},{"1325856077":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325856080, 1325856074, 1325856083, 1325856077)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.37180280685425 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 15:23:22.680304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/15/22/image_03012025_15_22_02_243907_0003.jpg', '/home/pi/Desktop/images/03012025/15/23/image_03012025_15_23_02_871352_0000.jpg', '/home/pi/Desktop/images/03012025/15/23/image_03012025_15_23_02_871352_0001.jpg', '/home/pi/Desktop/images/03012025/15/23/image_03012025_15_23_02_871352_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/15/22/image_03012025_15_22_02_243907_0003.jpg
/home/pi/Desktop/images/03012025/15/23/image_03012025_15_23_02_871352_0000.jpg
/home/pi/Desktop/images/03012025/15/23/image_03012025_15_23_02_871352_0001.jpg
/home/pi/Desktop/images/03012025/15/23/image_03012025_15_23_02_871352_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325856093","1325856097","1325856100","1325856090"],"photo_ids_order":["1325856090","1325856093","1325856097","1325856100"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/41c9418bfa4f6390daeea96bdae74e4d.jpg","text":"TemporaryFile(/tmp/multipartBody7914460227665223507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735914273113,"filename":"image_03012025_15_23_02_871352_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4ed4efb8bdac7c84ae0c59eb75617201.jpg","text":"TemporaryFile(/tmp/multipartBody7599243216392516269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735914273113,"filename":"image_03012025_15_23_02_871352_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9a19ec795fcca37dd4a0dbc8006f9760.jpg","text":"TemporaryFile(/tmp/multipartBody2154193933277316675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735914273113,"filename":"image_03012025_15_23_02_871352_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1b01f71885cd432d017d2a9a5f9787ea.jpg","text":"TemporaryFile(/tmp/multipartBody4306185284498080859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735914273113,"filename":"image_03012025_15_22_02_243907_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325856097","file1":"1325856093","file0":"1325856090","file3":"1325856100"},"map_files_photo_id_array":[{"photo_id":"1325856097","filename":"file2"},{"photo_id":"1325856093","filename":"file1"},{"photo_id":"1325856090","filename":"file0"},{"photo_id":"1325856100","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325856093":["hashtag1","hashtag2"]},{"1325856097":["hashtag1","hashtag2"]},{"1325856100":["hashtag1","hashtag2"]},{"1325856090":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325856093, 1325856097, 1325856100, 1325856090)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.06208610534668 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 15:24:21.842776
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/15/23/image_03012025_15_23_02_871352_0003.jpg', '/home/pi/Desktop/images/03012025/15/24/image_03012025_15_24_03_056016_0000.jpg', '/home/pi/Desktop/images/03012025/15/24/image_03012025_15_24_03_056016_0001.jpg', '/home/pi/Desktop/images/03012025/15/24/image_03012025_15_24_03_056016_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/15/23/image_03012025_15_23_02_871352_0003.jpg
/home/pi/Desktop/images/03012025/15/24/image_03012025_15_24_03_056016_0000.jpg
/home/pi/Desktop/images/03012025/15/24/image_03012025_15_24_03_056016_0001.jpg
/home/pi/Desktop/images/03012025/15/24/image_03012025_15_24_03_056016_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325856497","1325856428","1325856431","1325856499"],"photo_ids_order":["1325856428","1325856431","1325856497","1325856499"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e55e215c23027f53e608658925c106c8.jpg","text":"TemporaryFile(/tmp/multipartBody497489610895897044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735914332334,"filename":"image_03012025_15_24_03_056016_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d30a9613519cb7bbe9e0282ab5c18ff5.jpg","text":"TemporaryFile(/tmp/multipartBody3497822304003811414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735914332334,"filename":"image_03012025_15_23_02_871352_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/eca5fd00d24c5e2dea33fcdfb17155e7.jpg","text":"TemporaryFile(/tmp/multipartBody8132240557578056390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735914332334,"filename":"image_03012025_15_24_03_056016_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/163ce832aa8efad4572042a7eb038f35.jpg","text":"TemporaryFile(/tmp/multipartBody7506759676682969616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735914332334,"filename":"image_03012025_15_24_03_056016_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325856497","file1":"1325856431","file0":"1325856428","file3":"1325856499"},"map_files_photo_id_array":[{"photo_id":"1325856497","filename":"file2"},{"photo_id":"1325856431","filename":"file1"},{"photo_id":"1325856428","filename":"file0"},{"photo_id":"1325856499","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325856497":["hashtag1","hashtag2"]},{"1325856428":["hashtag1","hashtag2"]},{"1325856431":["hashtag1","hashtag2"]},{"1325856499":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325856497, 1325856428, 1325856431, 1325856499)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.83183765411377 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 15:25:02.563992
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 15:25:22.000329
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/15/24/image_03012025_15_24_03_056016_0003.jpg', '/home/pi/Desktop/images/03012025/15/25/image_03012025_15_25_02_175381_0000.jpg', '/home/pi/Desktop/images/03012025/15/25/image_03012025_15_25_02_175381_0001.jpg', '/home/pi/Desktop/images/03012025/15/25/image_03012025_15_25_02_175381_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/15/24/image_03012025_15_24_03_056016_0003.jpg
/home/pi/Desktop/images/03012025/15/25/image_03012025_15_25_02_175381_0000.jpg
/home/pi/Desktop/images/03012025/15/25/image_03012025_15_25_02_175381_0001.jpg
/home/pi/Desktop/images/03012025/15/25/image_03012025_15_25_02_175381_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.999299764633179 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-03 15:25:41.993314
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/15/24/image_03012025_15_24_03_056016_0003.jpg', '/home/pi/Desktop/images/03012025/15/25/image_03012025_15_25_02_175381_0000.jpg', '/home/pi/Desktop/images/03012025/15/25/image_03012025_15_25_02_175381_0001.jpg', '/home/pi/Desktop/images/03012025/15/25/image_03012025_15_25_02_175381_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/15/24/image_03012025_15_24_03_056016_0003.jpg
/home/pi/Desktop/images/03012025/15/25/image_03012025_15_25_02_175381_0000.jpg
/home/pi/Desktop/images/03012025/15/25/image_03012025_15_25_02_175381_0001.jpg
/home/pi/Desktop/images/03012025/15/25/image_03012025_15_25_02_175381_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325856936","1325856886","1325856871","1325856889"],"photo_ids_order":["1325856871","1325856886","1325856889","1325856936"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5b51572938cb63b14022ee1243c96b74.jpg","text":"TemporaryFile(/tmp/multipartBody2423586114534964309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735914412386,"filename":"image_03012025_15_25_02_175381_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/620782cd3e16df54bf8b1f5e1e8f35a1.jpg","text":"TemporaryFile(/tmp/multipartBody4757462300691599239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735914412386,"filename":"image_03012025_15_25_02_175381_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7bfddbd58fa62c2d8e4043827922da42.jpg","text":"TemporaryFile(/tmp/multipartBody8847671354789654063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735914412386,"filename":"image_03012025_15_24_03_056016_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d115f8ac8e27868d587fc4aae9f0e2fb.jpg","text":"TemporaryFile(/tmp/multipartBody2000595118122818207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735914412386,"filename":"image_03012025_15_25_02_175381_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325856889","file1":"1325856886","file0":"1325856871","file3":"1325856936"},"map_files_photo_id_array":[{"photo_id":"1325856889","filename":"file2"},{"photo_id":"1325856886","filename":"file1"},{"photo_id":"1325856871","filename":"file0"},{"photo_id":"1325856936","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325856936":["hashtag1","hashtag2"]},{"1325856886":["hashtag1","hashtag2"]},{"1325856871":["hashtag1","hashtag2"]},{"1325856889":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325856936, 1325856886, 1325856871, 1325856889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.383026361465454 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-03 15:26:32.092980
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/15/25/image_03012025_15_25_02_175381_0003.jpg', '/home/pi/Desktop/images/03012025/15/26/image_03012025_15_26_02_325879_0000.jpg', '/home/pi/Desktop/images/03012025/15/26/image_03012025_15_26_02_325879_0001.jpg', '/home/pi/Desktop/images/03012025/15/26/image_03012025_15_26_02_325879_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/15/25/image_03012025_15_25_02_175381_0003.jpg
/home/pi/Desktop/images/03012025/15/26/image_03012025_15_26_02_325879_0000.jpg
/home/pi/Desktop/images/03012025/15/26/image_03012025_15_26_02_325879_0001.jpg
/home/pi/Desktop/images/03012025/15/26/image_03012025_15_26_02_325879_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.90859580039978 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-03 15:26:52.114341
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/15/25/image_03012025_15_25_02_175381_0003.jpg', '/home/pi/Desktop/images/03012025/15/26/image_03012025_15_26_02_325879_0000.jpg', '/home/pi/Desktop/images/03012025/15/26/image_03012025_15_26_02_325879_0001.jpg', '/home/pi/Desktop/images/03012025/15/26/image_03012025_15_26_02_325879_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/15/25/image_03012025_15_25_02_175381_0003.jpg
/home/pi/Desktop/images/03012025/15/26/image_03012025_15_26_02_325879_0000.jpg
/home/pi/Desktop/images/03012025/15/26/image_03012025_15_26_02_325879_0001.jpg
/home/pi/Desktop/images/03012025/15/26/image_03012025_15_26_02_325879_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":["1325857651","1325857231","1325857365","1325857665"],"photo_ids_order":["1325857231","1325857365","1325857651","1325857665"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/512fb7e800fd3671f85de6bda5c570c1.jpg","text":"TemporaryFile(/tmp/multipartBody4055361111560627518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735914482441,"filename":"image_03012025_15_26_02_325879_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/411489489762e7cf24ca1fb192c0149a.jpg","text":"TemporaryFile(/tmp/multipartBody7028403038348814616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735914482441,"filename":"image_03012025_15_25_02_175381_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/298b42bd00ec70d78913467901434133.jpg","text":"TemporaryFile(/tmp/multipartBody4873064080620007634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735914482441,"filename":"image_03012025_15_26_02_325879_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4ee857eb1772a7b3ce99b95f7b3d87af.jpg","text":"TemporaryFile(/tmp/multipartBody5352560975980357329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735914482441,"filename":"image_03012025_15_26_02_325879_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325857651","file1":"1325857365","file0":"1325857231","file3":"1325857665"},"map_files_photo_id_array":[{"photo_id":"1325857651","filename":"file2"},{"photo_id":"1325857365","filename":"file1"},{"photo_id":"1325857231","filename":"file0"},{"photo_id":"1325857665","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325857651":["hashtag1","hashtag2"]},{"1325857231":["hashtag1","hashtag2"]},{"1325857365":["hashtag1","hashtag2"]},{"1325857665":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325857651, 1325857231, 1325857365, 1325857665)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.7016236782074 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-03 15:27:32.330842
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/15/26/image_03012025_15_26_02_325879_0003.jpg', '/home/pi/Desktop/images/03012025/15/27/image_03012025_15_27_02_498190_0000.jpg', '/home/pi/Desktop/images/03012025/15/27/image_03012025_15_27_02_498190_0001.jpg', '/home/pi/Desktop/images/03012025/15/27/image_03012025_15_27_02_498190_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/15/26/image_03012025_15_26_02_325879_0003.jpg
/home/pi/Desktop/images/03012025/15/27/image_03012025_15_27_02_498190_0000.jpg
/home/pi/Desktop/images/03012025/15/27/image_03012025_15_27_02_498190_0001.jpg
/home/pi/Desktop/images/03012025/15/27/image_03012025_15_27_02_498190_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325857803","1325857829","1325857832","1325857744"],"photo_ids_order":["1325857744","1325857803","1325857829","1325857832"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6df93ba047b7f4fc4acadd848a1de9ec.jpg","text":"TemporaryFile(/tmp/multipartBody4271326563213126394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735914522525,"filename":"image_03012025_15_27_02_498190_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2b4437ada8a6ae22500dbde6f5ac5857.jpg","text":"TemporaryFile(/tmp/multipartBody1520212643963134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735914522525,"filename":"image_03012025_15_27_02_498190_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b2adc3b705e76bec3a1b618322a78910.jpg","text":"TemporaryFile(/tmp/multipartBody8648537094178438894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735914522525,"filename":"image_03012025_15_27_02_498190_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/20efd58ef1883eea1fba0ed05bcedd63.jpg","text":"TemporaryFile(/tmp/multipartBody6693563943735030553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735914522525,"filename":"image_03012025_15_26_02_325879_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325857829","file1":"1325857803","file0":"1325857744","file3":"1325857832"},"map_files_photo_id_array":[{"photo_id":"1325857829","filename":"file2"},{"photo_id":"1325857803","filename":"file1"},{"photo_id":"1325857744","filename":"file0"},{"photo_id":"1325857832","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325857803":["hashtag1","hashtag2"]},{"1325857829":["hashtag1","hashtag2"]},{"1325857832":["hashtag1","hashtag2"]},{"1325857744":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325857803, 1325857829, 1325857832, 1325857744)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.14650368690491 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 15:28:22.514062
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/15/27/image_03012025_15_27_02_498190_0003.jpg', '/home/pi/Desktop/images/03012025/15/28/image_03012025_15_28_02_696594_0000.jpg', '/home/pi/Desktop/images/03012025/15/28/image_03012025_15_28_02_696594_0001.jpg', '/home/pi/Desktop/images/03012025/15/28/image_03012025_15_28_02_696594_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/15/27/image_03012025_15_27_02_498190_0003.jpg
/home/pi/Desktop/images/03012025/15/28/image_03012025_15_28_02_696594_0000.jpg
/home/pi/Desktop/images/03012025/15/28/image_03012025_15_28_02_696594_0001.jpg
/home/pi/Desktop/images/03012025/15/28/image_03012025_15_28_02_696594_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325857880","1325857853","1325857884","1325857857"],"photo_ids_order":["1325857853","1325857857","1325857880","1325857884"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9b0835fff9435f93305dc1160e5ac1e0.jpg","text":"TemporaryFile(/tmp/multipartBody534635253378280249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735914572733,"filename":"image_03012025_15_28_02_696594_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7ff20839013bad5609aa4d0bce9be67f.jpg","text":"TemporaryFile(/tmp/multipartBody4359094048778988071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735914572733,"filename":"image_03012025_15_27_02_498190_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/adfe2d0822e878c8efceea0054c9e2a1.jpg","text":"TemporaryFile(/tmp/multipartBody3475282924495498515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735914572733,"filename":"image_03012025_15_28_02_696594_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/367b2fb57f0fb74199b84cf64c404f5f.jpg","text":"TemporaryFile(/tmp/multipartBody5818566404005853626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735914572733,"filename":"image_03012025_15_28_02_696594_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325857880","file1":"1325857857","file0":"1325857853","file3":"1325857884"},"map_files_photo_id_array":[{"photo_id":"1325857880","filename":"file2"},{"photo_id":"1325857857","filename":"file1"},{"photo_id":"1325857853","filename":"file0"},{"photo_id":"1325857884","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325857880":["hashtag1","hashtag2"]},{"1325857853":["hashtag1","hashtag2"]},{"1325857884":["hashtag1","hashtag2"]},{"1325857857":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325857880, 1325857853, 1325857884, 1325857857)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.72741222381592 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-03 15:29:22.698205
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/15/28/image_03012025_15_28_02_696594_0003.jpg', '/home/pi/Desktop/images/03012025/15/29/image_03012025_15_29_02_818944_0000.jpg', '/home/pi/Desktop/images/03012025/15/29/image_03012025_15_29_02_818944_0001.jpg', '/home/pi/Desktop/images/03012025/15/29/image_03012025_15_29_02_818944_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/15/28/image_03012025_15_28_02_696594_0003.jpg
/home/pi/Desktop/images/03012025/15/29/image_03012025_15_29_02_818944_0000.jpg
/home/pi/Desktop/images/03012025/15/29/image_03012025_15_29_02_818944_0001.jpg
/home/pi/Desktop/images/03012025/15/29/image_03012025_15_29_02_818944_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325858609","1325858558","1325858562","1325858502"],"photo_ids_order":["1325858502","1325858558","1325858562","1325858609"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4634921e0d6ac66137d0ddf2cbc03aeb.jpg","text":"TemporaryFile(/tmp/multipartBody9019575336548522823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735914633127,"filename":"image_03012025_15_29_02_818944_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/bde7bad392b601f89bf099c64304cad3.jpg","text":"TemporaryFile(/tmp/multipartBody3933906958550043603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735914633127,"filename":"image_03012025_15_29_02_818944_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/eb2c86118cdff87d90c71b8acac52f8e.jpg","text":"TemporaryFile(/tmp/multipartBody3199446180055759723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735914633127,"filename":"image_03012025_15_29_02_818944_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1e8736e8dcb9dc90cb7156217211ae26.jpg","text":"TemporaryFile(/tmp/multipartBody7538062843137998825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735914633127,"filename":"image_03012025_15_28_02_696594_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325858562","file1":"1325858558","file0":"1325858502","file3":"1325858609"},"map_files_photo_id_array":[{"photo_id":"1325858562","filename":"file2"},{"photo_id":"1325858558","filename":"file1"},{"photo_id":"1325858502","filename":"file0"},{"photo_id":"1325858609","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325858609":["hashtag1","hashtag2"]},{"1325858558":["hashtag1","hashtag2"]},{"1325858562":["hashtag1","hashtag2"]},{"1325858502":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325858609, 1325858558, 1325858562, 1325858502)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.189836263656616 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 15:30:21.853748
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/15/29/image_03012025_15_29_02_818944_0003.jpg', '/home/pi/Desktop/images/03012025/15/30/image_03012025_15_30_03_088649_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/15/29/image_03012025_15_29_02_818944_0003.jpg
/home/pi/Desktop/images/03012025/15/30/image_03012025_15_30_03_088649_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":["1325858946","1325859170"],"photo_ids_order":["1325858946","1325859170"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f76ffb91134b5fd787caa0a50b2bbb3a.jpg","text":"TemporaryFile(/tmp/multipartBody4986472338226027608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735914687587,"filename":"image_03012025_15_29_02_818944_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2e04a0378614f33836a2cbaeaac53721.jpg","text":"TemporaryFile(/tmp/multipartBody1777067696584523443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735914687587,"filename":"image_03012025_15_30_03_088649_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1325859170","file0":"1325858946"},"map_files_photo_id_array":[{"photo_id":"1325859170","filename":"file1"},{"photo_id":"1325858946","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325858946":["hashtag1","hashtag2"]},{"1325859170":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325858946, 1325859170)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.868067502975464 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-03 15:30:51.791888
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 15:31:02.539613
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 15:31:22.027924
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/15/30/image_03012025_15_30_03_088649_0002.jpg', '/home/pi/Desktop/images/03012025/15/31/image_03012025_15_31_02_210888_0000.jpg', '/home/pi/Desktop/images/03012025/15/31/image_03012025_15_31_02_210888_0001.jpg', '/home/pi/Desktop/images/03012025/15/31/image_03012025_15_31_02_210888_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/15/30/image_03012025_15_30_03_088649_0002.jpg
/home/pi/Desktop/images/03012025/15/31/image_03012025_15_31_02_210888_0000.jpg
/home/pi/Desktop/images/03012025/15/31/image_03012025_15_31_02_210888_0001.jpg
/home/pi/Desktop/images/03012025/15/31/image_03012025_15_31_02_210888_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325860730","1325860733","1325860727","1325860723"],"photo_ids_order":["1325860723","1325860727","1325860730","1325860733"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/585f99c0e0587e6409be1f10e741e8ac.jpg","text":"TemporaryFile(/tmp/multipartBody4662394746184107183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735914752369,"filename":"image_03012025_15_31_02_210888_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/fb09784efb9fcc93c1318bc47370a03e.jpg","text":"TemporaryFile(/tmp/multipartBody826303462729994166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735914752369,"filename":"image_03012025_15_31_02_210888_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9974f8eb0bc40e2707bc9ac94f663bf1.jpg","text":"TemporaryFile(/tmp/multipartBody7652426863588614307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735914752369,"filename":"image_03012025_15_31_02_210888_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ff7deb152840d2a44581f589b078434e.jpg","text":"TemporaryFile(/tmp/multipartBody8032813671116023237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735914752369,"filename":"image_03012025_15_30_03_088649_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325860730","file1":"1325860727","file0":"1325860723","file3":"1325860733"},"map_files_photo_id_array":[{"photo_id":"1325860730","filename":"file2"},{"photo_id":"1325860727","filename":"file1"},{"photo_id":"1325860723","filename":"file0"},{"photo_id":"1325860733","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325860730":["hashtag1","hashtag2"]},{"1325860733":["hashtag1","hashtag2"]},{"1325860727":["hashtag1","hashtag2"]},{"1325860723":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325860730, 1325860733, 1325860727, 1325860723)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.16880249977112 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 15:32:02.644707
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 15:32:22.151998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/15/31/image_03012025_15_31_02_210888_0003.jpg', '/home/pi/Desktop/images/03012025/15/32/image_03012025_15_32_02_387385_0000.jpg', '/home/pi/Desktop/images/03012025/15/32/image_03012025_15_32_02_387385_0001.jpg', '/home/pi/Desktop/images/03012025/15/32/image_03012025_15_32_02_387385_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/15/31/image_03012025_15_31_02_210888_0003.jpg
/home/pi/Desktop/images/03012025/15/32/image_03012025_15_32_02_387385_0000.jpg
/home/pi/Desktop/images/03012025/15/32/image_03012025_15_32_02_387385_0001.jpg
/home/pi/Desktop/images/03012025/15/32/image_03012025_15_32_02_387385_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.834540605545044 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-03 15:32:42.169993
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/15/31/image_03012025_15_31_02_210888_0003.jpg', '/home/pi/Desktop/images/03012025/15/32/image_03012025_15_32_02_387385_0000.jpg', '/home/pi/Desktop/images/03012025/15/32/image_03012025_15_32_02_387385_0001.jpg', '/home/pi/Desktop/images/03012025/15/32/image_03012025_15_32_02_387385_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/15/31/image_03012025_15_31_02_210888_0003.jpg
/home/pi/Desktop/images/03012025/15/32/image_03012025_15_32_02_387385_0000.jpg
/home/pi/Desktop/images/03012025/15/32/image_03012025_15_32_02_387385_0001.jpg
/home/pi/Desktop/images/03012025/15/32/image_03012025_15_32_02_387385_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325861997","1325861910","1325861885","1325861912"],"photo_ids_order":["1325861885","1325861910","1325861912","1325861997"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/78b2d0206b0ef7dccb6a311bf9893274.jpg","text":"TemporaryFile(/tmp/multipartBody8898729254829031030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735914832401,"filename":"image_03012025_15_32_02_387385_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/18ad2b719ea82a3e9c74ce1d183b442c.jpg","text":"TemporaryFile(/tmp/multipartBody5436842041489953239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735914832401,"filename":"image_03012025_15_32_02_387385_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4ec80866d0a05bd8acc410fe41425fe5.jpg","text":"TemporaryFile(/tmp/multipartBody8318587959942555053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735914832401,"filename":"image_03012025_15_31_02_210888_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/416ce8e32cf411a708468d86f8224ea8.jpg","text":"TemporaryFile(/tmp/multipartBody5608799371049716300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735914832401,"filename":"image_03012025_15_32_02_387385_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325861912","file1":"1325861910","file0":"1325861885","file3":"1325861997"},"map_files_photo_id_array":[{"photo_id":"1325861912","filename":"file2"},{"photo_id":"1325861910","filename":"file1"},{"photo_id":"1325861885","filename":"file0"},{"photo_id":"1325861997","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325861997":["hashtag1","hashtag2"]},{"1325861910":["hashtag1","hashtag2"]},{"1325861885":["hashtag1","hashtag2"]},{"1325861912":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325861997, 1325861910, 1325861885, 1325861912)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.33568477630615 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-03 15:33:32.318923
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/15/32/image_03012025_15_32_02_387385_0003.jpg', '/home/pi/Desktop/images/03012025/15/33/image_03012025_15_33_02_596502_0000.jpg', '/home/pi/Desktop/images/03012025/15/33/image_03012025_15_33_02_596502_0001.jpg', '/home/pi/Desktop/images/03012025/15/33/image_03012025_15_33_02_596502_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/15/32/image_03012025_15_32_02_387385_0003.jpg
/home/pi/Desktop/images/03012025/15/33/image_03012025_15_33_02_596502_0000.jpg
/home/pi/Desktop/images/03012025/15/33/image_03012025_15_33_02_596502_0001.jpg
/home/pi/Desktop/images/03012025/15/33/image_03012025_15_33_02_596502_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325862099","1325862108","1325862111","1325862105"],"photo_ids_order":["1325862099","1325862105","1325862108","1325862111"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c9090c019264776b09e07f486032bb70.jpg","text":"TemporaryFile(/tmp/multipartBody8584438063336376634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735914882409,"filename":"image_03012025_15_32_02_387385_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6b7e9fead5c8138cfc0e50fbc048a352.jpg","text":"TemporaryFile(/tmp/multipartBody8869738292676538504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735914882409,"filename":"image_03012025_15_33_02_596502_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6d77c89e0d37df8e4c533cc30c6c0eb8.jpg","text":"TemporaryFile(/tmp/multipartBody3332275653910466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735914882409,"filename":"image_03012025_15_33_02_596502_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/01006375abc68566ac61bcdd8a239fc1.jpg","text":"TemporaryFile(/tmp/multipartBody7012806176966947872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735914882409,"filename":"image_03012025_15_33_02_596502_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325862108","file1":"1325862105","file0":"1325862099","file3":"1325862111"},"map_files_photo_id_array":[{"photo_id":"1325862108","filename":"file2"},{"photo_id":"1325862105","filename":"file1"},{"photo_id":"1325862099","filename":"file0"},{"photo_id":"1325862111","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325862099":["hashtag1","hashtag2"]},{"1325862108":["hashtag1","hashtag2"]},{"1325862111":["hashtag1","hashtag2"]},{"1325862105":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325862099, 1325862108, 1325862111, 1325862105)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.45912504196167 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 15:34:22.570271
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/15/33/image_03012025_15_33_02_596502_0003.jpg', '/home/pi/Desktop/images/03012025/15/34/image_03012025_15_34_02_778775_0000.jpg', '/home/pi/Desktop/images/03012025/15/34/image_03012025_15_34_02_778775_0001.jpg', '/home/pi/Desktop/images/03012025/15/34/image_03012025_15_34_02_778775_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/15/33/image_03012025_15_33_02_596502_0003.jpg
/home/pi/Desktop/images/03012025/15/34/image_03012025_15_34_02_778775_0000.jpg
/home/pi/Desktop/images/03012025/15/34/image_03012025_15_34_02_778775_0001.jpg
/home/pi/Desktop/images/03012025/15/34/image_03012025_15_34_02_778775_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325862960","1325862992","1325862785","1325862803"],"photo_ids_order":["1325862785","1325862803","1325862960","1325862992"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ba448932c6c4dd2bfef69f470068daa8.jpg","text":"TemporaryFile(/tmp/multipartBody5077938632053966179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735914932619,"filename":"image_03012025_15_34_02_778775_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8a9bff2fc3272df8087831615841d41d.jpg","text":"TemporaryFile(/tmp/multipartBody2135048651360189020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735914932619,"filename":"image_03012025_15_34_02_778775_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/aa0de0e5ec88a56c2e776609e1f0a56e.jpg","text":"TemporaryFile(/tmp/multipartBody8774559059327900133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735914932619,"filename":"image_03012025_15_33_02_596502_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a955aa618093038bd286eb4a8be64f28.jpg","text":"TemporaryFile(/tmp/multipartBody812250386108755091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735914932619,"filename":"image_03012025_15_34_02_778775_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325862960","file1":"1325862803","file0":"1325862785","file3":"1325862992"},"map_files_photo_id_array":[{"photo_id":"1325862960","filename":"file2"},{"photo_id":"1325862803","filename":"file1"},{"photo_id":"1325862785","filename":"file0"},{"photo_id":"1325862992","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325862960":["hashtag1","hashtag2"]},{"1325862992":["hashtag1","hashtag2"]},{"1325862785":["hashtag1","hashtag2"]},{"1325862803":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325862960, 1325862992, 1325862785, 1325862803)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.60489463806152 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-03 15:35:22.758768
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/15/34/image_03012025_15_34_02_778775_0003.jpg', '/home/pi/Desktop/images/03012025/15/35/image_03012025_15_35_02_931672_0000.jpg', '/home/pi/Desktop/images/03012025/15/35/image_03012025_15_35_02_931672_0001.jpg', '/home/pi/Desktop/images/03012025/15/35/image_03012025_15_35_02_931672_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/15/34/image_03012025_15_34_02_778775_0003.jpg
/home/pi/Desktop/images/03012025/15/35/image_03012025_15_35_02_931672_0000.jpg
/home/pi/Desktop/images/03012025/15/35/image_03012025_15_35_02_931672_0001.jpg
/home/pi/Desktop/images/03012025/15/35/image_03012025_15_35_02_931672_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325863233","1325863097","1325863094","1325863100"],"photo_ids_order":["1325863094","1325863097","1325863100","1325863233"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/55c6768142adfd502e7ebfa686f0b6c7.jpg","text":"TemporaryFile(/tmp/multipartBody7774781161614754833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735914993143,"filename":"image_03012025_15_35_02_931672_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c73fc2ae794cc0dd69db0a6053c8c396.jpg","text":"TemporaryFile(/tmp/multipartBody1709210998593052287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735914993143,"filename":"image_03012025_15_35_02_931672_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/44598db799d7da73200afd2192c5ce9e.jpg","text":"TemporaryFile(/tmp/multipartBody6004506209859167907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735914993143,"filename":"image_03012025_15_34_02_778775_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/32fd5ac9f968d7419b19589f619a6bf4.jpg","text":"TemporaryFile(/tmp/multipartBody399553276620850854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735914993143,"filename":"image_03012025_15_35_02_931672_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325863100","file1":"1325863097","file0":"1325863094","file3":"1325863233"},"map_files_photo_id_array":[{"photo_id":"1325863100","filename":"file2"},{"photo_id":"1325863097","filename":"file1"},{"photo_id":"1325863094","filename":"file0"},{"photo_id":"1325863233","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325863233":["hashtag1","hashtag2"]},{"1325863097":["hashtag1","hashtag2"]},{"1325863094":["hashtag1","hashtag2"]},{"1325863100":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325863233, 1325863097, 1325863094, 1325863100)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.51462721824646 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 15:36:21.954410
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/15/35/image_03012025_15_35_02_931672_0003.jpg', '/home/pi/Desktop/images/03012025/15/36/image_03012025_15_36_03_084515_0000.jpg', '/home/pi/Desktop/images/03012025/15/36/image_03012025_15_36_03_084515_0001.jpg', '/home/pi/Desktop/images/03012025/15/36/image_03012025_15_36_03_084515_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/15/35/image_03012025_15_35_02_931672_0003.jpg
/home/pi/Desktop/images/03012025/15/36/image_03012025_15_36_03_084515_0000.jpg
/home/pi/Desktop/images/03012025/15/36/image_03012025_15_36_03_084515_0001.jpg
/home/pi/Desktop/images/03012025/15/36/image_03012025_15_36_03_084515_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.876145839691162 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-03 15:36:41.918798
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/15/35/image_03012025_15_35_02_931672_0003.jpg', '/home/pi/Desktop/images/03012025/15/36/image_03012025_15_36_03_084515_0000.jpg', '/home/pi/Desktop/images/03012025/15/36/image_03012025_15_36_03_084515_0001.jpg', '/home/pi/Desktop/images/03012025/15/36/image_03012025_15_36_03_084515_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/15/35/image_03012025_15_35_02_931672_0003.jpg
/home/pi/Desktop/images/03012025/15/36/image_03012025_15_36_03_084515_0000.jpg
/home/pi/Desktop/images/03012025/15/36/image_03012025_15_36_03_084515_0001.jpg
/home/pi/Desktop/images/03012025/15/36/image_03012025_15_36_03_084515_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325864040","1325864038","1325864032","1325864035"],"photo_ids_order":["1325864032","1325864035","1325864038","1325864040"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/fe478045d91fce7343cf47f70f558275.jpg","text":"TemporaryFile(/tmp/multipartBody6403339472974287885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735915072172,"filename":"image_03012025_15_36_03_084515_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ccf30daff0f39a0d5cd5899082934bba.jpg","text":"TemporaryFile(/tmp/multipartBody4367442887224826284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735915072172,"filename":"image_03012025_15_36_03_084515_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/540b417b0a0a23e405d129cb696e9785.jpg","text":"TemporaryFile(/tmp/multipartBody3378566874583586207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735915072172,"filename":"image_03012025_15_35_02_931672_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ba445e9ee19bd5bf0c0148bf41cc1580.jpg","text":"TemporaryFile(/tmp/multipartBody4752947640157697066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735915072172,"filename":"image_03012025_15_36_03_084515_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325864038","file1":"1325864035","file0":"1325864032","file3":"1325864040"},"map_files_photo_id_array":[{"photo_id":"1325864038","filename":"file2"},{"photo_id":"1325864035","filename":"file1"},{"photo_id":"1325864032","filename":"file0"},{"photo_id":"1325864040","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325864040":["hashtag1","hashtag2"]},{"1325864038":["hashtag1","hashtag2"]},{"1325864032":["hashtag1","hashtag2"]},{"1325864035":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325864040, 1325864038, 1325864032, 1325864035)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.634156942367554 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-03 15:37:32.023482
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/15/36/image_03012025_15_36_03_084515_0003.jpg', '/home/pi/Desktop/images/03012025/15/37/image_03012025_15_37_02_293661_0000.jpg', '/home/pi/Desktop/images/03012025/15/37/image_03012025_15_37_02_293661_0001.jpg', '/home/pi/Desktop/images/03012025/15/37/image_03012025_15_37_02_293661_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/15/36/image_03012025_15_36_03_084515_0003.jpg
/home/pi/Desktop/images/03012025/15/37/image_03012025_15_37_02_293661_0000.jpg
/home/pi/Desktop/images/03012025/15/37/image_03012025_15_37_02_293661_0001.jpg
/home/pi/Desktop/images/03012025/15/37/image_03012025_15_37_02_293661_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325864352","1325864346","1325864349","1325864100"],"photo_ids_order":["1325864100","1325864346","1325864349","1325864352"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b8c86f077e671347f2a9d71956b1390a.jpg","text":"TemporaryFile(/tmp/multipartBody6293036163044239740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735915122285,"filename":"image_03012025_15_37_02_293661_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/74664b6f0df2e5095d5e2a78cf52d422.jpg","text":"TemporaryFile(/tmp/multipartBody7812186629080578961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735915122285,"filename":"image_03012025_15_37_02_293661_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/85acc16d681c16c9a7a27e25178cbb01.jpg","text":"TemporaryFile(/tmp/multipartBody7350976148973756189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735915122285,"filename":"image_03012025_15_37_02_293661_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/385330017ba96c4f9eed097abbecc2af.jpg","text":"TemporaryFile(/tmp/multipartBody2131894443543788025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735915122285,"filename":"image_03012025_15_36_03_084515_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325864349","file1":"1325864346","file0":"1325864100","file3":"1325864352"},"map_files_photo_id_array":[{"photo_id":"1325864349","filename":"file2"},{"photo_id":"1325864346","filename":"file1"},{"photo_id":"1325864100","filename":"file0"},{"photo_id":"1325864352","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325864352":["hashtag1","hashtag2"]},{"1325864346":["hashtag1","hashtag2"]},{"1325864349":["hashtag1","hashtag2"]},{"1325864100":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325864352, 1325864346, 1325864349, 1325864100)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.50966024398804 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 15:38:22.293271
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/15/37/image_03012025_15_37_02_293661_0003.jpg', '/home/pi/Desktop/images/03012025/15/38/image_03012025_15_38_02_407811_0000.jpg', '/home/pi/Desktop/images/03012025/15/38/image_03012025_15_38_02_407811_0001.jpg', '/home/pi/Desktop/images/03012025/15/38/image_03012025_15_38_02_407811_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/15/37/image_03012025_15_37_02_293661_0003.jpg
/home/pi/Desktop/images/03012025/15/38/image_03012025_15_38_02_407811_0000.jpg
/home/pi/Desktop/images/03012025/15/38/image_03012025_15_38_02_407811_0001.jpg
/home/pi/Desktop/images/03012025/15/38/image_03012025_15_38_02_407811_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325864757","1325864486","1325864753","1325864642"],"photo_ids_order":["1325864486","1325864642","1325864753","1325864757"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e271e9aba94fb19a84397c1ac1864bc4.jpg","text":"TemporaryFile(/tmp/multipartBody6235246604018754472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735915172868,"filename":"image_03012025_15_38_02_407811_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/44531175e8ff21d30717f56ae3ec7119.jpg","text":"TemporaryFile(/tmp/multipartBody1836401259351289804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735915172868,"filename":"image_03012025_15_37_02_293661_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/58511db886562cbd6790aeef884a167b.jpg","text":"TemporaryFile(/tmp/multipartBody6906925840607356715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735915172868,"filename":"image_03012025_15_38_02_407811_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5c9a9c5fa784c73fed68b6dd0932e918.jpg","text":"TemporaryFile(/tmp/multipartBody4902223340493268511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735915172868,"filename":"image_03012025_15_38_02_407811_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325864753","file1":"1325864642","file0":"1325864486","file3":"1325864757"},"map_files_photo_id_array":[{"photo_id":"1325864753","filename":"file2"},{"photo_id":"1325864642","filename":"file1"},{"photo_id":"1325864486","filename":"file0"},{"photo_id":"1325864757","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325864757":["hashtag1","hashtag2"]},{"1325864486":["hashtag1","hashtag2"]},{"1325864753":["hashtag1","hashtag2"]},{"1325864642":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325864757, 1325864486, 1325864753, 1325864642)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.52698588371277 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-03 15:39:22.484970
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/15/38/image_03012025_15_38_02_407811_0003.jpg', '/home/pi/Desktop/images/03012025/15/39/image_03012025_15_39_02_599150_0000.jpg', '/home/pi/Desktop/images/03012025/15/39/image_03012025_15_39_02_599150_0001.jpg', '/home/pi/Desktop/images/03012025/15/39/image_03012025_15_39_02_599150_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/15/38/image_03012025_15_38_02_407811_0003.jpg
/home/pi/Desktop/images/03012025/15/39/image_03012025_15_39_02_599150_0000.jpg
/home/pi/Desktop/images/03012025/15/39/image_03012025_15_39_02_599150_0001.jpg
/home/pi/Desktop/images/03012025/15/39/image_03012025_15_39_02_599150_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325865408","1325865371","1325865425","1325865367"],"photo_ids_order":["1325865367","1325865371","1325865408","1325865425"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6f7ea5ff2c1dfe9954870edc77e0aed6.jpg","text":"TemporaryFile(/tmp/multipartBody5274782791450787029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735915233481,"filename":"image_03012025_15_39_02_599150_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/761fc5587cdbc2d3a89c0db963b10f7b.jpg","text":"TemporaryFile(/tmp/multipartBody1378422167498859966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735915233481,"filename":"image_03012025_15_39_02_599150_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6ef94e39022e2c8e974da7764110a025.jpg","text":"TemporaryFile(/tmp/multipartBody8514167897999169153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735915233481,"filename":"image_03012025_15_39_02_599150_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e791b46170fe03607c4f68d505dba5e4.jpg","text":"TemporaryFile(/tmp/multipartBody3970720246177140848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735915233481,"filename":"image_03012025_15_38_02_407811_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325865408","file1":"1325865371","file0":"1325865367","file3":"1325865425"},"map_files_photo_id_array":[{"photo_id":"1325865408","filename":"file2"},{"photo_id":"1325865371","filename":"file1"},{"photo_id":"1325865367","filename":"file0"},{"photo_id":"1325865425","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325865408":["hashtag1","hashtag2"]},{"1325865371":["hashtag1","hashtag2"]},{"1325865425":["hashtag1","hashtag2"]},{"1325865367":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325865408, 1325865371, 1325865425, 1325865367)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.43540287017822 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 15:40:22.611145
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/15/39/image_03012025_15_39_02_599150_0003.jpg', '/home/pi/Desktop/images/03012025/15/40/image_03012025_15_40_02_744627_0000.jpg', '/home/pi/Desktop/images/03012025/15/40/image_03012025_15_40_02_744627_0001.jpg', '/home/pi/Desktop/images/03012025/15/40/image_03012025_15_40_02_744627_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/15/39/image_03012025_15_39_02_599150_0003.jpg
/home/pi/Desktop/images/03012025/15/40/image_03012025_15_40_02_744627_0000.jpg
/home/pi/Desktop/images/03012025/15/40/image_03012025_15_40_02_744627_0001.jpg
/home/pi/Desktop/images/03012025/15/40/image_03012025_15_40_02_744627_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325865436","1325865604","1325865585","1325865447"],"photo_ids_order":["1325865436","1325865447","1325865585","1325865604"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a37d0b424ba0540369cae112cb3a0255.jpg","text":"TemporaryFile(/tmp/multipartBody4446927039416806550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735915293421,"filename":"image_03012025_15_39_02_599150_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/332c97fbd9b44aeee853ba918ed92767.jpg","text":"TemporaryFile(/tmp/multipartBody2119776178681863636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735915293421,"filename":"image_03012025_15_40_02_744627_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/42e5f3fdc847b0d4562a5eb65b3c637c.jpg","text":"TemporaryFile(/tmp/multipartBody712498539863848582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735915293421,"filename":"image_03012025_15_40_02_744627_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1fde2fbc74c0f62cab36e99e4fd40c89.jpg","text":"TemporaryFile(/tmp/multipartBody3902697632142936737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735915293421,"filename":"image_03012025_15_40_02_744627_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325865585","file1":"1325865447","file0":"1325865436","file3":"1325865604"},"map_files_photo_id_array":[{"photo_id":"1325865585","filename":"file2"},{"photo_id":"1325865447","filename":"file1"},{"photo_id":"1325865436","filename":"file0"},{"photo_id":"1325865604","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325865436":["hashtag1","hashtag2"]},{"1325865604":["hashtag1","hashtag2"]},{"1325865585":["hashtag1","hashtag2"]},{"1325865447":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325865436, 1325865604, 1325865585, 1325865447)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.5542688369751 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 15:41:03.402424
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 15:41:22.798765
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/15/40/image_03012025_15_40_02_744627_0003.jpg', '/home/pi/Desktop/images/03012025/15/41/image_03012025_15_41_02_927520_0000.jpg', '/home/pi/Desktop/images/03012025/15/41/image_03012025_15_41_02_927520_0001.jpg', '/home/pi/Desktop/images/03012025/15/41/image_03012025_15_41_02_927520_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/15/40/image_03012025_15_40_02_744627_0003.jpg
/home/pi/Desktop/images/03012025/15/41/image_03012025_15_41_02_927520_0000.jpg
/home/pi/Desktop/images/03012025/15/41/image_03012025_15_41_02_927520_0001.jpg
/home/pi/Desktop/images/03012025/15/41/image_03012025_15_41_02_927520_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325865697","1325865691","1325865694","1325865688"],"photo_ids_order":["1325865688","1325865691","1325865694","1325865697"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0fd35f65f5bf0f2ca12b707a9491ffb9.jpg","text":"TemporaryFile(/tmp/multipartBody2365722279398353178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735915353437,"filename":"image_03012025_15_41_02_927520_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d01303e16c7644d2d00545c928a5c09c.jpg","text":"TemporaryFile(/tmp/multipartBody5694638446932230314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735915353437,"filename":"image_03012025_15_41_02_927520_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d47d14fa23d67e7ad1d093fe9a3aa93d.jpg","text":"TemporaryFile(/tmp/multipartBody6090384161974093225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735915353437,"filename":"image_03012025_15_41_02_927520_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/61b25ff0cc94ac17fce8a562973cdbbd.jpg","text":"TemporaryFile(/tmp/multipartBody7889083402628916036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735915353437,"filename":"image_03012025_15_40_02_744627_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325865694","file1":"1325865691","file0":"1325865688","file3":"1325865697"},"map_files_photo_id_array":[{"photo_id":"1325865694","filename":"file2"},{"photo_id":"1325865691","filename":"file1"},{"photo_id":"1325865688","filename":"file0"},{"photo_id":"1325865697","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325865697":["hashtag1","hashtag2"]},{"1325865691":["hashtag1","hashtag2"]},{"1325865694":["hashtag1","hashtag2"]},{"1325865688":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325865697, 1325865691, 1325865694, 1325865688)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.34703278541565 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 15:42:22.010916
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/15/41/image_03012025_15_41_02_927520_0003.jpg', '/home/pi/Desktop/images/03012025/15/42/image_03012025_15_42_03_069864_0000.jpg', '/home/pi/Desktop/images/03012025/15/42/image_03012025_15_42_03_069864_0001.jpg', '/home/pi/Desktop/images/03012025/15/42/image_03012025_15_42_03_069864_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/15/41/image_03012025_15_41_02_927520_0003.jpg
/home/pi/Desktop/images/03012025/15/42/image_03012025_15_42_03_069864_0000.jpg
/home/pi/Desktop/images/03012025/15/42/image_03012025_15_42_03_069864_0001.jpg
/home/pi/Desktop/images/03012025/15/42/image_03012025_15_42_03_069864_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325866016","1325866019","1325866011","1325866008"],"photo_ids_order":["1325866008","1325866011","1325866016","1325866019"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/97432a69642a6d7e50f2ac05376d1d7a.jpg","text":"TemporaryFile(/tmp/multipartBody6983741105345434261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735915412339,"filename":"image_03012025_15_42_03_069864_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/575b78b95cf00566dfe3d8e996a4530d.jpg","text":"TemporaryFile(/tmp/multipartBody768480650232597638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735915412339,"filename":"image_03012025_15_42_03_069864_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a21feffc716b0f88cc4cf1c06f4e58d7.jpg","text":"TemporaryFile(/tmp/multipartBody4480289604537067066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735915412339,"filename":"image_03012025_15_42_03_069864_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/eb600df4153f5d7e53c91a9d63fe1466.jpg","text":"TemporaryFile(/tmp/multipartBody1371829313873168313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735915412339,"filename":"image_03012025_15_41_02_927520_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325866016","file1":"1325866011","file0":"1325866008","file3":"1325866019"},"map_files_photo_id_array":[{"photo_id":"1325866016","filename":"file2"},{"photo_id":"1325866011","filename":"file1"},{"photo_id":"1325866008","filename":"file0"},{"photo_id":"1325866019","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325866016":["hashtag1","hashtag2"]},{"1325866019":["hashtag1","hashtag2"]},{"1325866011":["hashtag1","hashtag2"]},{"1325866008":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325866016, 1325866019, 1325866011, 1325866008)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.252655267715454 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 15:43:02.696766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 15:43:22.053401
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/15/42/image_03012025_15_42_03_069864_0003.jpg', '/home/pi/Desktop/images/03012025/15/43/image_03012025_15_43_02_319768_0000.jpg', '/home/pi/Desktop/images/03012025/15/43/image_03012025_15_43_02_319768_0001.jpg', '/home/pi/Desktop/images/03012025/15/43/image_03012025_15_43_02_319768_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/15/42/image_03012025_15_42_03_069864_0003.jpg
/home/pi/Desktop/images/03012025/15/43/image_03012025_15_43_02_319768_0000.jpg
/home/pi/Desktop/images/03012025/15/43/image_03012025_15_43_02_319768_0001.jpg
/home/pi/Desktop/images/03012025/15/43/image_03012025_15_43_02_319768_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325866061","1325866057","1325866065","1325866070"],"photo_ids_order":["1325866057","1325866061","1325866065","1325866070"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b5123c0487debb40a604aa8889627db1.jpg","text":"TemporaryFile(/tmp/multipartBody6699605049080176846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735915472531,"filename":"image_03012025_15_43_02_319768_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f36805373f654422961d05c4c320c7c3.jpg","text":"TemporaryFile(/tmp/multipartBody8916609800350023392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735915472531,"filename":"image_03012025_15_42_03_069864_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a102d93957584b07c05a5458e02cd09f.jpg","text":"TemporaryFile(/tmp/multipartBody8847549041020004142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735915472531,"filename":"image_03012025_15_43_02_319768_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/353c3b3275bb7f3b2fd4901f4411f9ad.jpg","text":"TemporaryFile(/tmp/multipartBody7879725141469020800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735915472531,"filename":"image_03012025_15_43_02_319768_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325866065","file1":"1325866061","file0":"1325866057","file3":"1325866070"},"map_files_photo_id_array":[{"photo_id":"1325866065","filename":"file2"},{"photo_id":"1325866061","filename":"file1"},{"photo_id":"1325866057","filename":"file0"},{"photo_id":"1325866070","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325866061":["hashtag1","hashtag2"]},{"1325866057":["hashtag1","hashtag2"]},{"1325866065":["hashtag1","hashtag2"]},{"1325866070":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325866061, 1325866057, 1325866065, 1325866070)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.708261489868164 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 15:44:22.199716
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/15/43/image_03012025_15_43_02_319768_0003.jpg', '/home/pi/Desktop/images/03012025/15/44/image_03012025_15_44_02_533760_0000.jpg', '/home/pi/Desktop/images/03012025/15/44/image_03012025_15_44_02_533760_0001.jpg', '/home/pi/Desktop/images/03012025/15/44/image_03012025_15_44_02_533760_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/15/43/image_03012025_15_43_02_319768_0003.jpg
/home/pi/Desktop/images/03012025/15/44/image_03012025_15_44_02_533760_0000.jpg
/home/pi/Desktop/images/03012025/15/44/image_03012025_15_44_02_533760_0001.jpg
/home/pi/Desktop/images/03012025/15/44/image_03012025_15_44_02_533760_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325866625","1325866628","1325866582","1325866586"],"photo_ids_order":["1325866582","1325866586","1325866625","1325866628"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/fef8068377de0be12bd0846ef1e319bb.jpg","text":"TemporaryFile(/tmp/multipartBody6405980428933698010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735915532690,"filename":"image_03012025_15_44_02_533760_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d658e5803dcfaea0a0b847f40462cba6.jpg","text":"TemporaryFile(/tmp/multipartBody391962413765922639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735915532690,"filename":"image_03012025_15_44_02_533760_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/aead754fa78462e61792166874600c3b.jpg","text":"TemporaryFile(/tmp/multipartBody3062910338700739334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735915532690,"filename":"image_03012025_15_43_02_319768_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/93faecee73258ecaf372b7e597afdd77.jpg","text":"TemporaryFile(/tmp/multipartBody5221333312680108573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735915532690,"filename":"image_03012025_15_44_02_533760_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325866625","file1":"1325866586","file0":"1325866582","file3":"1325866628"},"map_files_photo_id_array":[{"photo_id":"1325866625","filename":"file2"},{"photo_id":"1325866586","filename":"file1"},{"photo_id":"1325866582","filename":"file0"},{"photo_id":"1325866628","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325866625":["hashtag1","hashtag2"]},{"1325866628":["hashtag1","hashtag2"]},{"1325866582":["hashtag1","hashtag2"]},{"1325866586":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325866625, 1325866628, 1325866582, 1325866586)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.9533371925354 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 15:45:03.079697
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 15:45:22.482502
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/15/44/image_03012025_15_44_02_533760_0003.jpg', '/home/pi/Desktop/images/03012025/15/45/image_03012025_15_45_02_589524_0000.jpg', '/home/pi/Desktop/images/03012025/15/45/image_03012025_15_45_02_589524_0001.jpg', '/home/pi/Desktop/images/03012025/15/45/image_03012025_15_45_02_589524_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/15/44/image_03012025_15_44_02_533760_0003.jpg
/home/pi/Desktop/images/03012025/15/45/image_03012025_15_45_02_589524_0000.jpg
/home/pi/Desktop/images/03012025/15/45/image_03012025_15_45_02_589524_0001.jpg
/home/pi/Desktop/images/03012025/15/45/image_03012025_15_45_02_589524_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325867470","1325867566","1325867466","1325867570"],"photo_ids_order":["1325867466","1325867470","1325867566","1325867570"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6a863563a8d2137eae7ae36a6a566ce5.jpg","text":"TemporaryFile(/tmp/multipartBody434862345294679436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735915592988,"filename":"image_03012025_15_45_02_589524_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f11462ff090c0ab73662529ff246c6e2.jpg","text":"TemporaryFile(/tmp/multipartBody329619358044868071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735915592988,"filename":"image_03012025_15_45_02_589524_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4afece03eb190ef09cb79330d53cc109.jpg","text":"TemporaryFile(/tmp/multipartBody7947774616485072502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735915592988,"filename":"image_03012025_15_44_02_533760_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3437cb75dcf67f8d7e8be7ada8945995.jpg","text":"TemporaryFile(/tmp/multipartBody6529352786978028144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735915592988,"filename":"image_03012025_15_45_02_589524_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325867566","file1":"1325867470","file0":"1325867466","file3":"1325867570"},"map_files_photo_id_array":[{"photo_id":"1325867566","filename":"file2"},{"photo_id":"1325867470","filename":"file1"},{"photo_id":"1325867466","filename":"file0"},{"photo_id":"1325867570","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325867470":["hashtag1","hashtag2"]},{"1325867566":["hashtag1","hashtag2"]},{"1325867466":["hashtag1","hashtag2"]},{"1325867570":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325867470, 1325867566, 1325867466, 1325867570)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.58702063560486 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-03 15:46:22.580594
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/15/45/image_03012025_15_45_02_589524_0003.jpg', '/home/pi/Desktop/images/03012025/15/46/image_03012025_15_46_02_781851_0000.jpg', '/home/pi/Desktop/images/03012025/15/46/image_03012025_15_46_02_781851_0001.jpg', '/home/pi/Desktop/images/03012025/15/46/image_03012025_15_46_02_781851_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/15/45/image_03012025_15_45_02_589524_0003.jpg
/home/pi/Desktop/images/03012025/15/46/image_03012025_15_46_02_781851_0000.jpg
/home/pi/Desktop/images/03012025/15/46/image_03012025_15_46_02_781851_0001.jpg
/home/pi/Desktop/images/03012025/15/46/image_03012025_15_46_02_781851_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325867911","1325867961","1325868000","1325867993"],"photo_ids_order":["1325867911","1325867961","1325867993","1325868000"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/56c38012c506de9f81c1d43305ab8b53.jpg","text":"TemporaryFile(/tmp/multipartBody1147717650593258785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735915652949,"filename":"image_03012025_15_45_02_589524_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c1138a708d709b6d51abe29342cc14ed.jpg","text":"TemporaryFile(/tmp/multipartBody2877979104326405013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735915652949,"filename":"image_03012025_15_46_02_781851_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/fe984a1b69fefe1b36137e43abaceb0d.jpg","text":"TemporaryFile(/tmp/multipartBody3634665591893740240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735915652949,"filename":"image_03012025_15_46_02_781851_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/df5c547264dbd76d568fe09ff330eb23.jpg","text":"TemporaryFile(/tmp/multipartBody6518750178832130831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735915652949,"filename":"image_03012025_15_46_02_781851_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325867993","file1":"1325867961","file0":"1325867911","file3":"1325868000"},"map_files_photo_id_array":[{"photo_id":"1325867993","filename":"file2"},{"photo_id":"1325867961","filename":"file1"},{"photo_id":"1325867911","filename":"file0"},{"photo_id":"1325868000","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325867911":["hashtag1","hashtag2"]},{"1325867961":["hashtag1","hashtag2"]},{"1325868000":["hashtag1","hashtag2"]},{"1325867993":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325867911, 1325867961, 1325868000, 1325867993)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.91974687576294 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 15:47:22.752310
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/15/46/image_03012025_15_46_02_781851_0003.jpg', '/home/pi/Desktop/images/03012025/15/47/image_03012025_15_47_02_979883_0000.jpg', '/home/pi/Desktop/images/03012025/15/47/image_03012025_15_47_02_979883_0001.jpg', '/home/pi/Desktop/images/03012025/15/47/image_03012025_15_47_02_979883_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/15/46/image_03012025_15_46_02_781851_0003.jpg
/home/pi/Desktop/images/03012025/15/47/image_03012025_15_47_02_979883_0000.jpg
/home/pi/Desktop/images/03012025/15/47/image_03012025_15_47_02_979883_0001.jpg
/home/pi/Desktop/images/03012025/15/47/image_03012025_15_47_02_979883_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.775721311569214 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-03 15:47:42.736555
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/15/46/image_03012025_15_46_02_781851_0003.jpg', '/home/pi/Desktop/images/03012025/15/47/image_03012025_15_47_02_979883_0000.jpg', '/home/pi/Desktop/images/03012025/15/47/image_03012025_15_47_02_979883_0001.jpg', '/home/pi/Desktop/images/03012025/15/47/image_03012025_15_47_02_979883_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/15/46/image_03012025_15_46_02_781851_0003.jpg
/home/pi/Desktop/images/03012025/15/47/image_03012025_15_47_02_979883_0000.jpg
/home/pi/Desktop/images/03012025/15/47/image_03012025_15_47_02_979883_0001.jpg
/home/pi/Desktop/images/03012025/15/47/image_03012025_15_47_02_979883_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":["1325868321","1325868260","1325868203","1325868410"],"photo_ids_order":["1325868203","1325868260","1325868321","1325868410"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/23309ac1d3e7d580c9f6cfda7c46d1b4.jpg","text":"TemporaryFile(/tmp/multipartBody7110356681084030534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735915732908,"filename":"image_03012025_15_47_02_979883_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/40870ae6880257b486d0d308593080c2.jpg","text":"TemporaryFile(/tmp/multipartBody4691706306193352836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735915732908,"filename":"image_03012025_15_47_02_979883_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/01e2c15d4a57df1c292441a7b562a89f.jpg","text":"TemporaryFile(/tmp/multipartBody2795241205790709823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735915732908,"filename":"image_03012025_15_46_02_781851_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/df3d218b60ed9407f3e916c062aed060.jpg","text":"TemporaryFile(/tmp/multipartBody7492125192232162672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735915732908,"filename":"image_03012025_15_47_02_979883_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325868321","file1":"1325868260","file0":"1325868203","file3":"1325868410"},"map_files_photo_id_array":[{"photo_id":"1325868321","filename":"file2"},{"photo_id":"1325868260","filename":"file1"},{"photo_id":"1325868203","filename":"file0"},{"photo_id":"1325868410","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325868321":["hashtag1","hashtag2"]},{"1325868260":["hashtag1","hashtag2"]},{"1325868203":["hashtag1","hashtag2"]},{"1325868410":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325868321, 1325868260, 1325868203, 1325868410)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.53616404533386 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-03 15:48:31.899977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/15/47/image_03012025_15_47_02_979883_0003.jpg', '/home/pi/Desktop/images/03012025/15/48/image_03012025_15_48_03_109057_0000.jpg', '/home/pi/Desktop/images/03012025/15/48/image_03012025_15_48_03_109057_0001.jpg', '/home/pi/Desktop/images/03012025/15/48/image_03012025_15_48_03_109057_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/15/47/image_03012025_15_47_02_979883_0003.jpg
/home/pi/Desktop/images/03012025/15/48/image_03012025_15_48_03_109057_0000.jpg
/home/pi/Desktop/images/03012025/15/48/image_03012025_15_48_03_109057_0001.jpg
/home/pi/Desktop/images/03012025/15/48/image_03012025_15_48_03_109057_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325869102","1325869140","1325869142","1325869354"],"photo_ids_order":["1325869102","1325869140","1325869142","1325869354"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1329888d25161e4de675bb583c4cea8c.jpg","text":"TemporaryFile(/tmp/multipartBody7979073040249208945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735915782369,"filename":"image_03012025_15_47_02_979883_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9e9164cf725db073333eccc18441eaf5.jpg","text":"TemporaryFile(/tmp/multipartBody2059580401484085850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735915782369,"filename":"image_03012025_15_48_03_109057_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/21508d860aee5595240ac0c0de188c14.jpg","text":"TemporaryFile(/tmp/multipartBody3250092433058832945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735915782369,"filename":"image_03012025_15_48_03_109057_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c817bf60c7ab026c0bbad4bd28d9a8d4.jpg","text":"TemporaryFile(/tmp/multipartBody1405342616728438406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735915782369,"filename":"image_03012025_15_48_03_109057_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325869142","file1":"1325869140","file0":"1325869102","file3":"1325869354"},"map_files_photo_id_array":[{"photo_id":"1325869142","filename":"file2"},{"photo_id":"1325869140","filename":"file1"},{"photo_id":"1325869102","filename":"file0"},{"photo_id":"1325869354","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325869102":["hashtag1","hashtag2"]},{"1325869140":["hashtag1","hashtag2"]},{"1325869142":["hashtag1","hashtag2"]},{"1325869354":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325869102, 1325869140, 1325869142, 1325869354)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.3403263092041 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 15:49:22.076214
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/15/48/image_03012025_15_48_03_109057_0003.jpg', '/home/pi/Desktop/images/03012025/15/49/image_03012025_15_49_02_254407_0000.jpg', '/home/pi/Desktop/images/03012025/15/49/image_03012025_15_49_02_254407_0001.jpg', '/home/pi/Desktop/images/03012025/15/49/image_03012025_15_49_02_254407_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/15/48/image_03012025_15_48_03_109057_0003.jpg
/home/pi/Desktop/images/03012025/15/49/image_03012025_15_49_02_254407_0000.jpg
/home/pi/Desktop/images/03012025/15/49/image_03012025_15_49_02_254407_0001.jpg
/home/pi/Desktop/images/03012025/15/49/image_03012025_15_49_02_254407_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325869997","1325869877","1325869882","1325869942"],"photo_ids_order":["1325869877","1325869882","1325869942","1325869997"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7f70dc5c0e5c7c83dfd21974e67e59b3.jpg","text":"TemporaryFile(/tmp/multipartBody707556869980259210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735915832324,"filename":"image_03012025_15_49_02_254407_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b1a0f35e5a3efe68f6ef90e8a2f028ed.jpg","text":"TemporaryFile(/tmp/multipartBody4995120338918496101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735915832324,"filename":"image_03012025_15_48_03_109057_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/86ed7d8feac0d0e091a51bcfc1c5cef1.jpg","text":"TemporaryFile(/tmp/multipartBody1526655933380279938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735915832324,"filename":"image_03012025_15_49_02_254407_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/141e06fecd3a5b000a8b3bbb2bf6ddda.jpg","text":"TemporaryFile(/tmp/multipartBody2044056165771199113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735915832324,"filename":"image_03012025_15_49_02_254407_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325869942","file1":"1325869882","file0":"1325869877","file3":"1325869997"},"map_files_photo_id_array":[{"photo_id":"1325869942","filename":"file2"},{"photo_id":"1325869882","filename":"file1"},{"photo_id":"1325869877","filename":"file0"},{"photo_id":"1325869997","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325869997":["hashtag1","hashtag2"]},{"1325869877":["hashtag1","hashtag2"]},{"1325869882":["hashtag1","hashtag2"]},{"1325869942":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325869997, 1325869877, 1325869882, 1325869942)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.50397777557373 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 15:50:02.836428
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 15:50:22.248151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/15/49/image_03012025_15_49_02_254407_0003.jpg', '/home/pi/Desktop/images/03012025/15/50/image_03012025_15_50_02_553623_0000.jpg', '/home/pi/Desktop/images/03012025/15/50/image_03012025_15_50_02_553623_0001.jpg', '/home/pi/Desktop/images/03012025/15/50/image_03012025_15_50_02_553623_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/15/49/image_03012025_15_49_02_254407_0003.jpg
/home/pi/Desktop/images/03012025/15/50/image_03012025_15_50_02_553623_0000.jpg
/home/pi/Desktop/images/03012025/15/50/image_03012025_15_50_02_553623_0001.jpg
/home/pi/Desktop/images/03012025/15/50/image_03012025_15_50_02_553623_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325870011","1325870014","1325870016","1325870009"],"photo_ids_order":["1325870009","1325870011","1325870014","1325870016"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/fc76b6331203824b8a1183699aa21e4e.jpg","text":"TemporaryFile(/tmp/multipartBody4010861102600402043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735915892397,"filename":"image_03012025_15_50_02_553623_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/65c92f6eff5bacb13e8543d1255f9f12.jpg","text":"TemporaryFile(/tmp/multipartBody3732926864700317981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735915892397,"filename":"image_03012025_15_50_02_553623_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d4d34731942de475a2a37ee22215ceb9.jpg","text":"TemporaryFile(/tmp/multipartBody6299197333406974271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735915892397,"filename":"image_03012025_15_50_02_553623_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b67386704da41e311f9722b5acd24b8d.jpg","text":"TemporaryFile(/tmp/multipartBody1503431928572748503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735915892397,"filename":"image_03012025_15_49_02_254407_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325870014","file1":"1325870011","file0":"1325870009","file3":"1325870016"},"map_files_photo_id_array":[{"photo_id":"1325870014","filename":"file2"},{"photo_id":"1325870011","filename":"file1"},{"photo_id":"1325870009","filename":"file0"},{"photo_id":"1325870016","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325870011":["hashtag1","hashtag2"]},{"1325870014":["hashtag1","hashtag2"]},{"1325870016":["hashtag1","hashtag2"]},{"1325870009":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325870011, 1325870014, 1325870016, 1325870009)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.97654485702515 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 15:51:03.085673
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 15:51:22.375392
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/15/50/image_03012025_15_50_02_553623_0003.jpg', '/home/pi/Desktop/images/03012025/15/51/image_03012025_15_51_02_579051_0000.jpg', '/home/pi/Desktop/images/03012025/15/51/image_03012025_15_51_02_579051_0001.jpg', '/home/pi/Desktop/images/03012025/15/51/image_03012025_15_51_02_579051_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/15/50/image_03012025_15_50_02_553623_0003.jpg
/home/pi/Desktop/images/03012025/15/51/image_03012025_15_51_02_579051_0000.jpg
/home/pi/Desktop/images/03012025/15/51/image_03012025_15_51_02_579051_0001.jpg
/home/pi/Desktop/images/03012025/15/51/image_03012025_15_51_02_579051_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325870917","1325870856","1325870912","1325870915"],"photo_ids_order":["1325870856","1325870912","1325870915","1325870917"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/45fab0df082e8179468ff12cd09007e8.jpg","text":"TemporaryFile(/tmp/multipartBody4276663296233431076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735915952708,"filename":"image_03012025_15_51_02_579051_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/19a2e9c22d933c340820d70f519883d0.jpg","text":"TemporaryFile(/tmp/multipartBody5671051654316641575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735915952708,"filename":"image_03012025_15_50_02_553623_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/85d3cf0bb0ffd0825a41944927a57ecc.jpg","text":"TemporaryFile(/tmp/multipartBody6061730951856253034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735915952708,"filename":"image_03012025_15_51_02_579051_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8dd741ddc8c9cb09b402ed6d5cf53739.jpg","text":"TemporaryFile(/tmp/multipartBody454081168023798779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735915952708,"filename":"image_03012025_15_51_02_579051_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325870915","file1":"1325870912","file0":"1325870856","file3":"1325870917"},"map_files_photo_id_array":[{"photo_id":"1325870915","filename":"file2"},{"photo_id":"1325870912","filename":"file1"},{"photo_id":"1325870856","filename":"file0"},{"photo_id":"1325870917","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325870917":["hashtag1","hashtag2"]},{"1325870856":["hashtag1","hashtag2"]},{"1325870912":["hashtag1","hashtag2"]},{"1325870915":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325870917, 1325870856, 1325870912, 1325870915)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.09131669998169 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 15:52:02.958270
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 15:52:22.559869
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/15/51/image_03012025_15_51_02_579051_0003.jpg', '/home/pi/Desktop/images/03012025/15/52/image_03012025_15_52_02_805258_0000.jpg', '/home/pi/Desktop/images/03012025/15/52/image_03012025_15_52_02_805258_0001.jpg', '/home/pi/Desktop/images/03012025/15/52/image_03012025_15_52_02_805258_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/15/51/image_03012025_15_51_02_579051_0003.jpg
/home/pi/Desktop/images/03012025/15/52/image_03012025_15_52_02_805258_0000.jpg
/home/pi/Desktop/images/03012025/15/52/image_03012025_15_52_02_805258_0001.jpg
/home/pi/Desktop/images/03012025/15/52/image_03012025_15_52_02_805258_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325872200","1325871830","1325872147","1325872170"],"photo_ids_order":["1325871830","1325872147","1325872170","1325872200"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2040628fde6550057bdfe7c360b7e478.jpg","text":"TemporaryFile(/tmp/multipartBody2622619119512850092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735916012869,"filename":"image_03012025_15_52_02_805258_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f3c9d825c02d755330a398b56a934242.jpg","text":"TemporaryFile(/tmp/multipartBody5613689266548014754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735916012869,"filename":"image_03012025_15_51_02_579051_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e254bfbd91fcbf5b7746c0d36bf445e2.jpg","text":"TemporaryFile(/tmp/multipartBody7005781063019391029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735916012869,"filename":"image_03012025_15_52_02_805258_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9eba63f2103d9b81965fa581f32beb52.jpg","text":"TemporaryFile(/tmp/multipartBody949883985471324268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735916012869,"filename":"image_03012025_15_52_02_805258_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325872170","file1":"1325872147","file0":"1325871830","file3":"1325872200"},"map_files_photo_id_array":[{"photo_id":"1325872170","filename":"file2"},{"photo_id":"1325872147","filename":"file1"},{"photo_id":"1325871830","filename":"file0"},{"photo_id":"1325872200","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325872200":["hashtag1","hashtag2"]},{"1325871830":["hashtag1","hashtag2"]},{"1325872147":["hashtag1","hashtag2"]},{"1325872170":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325872200, 1325871830, 1325872147, 1325872170)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.57846164703369 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 15:53:22.806762
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/15/52/image_03012025_15_52_02_805258_0003.jpg', '/home/pi/Desktop/images/03012025/15/53/image_03012025_15_53_02_995716_0000.jpg', '/home/pi/Desktop/images/03012025/15/53/image_03012025_15_53_02_995716_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/15/52/image_03012025_15_52_02_805258_0003.jpg
/home/pi/Desktop/images/03012025/15/53/image_03012025_15_53_02_995716_0000.jpg
/home/pi/Desktop/images/03012025/15/53/image_03012025_15_53_02_995716_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":["1325873007","1325872919","1325873004"],"photo_ids_order":["1325872919","1325873004","1325873007"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/db7b26ec584302c1486bffd13f05307d.jpg","text":"TemporaryFile(/tmp/multipartBody6679932528521953264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735916070808,"filename":"image_03012025_15_53_02_995716_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/988df2479f432cc9c6af0f65ed6702d3.jpg","text":"TemporaryFile(/tmp/multipartBody5590044398219087054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735916070808,"filename":"image_03012025_15_52_02_805258_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ad9e06c8de51641408c4a60ead69fea4.jpg","text":"TemporaryFile(/tmp/multipartBody9000548611786842714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735916070808,"filename":"image_03012025_15_53_02_995716_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325873007","file1":"1325873004","file0":"1325872919"},"map_files_photo_id_array":[{"photo_id":"1325873007","filename":"file2"},{"photo_id":"1325873004","filename":"file1"},{"photo_id":"1325872919","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325873007":["hashtag1","hashtag2"]},{"1325872919":["hashtag1","hashtag2"]},{"1325873004":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325873007, 1325872919, 1325873004)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.267011404037476 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 15:54:02.371828
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 15:54:22.011226
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/15/53/image_03012025_15_53_02_995716_0002.jpg', '/home/pi/Desktop/images/03012025/15/54/image_03012025_15_54_03_223358_0000.jpg', '/home/pi/Desktop/images/03012025/15/54/image_03012025_15_54_03_223358_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/15/53/image_03012025_15_53_02_995716_0002.jpg
/home/pi/Desktop/images/03012025/15/54/image_03012025_15_54_03_223358_0000.jpg
/home/pi/Desktop/images/03012025/15/54/image_03012025_15_54_03_223358_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":["1325873372","1325873044","1325873469"],"photo_ids_order":["1325873044","1325873372","1325873469"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/67f82f1fd4563f526e6bf6df883bea13.jpg","text":"TemporaryFile(/tmp/multipartBody4028934291595044464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735916129902,"filename":"image_03012025_15_54_03_223358_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/60db265973806782a88740e67280b506.jpg","text":"TemporaryFile(/tmp/multipartBody24490652250822955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735916129902,"filename":"image_03012025_15_53_02_995716_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c60fce6ba20f7e91d0310b7eccc90a7c.jpg","text":"TemporaryFile(/tmp/multipartBody8260777689725627480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735916129902,"filename":"image_03012025_15_54_03_223358_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325873469","file1":"1325873372","file0":"1325873044"},"map_files_photo_id_array":[{"photo_id":"1325873469","filename":"file2"},{"photo_id":"1325873372","filename":"file1"},{"photo_id":"1325873044","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325873372":["hashtag1","hashtag2"]},{"1325873044":["hashtag1","hashtag2"]},{"1325873469":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325873372, 1325873044, 1325873469)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.854217767715454 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 15:55:02.767312
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 15:55:22.221290
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/15/54/image_03012025_15_54_03_223358_0003.jpg', '/home/pi/Desktop/images/03012025/15/55/image_03012025_15_55_02_287590_0000.jpg', '/home/pi/Desktop/images/03012025/15/55/image_03012025_15_55_02_287590_0001.jpg', '/home/pi/Desktop/images/03012025/15/55/image_03012025_15_55_02_287590_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/15/54/image_03012025_15_54_03_223358_0003.jpg
/home/pi/Desktop/images/03012025/15/55/image_03012025_15_55_02_287590_0000.jpg
/home/pi/Desktop/images/03012025/15/55/image_03012025_15_55_02_287590_0001.jpg
/home/pi/Desktop/images/03012025/15/55/image_03012025_15_55_02_287590_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325873912","1325874330","1325874033","1325874386"],"photo_ids_order":["1325873912","1325874033","1325874330","1325874386"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e85b97de5779ee196b5d41e6fd4cf59a.jpg","text":"TemporaryFile(/tmp/multipartBody8307829266094686987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735916192429,"filename":"image_03012025_15_54_03_223358_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/39b751a0ed3dd31d66b853215c5df1d2.jpg","text":"TemporaryFile(/tmp/multipartBody8516953592058405652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735916192429,"filename":"image_03012025_15_55_02_287590_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b6cdc4b88064d744c722a634e2b4253d.jpg","text":"TemporaryFile(/tmp/multipartBody1953164432382694350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735916192429,"filename":"image_03012025_15_55_02_287590_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0332f43c6d3849e858fa1d0b32a340aa.jpg","text":"TemporaryFile(/tmp/multipartBody6811257076637704493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735916192429,"filename":"image_03012025_15_55_02_287590_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325874330","file1":"1325874033","file0":"1325873912","file3":"1325874386"},"map_files_photo_id_array":[{"photo_id":"1325874330","filename":"file2"},{"photo_id":"1325874033","filename":"file1"},{"photo_id":"1325873912","filename":"file0"},{"photo_id":"1325874386","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325873912":["hashtag1","hashtag2"]},{"1325874330":["hashtag1","hashtag2"]},{"1325874033":["hashtag1","hashtag2"]},{"1325874386":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325873912, 1325874330, 1325874033, 1325874386)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.43306255340576 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 15:56:02.822523
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 15:56:22.341161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/15/55/image_03012025_15_55_02_287590_0003.jpg', '/home/pi/Desktop/images/03012025/15/56/image_03012025_15_56_02_502739_0000.jpg', '/home/pi/Desktop/images/03012025/15/56/image_03012025_15_56_02_502739_0001.jpg', '/home/pi/Desktop/images/03012025/15/56/image_03012025_15_56_02_502739_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/15/55/image_03012025_15_55_02_287590_0003.jpg
/home/pi/Desktop/images/03012025/15/56/image_03012025_15_56_02_502739_0000.jpg
/home/pi/Desktop/images/03012025/15/56/image_03012025_15_56_02_502739_0001.jpg
/home/pi/Desktop/images/03012025/15/56/image_03012025_15_56_02_502739_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325874704","1325874707","1325874727","1325874992"],"photo_ids_order":["1325874704","1325874707","1325874727","1325874992"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a019c0c961caf46c8dd530629f6aa906.jpg","text":"TemporaryFile(/tmp/multipartBody2010910368190864209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735916252520,"filename":"image_03012025_15_55_02_287590_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b5864a94b7cf7b806fd8fe2cc60b11d5.jpg","text":"TemporaryFile(/tmp/multipartBody6769316474495338869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735916252520,"filename":"image_03012025_15_56_02_502739_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/270e16243d3d99f905fc1430382eb44b.jpg","text":"TemporaryFile(/tmp/multipartBody1257363761173064612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735916252520,"filename":"image_03012025_15_56_02_502739_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4d427a445e958c2aa59916b1fe93d232.jpg","text":"TemporaryFile(/tmp/multipartBody7065909502531939276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735916252520,"filename":"image_03012025_15_56_02_502739_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325874727","file1":"1325874707","file0":"1325874704","file3":"1325874992"},"map_files_photo_id_array":[{"photo_id":"1325874727","filename":"file2"},{"photo_id":"1325874707","filename":"file1"},{"photo_id":"1325874704","filename":"file0"},{"photo_id":"1325874992","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325874704":["hashtag1","hashtag2"]},{"1325874707":["hashtag1","hashtag2"]},{"1325874727":["hashtag1","hashtag2"]},{"1325874992":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325874704, 1325874707, 1325874727, 1325874992)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.17176055908203 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 15:57:22.524620
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/15/56/image_03012025_15_56_02_502739_0003.jpg', '/home/pi/Desktop/images/03012025/15/57/image_03012025_15_57_02_689973_0000.jpg', '/home/pi/Desktop/images/03012025/15/57/image_03012025_15_57_02_689973_0001.jpg', '/home/pi/Desktop/images/03012025/15/57/image_03012025_15_57_02_689973_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/15/56/image_03012025_15_56_02_502739_0003.jpg
/home/pi/Desktop/images/03012025/15/57/image_03012025_15_57_02_689973_0000.jpg
/home/pi/Desktop/images/03012025/15/57/image_03012025_15_57_02_689973_0001.jpg
/home/pi/Desktop/images/03012025/15/57/image_03012025_15_57_02_689973_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-03 15:59:02.549719
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/15/56/image_03012025_15_56_02_502739_0003.jpg', '/home/pi/Desktop/images/03012025/15/57/image_03012025_15_57_02_689973_0000.jpg', '/home/pi/Desktop/images/03012025/15/57/image_03012025_15_57_02_689973_0001.jpg', '/home/pi/Desktop/images/03012025/15/57/image_03012025_15_57_02_689973_0002.jpg', '/home/pi/Desktop/images/03012025/15/57/image_03012025_15_57_02_689973_0003.jpg', '/home/pi/Desktop/images/03012025/15/58/image_03012025_15_58_02_884819_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/15/56/image_03012025_15_56_02_502739_0003.jpg
/home/pi/Desktop/images/03012025/15/57/image_03012025_15_57_02_689973_0000.jpg
/home/pi/Desktop/images/03012025/15/57/image_03012025_15_57_02_689973_0001.jpg
/home/pi/Desktop/images/03012025/15/57/image_03012025_15_57_02_689973_0002.jpg
/home/pi/Desktop/images/03012025/15/57/image_03012025_15_57_02_689973_0003.jpg
/home/pi/Desktop/images/03012025/15/58/image_03012025_15_58_02_884819_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325876844","1325876780","1325876783","1325876705","1325876869","1325876776"],"photo_ids_order":["1325876705","1325876776","1325876780","1325876783","1325876844","1325876869"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e4c3c340f29c66e0de7004a33c634a58.jpg","text":"TemporaryFile(/tmp/multipartBody5664466730378430437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735916417920,"filename":"image_03012025_15_57_02_689973_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/62eb890e52e505217c681f91766574db.jpg","text":"TemporaryFile(/tmp/multipartBody5945168485359195083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735916417920,"filename":"image_03012025_15_57_02_689973_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ed8150c46a995ba443ce0c521e21ba83.jpg","text":"TemporaryFile(/tmp/multipartBody8300509767106639379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735916417920,"filename":"image_03012025_15_57_02_689973_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3598cabed01f3fa0fd120a6b3575d7b7.jpg","text":"TemporaryFile(/tmp/multipartBody7947699706274856783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735916417920,"filename":"image_03012025_15_56_02_502739_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/444f01242c5696f14d6b2a27c82b0f29.jpg","text":"TemporaryFile(/tmp/multipartBody7673946134521954645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735916417920,"filename":"image_03012025_15_58_02_884819_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/78f454faaae4b660ee4c024a3448ea25.jpg","text":"TemporaryFile(/tmp/multipartBody1327138531322048864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735916417920,"filename":"image_03012025_15_57_02_689973_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325876780","file1":"1325876776","file0":"1325876705","file4":"1325876844","file5":"1325876869","file3":"1325876783"},"map_files_photo_id_array":[{"photo_id":"1325876869","filename":"file5"},{"photo_id":"1325876780","filename":"file2"},{"photo_id":"1325876844","filename":"file4"},{"photo_id":"1325876776","filename":"file1"},{"photo_id":"1325876705","filename":"file0"},{"photo_id":"1325876783","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325876844":["hashtag1","hashtag2"]},{"1325876780":["hashtag1","hashtag2"]},{"1325876783":["hashtag1","hashtag2"]},{"1325876705":["hashtag1","hashtag2"]},{"1325876869":["hashtag1","hashtag2"]},{"1325876776":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325876844, 1325876780, 1325876783, 1325876705, 1325876869, 1325876776)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.91609454154968 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 16:00:22.001305
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/15/58/image_03012025_15_58_02_884819_0001.jpg', '/home/pi/Desktop/images/03012025/15/58/image_03012025_15_58_02_884819_0002.jpg', '/home/pi/Desktop/images/03012025/15/58/image_03012025_15_58_02_884819_0003.jpg', '/home/pi/Desktop/images/03012025/15/59/image_03012025_15_59_03_030176_0000.jpg', '/home/pi/Desktop/images/03012025/15/59/image_03012025_15_59_03_030176_0001.jpg', '/home/pi/Desktop/images/03012025/15/59/image_03012025_15_59_03_030176_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/15/58/image_03012025_15_58_02_884819_0001.jpg
/home/pi/Desktop/images/03012025/15/58/image_03012025_15_58_02_884819_0002.jpg
/home/pi/Desktop/images/03012025/15/58/image_03012025_15_58_02_884819_0003.jpg
/home/pi/Desktop/images/03012025/15/59/image_03012025_15_59_03_030176_0000.jpg
/home/pi/Desktop/images/03012025/15/59/image_03012025_15_59_03_030176_0001.jpg
/home/pi/Desktop/images/03012025/15/59/image_03012025_15_59_03_030176_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325877599","1325877473","1325877451","1325877394","1325877556","1325877597"],"photo_ids_order":["1325877394","1325877451","1325877473","1325877556","1325877597","1325877599"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8fe100317334894f5ae9324bc86fd8c2.jpg","text":"TemporaryFile(/tmp/multipartBody2676062845989451311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735916497026,"filename":"image_03012025_15_59_03_030176_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2109f67bd52d98e9db98cb328a87f948.jpg","text":"TemporaryFile(/tmp/multipartBody9184049205899018984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735916497026,"filename":"image_03012025_15_58_02_884819_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/268d01d82198f0ffbd0c524b93f9dd95.jpg","text":"TemporaryFile(/tmp/multipartBody1891149874492286499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735916497026,"filename":"image_03012025_15_58_02_884819_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/484a761f610935e0ef800954748a7ff3.jpg","text":"TemporaryFile(/tmp/multipartBody6242942244513071832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735916497026,"filename":"image_03012025_15_58_02_884819_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0baf80b0321b5a2cbf7cf80a4f15c861.jpg","text":"TemporaryFile(/tmp/multipartBody7441404646038020312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735916497026,"filename":"image_03012025_15_59_03_030176_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/48bc67a17c688a97a438a11cae2ba2b6.jpg","text":"TemporaryFile(/tmp/multipartBody5528937919123373993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735916497026,"filename":"image_03012025_15_59_03_030176_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325877473","file1":"1325877451","file0":"1325877394","file4":"1325877597","file5":"1325877599","file3":"1325877556"},"map_files_photo_id_array":[{"photo_id":"1325877599","filename":"file5"},{"photo_id":"1325877473","filename":"file2"},{"photo_id":"1325877597","filename":"file4"},{"photo_id":"1325877451","filename":"file1"},{"photo_id":"1325877394","filename":"file0"},{"photo_id":"1325877556","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325877599":["hashtag1","hashtag2"]},{"1325877473":["hashtag1","hashtag2"]},{"1325877451":["hashtag1","hashtag2"]},{"1325877394":["hashtag1","hashtag2"]},{"1325877556":["hashtag1","hashtag2"]},{"1325877597":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325877599, 1325877473, 1325877451, 1325877394, 1325877556, 1325877597)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.86470913887024 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 16:01:22.338359
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/16/00/image_03012025_16_00_02_268134_0000.jpg', '/home/pi/Desktop/images/03012025/16/00/image_03012025_16_00_02_268134_0001.jpg', '/home/pi/Desktop/images/03012025/16/00/image_03012025_16_00_02_268134_0002.jpg', '/home/pi/Desktop/images/03012025/16/00/image_03012025_16_00_02_268134_0003.jpg', '/home/pi/Desktop/images/03012025/16/01/image_03012025_16_01_02_348665_0000.jpg', '/home/pi/Desktop/images/03012025/16/01/image_03012025_16_01_02_348665_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/16/00/image_03012025_16_00_02_268134_0000.jpg
/home/pi/Desktop/images/03012025/16/00/image_03012025_16_00_02_268134_0001.jpg
/home/pi/Desktop/images/03012025/16/00/image_03012025_16_00_02_268134_0002.jpg
/home/pi/Desktop/images/03012025/16/00/image_03012025_16_00_02_268134_0003.jpg
/home/pi/Desktop/images/03012025/16/01/image_03012025_16_01_02_348665_0000.jpg
/home/pi/Desktop/images/03012025/16/01/image_03012025_16_01_02_348665_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":["1325877627","1325877613","1325877622","1325877625","1325877610","1325877607"],"photo_ids_order":["1325877607","1325877610","1325877613","1325877622","1325877625","1325877627"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ff8303c276087c602afa5ae003583db6.jpg","text":"TemporaryFile(/tmp/multipartBody139053936879966967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735916557214,"filename":"image_03012025_16_01_02_348665_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f72941fb4c6bfc721e26d074a4563a91.jpg","text":"TemporaryFile(/tmp/multipartBody9084496350248985320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735916557214,"filename":"image_03012025_16_00_02_268134_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8604c8457ef9901fb2d9d46a63fbf7cc.jpg","text":"TemporaryFile(/tmp/multipartBody3611930145537408085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735916557214,"filename":"image_03012025_16_00_02_268134_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3ae1d798a9bbaaa163c16e2fe51863e2.jpg","text":"TemporaryFile(/tmp/multipartBody8805486919486753017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735916557214,"filename":"image_03012025_16_01_02_348665_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/58b835eb6bf058043c9bec7852794bcc.jpg","text":"TemporaryFile(/tmp/multipartBody8996498979568025989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735916557214,"filename":"image_03012025_16_00_02_268134_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e65bbb734aed8ec7040b67fbb291d330.jpg","text":"TemporaryFile(/tmp/multipartBody2397667087162429760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735916557214,"filename":"image_03012025_16_00_02_268134_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325877613","file1":"1325877610","file0":"1325877607","file4":"1325877625","file5":"1325877627","file3":"1325877622"},"map_files_photo_id_array":[{"photo_id":"1325877627","filename":"file5"},{"photo_id":"1325877613","filename":"file2"},{"photo_id":"1325877625","filename":"file4"},{"photo_id":"1325877610","filename":"file1"},{"photo_id":"1325877607","filename":"file0"},{"photo_id":"1325877622","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325877627":["hashtag1","hashtag2"]},{"1325877613":["hashtag1","hashtag2"]},{"1325877622":["hashtag1","hashtag2"]},{"1325877625":["hashtag1","hashtag2"]},{"1325877610":["hashtag1","hashtag2"]},{"1325877607":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325877627, 1325877613, 1325877622, 1325877625, 1325877610, 1325877607)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.660101890563965 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 16:02:22.363205
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/16/01/image_03012025_16_01_02_348665_0002.jpg', '/home/pi/Desktop/images/03012025/16/01/image_03012025_16_01_02_348665_0003.jpg', '/home/pi/Desktop/images/03012025/16/02/image_03012025_16_02_02_566077_0000.jpg', '/home/pi/Desktop/images/03012025/16/02/image_03012025_16_02_02_566077_0001.jpg', '/home/pi/Desktop/images/03012025/16/02/image_03012025_16_02_02_566077_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/16/01/image_03012025_16_01_02_348665_0002.jpg
/home/pi/Desktop/images/03012025/16/01/image_03012025_16_01_02_348665_0003.jpg
/home/pi/Desktop/images/03012025/16/02/image_03012025_16_02_02_566077_0000.jpg
/home/pi/Desktop/images/03012025/16/02/image_03012025_16_02_02_566077_0001.jpg
/home/pi/Desktop/images/03012025/16/02/image_03012025_16_02_02_566077_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325877672","1325877666","1325877661","1325877675","1325877669"],"photo_ids_order":["1325877661","1325877666","1325877669","1325877672","1325877675"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/133e02a576ba9ea6da1e3e9fb93e3b44.jpg","text":"TemporaryFile(/tmp/multipartBody8342351682918925858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735916614911,"filename":"image_03012025_16_02_02_566077_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6822454029e03e301a3c647ca2241670.jpg","text":"TemporaryFile(/tmp/multipartBody8746842394342287063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735916614911,"filename":"image_03012025_16_01_02_348665_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a1ed5d07cf8d068b67cc131ba6735991.jpg","text":"TemporaryFile(/tmp/multipartBody1370459779193449075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735916614911,"filename":"image_03012025_16_01_02_348665_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f1e1145b41515c0e0908f4850e48a94b.jpg","text":"TemporaryFile(/tmp/multipartBody338921121302517120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735916614911,"filename":"image_03012025_16_02_02_566077_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/93c0b58dc7fd116bd4f5ca6d956f701b.jpg","text":"TemporaryFile(/tmp/multipartBody9192973784742561686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735916614911,"filename":"image_03012025_16_02_02_566077_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325877669","file1":"1325877666","file0":"1325877661","file4":"1325877675","file3":"1325877672"},"map_files_photo_id_array":[{"photo_id":"1325877669","filename":"file2"},{"photo_id":"1325877675","filename":"file4"},{"photo_id":"1325877666","filename":"file1"},{"photo_id":"1325877661","filename":"file0"},{"photo_id":"1325877672","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325877672":["hashtag1","hashtag2"]},{"1325877666":["hashtag1","hashtag2"]},{"1325877661":["hashtag1","hashtag2"]},{"1325877675":["hashtag1","hashtag2"]},{"1325877669":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325877672, 1325877666, 1325877661, 1325877675, 1325877669)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 46.355783224105835 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 16:03:22.606020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/16/02/image_03012025_16_02_02_566077_0003.jpg', '/home/pi/Desktop/images/03012025/16/03/image_03012025_16_03_02_696096_0000.jpg', '/home/pi/Desktop/images/03012025/16/03/image_03012025_16_03_02_696096_0001.jpg', '/home/pi/Desktop/images/03012025/16/03/image_03012025_16_03_02_696096_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/16/02/image_03012025_16_02_02_566077_0003.jpg
/home/pi/Desktop/images/03012025/16/03/image_03012025_16_03_02_696096_0000.jpg
/home/pi/Desktop/images/03012025/16/03/image_03012025_16_03_02_696096_0001.jpg
/home/pi/Desktop/images/03012025/16/03/image_03012025_16_03_02_696096_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325878361","1325878109","1325878284","1325878287"],"photo_ids_order":["1325878109","1325878284","1325878287","1325878361"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/673f017a395a66dadbc8a6033f9dad2e.jpg","text":"TemporaryFile(/tmp/multipartBody2749459514278513021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735916673079,"filename":"image_03012025_16_03_02_696096_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4d558390e26a514306d873afc7fef53f.jpg","text":"TemporaryFile(/tmp/multipartBody7875287569523083643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735916673079,"filename":"image_03012025_16_02_02_566077_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8bce00a1605b21077774766ee2979651.jpg","text":"TemporaryFile(/tmp/multipartBody4323926342544975579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735916673079,"filename":"image_03012025_16_03_02_696096_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3bd388ebae18f6a8639a6c0245f99c54.jpg","text":"TemporaryFile(/tmp/multipartBody4177795320260197299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735916673079,"filename":"image_03012025_16_03_02_696096_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325878287","file1":"1325878284","file0":"1325878109","file3":"1325878361"},"map_files_photo_id_array":[{"photo_id":"1325878287","filename":"file2"},{"photo_id":"1325878284","filename":"file1"},{"photo_id":"1325878109","filename":"file0"},{"photo_id":"1325878361","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325878361":["hashtag1","hashtag2"]},{"1325878109":["hashtag1","hashtag2"]},{"1325878284":["hashtag1","hashtag2"]},{"1325878287":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325878361, 1325878109, 1325878284, 1325878287)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.40444803237915 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 16:04:03.260646
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 16:04:22.769854
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/16/03/image_03012025_16_03_02_696096_0003.jpg', '/home/pi/Desktop/images/03012025/16/04/image_03012025_16_04_02_920029_0000.jpg', '/home/pi/Desktop/images/03012025/16/04/image_03012025_16_04_02_920029_0001.jpg', '/home/pi/Desktop/images/03012025/16/04/image_03012025_16_04_02_920029_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/16/03/image_03012025_16_03_02_696096_0003.jpg
/home/pi/Desktop/images/03012025/16/04/image_03012025_16_04_02_920029_0000.jpg
/home/pi/Desktop/images/03012025/16/04/image_03012025_16_04_02_920029_0001.jpg
/home/pi/Desktop/images/03012025/16/04/image_03012025_16_04_02_920029_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325879156","1325879039","1325879119","1325879115"],"photo_ids_order":["1325879039","1325879115","1325879119","1325879156"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/39216fb17c2e1d7aaa506643fcc71382.jpg","text":"TemporaryFile(/tmp/multipartBody2984988303289417178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735916733199,"filename":"image_03012025_16_04_02_920029_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b3937eb29437e353d82dc594e3674bea.jpg","text":"TemporaryFile(/tmp/multipartBody863067939200211816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735916733199,"filename":"image_03012025_16_03_02_696096_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1dfe612058bb7c2418da5edabf2be95d.jpg","text":"TemporaryFile(/tmp/multipartBody5410527831823945995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735916733199,"filename":"image_03012025_16_04_02_920029_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/08f927dc5ac2f87e63c945265de73ad8.jpg","text":"TemporaryFile(/tmp/multipartBody5296257450159571742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735916733199,"filename":"image_03012025_16_04_02_920029_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325879119","file1":"1325879115","file0":"1325879039","file3":"1325879156"},"map_files_photo_id_array":[{"photo_id":"1325879119","filename":"file2"},{"photo_id":"1325879115","filename":"file1"},{"photo_id":"1325879039","filename":"file0"},{"photo_id":"1325879156","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325879156":["hashtag1","hashtag2"]},{"1325879039":["hashtag1","hashtag2"]},{"1325879119":["hashtag1","hashtag2"]},{"1325879115":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325879156, 1325879039, 1325879119, 1325879115)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.05701470375061 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 16:05:21.989516
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/16/04/image_03012025_16_04_02_920029_0003.jpg', '/home/pi/Desktop/images/03012025/16/05/image_03012025_16_05_03_034056_0000.jpg', '/home/pi/Desktop/images/03012025/16/05/image_03012025_16_05_03_034056_0001.jpg', '/home/pi/Desktop/images/03012025/16/05/image_03012025_16_05_03_034056_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/16/04/image_03012025_16_04_02_920029_0003.jpg
/home/pi/Desktop/images/03012025/16/05/image_03012025_16_05_03_034056_0000.jpg
/home/pi/Desktop/images/03012025/16/05/image_03012025_16_05_03_034056_0001.jpg
/home/pi/Desktop/images/03012025/16/05/image_03012025_16_05_03_034056_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325879680","1325880046","1325880235","1325880177"],"photo_ids_order":["1325879680","1325880046","1325880177","1325880235"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a309240bf6e727160c82cdcd6294f76e.jpg","text":"TemporaryFile(/tmp/multipartBody8201599416339780312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735916792313,"filename":"image_03012025_16_04_02_920029_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f61b7a62bbe8418bf3d35750406210b4.jpg","text":"TemporaryFile(/tmp/multipartBody8948690834633528088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735916792313,"filename":"image_03012025_16_05_03_034056_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c5e0269540525abefb5829a4d16b1230.jpg","text":"TemporaryFile(/tmp/multipartBody7207170323027102140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735916792313,"filename":"image_03012025_16_05_03_034056_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a8e11d90d28972887dc38a227ed86abd.jpg","text":"TemporaryFile(/tmp/multipartBody4695769719545155179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735916792313,"filename":"image_03012025_16_05_03_034056_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325880177","file1":"1325880046","file0":"1325879680","file3":"1325880235"},"map_files_photo_id_array":[{"photo_id":"1325880177","filename":"file2"},{"photo_id":"1325880046","filename":"file1"},{"photo_id":"1325879680","filename":"file0"},{"photo_id":"1325880235","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325879680":["hashtag1","hashtag2"]},{"1325880046":["hashtag1","hashtag2"]},{"1325880235":["hashtag1","hashtag2"]},{"1325880177":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325879680, 1325880046, 1325880235, 1325880177)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.718963861465454 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 16:06:02.392423
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 16:06:21.955634
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/16/05/image_03012025_16_05_03_034056_0003.jpg', '/home/pi/Desktop/images/03012025/16/06/image_03012025_16_06_02_258554_0000.jpg', '/home/pi/Desktop/images/03012025/16/06/image_03012025_16_06_02_258554_0001.jpg', '/home/pi/Desktop/images/03012025/16/06/image_03012025_16_06_02_258554_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/16/05/image_03012025_16_05_03_034056_0003.jpg
/home/pi/Desktop/images/03012025/16/06/image_03012025_16_06_02_258554_0000.jpg
/home/pi/Desktop/images/03012025/16/06/image_03012025_16_06_02_258554_0001.jpg
/home/pi/Desktop/images/03012025/16/06/image_03012025_16_06_02_258554_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.801517486572266 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-03 16:06:42.031614
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/16/05/image_03012025_16_05_03_034056_0003.jpg', '/home/pi/Desktop/images/03012025/16/06/image_03012025_16_06_02_258554_0000.jpg', '/home/pi/Desktop/images/03012025/16/06/image_03012025_16_06_02_258554_0001.jpg', '/home/pi/Desktop/images/03012025/16/06/image_03012025_16_06_02_258554_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/16/05/image_03012025_16_05_03_034056_0003.jpg
/home/pi/Desktop/images/03012025/16/06/image_03012025_16_06_02_258554_0000.jpg
/home/pi/Desktop/images/03012025/16/06/image_03012025_16_06_02_258554_0001.jpg
/home/pi/Desktop/images/03012025/16/06/image_03012025_16_06_02_258554_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":["1325880695","1325880808","1325880663","1325881107"],"photo_ids_order":["1325880663","1325880695","1325880808","1325881107"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f4b00e6a3fd5594f8ced47a77c238049.jpg","text":"TemporaryFile(/tmp/multipartBody7176500182205352008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735916872234,"filename":"image_03012025_16_06_02_258554_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d92afded160296fe8429bb3375318c9f.jpg","text":"TemporaryFile(/tmp/multipartBody9050518465595865872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735916872234,"filename":"image_03012025_16_06_02_258554_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/afec4a9e7013a0a14fd0fed16655d2e3.jpg","text":"TemporaryFile(/tmp/multipartBody7800532273739369938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735916872234,"filename":"image_03012025_16_05_03_034056_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/19f8c03789b74759503227706cef4c4e.jpg","text":"TemporaryFile(/tmp/multipartBody1062604442842392561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735916872234,"filename":"image_03012025_16_06_02_258554_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325880808","file1":"1325880695","file0":"1325880663","file3":"1325881107"},"map_files_photo_id_array":[{"photo_id":"1325880808","filename":"file2"},{"photo_id":"1325880695","filename":"file1"},{"photo_id":"1325880663","filename":"file0"},{"photo_id":"1325881107","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325880695":["hashtag1","hashtag2"]},{"1325880808":["hashtag1","hashtag2"]},{"1325880663":["hashtag1","hashtag2"]},{"1325881107":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325880695, 1325880808, 1325880663, 1325881107)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.70051908493042 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 16:07:22.227362
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/16/06/image_03012025_16_06_02_258554_0003.jpg', '/home/pi/Desktop/images/03012025/16/07/image_03012025_16_07_02_429220_0000.jpg', '/home/pi/Desktop/images/03012025/16/07/image_03012025_16_07_02_429220_0001.jpg', '/home/pi/Desktop/images/03012025/16/07/image_03012025_16_07_02_429220_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/16/06/image_03012025_16_06_02_258554_0003.jpg
/home/pi/Desktop/images/03012025/16/07/image_03012025_16_07_02_429220_0000.jpg
/home/pi/Desktop/images/03012025/16/07/image_03012025_16_07_02_429220_0001.jpg
/home/pi/Desktop/images/03012025/16/07/image_03012025_16_07_02_429220_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325881594","1325881179","1325881272","1325881571"],"photo_ids_order":["1325881179","1325881272","1325881571","1325881594"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/cf5c6312042acd43bb7a2e2b0cc95409.jpg","text":"TemporaryFile(/tmp/multipartBody6182406718389671321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735916912522,"filename":"image_03012025_16_07_02_429220_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/26c792500f3e362bccbd16162f0608ea.jpg","text":"TemporaryFile(/tmp/multipartBody8643057538758038676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735916912522,"filename":"image_03012025_16_06_02_258554_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e89f8dadd53abf1a88de7590935382e3.jpg","text":"TemporaryFile(/tmp/multipartBody5930177020149868897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735916912522,"filename":"image_03012025_16_07_02_429220_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/478978f93c896713f2cf501c8f527c78.jpg","text":"TemporaryFile(/tmp/multipartBody632562263407330192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735916912522,"filename":"image_03012025_16_07_02_429220_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325881571","file1":"1325881272","file0":"1325881179","file3":"1325881594"},"map_files_photo_id_array":[{"photo_id":"1325881571","filename":"file2"},{"photo_id":"1325881272","filename":"file1"},{"photo_id":"1325881179","filename":"file0"},{"photo_id":"1325881594","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325881594":["hashtag1","hashtag2"]},{"1325881179":["hashtag1","hashtag2"]},{"1325881272":["hashtag1","hashtag2"]},{"1325881571":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325881594, 1325881179, 1325881272, 1325881571)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.15194249153137 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 16:08:02.871859
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 16:08:22.391935
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/16/07/image_03012025_16_07_02_429220_0003.jpg', '/home/pi/Desktop/images/03012025/16/08/image_03012025_16_08_02_577057_0000.jpg', '/home/pi/Desktop/images/03012025/16/08/image_03012025_16_08_02_577057_0001.jpg', '/home/pi/Desktop/images/03012025/16/08/image_03012025_16_08_02_577057_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/16/07/image_03012025_16_07_02_429220_0003.jpg
/home/pi/Desktop/images/03012025/16/08/image_03012025_16_08_02_577057_0000.jpg
/home/pi/Desktop/images/03012025/16/08/image_03012025_16_08_02_577057_0001.jpg
/home/pi/Desktop/images/03012025/16/08/image_03012025_16_08_02_577057_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325882295","1325882340","1325882334","1325882337"],"photo_ids_order":["1325882295","1325882334","1325882337","1325882340"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/927d76a04b2e92f4f0d247313567548d.jpg","text":"TemporaryFile(/tmp/multipartBody7536450953912609522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735916972763,"filename":"image_03012025_16_07_02_429220_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d5a1afba7078e09900a8d48013724b91.jpg","text":"TemporaryFile(/tmp/multipartBody8018469958233207481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735916972763,"filename":"image_03012025_16_08_02_577057_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/aee77777b32b7e838f7350a1c4492fd4.jpg","text":"TemporaryFile(/tmp/multipartBody8381170076632163246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735916972763,"filename":"image_03012025_16_08_02_577057_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/672918679561d890b9838907f46822c7.jpg","text":"TemporaryFile(/tmp/multipartBody6893614327703310910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735916972763,"filename":"image_03012025_16_08_02_577057_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325882337","file1":"1325882334","file0":"1325882295","file3":"1325882340"},"map_files_photo_id_array":[{"photo_id":"1325882337","filename":"file2"},{"photo_id":"1325882334","filename":"file1"},{"photo_id":"1325882295","filename":"file0"},{"photo_id":"1325882340","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325882295":["hashtag1","hashtag2"]},{"1325882340":["hashtag1","hashtag2"]},{"1325882334":["hashtag1","hashtag2"]},{"1325882337":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325882295, 1325882340, 1325882334, 1325882337)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.31455159187317 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 16:09:22.588246
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/16/08/image_03012025_16_08_02_577057_0003.jpg', '/home/pi/Desktop/images/03012025/16/09/image_03012025_16_09_02_726859_0000.jpg', '/home/pi/Desktop/images/03012025/16/09/image_03012025_16_09_02_726859_0001.jpg', '/home/pi/Desktop/images/03012025/16/09/image_03012025_16_09_02_726859_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/16/08/image_03012025_16_08_02_577057_0003.jpg
/home/pi/Desktop/images/03012025/16/09/image_03012025_16_09_02_726859_0000.jpg
/home/pi/Desktop/images/03012025/16/09/image_03012025_16_09_02_726859_0001.jpg
/home/pi/Desktop/images/03012025/16/09/image_03012025_16_09_02_726859_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325882749","1325882709","1325882753","1325882706"],"photo_ids_order":["1325882706","1325882709","1325882749","1325882753"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7f2ffac167a49d088aa2c3635ebc601f.jpg","text":"TemporaryFile(/tmp/multipartBody7812364244816201472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735917032958,"filename":"image_03012025_16_09_02_726859_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3e79f79316996e1c7f9d58b374bd925d.jpg","text":"TemporaryFile(/tmp/multipartBody7463719138600639210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735917032958,"filename":"image_03012025_16_09_02_726859_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6d8e5132e6fa9e3515c841d37c010fcf.jpg","text":"TemporaryFile(/tmp/multipartBody5962666440770873185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735917032958,"filename":"image_03012025_16_09_02_726859_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c6cb20180e79f840d526217d86c43ccb.jpg","text":"TemporaryFile(/tmp/multipartBody71031337910264287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735917032958,"filename":"image_03012025_16_08_02_577057_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325882749","file1":"1325882709","file0":"1325882706","file3":"1325882753"},"map_files_photo_id_array":[{"photo_id":"1325882749","filename":"file2"},{"photo_id":"1325882709","filename":"file1"},{"photo_id":"1325882706","filename":"file0"},{"photo_id":"1325882753","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325882749":["hashtag1","hashtag2"]},{"1325882709":["hashtag1","hashtag2"]},{"1325882753":["hashtag1","hashtag2"]},{"1325882706":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325882749, 1325882709, 1325882753, 1325882706)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.385868310928345 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 16:10:03.199475
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 16:10:22.787719
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/16/09/image_03012025_16_09_02_726859_0003.jpg', '/home/pi/Desktop/images/03012025/16/10/image_03012025_16_10_02_996499_0000.jpg', '/home/pi/Desktop/images/03012025/16/10/image_03012025_16_10_02_996499_0001.jpg', '/home/pi/Desktop/images/03012025/16/10/image_03012025_16_10_02_996499_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/16/09/image_03012025_16_09_02_726859_0003.jpg
/home/pi/Desktop/images/03012025/16/10/image_03012025_16_10_02_996499_0000.jpg
/home/pi/Desktop/images/03012025/16/10/image_03012025_16_10_02_996499_0001.jpg
/home/pi/Desktop/images/03012025/16/10/image_03012025_16_10_02_996499_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325882764","1325882767","1325882761","1325882800"],"photo_ids_order":["1325882761","1325882764","1325882767","1325882800"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/35d7ca2ab2ea340c94f74ae0b5a7b877.jpg","text":"TemporaryFile(/tmp/multipartBody8058189845649931786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735917092996,"filename":"image_03012025_16_10_02_996499_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/00da49d0bd3d936202027b8296df6973.jpg","text":"TemporaryFile(/tmp/multipartBody5216355249325744269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735917092996,"filename":"image_03012025_16_10_02_996499_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5f691dcdbc265521d824f2095b2b40ea.jpg","text":"TemporaryFile(/tmp/multipartBody2066865242044947888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735917092996,"filename":"image_03012025_16_09_02_726859_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/bb5652db3151c6864fdc2b3b14b3e90f.jpg","text":"TemporaryFile(/tmp/multipartBody5654778012810447140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735917092996,"filename":"image_03012025_16_10_02_996499_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325882767","file1":"1325882764","file0":"1325882761","file3":"1325882800"},"map_files_photo_id_array":[{"photo_id":"1325882767","filename":"file2"},{"photo_id":"1325882764","filename":"file1"},{"photo_id":"1325882761","filename":"file0"},{"photo_id":"1325882800","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325882764":["hashtag1","hashtag2"]},{"1325882767":["hashtag1","hashtag2"]},{"1325882761":["hashtag1","hashtag2"]},{"1325882800":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325882764, 1325882767, 1325882761, 1325882800)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.59349513053894 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-03 16:11:22.098237
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/16/10/image_03012025_16_10_02_996499_0003.jpg', '/home/pi/Desktop/images/03012025/16/11/image_03012025_16_11_03_157989_0000.jpg', '/home/pi/Desktop/images/03012025/16/11/image_03012025_16_11_03_157989_0001.jpg', '/home/pi/Desktop/images/03012025/16/11/image_03012025_16_11_03_157989_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/16/10/image_03012025_16_10_02_996499_0003.jpg
/home/pi/Desktop/images/03012025/16/11/image_03012025_16_11_03_157989_0000.jpg
/home/pi/Desktop/images/03012025/16/11/image_03012025_16_11_03_157989_0001.jpg
/home/pi/Desktop/images/03012025/16/11/image_03012025_16_11_03_157989_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325883556","1325882970","1325883518","1325883320"],"photo_ids_order":["1325882970","1325883320","1325883518","1325883556"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/21bc642d40a115f05f26d518d54e978a.jpg","text":"TemporaryFile(/tmp/multipartBody8520946339293530316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735917152567,"filename":"image_03012025_16_11_03_157989_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a50d1b62d37b33cede7872caa3e48570.jpg","text":"TemporaryFile(/tmp/multipartBody1037580593192449413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735917152567,"filename":"image_03012025_16_10_02_996499_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c53f18df02d45aadcf89934096d637ac.jpg","text":"TemporaryFile(/tmp/multipartBody7288841496135534758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735917152567,"filename":"image_03012025_16_11_03_157989_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/852f590bb17f6c224de8d6af2df84957.jpg","text":"TemporaryFile(/tmp/multipartBody7707270415757005738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735917152567,"filename":"image_03012025_16_11_03_157989_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325883518","file1":"1325883320","file0":"1325882970","file3":"1325883556"},"map_files_photo_id_array":[{"photo_id":"1325883518","filename":"file2"},{"photo_id":"1325883320","filename":"file1"},{"photo_id":"1325882970","filename":"file0"},{"photo_id":"1325883556","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325883556":["hashtag1","hashtag2"]},{"1325882970":["hashtag1","hashtag2"]},{"1325883518":["hashtag1","hashtag2"]},{"1325883320":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325883556, 1325882970, 1325883518, 1325883320)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.017043352127075 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 16:12:22.219064
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/16/11/image_03012025_16_11_03_157989_0003.jpg', '/home/pi/Desktop/images/03012025/16/12/image_03012025_16_12_02_383637_0000.jpg', '/home/pi/Desktop/images/03012025/16/12/image_03012025_16_12_02_383637_0001.jpg', '/home/pi/Desktop/images/03012025/16/12/image_03012025_16_12_02_383637_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/16/11/image_03012025_16_11_03_157989_0003.jpg
/home/pi/Desktop/images/03012025/16/12/image_03012025_16_12_02_383637_0000.jpg
/home/pi/Desktop/images/03012025/16/12/image_03012025_16_12_02_383637_0001.jpg
/home/pi/Desktop/images/03012025/16/12/image_03012025_16_12_02_383637_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325883712","1325883715","1325883709","1325883821"],"photo_ids_order":["1325883709","1325883712","1325883715","1325883821"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e9015425cffacbd761e56d9a5e9236a5.jpg","text":"TemporaryFile(/tmp/multipartBody8670892629381193844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735917212805,"filename":"image_03012025_16_12_02_383637_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/debf866fb233abea56620f65c65e506e.jpg","text":"TemporaryFile(/tmp/multipartBody1698327122009452923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735917212805,"filename":"image_03012025_16_12_02_383637_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/74ae3cb9e6ec9c8aa3124cda61c1e347.jpg","text":"TemporaryFile(/tmp/multipartBody2519176002277516447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735917212805,"filename":"image_03012025_16_11_03_157989_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/050110597e6c34568310400c1d135dc4.jpg","text":"TemporaryFile(/tmp/multipartBody2930262699467706071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735917212805,"filename":"image_03012025_16_12_02_383637_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325883715","file1":"1325883712","file0":"1325883709","file3":"1325883821"},"map_files_photo_id_array":[{"photo_id":"1325883715","filename":"file2"},{"photo_id":"1325883712","filename":"file1"},{"photo_id":"1325883709","filename":"file0"},{"photo_id":"1325883821","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325883712":["hashtag1","hashtag2"]},{"1325883715":["hashtag1","hashtag2"]},{"1325883709":["hashtag1","hashtag2"]},{"1325883821":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325883712, 1325883715, 1325883709, 1325883821)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.5525016784668 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 16:13:22.444597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/16/12/image_03012025_16_12_02_383637_0003.jpg', '/home/pi/Desktop/images/03012025/16/13/image_03012025_16_13_02_646470_0000.jpg', '/home/pi/Desktop/images/03012025/16/13/image_03012025_16_13_02_646470_0001.jpg', '/home/pi/Desktop/images/03012025/16/13/image_03012025_16_13_02_646470_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/16/12/image_03012025_16_12_02_383637_0003.jpg
/home/pi/Desktop/images/03012025/16/13/image_03012025_16_13_02_646470_0000.jpg
/home/pi/Desktop/images/03012025/16/13/image_03012025_16_13_02_646470_0001.jpg
/home/pi/Desktop/images/03012025/16/13/image_03012025_16_13_02_646470_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325883943","1325883945","1325883947","1325883940"],"photo_ids_order":["1325883940","1325883943","1325883945","1325883947"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/80399b6c21f86a834c38101eb82c2be2.jpg","text":"TemporaryFile(/tmp/multipartBody264706169162881358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735917272770,"filename":"image_03012025_16_13_02_646470_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3d20bf858183bb9a1c64207672455cbe.jpg","text":"TemporaryFile(/tmp/multipartBody798907251039606367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735917272770,"filename":"image_03012025_16_13_02_646470_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b04cce112317aee67e2bc0a0fdd7eb4b.jpg","text":"TemporaryFile(/tmp/multipartBody4626852259433162509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735917272770,"filename":"image_03012025_16_13_02_646470_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e6fed109ff84f0bea215074cb8c7be21.jpg","text":"TemporaryFile(/tmp/multipartBody6267453428801989331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735917272770,"filename":"image_03012025_16_12_02_383637_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325883945","file1":"1325883943","file0":"1325883940","file3":"1325883947"},"map_files_photo_id_array":[{"photo_id":"1325883945","filename":"file2"},{"photo_id":"1325883943","filename":"file1"},{"photo_id":"1325883940","filename":"file0"},{"photo_id":"1325883947","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325883943":["hashtag1","hashtag2"]},{"1325883945":["hashtag1","hashtag2"]},{"1325883947":["hashtag1","hashtag2"]},{"1325883940":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325883943, 1325883945, 1325883947, 1325883940)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.54768443107605 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 16:14:22.628031
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/16/13/image_03012025_16_13_02_646470_0003.jpg', '/home/pi/Desktop/images/03012025/16/14/image_03012025_16_14_02_768251_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/16/13/image_03012025_16_13_02_646470_0003.jpg
/home/pi/Desktop/images/03012025/16/14/image_03012025_16_14_02_768251_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":["1325884185","1325883959"],"photo_ids_order":["1325883959","1325884185"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0da64e5c6c46aa21990ae19203ecea10.jpg","text":"TemporaryFile(/tmp/multipartBody4251383303791484862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735917328102,"filename":"image_03012025_16_14_02_768251_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ddca3d88da0f0bba9595d0061e6b747b.jpg","text":"TemporaryFile(/tmp/multipartBody8804764851065012152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735917328102,"filename":"image_03012025_16_13_02_646470_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1325884185","file0":"1325883959"},"map_files_photo_id_array":[{"photo_id":"1325884185","filename":"file1"},{"photo_id":"1325883959","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325884185":["hashtag1","hashtag2"]},{"1325883959":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325884185, 1325883959)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.70480513572693 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-03 16:14:52.574081
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 16:15:03.176344
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 16:15:22.835649
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/16/14/image_03012025_16_14_02_768251_0003.jpg', '/home/pi/Desktop/images/03012025/16/15/image_03012025_16_15_02_936413_0000.jpg', '/home/pi/Desktop/images/03012025/16/15/image_03012025_16_15_02_936413_0001.jpg', '/home/pi/Desktop/images/03012025/16/15/image_03012025_16_15_02_936413_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/16/14/image_03012025_16_14_02_768251_0003.jpg
/home/pi/Desktop/images/03012025/16/15/image_03012025_16_15_02_936413_0000.jpg
/home/pi/Desktop/images/03012025/16/15/image_03012025_16_15_02_936413_0001.jpg
/home/pi/Desktop/images/03012025/16/15/image_03012025_16_15_02_936413_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325884404","1325884394","1325884409","1325884399"],"photo_ids_order":["1325884394","1325884399","1325884404","1325884409"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/fdbfb87eccf57c3dd89fe9b4141acd9e.jpg","text":"TemporaryFile(/tmp/multipartBody823184475406748062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735917393238,"filename":"image_03012025_16_15_02_936413_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ccc78b4d8917845d802a730de8d19e46.jpg","text":"TemporaryFile(/tmp/multipartBody6070927509207779382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735917393238,"filename":"image_03012025_16_14_02_768251_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1d62fc3405c0f85ce77ac93ec7e834ba.jpg","text":"TemporaryFile(/tmp/multipartBody2904813830284878135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735917393238,"filename":"image_03012025_16_15_02_936413_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/49e050afb0043065dcc2af9d5a21df6e.jpg","text":"TemporaryFile(/tmp/multipartBody4862667179133565920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735917393238,"filename":"image_03012025_16_15_02_936413_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325884404","file1":"1325884399","file0":"1325884394","file3":"1325884409"},"map_files_photo_id_array":[{"photo_id":"1325884404","filename":"file2"},{"photo_id":"1325884399","filename":"file1"},{"photo_id":"1325884394","filename":"file0"},{"photo_id":"1325884409","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325884404":["hashtag1","hashtag2"]},{"1325884394":["hashtag1","hashtag2"]},{"1325884409":["hashtag1","hashtag2"]},{"1325884399":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325884404, 1325884394, 1325884409, 1325884399)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.79773259162903 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 16:16:21.983222
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/16/15/image_03012025_16_15_02_936413_0003.jpg', '/home/pi/Desktop/images/03012025/16/16/image_03012025_16_16_03_175319_0000.jpg', '/home/pi/Desktop/images/03012025/16/16/image_03012025_16_16_03_175319_0001.jpg', '/home/pi/Desktop/images/03012025/16/16/image_03012025_16_16_03_175319_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/16/15/image_03012025_16_15_02_936413_0003.jpg
/home/pi/Desktop/images/03012025/16/16/image_03012025_16_16_03_175319_0000.jpg
/home/pi/Desktop/images/03012025/16/16/image_03012025_16_16_03_175319_0001.jpg
/home/pi/Desktop/images/03012025/16/16/image_03012025_16_16_03_175319_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.039814233779907 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-03 16:16:41.953189
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/16/15/image_03012025_16_15_02_936413_0003.jpg', '/home/pi/Desktop/images/03012025/16/16/image_03012025_16_16_03_175319_0000.jpg', '/home/pi/Desktop/images/03012025/16/16/image_03012025_16_16_03_175319_0001.jpg', '/home/pi/Desktop/images/03012025/16/16/image_03012025_16_16_03_175319_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/16/15/image_03012025_16_15_02_936413_0003.jpg
/home/pi/Desktop/images/03012025/16/16/image_03012025_16_16_03_175319_0000.jpg
/home/pi/Desktop/images/03012025/16/16/image_03012025_16_16_03_175319_0001.jpg
/home/pi/Desktop/images/03012025/16/16/image_03012025_16_16_03_175319_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":["1325885025","1325885150","1325885123","1325884879"],"photo_ids_order":["1325884879","1325885025","1325885123","1325885150"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d0858d304d927d125a1e17c7b4c9f1d0.jpg","text":"TemporaryFile(/tmp/multipartBody242978915219280247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735917472376,"filename":"image_03012025_16_16_03_175319_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c430f19e0eb6d0b435ff065abc7483dc.jpg","text":"TemporaryFile(/tmp/multipartBody2473478865220552795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735917472376,"filename":"image_03012025_16_16_03_175319_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/bfa7d7d620c4f5c3e135c41e98d0d4e3.jpg","text":"TemporaryFile(/tmp/multipartBody5891552451109003605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735917472376,"filename":"image_03012025_16_16_03_175319_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0fa3a6fb8e5a4e4bdc7c9013a22ff064.jpg","text":"TemporaryFile(/tmp/multipartBody6447052800374905170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735917472376,"filename":"image_03012025_16_15_02_936413_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325885123","file1":"1325885025","file0":"1325884879","file3":"1325885150"},"map_files_photo_id_array":[{"photo_id":"1325885123","filename":"file2"},{"photo_id":"1325885025","filename":"file1"},{"photo_id":"1325884879","filename":"file0"},{"photo_id":"1325885150","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325885025":["hashtag1","hashtag2"]},{"1325885150":["hashtag1","hashtag2"]},{"1325885123":["hashtag1","hashtag2"]},{"1325884879":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325885025, 1325885150, 1325885123, 1325884879)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.44390034675598 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 16:17:22.175183
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/16/16/image_03012025_16_16_03_175319_0003.jpg', '/home/pi/Desktop/images/03012025/16/17/image_03012025_16_17_02_275286_0000.jpg', '/home/pi/Desktop/images/03012025/16/17/image_03012025_16_17_02_275286_0001.jpg', '/home/pi/Desktop/images/03012025/16/17/image_03012025_16_17_02_275286_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/16/16/image_03012025_16_16_03_175319_0003.jpg
/home/pi/Desktop/images/03012025/16/17/image_03012025_16_17_02_275286_0000.jpg
/home/pi/Desktop/images/03012025/16/17/image_03012025_16_17_02_275286_0001.jpg
/home/pi/Desktop/images/03012025/16/17/image_03012025_16_17_02_275286_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325885235","1325885231","1325885228","1325885224"],"photo_ids_order":["1325885224","1325885228","1325885231","1325885235"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a5dcaa01ea31bbc63085f6200f4e721e.jpg","text":"TemporaryFile(/tmp/multipartBody7488484373510578300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735917512593,"filename":"image_03012025_16_17_02_275286_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7a1ca92eee4d6ff35f372f22341d21d0.jpg","text":"TemporaryFile(/tmp/multipartBody4614947245345346944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735917512593,"filename":"image_03012025_16_17_02_275286_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/be586839661fc909cc769d08a17104cf.jpg","text":"TemporaryFile(/tmp/multipartBody4441931890539854761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735917512593,"filename":"image_03012025_16_17_02_275286_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c1e3e096d63596a78752bf19fe75ee0d.jpg","text":"TemporaryFile(/tmp/multipartBody6456148071784231627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735917512593,"filename":"image_03012025_16_16_03_175319_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325885231","file1":"1325885228","file0":"1325885224","file3":"1325885235"},"map_files_photo_id_array":[{"photo_id":"1325885231","filename":"file2"},{"photo_id":"1325885228","filename":"file1"},{"photo_id":"1325885224","filename":"file0"},{"photo_id":"1325885235","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325885235":["hashtag1","hashtag2"]},{"1325885231":["hashtag1","hashtag2"]},{"1325885228":["hashtag1","hashtag2"]},{"1325885224":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325885235, 1325885231, 1325885228, 1325885224)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.143736600875854 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 16:18:02.721009
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 16:18:22.301035
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/16/17/image_03012025_16_17_02_275286_0003.jpg', '/home/pi/Desktop/images/03012025/16/18/image_03012025_16_18_02_478698_0000.jpg', '/home/pi/Desktop/images/03012025/16/18/image_03012025_16_18_02_478698_0001.jpg', '/home/pi/Desktop/images/03012025/16/18/image_03012025_16_18_02_478698_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/16/17/image_03012025_16_17_02_275286_0003.jpg
/home/pi/Desktop/images/03012025/16/18/image_03012025_16_18_02_478698_0000.jpg
/home/pi/Desktop/images/03012025/16/18/image_03012025_16_18_02_478698_0001.jpg
/home/pi/Desktop/images/03012025/16/18/image_03012025_16_18_02_478698_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325885408","1325885315","1325885518","1325885332"],"photo_ids_order":["1325885315","1325885332","1325885408","1325885518"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ed00c30083795b74739e1d06ccc071f8.jpg","text":"TemporaryFile(/tmp/multipartBody3951382148410533226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735917572730,"filename":"image_03012025_16_18_02_478698_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9fa7b951926052d0bb9573cc8861d293.jpg","text":"TemporaryFile(/tmp/multipartBody6434513426482884208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735917572730,"filename":"image_03012025_16_17_02_275286_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1fc4247956f1ed11b6524f10aa40efcb.jpg","text":"TemporaryFile(/tmp/multipartBody7212457293954953458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735917572730,"filename":"image_03012025_16_18_02_478698_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/074c229f4ef730503fc48554d385041b.jpg","text":"TemporaryFile(/tmp/multipartBody1424601924311969064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735917572730,"filename":"image_03012025_16_18_02_478698_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325885408","file1":"1325885332","file0":"1325885315","file3":"1325885518"},"map_files_photo_id_array":[{"photo_id":"1325885408","filename":"file2"},{"photo_id":"1325885332","filename":"file1"},{"photo_id":"1325885315","filename":"file0"},{"photo_id":"1325885518","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325885408":["hashtag1","hashtag2"]},{"1325885315":["hashtag1","hashtag2"]},{"1325885518":["hashtag1","hashtag2"]},{"1325885332":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325885408, 1325885315, 1325885518, 1325885332)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.29857611656189 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 16:19:03.040342
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 16:19:22.428561
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/16/18/image_03012025_16_18_02_478698_0003.jpg', '/home/pi/Desktop/images/03012025/16/19/image_03012025_16_19_02_628314_0000.jpg', '/home/pi/Desktop/images/03012025/16/19/image_03012025_16_19_02_628314_0001.jpg', '/home/pi/Desktop/images/03012025/16/19/image_03012025_16_19_02_628314_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/16/18/image_03012025_16_18_02_478698_0003.jpg
/home/pi/Desktop/images/03012025/16/19/image_03012025_16_19_02_628314_0000.jpg
/home/pi/Desktop/images/03012025/16/19/image_03012025_16_19_02_628314_0001.jpg
/home/pi/Desktop/images/03012025/16/19/image_03012025_16_19_02_628314_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325885637","1325885624","1325885633","1325885635"],"photo_ids_order":["1325885624","1325885633","1325885635","1325885637"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d2566d6b399aa7a4b1e826bbdb31551a.jpg","text":"TemporaryFile(/tmp/multipartBody2288054419282208633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735917632803,"filename":"image_03012025_16_19_02_628314_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b67898e6d3b23bc08b8d964a3b9f64ca.jpg","text":"TemporaryFile(/tmp/multipartBody2546902081791706393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735917632803,"filename":"image_03012025_16_18_02_478698_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0025616430694c9ae7e00e510ddda38e.jpg","text":"TemporaryFile(/tmp/multipartBody830888060626345645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735917632803,"filename":"image_03012025_16_19_02_628314_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d5c65e93698c6c9229583a61bcad9f32.jpg","text":"TemporaryFile(/tmp/multipartBody8616511851632668001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735917632803,"filename":"image_03012025_16_19_02_628314_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325885635","file1":"1325885633","file0":"1325885624","file3":"1325885637"},"map_files_photo_id_array":[{"photo_id":"1325885635","filename":"file2"},{"photo_id":"1325885633","filename":"file1"},{"photo_id":"1325885624","filename":"file0"},{"photo_id":"1325885637","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325885637":["hashtag1","hashtag2"]},{"1325885624":["hashtag1","hashtag2"]},{"1325885633":["hashtag1","hashtag2"]},{"1325885635":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325885637, 1325885624, 1325885633, 1325885635)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.59165382385254 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 16:20:22.656453
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/16/19/image_03012025_16_19_02_628314_0003.jpg', '/home/pi/Desktop/images/03012025/16/20/image_03012025_16_20_02_776095_0000.jpg', '/home/pi/Desktop/images/03012025/16/20/image_03012025_16_20_02_776095_0001.jpg', '/home/pi/Desktop/images/03012025/16/20/image_03012025_16_20_02_776095_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/16/19/image_03012025_16_19_02_628314_0003.jpg
/home/pi/Desktop/images/03012025/16/20/image_03012025_16_20_02_776095_0000.jpg
/home/pi/Desktop/images/03012025/16/20/image_03012025_16_20_02_776095_0001.jpg
/home/pi/Desktop/images/03012025/16/20/image_03012025_16_20_02_776095_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325885858","1325885782","1325885845","1325885854"],"photo_ids_order":["1325885782","1325885845","1325885854","1325885858"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ebde43bbd74da906f0a6a68a79417103.jpg","text":"TemporaryFile(/tmp/multipartBody611196609311207854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735917693031,"filename":"image_03012025_16_20_02_776095_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/73abdb62afa8b6445bb8fd0e97541516.jpg","text":"TemporaryFile(/tmp/multipartBody7998043917940844798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735917693031,"filename":"image_03012025_16_19_02_628314_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/df6bde5ca654302523b100678c9fd6fc.jpg","text":"TemporaryFile(/tmp/multipartBody6181490561235697353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735917693031,"filename":"image_03012025_16_20_02_776095_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4851640a3490df40ade6871eaa583e53.jpg","text":"TemporaryFile(/tmp/multipartBody3655928657748353429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735917693031,"filename":"image_03012025_16_20_02_776095_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325885854","file1":"1325885845","file0":"1325885782","file3":"1325885858"},"map_files_photo_id_array":[{"photo_id":"1325885854","filename":"file2"},{"photo_id":"1325885845","filename":"file1"},{"photo_id":"1325885782","filename":"file0"},{"photo_id":"1325885858","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325885858":["hashtag1","hashtag2"]},{"1325885782":["hashtag1","hashtag2"]},{"1325885845":["hashtag1","hashtag2"]},{"1325885854":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325885858, 1325885782, 1325885845, 1325885854)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.58655834197998 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 16:21:21.920527
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/16/20/image_03012025_16_20_02_776095_0003.jpg', '/home/pi/Desktop/images/03012025/16/21/image_03012025_16_21_03_056325_0000.jpg', '/home/pi/Desktop/images/03012025/16/21/image_03012025_16_21_03_056325_0001.jpg', '/home/pi/Desktop/images/03012025/16/21/image_03012025_16_21_03_056325_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/16/20/image_03012025_16_20_02_776095_0003.jpg
/home/pi/Desktop/images/03012025/16/21/image_03012025_16_21_03_056325_0000.jpg
/home/pi/Desktop/images/03012025/16/21/image_03012025_16_21_03_056325_0001.jpg
/home/pi/Desktop/images/03012025/16/21/image_03012025_16_21_03_056325_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325886296","1325886245","1325886068","1325886270"],"photo_ids_order":["1325886068","1325886245","1325886270","1325886296"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c7e3612a1815e7e9bb8676ba6ab4f612.jpg","text":"TemporaryFile(/tmp/multipartBody6472467605984811340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735917752373,"filename":"image_03012025_16_21_03_056325_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/028b5168366a5f1e5b03b84568f435c9.jpg","text":"TemporaryFile(/tmp/multipartBody4076938317869319735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735917752373,"filename":"image_03012025_16_21_03_056325_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ed3408b04b3e2a3b30a617978f3676c2.jpg","text":"TemporaryFile(/tmp/multipartBody385790876634033883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735917752373,"filename":"image_03012025_16_20_02_776095_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/67fb73ca643d5f12faea19e44c6fd73f.jpg","text":"TemporaryFile(/tmp/multipartBody1352739530045928999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735917752373,"filename":"image_03012025_16_21_03_056325_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325886270","file1":"1325886245","file0":"1325886068","file3":"1325886296"},"map_files_photo_id_array":[{"photo_id":"1325886270","filename":"file2"},{"photo_id":"1325886245","filename":"file1"},{"photo_id":"1325886068","filename":"file0"},{"photo_id":"1325886296","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325886296":["hashtag1","hashtag2"]},{"1325886245":["hashtag1","hashtag2"]},{"1325886068":["hashtag1","hashtag2"]},{"1325886270":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325886296, 1325886245, 1325886068, 1325886270)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.60371017456055 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 16:22:02.372603
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 16:22:22.128973
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/16/21/image_03012025_16_21_03_056325_0003.jpg', '/home/pi/Desktop/images/03012025/16/22/image_03012025_16_22_02_220446_0000.jpg', '/home/pi/Desktop/images/03012025/16/22/image_03012025_16_22_02_220446_0001.jpg', '/home/pi/Desktop/images/03012025/16/22/image_03012025_16_22_02_220446_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/16/21/image_03012025_16_21_03_056325_0003.jpg
/home/pi/Desktop/images/03012025/16/22/image_03012025_16_22_02_220446_0000.jpg
/home/pi/Desktop/images/03012025/16/22/image_03012025_16_22_02_220446_0001.jpg
/home/pi/Desktop/images/03012025/16/22/image_03012025_16_22_02_220446_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325886440","1325886641","1325886543","1325886444"],"photo_ids_order":["1325886440","1325886444","1325886543","1325886641"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/89ddcde0e4a6227dec3edc4b5484cf26.jpg","text":"TemporaryFile(/tmp/multipartBody8074019907232954898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735917812409,"filename":"image_03012025_16_21_03_056325_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6e118694ed3bbf64f258fbb7227e3dd6.jpg","text":"TemporaryFile(/tmp/multipartBody2081343581948500122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735917812409,"filename":"image_03012025_16_22_02_220446_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/84288a8a3105ff943497e034dbfbecee.jpg","text":"TemporaryFile(/tmp/multipartBody2463775974887215736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735917812409,"filename":"image_03012025_16_22_02_220446_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b6a985ad0ada4498140c981697e0d2b8.jpg","text":"TemporaryFile(/tmp/multipartBody3545245410536453507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735917812409,"filename":"image_03012025_16_22_02_220446_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325886543","file1":"1325886444","file0":"1325886440","file3":"1325886641"},"map_files_photo_id_array":[{"photo_id":"1325886543","filename":"file2"},{"photo_id":"1325886444","filename":"file1"},{"photo_id":"1325886440","filename":"file0"},{"photo_id":"1325886641","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325886440":["hashtag1","hashtag2"]},{"1325886641":["hashtag1","hashtag2"]},{"1325886543":["hashtag1","hashtag2"]},{"1325886444":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325886440, 1325886641, 1325886543, 1325886444)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.20106267929077 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 16:23:02.846848
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 16:23:22.119495
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/16/22/image_03012025_16_22_02_220446_0003.jpg', '/home/pi/Desktop/images/03012025/16/23/image_03012025_16_23_02_358477_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/16/22/image_03012025_16_22_02_220446_0003.jpg
/home/pi/Desktop/images/03012025/16/23/image_03012025_16_23_02_358477_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":["1325886878","1325886756"],"photo_ids_order":["1325886756","1325886878"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8349ed6e1214586be2f9999ae04c8291.jpg","text":"TemporaryFile(/tmp/multipartBody5023284079908074542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735917867657,"filename":"image_03012025_16_23_02_358477_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ea15c71c55ad73dafb1863d2d04fe0fb.jpg","text":"TemporaryFile(/tmp/multipartBody2610506980428313040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735917867657,"filename":"image_03012025_16_22_02_220446_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1325886878","file0":"1325886756"},"map_files_photo_id_array":[{"photo_id":"1325886878","filename":"file1"},{"photo_id":"1325886756","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325886878":["hashtag1","hashtag2"]},{"1325886756":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325886878, 1325886756)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.596646308898926 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-03 16:23:52.159260
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 16:24:02.912153
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 16:24:22.415983
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/16/23/image_03012025_16_23_02_358477_0001.jpg', '/home/pi/Desktop/images/03012025/16/24/image_03012025_16_24_02_558377_0000.jpg', '/home/pi/Desktop/images/03012025/16/24/image_03012025_16_24_02_558377_0001.jpg', '/home/pi/Desktop/images/03012025/16/24/image_03012025_16_24_02_558377_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/16/23/image_03012025_16_23_02_358477_0001.jpg
/home/pi/Desktop/images/03012025/16/24/image_03012025_16_24_02_558377_0000.jpg
/home/pi/Desktop/images/03012025/16/24/image_03012025_16_24_02_558377_0001.jpg
/home/pi/Desktop/images/03012025/16/24/image_03012025_16_24_02_558377_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325887538","1325887570","1325887590","1325887587"],"photo_ids_order":["1325887538","1325887570","1325887587","1325887590"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b452b3f84c7217c4ea9cee0a96f8e6c8.jpg","text":"TemporaryFile(/tmp/multipartBody8593790123834883133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735917932618,"filename":"image_03012025_16_23_02_358477_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/acaad2ba9b0a0ab360502abe5ae2ca31.jpg","text":"TemporaryFile(/tmp/multipartBody21306644902565536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735917932618,"filename":"image_03012025_16_24_02_558377_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/15c51ac357f7bc137e68e1a2a6501265.jpg","text":"TemporaryFile(/tmp/multipartBody6475998744518288603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735917932618,"filename":"image_03012025_16_24_02_558377_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ecb7383b5b8f5d3cd2babb17047afe5e.jpg","text":"TemporaryFile(/tmp/multipartBody1386167635745412299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735917932618,"filename":"image_03012025_16_24_02_558377_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325887587","file1":"1325887570","file0":"1325887538","file3":"1325887590"},"map_files_photo_id_array":[{"photo_id":"1325887587","filename":"file2"},{"photo_id":"1325887570","filename":"file1"},{"photo_id":"1325887538","filename":"file0"},{"photo_id":"1325887590","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325887538":["hashtag1","hashtag2"]},{"1325887570":["hashtag1","hashtag2"]},{"1325887590":["hashtag1","hashtag2"]},{"1325887587":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325887538, 1325887570, 1325887590, 1325887587)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.08813428878784 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 16:25:03.207526
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 16:25:22.474644
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/16/24/image_03012025_16_24_02_558377_0003.jpg', '/home/pi/Desktop/images/03012025/16/25/image_03012025_16_25_02_757706_0000.jpg', '/home/pi/Desktop/images/03012025/16/25/image_03012025_16_25_02_757706_0001.jpg', '/home/pi/Desktop/images/03012025/16/25/image_03012025_16_25_02_757706_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/16/24/image_03012025_16_24_02_558377_0003.jpg
/home/pi/Desktop/images/03012025/16/25/image_03012025_16_25_02_757706_0000.jpg
/home/pi/Desktop/images/03012025/16/25/image_03012025_16_25_02_757706_0001.jpg
/home/pi/Desktop/images/03012025/16/25/image_03012025_16_25_02_757706_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325887672","1325887762","1325887729","1325887726"],"photo_ids_order":["1325887672","1325887726","1325887729","1325887762"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e1311924d3353a8867e73b9a50386639.jpg","text":"TemporaryFile(/tmp/multipartBody2085490637698123482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735917992808,"filename":"image_03012025_16_24_02_558377_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/06f06b4074150b11bd0d7fb9041594da.jpg","text":"TemporaryFile(/tmp/multipartBody5672773404192767984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735917992808,"filename":"image_03012025_16_25_02_757706_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/fbe11d6d124c3d1dc8cc5c881d061c4b.jpg","text":"TemporaryFile(/tmp/multipartBody545048096856699845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735917992808,"filename":"image_03012025_16_25_02_757706_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/634c16eb1416bc5a38b8eba8e4b4f19d.jpg","text":"TemporaryFile(/tmp/multipartBody229200376931886943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735917992808,"filename":"image_03012025_16_25_02_757706_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325887729","file1":"1325887726","file0":"1325887672","file3":"1325887762"},"map_files_photo_id_array":[{"photo_id":"1325887729","filename":"file2"},{"photo_id":"1325887726","filename":"file1"},{"photo_id":"1325887672","filename":"file0"},{"photo_id":"1325887762","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325887672":["hashtag1","hashtag2"]},{"1325887762":["hashtag1","hashtag2"]},{"1325887729":["hashtag1","hashtag2"]},{"1325887726":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325887672, 1325887762, 1325887729, 1325887726)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.02850413322449 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 16:26:03.033543
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 16:26:22.849713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/16/25/image_03012025_16_25_02_757706_0003.jpg', '/home/pi/Desktop/images/03012025/16/26/image_03012025_16_26_02_862709_0000.jpg', '/home/pi/Desktop/images/03012025/16/26/image_03012025_16_26_02_862709_0001.jpg', '/home/pi/Desktop/images/03012025/16/26/image_03012025_16_26_02_862709_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/16/25/image_03012025_16_25_02_757706_0003.jpg
/home/pi/Desktop/images/03012025/16/26/image_03012025_16_26_02_862709_0000.jpg
/home/pi/Desktop/images/03012025/16/26/image_03012025_16_26_02_862709_0001.jpg
/home/pi/Desktop/images/03012025/16/26/image_03012025_16_26_02_862709_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325887834","1325887831","1325888244","1325887938"],"photo_ids_order":["1325887831","1325887834","1325887938","1325888244"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1b6f8db67749c0911c4055f6b2a5ac3e.jpg","text":"TemporaryFile(/tmp/multipartBody7549986161198515141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735918053270,"filename":"image_03012025_16_26_02_862709_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d52603ea4d4e20d435e0e0fde5eba381.jpg","text":"TemporaryFile(/tmp/multipartBody1715901329436350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735918053270,"filename":"image_03012025_16_25_02_757706_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/766bf32d88b66564a536a44f3dbca9ff.jpg","text":"TemporaryFile(/tmp/multipartBody878158556734588037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735918053270,"filename":"image_03012025_16_26_02_862709_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/21935f2bda72b825fc796426db748278.jpg","text":"TemporaryFile(/tmp/multipartBody8074926332051722150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735918053270,"filename":"image_03012025_16_26_02_862709_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325887938","file1":"1325887834","file0":"1325887831","file3":"1325888244"},"map_files_photo_id_array":[{"photo_id":"1325887938","filename":"file2"},{"photo_id":"1325887834","filename":"file1"},{"photo_id":"1325887831","filename":"file0"},{"photo_id":"1325888244","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325887834":["hashtag1","hashtag2"]},{"1325887831":["hashtag1","hashtag2"]},{"1325888244":["hashtag1","hashtag2"]},{"1325887938":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325887834, 1325887831, 1325888244, 1325887938)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.97445273399353 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 16:27:21.940944
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/16/26/image_03012025_16_26_02_862709_0003.jpg', '/home/pi/Desktop/images/03012025/16/27/image_03012025_16_27_03_113008_0000.jpg', '/home/pi/Desktop/images/03012025/16/27/image_03012025_16_27_03_113008_0001.jpg', '/home/pi/Desktop/images/03012025/16/27/image_03012025_16_27_03_113008_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/16/26/image_03012025_16_26_02_862709_0003.jpg
/home/pi/Desktop/images/03012025/16/27/image_03012025_16_27_03_113008_0000.jpg
/home/pi/Desktop/images/03012025/16/27/image_03012025_16_27_03_113008_0001.jpg
/home/pi/Desktop/images/03012025/16/27/image_03012025_16_27_03_113008_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.957678079605103 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-03 16:27:41.867641
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/16/26/image_03012025_16_26_02_862709_0003.jpg', '/home/pi/Desktop/images/03012025/16/27/image_03012025_16_27_03_113008_0000.jpg', '/home/pi/Desktop/images/03012025/16/27/image_03012025_16_27_03_113008_0001.jpg', '/home/pi/Desktop/images/03012025/16/27/image_03012025_16_27_03_113008_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/16/26/image_03012025_16_26_02_862709_0003.jpg
/home/pi/Desktop/images/03012025/16/27/image_03012025_16_27_03_113008_0000.jpg
/home/pi/Desktop/images/03012025/16/27/image_03012025_16_27_03_113008_0001.jpg
/home/pi/Desktop/images/03012025/16/27/image_03012025_16_27_03_113008_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325888650","1325888629","1325888527","1325888651"],"photo_ids_order":["1325888527","1325888629","1325888650","1325888651"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b7aaf09adbf14290682e65007e108fb3.jpg","text":"TemporaryFile(/tmp/multipartBody7232246603310829856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735918132215,"filename":"image_03012025_16_27_03_113008_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f955b3d3a4fd65f0aa9f763b0c2a92b6.jpg","text":"TemporaryFile(/tmp/multipartBody5339976306232358901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735918132215,"filename":"image_03012025_16_27_03_113008_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0651cc99060f5cc85027a38362ad56a9.jpg","text":"TemporaryFile(/tmp/multipartBody8301122582255364028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735918132215,"filename":"image_03012025_16_26_02_862709_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0d63559e20346824c04d7887f3ca5364.jpg","text":"TemporaryFile(/tmp/multipartBody1973988147020650584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735918132215,"filename":"image_03012025_16_27_03_113008_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325888650","file1":"1325888629","file0":"1325888527","file3":"1325888651"},"map_files_photo_id_array":[{"photo_id":"1325888650","filename":"file2"},{"photo_id":"1325888629","filename":"file1"},{"photo_id":"1325888527","filename":"file0"},{"photo_id":"1325888651","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325888650":["hashtag1","hashtag2"]},{"1325888629":["hashtag1","hashtag2"]},{"1325888527":["hashtag1","hashtag2"]},{"1325888651":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325888650, 1325888629, 1325888527, 1325888651)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.263795614242554 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-03 16:28:32.038515
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/16/27/image_03012025_16_27_03_113008_0003.jpg', '/home/pi/Desktop/images/03012025/16/28/image_03012025_16_28_02_211613_0000.jpg', '/home/pi/Desktop/images/03012025/16/28/image_03012025_16_28_02_211613_0001.jpg', '/home/pi/Desktop/images/03012025/16/28/image_03012025_16_28_02_211613_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/16/27/image_03012025_16_27_03_113008_0003.jpg
/home/pi/Desktop/images/03012025/16/28/image_03012025_16_28_02_211613_0000.jpg
/home/pi/Desktop/images/03012025/16/28/image_03012025_16_28_02_211613_0001.jpg
/home/pi/Desktop/images/03012025/16/28/image_03012025_16_28_02_211613_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325888884","1325888923","1325888926","1325888901"],"photo_ids_order":["1325888884","1325888901","1325888923","1325888926"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8b00868af831ac0dfe372c07eb649ecf.jpg","text":"TemporaryFile(/tmp/multipartBody4444085792937007353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735918182245,"filename":"image_03012025_16_27_03_113008_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/42bda623658dff89008011425e9742c5.jpg","text":"TemporaryFile(/tmp/multipartBody7873035422289271433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735918182245,"filename":"image_03012025_16_28_02_211613_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9bf1a9738c6c9af6f8a70bc07e537024.jpg","text":"TemporaryFile(/tmp/multipartBody2072350690331562495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735918182245,"filename":"image_03012025_16_28_02_211613_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8dd7aa205d8f0b4db2350594444bf755.jpg","text":"TemporaryFile(/tmp/multipartBody8954918852079492974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735918182245,"filename":"image_03012025_16_28_02_211613_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325888923","file1":"1325888901","file0":"1325888884","file3":"1325888926"},"map_files_photo_id_array":[{"photo_id":"1325888923","filename":"file2"},{"photo_id":"1325888901","filename":"file1"},{"photo_id":"1325888884","filename":"file0"},{"photo_id":"1325888926","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325888884":["hashtag1","hashtag2"]},{"1325888923":["hashtag1","hashtag2"]},{"1325888926":["hashtag1","hashtag2"]},{"1325888901":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325888884, 1325888923, 1325888926, 1325888901)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.32226538658142 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 16:29:22.343520
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/16/28/image_03012025_16_28_02_211613_0003.jpg', '/home/pi/Desktop/images/03012025/16/29/image_03012025_16_29_02_443116_0000.jpg', '/home/pi/Desktop/images/03012025/16/29/image_03012025_16_29_02_443116_0001.jpg', '/home/pi/Desktop/images/03012025/16/29/image_03012025_16_29_02_443116_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/16/28/image_03012025_16_28_02_211613_0003.jpg
/home/pi/Desktop/images/03012025/16/29/image_03012025_16_29_02_443116_0000.jpg
/home/pi/Desktop/images/03012025/16/29/image_03012025_16_29_02_443116_0001.jpg
/home/pi/Desktop/images/03012025/16/29/image_03012025_16_29_02_443116_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325889004","1325889001","1325889006","1325889009"],"photo_ids_order":["1325889001","1325889004","1325889006","1325889009"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3f944fd8374aeb9acc1c05bb37ec66d9.jpg","text":"TemporaryFile(/tmp/multipartBody3718431452680200916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735918232515,"filename":"image_03012025_16_29_02_443116_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4b97420df8f137b2c2bf532d7550e1da.jpg","text":"TemporaryFile(/tmp/multipartBody3386825274992054566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735918232515,"filename":"image_03012025_16_28_02_211613_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c9abb9c6b2add81a25fc97c0bad51e4f.jpg","text":"TemporaryFile(/tmp/multipartBody8712162886566379470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735918232515,"filename":"image_03012025_16_29_02_443116_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ff99ee409133bc631a335d6b03283910.jpg","text":"TemporaryFile(/tmp/multipartBody1537222843018508141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735918232515,"filename":"image_03012025_16_29_02_443116_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325889006","file1":"1325889004","file0":"1325889001","file3":"1325889009"},"map_files_photo_id_array":[{"photo_id":"1325889006","filename":"file2"},{"photo_id":"1325889004","filename":"file1"},{"photo_id":"1325889001","filename":"file0"},{"photo_id":"1325889009","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325889004":["hashtag1","hashtag2"]},{"1325889001":["hashtag1","hashtag2"]},{"1325889006":["hashtag1","hashtag2"]},{"1325889009":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325889004, 1325889001, 1325889006, 1325889009)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.801837682724 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 16:30:02.837182
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 16:30:22.356016
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/16/29/image_03012025_16_29_02_443116_0003.jpg', '/home/pi/Desktop/images/03012025/16/30/image_03012025_16_30_02_716408_0000.jpg', '/home/pi/Desktop/images/03012025/16/30/image_03012025_16_30_02_716408_0001.jpg', '/home/pi/Desktop/images/03012025/16/30/image_03012025_16_30_02_716408_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/16/29/image_03012025_16_29_02_443116_0003.jpg
/home/pi/Desktop/images/03012025/16/30/image_03012025_16_30_02_716408_0000.jpg
/home/pi/Desktop/images/03012025/16/30/image_03012025_16_30_02_716408_0001.jpg
/home/pi/Desktop/images/03012025/16/30/image_03012025_16_30_02_716408_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325889112","1325889360","1325889035","1325889346"],"photo_ids_order":["1325889035","1325889112","1325889346","1325889360"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/312dfb16e03cc6a4fb2e9a93d07f5f82.jpg","text":"TemporaryFile(/tmp/multipartBody33062749177969895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735918292709,"filename":"image_03012025_16_30_02_716408_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ea1d905183963106422f79a87d6f58ab.jpg","text":"TemporaryFile(/tmp/multipartBody7049311986424794184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735918292709,"filename":"image_03012025_16_30_02_716408_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/942ca65540767bd1d27168c8aa44586b.jpg","text":"TemporaryFile(/tmp/multipartBody2259112110405974521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735918292709,"filename":"image_03012025_16_29_02_443116_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/cfacccede2de5d64a29db251018945ea.jpg","text":"TemporaryFile(/tmp/multipartBody6038598338205414632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735918292709,"filename":"image_03012025_16_30_02_716408_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325889346","file1":"1325889112","file0":"1325889035","file3":"1325889360"},"map_files_photo_id_array":[{"photo_id":"1325889346","filename":"file2"},{"photo_id":"1325889112","filename":"file1"},{"photo_id":"1325889035","filename":"file0"},{"photo_id":"1325889360","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325889112":["hashtag1","hashtag2"]},{"1325889360":["hashtag1","hashtag2"]},{"1325889035":["hashtag1","hashtag2"]},{"1325889346":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325889112, 1325889360, 1325889035, 1325889346)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.392401933670044 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 16:31:22.619705
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/16/30/image_03012025_16_30_02_716408_0003.jpg', '/home/pi/Desktop/images/03012025/16/31/image_03012025_16_31_02_666384_0000.jpg', '/home/pi/Desktop/images/03012025/16/31/image_03012025_16_31_02_666384_0001.jpg', '/home/pi/Desktop/images/03012025/16/31/image_03012025_16_31_02_666384_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/16/30/image_03012025_16_30_02_716408_0003.jpg
/home/pi/Desktop/images/03012025/16/31/image_03012025_16_31_02_666384_0000.jpg
/home/pi/Desktop/images/03012025/16/31/image_03012025_16_31_02_666384_0001.jpg
/home/pi/Desktop/images/03012025/16/31/image_03012025_16_31_02_666384_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325889495","1325889912","1325890091","1325889562"],"photo_ids_order":["1325889495","1325889562","1325889912","1325890091"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/94715458b809228aed82e1004727cbca.jpg","text":"TemporaryFile(/tmp/multipartBody5167918919225047423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735918353132,"filename":"image_03012025_16_30_02_716408_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0cc93e31658396aedf092f819c0468c6.jpg","text":"TemporaryFile(/tmp/multipartBody1993101625584305776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735918353132,"filename":"image_03012025_16_31_02_666384_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9bd8eb61ccac3f96604ef9f3b0020ab4.jpg","text":"TemporaryFile(/tmp/multipartBody63750667893253166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735918353132,"filename":"image_03012025_16_31_02_666384_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b3290fb5fdd9b6698735a1195b65f6b5.jpg","text":"TemporaryFile(/tmp/multipartBody2060213300664243371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735918353132,"filename":"image_03012025_16_31_02_666384_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325889912","file1":"1325889562","file0":"1325889495","file3":"1325890091"},"map_files_photo_id_array":[{"photo_id":"1325889912","filename":"file2"},{"photo_id":"1325889562","filename":"file1"},{"photo_id":"1325889495","filename":"file0"},{"photo_id":"1325890091","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325889495":["hashtag1","hashtag2"]},{"1325889912":["hashtag1","hashtag2"]},{"1325890091":["hashtag1","hashtag2"]},{"1325889562":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325889495, 1325889912, 1325890091, 1325889562)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.513134717941284 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 16:32:22.735247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/16/31/image_03012025_16_31_02_666384_0003.jpg', '/home/pi/Desktop/images/03012025/16/32/image_03012025_16_32_02_981868_0000.jpg', '/home/pi/Desktop/images/03012025/16/32/image_03012025_16_32_02_981868_0001.jpg', '/home/pi/Desktop/images/03012025/16/32/image_03012025_16_32_02_981868_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/16/31/image_03012025_16_31_02_666384_0003.jpg
/home/pi/Desktop/images/03012025/16/32/image_03012025_16_32_02_981868_0000.jpg
/home/pi/Desktop/images/03012025/16/32/image_03012025_16_32_02_981868_0001.jpg
/home/pi/Desktop/images/03012025/16/32/image_03012025_16_32_02_981868_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325891091","1325891094","1325890744","1325890938"],"photo_ids_order":["1325890744","1325890938","1325891091","1325891094"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/201b13ab461915cb2e43b3bfde027458.jpg","text":"TemporaryFile(/tmp/multipartBody5343964238542723280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735918413256,"filename":"image_03012025_16_32_02_981868_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3b3ad6f5b92e8930972e1a8f6ef50f80.jpg","text":"TemporaryFile(/tmp/multipartBody2013818538297357253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735918413256,"filename":"image_03012025_16_32_02_981868_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a4f512053704ae4ee9332478314c5ef9.jpg","text":"TemporaryFile(/tmp/multipartBody3564568355653719279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735918413256,"filename":"image_03012025_16_31_02_666384_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1e3882c8d7282062ab2b278544c7a635.jpg","text":"TemporaryFile(/tmp/multipartBody9070013813079227297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735918413256,"filename":"image_03012025_16_32_02_981868_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325891091","file1":"1325890938","file0":"1325890744","file3":"1325891094"},"map_files_photo_id_array":[{"photo_id":"1325891091","filename":"file2"},{"photo_id":"1325890938","filename":"file1"},{"photo_id":"1325890744","filename":"file0"},{"photo_id":"1325891094","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325891091":["hashtag1","hashtag2"]},{"1325891094":["hashtag1","hashtag2"]},{"1325890744":["hashtag1","hashtag2"]},{"1325890938":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325891091, 1325891094, 1325890744, 1325890938)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.22080111503601 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 16:33:22.010741
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/16/32/image_03012025_16_32_02_981868_0003.jpg', '/home/pi/Desktop/images/03012025/16/33/image_03012025_16_33_03_110830_0000.jpg', '/home/pi/Desktop/images/03012025/16/33/image_03012025_16_33_03_110830_0001.jpg', '/home/pi/Desktop/images/03012025/16/33/image_03012025_16_33_03_110830_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/16/32/image_03012025_16_32_02_981868_0003.jpg
/home/pi/Desktop/images/03012025/16/33/image_03012025_16_33_03_110830_0000.jpg
/home/pi/Desktop/images/03012025/16/33/image_03012025_16_33_03_110830_0001.jpg
/home/pi/Desktop/images/03012025/16/33/image_03012025_16_33_03_110830_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325891371","1325891374","1325891368","1325891377"],"photo_ids_order":["1325891368","1325891371","1325891374","1325891377"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/802102917766f8b0f8ec91528b65198b.jpg","text":"TemporaryFile(/tmp/multipartBody8805317408470476469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735918472377,"filename":"image_03012025_16_33_03_110830_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1eee4d6ed15bdad0fa24723a401b57de.jpg","text":"TemporaryFile(/tmp/multipartBody3961206385447100521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735918472377,"filename":"image_03012025_16_33_03_110830_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/26cd4666dd3e9a7476163885af4baf77.jpg","text":"TemporaryFile(/tmp/multipartBody7972826929087855167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735918472377,"filename":"image_03012025_16_32_02_981868_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6c2233161b5e3228502a0ca33984d7a3.jpg","text":"TemporaryFile(/tmp/multipartBody1841742838656610133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735918472377,"filename":"image_03012025_16_33_03_110830_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325891374","file1":"1325891371","file0":"1325891368","file3":"1325891377"},"map_files_photo_id_array":[{"photo_id":"1325891374","filename":"file2"},{"photo_id":"1325891371","filename":"file1"},{"photo_id":"1325891368","filename":"file0"},{"photo_id":"1325891377","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325891371":["hashtag1","hashtag2"]},{"1325891374":["hashtag1","hashtag2"]},{"1325891368":["hashtag1","hashtag2"]},{"1325891377":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325891371, 1325891374, 1325891368, 1325891377)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.434592962265015 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 16:34:22.233314
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/16/33/image_03012025_16_33_03_110830_0003.jpg', '/home/pi/Desktop/images/03012025/16/34/image_03012025_16_34_02_319750_0000.jpg', '/home/pi/Desktop/images/03012025/16/34/image_03012025_16_34_02_319750_0001.jpg', '/home/pi/Desktop/images/03012025/16/34/image_03012025_16_34_02_319750_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/16/33/image_03012025_16_33_03_110830_0003.jpg
/home/pi/Desktop/images/03012025/16/34/image_03012025_16_34_02_319750_0000.jpg
/home/pi/Desktop/images/03012025/16/34/image_03012025_16_34_02_319750_0001.jpg
/home/pi/Desktop/images/03012025/16/34/image_03012025_16_34_02_319750_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325891769","1325891742","1325891764","1325891746"],"photo_ids_order":["1325891742","1325891746","1325891764","1325891769"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/843446ec1609ff29d835d2ff082e222d.jpg","text":"TemporaryFile(/tmp/multipartBody6119159839253144785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735918532547,"filename":"image_03012025_16_34_02_319750_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/59ed517852dca3b0672cc878a5e15ec9.jpg","text":"TemporaryFile(/tmp/multipartBody3052739379226949973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735918532547,"filename":"image_03012025_16_33_03_110830_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d12bc7345662d3c9f54c440d43e1a11c.jpg","text":"TemporaryFile(/tmp/multipartBody9139331878099589023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735918532547,"filename":"image_03012025_16_34_02_319750_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1264b2ca830a55220f01a8c77f7caef0.jpg","text":"TemporaryFile(/tmp/multipartBody2697444743352583713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735918532547,"filename":"image_03012025_16_34_02_319750_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325891764","file1":"1325891746","file0":"1325891742","file3":"1325891769"},"map_files_photo_id_array":[{"photo_id":"1325891764","filename":"file2"},{"photo_id":"1325891746","filename":"file1"},{"photo_id":"1325891742","filename":"file0"},{"photo_id":"1325891769","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325891769":["hashtag1","hashtag2"]},{"1325891742":["hashtag1","hashtag2"]},{"1325891764":["hashtag1","hashtag2"]},{"1325891746":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325891769, 1325891742, 1325891764, 1325891746)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.1530179977417 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 16:35:03.004405
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 16:35:22.368955
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/16/34/image_03012025_16_34_02_319750_0003.jpg', '/home/pi/Desktop/images/03012025/16/35/image_03012025_16_35_02_590779_0000.jpg', '/home/pi/Desktop/images/03012025/16/35/image_03012025_16_35_02_590779_0001.jpg', '/home/pi/Desktop/images/03012025/16/35/image_03012025_16_35_02_590779_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/16/34/image_03012025_16_34_02_319750_0003.jpg
/home/pi/Desktop/images/03012025/16/35/image_03012025_16_35_02_590779_0000.jpg
/home/pi/Desktop/images/03012025/16/35/image_03012025_16_35_02_590779_0001.jpg
/home/pi/Desktop/images/03012025/16/35/image_03012025_16_35_02_590779_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325892438","1325892335","1325892458","1325892311"],"photo_ids_order":["1325892311","1325892335","1325892438","1325892458"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3425905908867bd2151e2fd4423ed4c7.jpg","text":"TemporaryFile(/tmp/multipartBody7001816790447804863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735918592693,"filename":"image_03012025_16_35_02_590779_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ee5c81f9ca7ff1da38a4fe813d21e388.jpg","text":"TemporaryFile(/tmp/multipartBody7653083154547143455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735918592693,"filename":"image_03012025_16_35_02_590779_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1ef388a7ad2beaa6a88bb48ca7c2a1b0.jpg","text":"TemporaryFile(/tmp/multipartBody157712920769111233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735918592693,"filename":"image_03012025_16_35_02_590779_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7fe833f4b367ef478f8be3b314bbb49f.jpg","text":"TemporaryFile(/tmp/multipartBody3566369303322504035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735918592693,"filename":"image_03012025_16_34_02_319750_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325892438","file1":"1325892335","file0":"1325892311","file3":"1325892458"},"map_files_photo_id_array":[{"photo_id":"1325892438","filename":"file2"},{"photo_id":"1325892335","filename":"file1"},{"photo_id":"1325892311","filename":"file0"},{"photo_id":"1325892458","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325892438":["hashtag1","hashtag2"]},{"1325892335":["hashtag1","hashtag2"]},{"1325892458":["hashtag1","hashtag2"]},{"1325892311":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325892438, 1325892335, 1325892458, 1325892311)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.70502734184265 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 16:36:02.967908
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 16:36:22.529064
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/16/35/image_03012025_16_35_02_590779_0003.jpg', '/home/pi/Desktop/images/03012025/16/36/image_03012025_16_36_02_801543_0000.jpg', '/home/pi/Desktop/images/03012025/16/36/image_03012025_16_36_02_801543_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/16/35/image_03012025_16_35_02_590779_0003.jpg
/home/pi/Desktop/images/03012025/16/36/image_03012025_16_36_02_801543_0000.jpg
/home/pi/Desktop/images/03012025/16/36/image_03012025_16_36_02_801543_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325892957","1325892951","1325892954"],"photo_ids_order":["1325892951","1325892954","1325892957"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/76c3c2ad625556ee37d46e8f78999e08.jpg","text":"TemporaryFile(/tmp/multipartBody4101194439993112741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735918650311,"filename":"image_03012025_16_36_02_801543_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/fdff5447333e28670811a14cd9494248.jpg","text":"TemporaryFile(/tmp/multipartBody7442092895804548877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735918650311,"filename":"image_03012025_16_35_02_590779_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/77f1ed3e23e81ed8e1207c2a6ff330d9.jpg","text":"TemporaryFile(/tmp/multipartBody7814811139830936303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735918650311,"filename":"image_03012025_16_36_02_801543_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325892957","file1":"1325892954","file0":"1325892951"},"map_files_photo_id_array":[{"photo_id":"1325892957","filename":"file2"},{"photo_id":"1325892954","filename":"file1"},{"photo_id":"1325892951","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325892957":["hashtag1","hashtag2"]},{"1325892951":["hashtag1","hashtag2"]},{"1325892954":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325892957, 1325892951, 1325892954)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.262439489364624 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 16:37:03.448374
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 16:37:22.687096
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/16/36/image_03012025_16_36_02_801543_0003.jpg', '/home/pi/Desktop/images/03012025/16/37/image_03012025_16_37_02_815323_0000.jpg', '/home/pi/Desktop/images/03012025/16/37/image_03012025_16_37_02_815323_0001.jpg', '/home/pi/Desktop/images/03012025/16/37/image_03012025_16_37_02_815323_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/16/36/image_03012025_16_36_02_801543_0003.jpg
/home/pi/Desktop/images/03012025/16/37/image_03012025_16_37_02_815323_0000.jpg
/home/pi/Desktop/images/03012025/16/37/image_03012025_16_37_02_815323_0001.jpg
/home/pi/Desktop/images/03012025/16/37/image_03012025_16_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":["1325892970","1325892973","1325892967","1325892976"],"photo_ids_order":["1325892967","1325892970","1325892973","1325892976"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/28d54f8878ff61cc4a969fb4ce1d4e23.jpg","text":"TemporaryFile(/tmp/multipartBody3342269136192385749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735918712969,"filename":"image_03012025_16_37_02_815323_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8a9598b576ec31b125f676fb74b07381.jpg","text":"TemporaryFile(/tmp/multipartBody1373235471986515292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735918712969,"filename":"image_03012025_16_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/3/7903fbc4ce0f8dd2462603b7641f4089.jpg","text":"TemporaryFile(/tmp/multipartBody9182138175313520178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735918712969,"filename":"image_03012025_16_36_02_801543_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/94d77458aaa563a94c1f69248def8e35.jpg","text":"TemporaryFile(/tmp/multipartBody6057394383178356157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735918712969,"filename":"image_03012025_16_37_02_815323_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325892973","file1":"1325892970","file0":"1325892967","file3":"1325892976"},"map_files_photo_id_array":[{"photo_id":"1325892973","filename":"file2"},{"photo_id":"1325892970","filename":"file1"},{"photo_id":"1325892967","filename":"file0"},{"photo_id":"1325892976","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325892970":["hashtag1","hashtag2"]},{"1325892973":["hashtag1","hashtag2"]},{"1325892967":["hashtag1","hashtag2"]},{"1325892976":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325892970, 1325892973, 1325892967, 1325892976)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.70932912826538 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 16:38:21.843158
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/16/37/image_03012025_16_37_02_815323_0003.jpg', '/home/pi/Desktop/images/03012025/16/38/image_03012025_16_38_03_009534_0000.jpg', '/home/pi/Desktop/images/03012025/16/38/image_03012025_16_38_03_009534_0001.jpg', '/home/pi/Desktop/images/03012025/16/38/image_03012025_16_38_03_009534_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/16/37/image_03012025_16_37_02_815323_0003.jpg
/home/pi/Desktop/images/03012025/16/38/image_03012025_16_38_03_009534_0000.jpg
/home/pi/Desktop/images/03012025/16/38/image_03012025_16_38_03_009534_0001.jpg
/home/pi/Desktop/images/03012025/16/38/image_03012025_16_38_03_009534_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325893317","1325893313","1325893307","1325893321"],"photo_ids_order":["1325893307","1325893313","1325893317","1325893321"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/fe8a7beb3e36668844db1580ef997e06.jpg","text":"TemporaryFile(/tmp/multipartBody6309334085237020912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735918772151,"filename":"image_03012025_16_38_03_009534_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/002251570253e8f3149f5ac5d84567d0.jpg","text":"TemporaryFile(/tmp/multipartBody2643458155701514497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735918772151,"filename":"image_03012025_16_38_03_009534_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/605dd566485ef1171e5d5ff1833ce3b7.jpg","text":"TemporaryFile(/tmp/multipartBody2635456800344767380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735918772151,"filename":"image_03012025_16_37_02_815323_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4d7edb3c843f467694c70dd0b0fed5d2.jpg","text":"TemporaryFile(/tmp/multipartBody3551271787342646672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735918772151,"filename":"image_03012025_16_38_03_009534_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325893317","file1":"1325893313","file0":"1325893307","file3":"1325893321"},"map_files_photo_id_array":[{"photo_id":"1325893317","filename":"file2"},{"photo_id":"1325893313","filename":"file1"},{"photo_id":"1325893307","filename":"file0"},{"photo_id":"1325893321","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325893317":["hashtag1","hashtag2"]},{"1325893313":["hashtag1","hashtag2"]},{"1325893307":["hashtag1","hashtag2"]},{"1325893321":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325893317, 1325893313, 1325893307, 1325893321)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.15633940696716 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 16:39:22.127804
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/16/38/image_03012025_16_38_03_009534_0003.jpg', '/home/pi/Desktop/images/03012025/16/39/image_03012025_16_39_02_280445_0000.jpg', '/home/pi/Desktop/images/03012025/16/39/image_03012025_16_39_02_280445_0001.jpg', '/home/pi/Desktop/images/03012025/16/39/image_03012025_16_39_02_280445_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/16/38/image_03012025_16_38_03_009534_0003.jpg
/home/pi/Desktop/images/03012025/16/39/image_03012025_16_39_02_280445_0000.jpg
/home/pi/Desktop/images/03012025/16/39/image_03012025_16_39_02_280445_0001.jpg
/home/pi/Desktop/images/03012025/16/39/image_03012025_16_39_02_280445_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325893496","1325893500","1325893498","1325893491"],"photo_ids_order":["1325893491","1325893496","1325893498","1325893500"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/dc302fd8d02d588698e6ca6ec2f746a6.jpg","text":"TemporaryFile(/tmp/multipartBody754771660782177219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735918832290,"filename":"image_03012025_16_39_02_280445_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/983f8602b27c6e4107f35b6dca74b25c.jpg","text":"TemporaryFile(/tmp/multipartBody6883498231703707167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735918832290,"filename":"image_03012025_16_39_02_280445_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3a0f3db74560df2ba33ea539ce110930.jpg","text":"TemporaryFile(/tmp/multipartBody8172668313676888182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735918832290,"filename":"image_03012025_16_39_02_280445_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/03859fc5444c646e55ab46c3be0b6d44.jpg","text":"TemporaryFile(/tmp/multipartBody8659106578242269399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735918832290,"filename":"image_03012025_16_38_03_009534_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325893498","file1":"1325893496","file0":"1325893491","file3":"1325893500"},"map_files_photo_id_array":[{"photo_id":"1325893498","filename":"file2"},{"photo_id":"1325893496","filename":"file1"},{"photo_id":"1325893491","filename":"file0"},{"photo_id":"1325893500","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325893496":["hashtag1","hashtag2"]},{"1325893500":["hashtag1","hashtag2"]},{"1325893498":["hashtag1","hashtag2"]},{"1325893491":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325893496, 1325893500, 1325893498, 1325893491)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.150779485702515 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 16:40:22.205410
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/16/39/image_03012025_16_39_02_280445_0003.jpg', '/home/pi/Desktop/images/03012025/16/40/image_03012025_16_40_02_406035_0001.jpg', '/home/pi/Desktop/images/03012025/16/40/image_03012025_16_40_02_406035_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/16/39/image_03012025_16_39_02_280445_0003.jpg
/home/pi/Desktop/images/03012025/16/40/image_03012025_16_40_02_406035_0001.jpg
/home/pi/Desktop/images/03012025/16/40/image_03012025_16_40_02_406035_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325893655","1325893658","1325893593"],"photo_ids_order":["1325893593","1325893655","1325893658"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6564a7547547cdaa40ba1c1c41a22b77.jpg","text":"TemporaryFile(/tmp/multipartBody1066307327318461239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735918890046,"filename":"image_03012025_16_40_02_406035_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3cafa330c8e7c86cff3edc023262254f.jpg","text":"TemporaryFile(/tmp/multipartBody6772894939878761842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735918890046,"filename":"image_03012025_16_40_02_406035_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f29164f4f8b76fa4a0ae0de5614f2488.jpg","text":"TemporaryFile(/tmp/multipartBody3016932900193080158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735918890046,"filename":"image_03012025_16_39_02_280445_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325893658","file1":"1325893655","file0":"1325893593"},"map_files_photo_id_array":[{"photo_id":"1325893658","filename":"file2"},{"photo_id":"1325893655","filename":"file1"},{"photo_id":"1325893593","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325893655":["hashtag1","hashtag2"]},{"1325893658":["hashtag1","hashtag2"]},{"1325893593":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325893655, 1325893658, 1325893593)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.920607566833496 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 16:41:02.944610
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 16:41:22.368906
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/16/40/image_03012025_16_40_02_406035_0003.jpg', '/home/pi/Desktop/images/03012025/16/41/image_03012025_16_41_02_540904_0000.jpg', '/home/pi/Desktop/images/03012025/16/41/image_03012025_16_41_02_540904_0001.jpg', '/home/pi/Desktop/images/03012025/16/41/image_03012025_16_41_02_540904_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/16/40/image_03012025_16_40_02_406035_0003.jpg
/home/pi/Desktop/images/03012025/16/41/image_03012025_16_41_02_540904_0000.jpg
/home/pi/Desktop/images/03012025/16/41/image_03012025_16_41_02_540904_0001.jpg
/home/pi/Desktop/images/03012025/16/41/image_03012025_16_41_02_540904_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325893952","1325893966","1325893969","1325893971"],"photo_ids_order":["1325893952","1325893966","1325893969","1325893971"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/83d2941cfc426cb76f0f892ee4f58eaa.jpg","text":"TemporaryFile(/tmp/multipartBody8403022687587601816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735918952616,"filename":"image_03012025_16_40_02_406035_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3d22b768b930f67226617954dfa64020.jpg","text":"TemporaryFile(/tmp/multipartBody7881761594380008339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735918952616,"filename":"image_03012025_16_41_02_540904_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d6dfe9dc19524ca3ff06b5fcd0f69596.jpg","text":"TemporaryFile(/tmp/multipartBody5795347866068557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735918952616,"filename":"image_03012025_16_41_02_540904_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/db3414e1392b8bfb0b07103589d391b5.jpg","text":"TemporaryFile(/tmp/multipartBody8491091571059203200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735918952616,"filename":"image_03012025_16_41_02_540904_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325893969","file1":"1325893966","file0":"1325893952","file3":"1325893971"},"map_files_photo_id_array":[{"photo_id":"1325893969","filename":"file2"},{"photo_id":"1325893966","filename":"file1"},{"photo_id":"1325893952","filename":"file0"},{"photo_id":"1325893971","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325893952":["hashtag1","hashtag2"]},{"1325893966":["hashtag1","hashtag2"]},{"1325893969":["hashtag1","hashtag2"]},{"1325893971":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325893952, 1325893966, 1325893969, 1325893971)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.21821045875549 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 16:42:22.570366
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/16/41/image_03012025_16_41_02_540904_0003.jpg', '/home/pi/Desktop/images/03012025/16/42/image_03012025_16_42_02_808158_0000.jpg', '/home/pi/Desktop/images/03012025/16/42/image_03012025_16_42_02_808158_0001.jpg', '/home/pi/Desktop/images/03012025/16/42/image_03012025_16_42_02_808158_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/16/41/image_03012025_16_41_02_540904_0003.jpg
/home/pi/Desktop/images/03012025/16/42/image_03012025_16_42_02_808158_0000.jpg
/home/pi/Desktop/images/03012025/16/42/image_03012025_16_42_02_808158_0001.jpg
/home/pi/Desktop/images/03012025/16/42/image_03012025_16_42_02_808158_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325894282","1325894243","1325894246","1325894284"],"photo_ids_order":["1325894243","1325894246","1325894282","1325894284"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/51af77e2caf9dfdbe1cbc483592c318b.jpg","text":"TemporaryFile(/tmp/multipartBody1906378845794946171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735919012793,"filename":"image_03012025_16_42_02_808158_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a15a48ae19e2f57d77a707faa1175729.jpg","text":"TemporaryFile(/tmp/multipartBody7305043649240850223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735919012793,"filename":"image_03012025_16_41_02_540904_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/be883b9f7d7cd6ee641a89aea72fb277.jpg","text":"TemporaryFile(/tmp/multipartBody3508748980592254130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735919012793,"filename":"image_03012025_16_42_02_808158_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0decafe1e3cebe03a1c42ed2cf127686.jpg","text":"TemporaryFile(/tmp/multipartBody8656533902406127483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735919012793,"filename":"image_03012025_16_42_02_808158_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325894282","file1":"1325894246","file0":"1325894243","file3":"1325894284"},"map_files_photo_id_array":[{"photo_id":"1325894282","filename":"file2"},{"photo_id":"1325894246","filename":"file1"},{"photo_id":"1325894243","filename":"file0"},{"photo_id":"1325894284","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325894282":["hashtag1","hashtag2"]},{"1325894243":["hashtag1","hashtag2"]},{"1325894246":["hashtag1","hashtag2"]},{"1325894284":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325894282, 1325894243, 1325894246, 1325894284)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.98083543777466 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 16:43:22.761895
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/16/42/image_03012025_16_42_02_808158_0003.jpg', '/home/pi/Desktop/images/03012025/16/43/image_03012025_16_43_02_908488_0000.jpg', '/home/pi/Desktop/images/03012025/16/43/image_03012025_16_43_02_908488_0001.jpg', '/home/pi/Desktop/images/03012025/16/43/image_03012025_16_43_02_908488_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/16/42/image_03012025_16_42_02_808158_0003.jpg
/home/pi/Desktop/images/03012025/16/43/image_03012025_16_43_02_908488_0000.jpg
/home/pi/Desktop/images/03012025/16/43/image_03012025_16_43_02_908488_0001.jpg
/home/pi/Desktop/images/03012025/16/43/image_03012025_16_43_02_908488_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325894307","1325894377","1325894352","1325894355"],"photo_ids_order":["1325894307","1325894352","1325894355","1325894377"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b2a7cf7fb698b5631b0d6f9e0781f473.jpg","text":"TemporaryFile(/tmp/multipartBody7904989702714994558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735919072990,"filename":"image_03012025_16_42_02_808158_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/42c741c434a115b0e9d9a2056534b51d.jpg","text":"TemporaryFile(/tmp/multipartBody2367634840795123435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735919072990,"filename":"image_03012025_16_43_02_908488_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2fad6df34f521b5ff83e09e2b6eaa6ee.jpg","text":"TemporaryFile(/tmp/multipartBody3710083102271654418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735919072990,"filename":"image_03012025_16_43_02_908488_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/719a4aac8ce62e92ba29e18904627cb1.jpg","text":"TemporaryFile(/tmp/multipartBody520861055937015867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735919072990,"filename":"image_03012025_16_43_02_908488_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325894355","file1":"1325894352","file0":"1325894307","file3":"1325894377"},"map_files_photo_id_array":[{"photo_id":"1325894355","filename":"file2"},{"photo_id":"1325894352","filename":"file1"},{"photo_id":"1325894307","filename":"file0"},{"photo_id":"1325894377","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325894307":["hashtag1","hashtag2"]},{"1325894377":["hashtag1","hashtag2"]},{"1325894352":["hashtag1","hashtag2"]},{"1325894355":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325894307, 1325894377, 1325894352, 1325894355)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.40103244781494 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 16:44:02.335308
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 16:44:21.970514
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/16/43/image_03012025_16_43_02_908488_0003.jpg', '/home/pi/Desktop/images/03012025/16/44/image_03012025_16_44_03_099685_0000.jpg', '/home/pi/Desktop/images/03012025/16/44/image_03012025_16_44_03_099685_0001.jpg', '/home/pi/Desktop/images/03012025/16/44/image_03012025_16_44_03_099685_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/16/43/image_03012025_16_43_02_908488_0003.jpg
/home/pi/Desktop/images/03012025/16/44/image_03012025_16_44_03_099685_0000.jpg
/home/pi/Desktop/images/03012025/16/44/image_03012025_16_44_03_099685_0001.jpg
/home/pi/Desktop/images/03012025/16/44/image_03012025_16_44_03_099685_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325894786","1325894834","1325894825","1325894830"],"photo_ids_order":["1325894786","1325894825","1325894830","1325894834"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a9344f8fb8aa8fc08a7e1b23f4bebac5.jpg","text":"TemporaryFile(/tmp/multipartBody2845164123342171132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735919132200,"filename":"image_03012025_16_43_02_908488_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3e55f534d39a83102acf1d4c3f08c20c.jpg","text":"TemporaryFile(/tmp/multipartBody8960205399635282695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735919132200,"filename":"image_03012025_16_44_03_099685_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/754d150911269dd656ed9b62b5c2d6b0.jpg","text":"TemporaryFile(/tmp/multipartBody1289832781757718575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735919132200,"filename":"image_03012025_16_44_03_099685_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f81d5443967ddf4d3acb3de77ab88885.jpg","text":"TemporaryFile(/tmp/multipartBody2297047094125472173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735919132200,"filename":"image_03012025_16_44_03_099685_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325894830","file1":"1325894825","file0":"1325894786","file3":"1325894834"},"map_files_photo_id_array":[{"photo_id":"1325894830","filename":"file2"},{"photo_id":"1325894825","filename":"file1"},{"photo_id":"1325894786","filename":"file0"},{"photo_id":"1325894834","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325894786":["hashtag1","hashtag2"]},{"1325894834":["hashtag1","hashtag2"]},{"1325894825":["hashtag1","hashtag2"]},{"1325894830":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325894786, 1325894834, 1325894825, 1325894830)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.18609046936035 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 16:45:22.192918
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/16/44/image_03012025_16_44_03_099685_0003.jpg', '/home/pi/Desktop/images/03012025/16/45/image_03012025_16_45_02_351848_0000.jpg', '/home/pi/Desktop/images/03012025/16/45/image_03012025_16_45_02_351848_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/16/44/image_03012025_16_44_03_099685_0003.jpg
/home/pi/Desktop/images/03012025/16/45/image_03012025_16_45_02_351848_0000.jpg
/home/pi/Desktop/images/03012025/16/45/image_03012025_16_45_02_351848_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":["1325894855","1325895074","1325894859"],"photo_ids_order":["1325894855","1325894859","1325895074"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/fa0a1933541d15fb67dcaeaf9c5b3ee1.jpg","text":"TemporaryFile(/tmp/multipartBody1469718398368837885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735919190107,"filename":"image_03012025_16_44_03_099685_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/05820f401be4ef80845a9522da105355.jpg","text":"TemporaryFile(/tmp/multipartBody7384020629726580291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735919190107,"filename":"image_03012025_16_45_02_351848_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1f0f6c261458b9b47790f22c979f2951.jpg","text":"TemporaryFile(/tmp/multipartBody7614334655746180787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735919190107,"filename":"image_03012025_16_45_02_351848_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325895074","file1":"1325894859","file0":"1325894855"},"map_files_photo_id_array":[{"photo_id":"1325895074","filename":"file2"},{"photo_id":"1325894859","filename":"file1"},{"photo_id":"1325894855","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325894855":["hashtag1","hashtag2"]},{"1325895074":["hashtag1","hashtag2"]},{"1325894859":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325894855, 1325895074, 1325894859)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.904301166534424 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 16:46:02.605815
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 16:46:22.271344
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/16/45/image_03012025_16_45_02_351848_0003.jpg', '/home/pi/Desktop/images/03012025/16/46/image_03012025_16_46_02_491332_0000.jpg', '/home/pi/Desktop/images/03012025/16/46/image_03012025_16_46_02_491332_0001.jpg', '/home/pi/Desktop/images/03012025/16/46/image_03012025_16_46_02_491332_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/16/45/image_03012025_16_45_02_351848_0003.jpg
/home/pi/Desktop/images/03012025/16/46/image_03012025_16_46_02_491332_0000.jpg
/home/pi/Desktop/images/03012025/16/46/image_03012025_16_46_02_491332_0001.jpg
/home/pi/Desktop/images/03012025/16/46/image_03012025_16_46_02_491332_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325895468","1325895507","1325895650","1325895653"],"photo_ids_order":["1325895468","1325895507","1325895650","1325895653"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/335e6045d43f251424ada2ce71f3116b.jpg","text":"TemporaryFile(/tmp/multipartBody4930630895280813391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735919252472,"filename":"image_03012025_16_45_02_351848_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a496d972ecec6768334d720e7f02cc76.jpg","text":"TemporaryFile(/tmp/multipartBody4380446077437357600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735919252472,"filename":"image_03012025_16_46_02_491332_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/797ad602856142f67332bb89c6e74394.jpg","text":"TemporaryFile(/tmp/multipartBody3061231553591935199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735919252472,"filename":"image_03012025_16_46_02_491332_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d8df0e1b378972b66b5992dbefd2ad86.jpg","text":"TemporaryFile(/tmp/multipartBody6045662472038189392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735919252472,"filename":"image_03012025_16_46_02_491332_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325895650","file1":"1325895507","file0":"1325895468","file3":"1325895653"},"map_files_photo_id_array":[{"photo_id":"1325895650","filename":"file2"},{"photo_id":"1325895507","filename":"file1"},{"photo_id":"1325895468","filename":"file0"},{"photo_id":"1325895653","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325895468":["hashtag1","hashtag2"]},{"1325895507":["hashtag1","hashtag2"]},{"1325895650":["hashtag1","hashtag2"]},{"1325895653":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325895468, 1325895507, 1325895650, 1325895653)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.12886047363281 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 16:47:02.968472
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 16:47:22.414983
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/16/46/image_03012025_16_46_02_491332_0003.jpg', '/home/pi/Desktop/images/03012025/16/47/image_03012025_16_47_02_594669_0000.jpg', '/home/pi/Desktop/images/03012025/16/47/image_03012025_16_47_02_594669_0001.jpg', '/home/pi/Desktop/images/03012025/16/47/image_03012025_16_47_02_594669_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/16/46/image_03012025_16_46_02_491332_0003.jpg
/home/pi/Desktop/images/03012025/16/47/image_03012025_16_47_02_594669_0000.jpg
/home/pi/Desktop/images/03012025/16/47/image_03012025_16_47_02_594669_0001.jpg
/home/pi/Desktop/images/03012025/16/47/image_03012025_16_47_02_594669_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325895812","1325895820","1325895817","1325895814"],"photo_ids_order":["1325895812","1325895814","1325895817","1325895820"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c53340d8e6bc77bbf5940024021242e8.jpg","text":"TemporaryFile(/tmp/multipartBody8728477078794739573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735919312706,"filename":"image_03012025_16_46_02_491332_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6133eb2cb88bf0bced8d9fa5fbc0416f.jpg","text":"TemporaryFile(/tmp/multipartBody6570307677807154502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735919312706,"filename":"image_03012025_16_47_02_594669_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7af92fac23cfd3cb290ab1cc88a941d9.jpg","text":"TemporaryFile(/tmp/multipartBody7661484163297442317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735919312706,"filename":"image_03012025_16_47_02_594669_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4fba4968b1e6803d4bb2e938d54faa51.jpg","text":"TemporaryFile(/tmp/multipartBody1823511826190909554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735919312706,"filename":"image_03012025_16_47_02_594669_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325895817","file1":"1325895814","file0":"1325895812","file3":"1325895820"},"map_files_photo_id_array":[{"photo_id":"1325895817","filename":"file2"},{"photo_id":"1325895814","filename":"file1"},{"photo_id":"1325895812","filename":"file0"},{"photo_id":"1325895820","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325895812":["hashtag1","hashtag2"]},{"1325895820":["hashtag1","hashtag2"]},{"1325895817":["hashtag1","hashtag2"]},{"1325895814":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325895812, 1325895820, 1325895817, 1325895814)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.05705714225769 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 16:48:02.966518
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 16:48:22.554735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/16/47/image_03012025_16_47_02_594669_0003.jpg', '/home/pi/Desktop/images/03012025/16/48/image_03012025_16_48_02_754409_0001.jpg', '/home/pi/Desktop/images/03012025/16/48/image_03012025_16_48_02_754409_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/16/47/image_03012025_16_47_02_594669_0003.jpg
/home/pi/Desktop/images/03012025/16/48/image_03012025_16_48_02_754409_0001.jpg
/home/pi/Desktop/images/03012025/16/48/image_03012025_16_48_02_754409_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325896068","1325896128","1325896133"],"photo_ids_order":["1325896068","1325896128","1325896133"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b9e5215aa27d2a33901acf0cb568d525.jpg","text":"TemporaryFile(/tmp/multipartBody6049421946785270837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735919370363,"filename":"image_03012025_16_47_02_594669_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6b8e2ec960667b5431ccc91a75ff78a2.jpg","text":"TemporaryFile(/tmp/multipartBody4920002391659257269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735919370363,"filename":"image_03012025_16_48_02_754409_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4ebfe376cb5b199bc6001b8c305ff7ad.jpg","text":"TemporaryFile(/tmp/multipartBody3896472666198315409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735919370363,"filename":"image_03012025_16_48_02_754409_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325896133","file1":"1325896128","file0":"1325896068"},"map_files_photo_id_array":[{"photo_id":"1325896133","filename":"file2"},{"photo_id":"1325896128","filename":"file1"},{"photo_id":"1325896068","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325896068":["hashtag1","hashtag2"]},{"1325896128":["hashtag1","hashtag2"]},{"1325896133":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325896068, 1325896128, 1325896133)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.793419122695923 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 16:49:02.460218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 16:49:21.782919
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/16/48/image_03012025_16_48_02_754409_0003.jpg', '/home/pi/Desktop/images/03012025/16/49/image_03012025_16_49_02_901057_0000.jpg', '/home/pi/Desktop/images/03012025/16/49/image_03012025_16_49_02_901057_0001.jpg', '/home/pi/Desktop/images/03012025/16/49/image_03012025_16_49_02_901057_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/16/48/image_03012025_16_48_02_754409_0003.jpg
/home/pi/Desktop/images/03012025/16/49/image_03012025_16_49_02_901057_0000.jpg
/home/pi/Desktop/images/03012025/16/49/image_03012025_16_49_02_901057_0001.jpg
/home/pi/Desktop/images/03012025/16/49/image_03012025_16_49_02_901057_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325896351","1325896341","1325896148","1325896316"],"photo_ids_order":["1325896148","1325896316","1325896341","1325896351"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7a06c7f85d105a9d005ac7ce6a659356.jpg","text":"TemporaryFile(/tmp/multipartBody5285674584628698579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735919432119,"filename":"image_03012025_16_49_02_901057_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/cfc42378b2a494c4728dec9643bb43a1.jpg","text":"TemporaryFile(/tmp/multipartBody6728596442257164936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735919432119,"filename":"image_03012025_16_49_02_901057_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0e134d5e865021cd0e8cb1c1cdbeafd0.jpg","text":"TemporaryFile(/tmp/multipartBody5076140622170022637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735919432119,"filename":"image_03012025_16_48_02_754409_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/26745c8f4c445f3edb594f58f4e663cd.jpg","text":"TemporaryFile(/tmp/multipartBody3950166617235921716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735919432119,"filename":"image_03012025_16_49_02_901057_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325896341","file1":"1325896316","file0":"1325896148","file3":"1325896351"},"map_files_photo_id_array":[{"photo_id":"1325896341","filename":"file2"},{"photo_id":"1325896316","filename":"file1"},{"photo_id":"1325896148","filename":"file0"},{"photo_id":"1325896351","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325896351":["hashtag1","hashtag2"]},{"1325896341":["hashtag1","hashtag2"]},{"1325896148":["hashtag1","hashtag2"]},{"1325896316":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325896351, 1325896341, 1325896148, 1325896316)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.93377494812012 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 16:50:22.016914
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/16/49/image_03012025_16_49_02_901057_0003.jpg', '/home/pi/Desktop/images/03012025/16/50/image_03012025_16_50_02_233137_0000.jpg', '/home/pi/Desktop/images/03012025/16/50/image_03012025_16_50_02_233137_0001.jpg', '/home/pi/Desktop/images/03012025/16/50/image_03012025_16_50_02_233137_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/16/49/image_03012025_16_49_02_901057_0003.jpg
/home/pi/Desktop/images/03012025/16/50/image_03012025_16_50_02_233137_0000.jpg
/home/pi/Desktop/images/03012025/16/50/image_03012025_16_50_02_233137_0001.jpg
/home/pi/Desktop/images/03012025/16/50/image_03012025_16_50_02_233137_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325896603","1325896606","1325896734","1325896736"],"photo_ids_order":["1325896603","1325896606","1325896734","1325896736"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9adad66b727a669f9255bdec599b5fba.jpg","text":"TemporaryFile(/tmp/multipartBody750624822832236708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735919492330,"filename":"image_03012025_16_49_02_901057_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/16971d6d40907e05ad736252c394db11.jpg","text":"TemporaryFile(/tmp/multipartBody512310641401785103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735919492330,"filename":"image_03012025_16_50_02_233137_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/050d9438b27a72c39b038e68a9f1d406.jpg","text":"TemporaryFile(/tmp/multipartBody2581781852983679580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735919492330,"filename":"image_03012025_16_50_02_233137_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8e25f9a06f782c08138e647ff2f0a2bd.jpg","text":"TemporaryFile(/tmp/multipartBody7005573920188038353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735919492330,"filename":"image_03012025_16_50_02_233137_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325896734","file1":"1325896606","file0":"1325896603","file3":"1325896736"},"map_files_photo_id_array":[{"photo_id":"1325896734","filename":"file2"},{"photo_id":"1325896606","filename":"file1"},{"photo_id":"1325896603","filename":"file0"},{"photo_id":"1325896736","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325896603":["hashtag1","hashtag2"]},{"1325896606":["hashtag1","hashtag2"]},{"1325896734":["hashtag1","hashtag2"]},{"1325896736":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325896603, 1325896606, 1325896734, 1325896736)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.53522038459778 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 16:51:02.723623
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 16:51:22.218656
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/16/50/image_03012025_16_50_02_233137_0003.jpg', '/home/pi/Desktop/images/03012025/16/51/image_03012025_16_51_02_388976_0000.jpg', '/home/pi/Desktop/images/03012025/16/51/image_03012025_16_51_02_388976_0001.jpg', '/home/pi/Desktop/images/03012025/16/51/image_03012025_16_51_02_388976_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/16/50/image_03012025_16_50_02_233137_0003.jpg
/home/pi/Desktop/images/03012025/16/51/image_03012025_16_51_02_388976_0000.jpg
/home/pi/Desktop/images/03012025/16/51/image_03012025_16_51_02_388976_0001.jpg
/home/pi/Desktop/images/03012025/16/51/image_03012025_16_51_02_388976_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325897035","1325897045","1325897042","1325897038"],"photo_ids_order":["1325897035","1325897038","1325897042","1325897045"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/62a20900a65a430b1e46a5b89545a55b.jpg","text":"TemporaryFile(/tmp/multipartBody8038003836743857646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735919552461,"filename":"image_03012025_16_50_02_233137_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9ab91dbf1d34989c7b88a5b5f6535a98.jpg","text":"TemporaryFile(/tmp/multipartBody3067066801567543863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735919552461,"filename":"image_03012025_16_51_02_388976_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/aa07fd1c7dbc1b16a54d2a47e7760c4d.jpg","text":"TemporaryFile(/tmp/multipartBody8454662268839177024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735919552461,"filename":"image_03012025_16_51_02_388976_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/04cb463cd100924dd252c84dcf25aefd.jpg","text":"TemporaryFile(/tmp/multipartBody2008820189984322818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735919552461,"filename":"image_03012025_16_51_02_388976_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325897042","file1":"1325897038","file0":"1325897035","file3":"1325897045"},"map_files_photo_id_array":[{"photo_id":"1325897042","filename":"file2"},{"photo_id":"1325897038","filename":"file1"},{"photo_id":"1325897035","filename":"file0"},{"photo_id":"1325897045","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325897035":["hashtag1","hashtag2"]},{"1325897045":["hashtag1","hashtag2"]},{"1325897042":["hashtag1","hashtag2"]},{"1325897038":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325897035, 1325897045, 1325897042, 1325897038)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.6514413356781 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 16:52:02.765023
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 16:52:22.470525
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/16/51/image_03012025_16_51_02_388976_0003.jpg', '/home/pi/Desktop/images/03012025/16/52/image_03012025_16_52_02_580287_0000.jpg', '/home/pi/Desktop/images/03012025/16/52/image_03012025_16_52_02_580287_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/16/51/image_03012025_16_51_02_388976_0003.jpg
/home/pi/Desktop/images/03012025/16/52/image_03012025_16_52_02_580287_0000.jpg
/home/pi/Desktop/images/03012025/16/52/image_03012025_16_52_02_580287_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":["1325897233","1325897270","1325897237"],"photo_ids_order":["1325897233","1325897237","1325897270"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f88f6415e7fb60425369760931a72e59.jpg","text":"TemporaryFile(/tmp/multipartBody4348474470418152267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735919610236,"filename":"image_03012025_16_51_02_388976_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/fb1e1084ffb827695ae3768469199362.jpg","text":"TemporaryFile(/tmp/multipartBody7752856421976020091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735919610236,"filename":"image_03012025_16_52_02_580287_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7c9d98e9a97be8c3eaaa6b2361c6c4f8.jpg","text":"TemporaryFile(/tmp/multipartBody728286060682951063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735919610236,"filename":"image_03012025_16_52_02_580287_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325897270","file1":"1325897237","file0":"1325897233"},"map_files_photo_id_array":[{"photo_id":"1325897270","filename":"file2"},{"photo_id":"1325897237","filename":"file1"},{"photo_id":"1325897233","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325897233":["hashtag1","hashtag2"]},{"1325897270":["hashtag1","hashtag2"]},{"1325897237":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325897233, 1325897270, 1325897237)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.62005591392517 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 16:53:03.202578
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 16:53:22.551210
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/16/52/image_03012025_16_52_02_580287_0003.jpg', '/home/pi/Desktop/images/03012025/16/53/image_03012025_16_53_02_817019_0000.jpg', '/home/pi/Desktop/images/03012025/16/53/image_03012025_16_53_02_817019_0001.jpg', '/home/pi/Desktop/images/03012025/16/53/image_03012025_16_53_02_817019_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/16/52/image_03012025_16_52_02_580287_0003.jpg
/home/pi/Desktop/images/03012025/16/53/image_03012025_16_53_02_817019_0000.jpg
/home/pi/Desktop/images/03012025/16/53/image_03012025_16_53_02_817019_0001.jpg
/home/pi/Desktop/images/03012025/16/53/image_03012025_16_53_02_817019_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325897523","1325897516","1325897525","1325897519"],"photo_ids_order":["1325897516","1325897519","1325897523","1325897525"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a02d0d48de8fbbe3f201991020e69bac.jpg","text":"TemporaryFile(/tmp/multipartBody8471530315424425132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735919672863,"filename":"image_03012025_16_53_02_817019_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e6f271fe64b5e61146659a5f781adf47.jpg","text":"TemporaryFile(/tmp/multipartBody606680505310622637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735919672863,"filename":"image_03012025_16_52_02_580287_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e91beb0e6e92159c2b9e36327239ef6d.jpg","text":"TemporaryFile(/tmp/multipartBody6672236258307288926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735919672863,"filename":"image_03012025_16_53_02_817019_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5c9ea11e015631b4231151034ed9986e.jpg","text":"TemporaryFile(/tmp/multipartBody6911669155443592395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735919672863,"filename":"image_03012025_16_53_02_817019_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325897523","file1":"1325897519","file0":"1325897516","file3":"1325897525"},"map_files_photo_id_array":[{"photo_id":"1325897523","filename":"file2"},{"photo_id":"1325897519","filename":"file1"},{"photo_id":"1325897516","filename":"file0"},{"photo_id":"1325897525","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325897523":["hashtag1","hashtag2"]},{"1325897516":["hashtag1","hashtag2"]},{"1325897525":["hashtag1","hashtag2"]},{"1325897519":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325897523, 1325897516, 1325897525, 1325897519)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.66448092460632 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 16:54:03.226337
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 16:54:22.640172
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/16/53/image_03012025_16_53_02_817019_0003.jpg', '/home/pi/Desktop/images/03012025/16/54/image_03012025_16_54_02_955375_0000.jpg', '/home/pi/Desktop/images/03012025/16/54/image_03012025_16_54_02_955375_0001.jpg', '/home/pi/Desktop/images/03012025/16/54/image_03012025_16_54_02_955375_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/16/53/image_03012025_16_53_02_817019_0003.jpg
/home/pi/Desktop/images/03012025/16/54/image_03012025_16_54_02_955375_0000.jpg
/home/pi/Desktop/images/03012025/16/54/image_03012025_16_54_02_955375_0001.jpg
/home/pi/Desktop/images/03012025/16/54/image_03012025_16_54_02_955375_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325897542","1325897536","1325897532","1325897539"],"photo_ids_order":["1325897532","1325897536","1325897539","1325897542"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4fcb95cad7d5641572100160b49540b5.jpg","text":"TemporaryFile(/tmp/multipartBody5848410194905329146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735919732858,"filename":"image_03012025_16_54_02_955375_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2992ac0a98968f54fa1b61e293cb9cfa.jpg","text":"TemporaryFile(/tmp/multipartBody7447069995572986162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735919732858,"filename":"image_03012025_16_54_02_955375_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d6d61461e6a8333dd6c62f0597fe664f.jpg","text":"TemporaryFile(/tmp/multipartBody3844232740907036271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735919732858,"filename":"image_03012025_16_53_02_817019_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/cae2993f351b81b06361592d38a62e2f.jpg","text":"TemporaryFile(/tmp/multipartBody3755817533177670885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735919732858,"filename":"image_03012025_16_54_02_955375_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325897539","file1":"1325897536","file0":"1325897532","file3":"1325897542"},"map_files_photo_id_array":[{"photo_id":"1325897539","filename":"file2"},{"photo_id":"1325897536","filename":"file1"},{"photo_id":"1325897532","filename":"file0"},{"photo_id":"1325897542","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325897542":["hashtag1","hashtag2"]},{"1325897536":["hashtag1","hashtag2"]},{"1325897532":["hashtag1","hashtag2"]},{"1325897539":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325897542, 1325897536, 1325897532, 1325897539)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.26599907875061 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 16:55:21.971525
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/16/54/image_03012025_16_54_02_955375_0003.jpg', '/home/pi/Desktop/images/03012025/16/55/image_03012025_16_55_02_997129_0000.jpg', '/home/pi/Desktop/images/03012025/16/55/image_03012025_16_55_02_997129_0001.jpg', '/home/pi/Desktop/images/03012025/16/55/image_03012025_16_55_02_997129_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/16/54/image_03012025_16_54_02_955375_0003.jpg
/home/pi/Desktop/images/03012025/16/55/image_03012025_16_55_02_997129_0000.jpg
/home/pi/Desktop/images/03012025/16/55/image_03012025_16_55_02_997129_0001.jpg
/home/pi/Desktop/images/03012025/16/55/image_03012025_16_55_02_997129_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325898006","1325898050","1325898011","1325898070"],"photo_ids_order":["1325898006","1325898011","1325898050","1325898070"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e52f7d02f6a70a6349cb352d66903ddc.jpg","text":"TemporaryFile(/tmp/multipartBody8333472866397287178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735919792134,"filename":"image_03012025_16_54_02_955375_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1f710191ef8c2c67aaa2409cecfd547a.jpg","text":"TemporaryFile(/tmp/multipartBody2466185718789950484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735919792134,"filename":"image_03012025_16_55_02_997129_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d7e72663c3b46834b044813c4579b611.jpg","text":"TemporaryFile(/tmp/multipartBody595171907051860770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735919792134,"filename":"image_03012025_16_55_02_997129_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/193a834f45bfc2691ace030e6cf0c109.jpg","text":"TemporaryFile(/tmp/multipartBody4206463959758901309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735919792134,"filename":"image_03012025_16_55_02_997129_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325898050","file1":"1325898011","file0":"1325898006","file3":"1325898070"},"map_files_photo_id_array":[{"photo_id":"1325898050","filename":"file2"},{"photo_id":"1325898011","filename":"file1"},{"photo_id":"1325898006","filename":"file0"},{"photo_id":"1325898070","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325898006":["hashtag1","hashtag2"]},{"1325898050":["hashtag1","hashtag2"]},{"1325898011":["hashtag1","hashtag2"]},{"1325898070":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325898006, 1325898050, 1325898011, 1325898070)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.99186825752258 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 16:56:22.085870
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/16/55/image_03012025_16_55_02_997129_0003.jpg', '/home/pi/Desktop/images/03012025/16/56/image_03012025_16_56_02_220168_0000.jpg', '/home/pi/Desktop/images/03012025/16/56/image_03012025_16_56_02_220168_0001.jpg', '/home/pi/Desktop/images/03012025/16/56/image_03012025_16_56_02_220168_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/16/55/image_03012025_16_55_02_997129_0003.jpg
/home/pi/Desktop/images/03012025/16/56/image_03012025_16_56_02_220168_0000.jpg
/home/pi/Desktop/images/03012025/16/56/image_03012025_16_56_02_220168_0001.jpg
/home/pi/Desktop/images/03012025/16/56/image_03012025_16_56_02_220168_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.937129259109497 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-03 16:56:42.012535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/16/55/image_03012025_16_55_02_997129_0003.jpg', '/home/pi/Desktop/images/03012025/16/56/image_03012025_16_56_02_220168_0000.jpg', '/home/pi/Desktop/images/03012025/16/56/image_03012025_16_56_02_220168_0001.jpg', '/home/pi/Desktop/images/03012025/16/56/image_03012025_16_56_02_220168_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/16/55/image_03012025_16_55_02_997129_0003.jpg
/home/pi/Desktop/images/03012025/16/56/image_03012025_16_56_02_220168_0000.jpg
/home/pi/Desktop/images/03012025/16/56/image_03012025_16_56_02_220168_0001.jpg
/home/pi/Desktop/images/03012025/16/56/image_03012025_16_56_02_220168_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":["1325898651","1325898531","1325898650","1325898622"],"photo_ids_order":["1325898531","1325898622","1325898650","1325898651"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c3e5f0487ab2019c8694789d9a75bf56.jpg","text":"TemporaryFile(/tmp/multipartBody7126128345779927200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735919872353,"filename":"image_03012025_16_56_02_220168_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/325ce08a374f6f9304caacee2ec728d0.jpg","text":"TemporaryFile(/tmp/multipartBody4883454069071858610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735919872353,"filename":"image_03012025_16_55_02_997129_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ebd54338e9f9eb8aa5096da2388eb0c3.jpg","text":"TemporaryFile(/tmp/multipartBody4844979596382315368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735919872353,"filename":"image_03012025_16_56_02_220168_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/35fed08a70af85c24ab610a232eecd25.jpg","text":"TemporaryFile(/tmp/multipartBody3762080732083310149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735919872353,"filename":"image_03012025_16_56_02_220168_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325898650","file1":"1325898622","file0":"1325898531","file3":"1325898651"},"map_files_photo_id_array":[{"photo_id":"1325898650","filename":"file2"},{"photo_id":"1325898622","filename":"file1"},{"photo_id":"1325898531","filename":"file0"},{"photo_id":"1325898651","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325898651":["hashtag1","hashtag2"]},{"1325898531":["hashtag1","hashtag2"]},{"1325898650":["hashtag1","hashtag2"]},{"1325898622":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325898651, 1325898531, 1325898650, 1325898622)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.086015701293945 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 16:57:22.247136
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/16/56/image_03012025_16_56_02_220168_0003.jpg', '/home/pi/Desktop/images/03012025/16/57/image_03012025_16_57_02_387095_0000.jpg', '/home/pi/Desktop/images/03012025/16/57/image_03012025_16_57_02_387095_0001.jpg', '/home/pi/Desktop/images/03012025/16/57/image_03012025_16_57_02_387095_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/16/56/image_03012025_16_56_02_220168_0003.jpg
/home/pi/Desktop/images/03012025/16/57/image_03012025_16_57_02_387095_0000.jpg
/home/pi/Desktop/images/03012025/16/57/image_03012025_16_57_02_387095_0001.jpg
/home/pi/Desktop/images/03012025/16/57/image_03012025_16_57_02_387095_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-03 16:59:03.320766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/16/56/image_03012025_16_56_02_220168_0003.jpg', '/home/pi/Desktop/images/03012025/16/57/image_03012025_16_57_02_387095_0000.jpg', '/home/pi/Desktop/images/03012025/16/57/image_03012025_16_57_02_387095_0001.jpg', '/home/pi/Desktop/images/03012025/16/57/image_03012025_16_57_02_387095_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/16/56/image_03012025_16_56_02_220168_0003.jpg
/home/pi/Desktop/images/03012025/16/57/image_03012025_16_57_02_387095_0000.jpg
/home/pi/Desktop/images/03012025/16/57/image_03012025_16_57_02_387095_0001.jpg
/home/pi/Desktop/images/03012025/16/57/image_03012025_16_57_02_387095_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325899451","1325899352","1325899444","1325899408"],"photo_ids_order":["1325899352","1325899408","1325899444","1325899451"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4048f8a0be0dbc7942b63fca8248f8e0.jpg","text":"TemporaryFile(/tmp/multipartBody2124246786381623755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735920013506,"filename":"image_03012025_16_57_02_387095_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/dea98e897f620d5ac8e49d35e9984be1.jpg","text":"TemporaryFile(/tmp/multipartBody6950951007659660298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735920013506,"filename":"image_03012025_16_56_02_220168_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/385e38360155bfc4c186b4932a51a9e4.jpg","text":"TemporaryFile(/tmp/multipartBody914206607102114189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735920013506,"filename":"image_03012025_16_57_02_387095_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/cf4650afa2c7e724d4138bff7983a23a.jpg","text":"TemporaryFile(/tmp/multipartBody2409835049230077230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735920013506,"filename":"image_03012025_16_57_02_387095_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325899444","file1":"1325899408","file0":"1325899352","file3":"1325899451"},"map_files_photo_id_array":[{"photo_id":"1325899444","filename":"file2"},{"photo_id":"1325899408","filename":"file1"},{"photo_id":"1325899352","filename":"file0"},{"photo_id":"1325899451","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325899451":["hashtag1","hashtag2"]},{"1325899352":["hashtag1","hashtag2"]},{"1325899444":["hashtag1","hashtag2"]},{"1325899408":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325899451, 1325899352, 1325899444, 1325899408)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.0113160610199 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-03 16:59:52.549983
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/16/57/image_03012025_16_57_02_387095_0003.jpg', '/home/pi/Desktop/images/03012025/16/58/image_03012025_16_58_02_615860_0000.jpg', '/home/pi/Desktop/images/03012025/16/58/image_03012025_16_58_02_615860_0001.jpg', '/home/pi/Desktop/images/03012025/16/58/image_03012025_16_58_02_615860_0002.jpg', '/home/pi/Desktop/images/03012025/16/58/image_03012025_16_58_02_615860_0003.jpg', '/home/pi/Desktop/images/03012025/16/59/image_03012025_16_59_02_731672_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/16/57/image_03012025_16_57_02_387095_0003.jpg
/home/pi/Desktop/images/03012025/16/58/image_03012025_16_58_02_615860_0000.jpg
/home/pi/Desktop/images/03012025/16/58/image_03012025_16_58_02_615860_0001.jpg
/home/pi/Desktop/images/03012025/16/58/image_03012025_16_58_02_615860_0002.jpg
/home/pi/Desktop/images/03012025/16/58/image_03012025_16_58_02_615860_0003.jpg
/home/pi/Desktop/images/03012025/16/59/image_03012025_16_59_02_731672_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":["1325900636","1325899821","1325900542","1325900545","1325900064","1325900412"],"photo_ids_order":["1325899821","1325900064","1325900412","1325900542","1325900545","1325900636"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/bae1e5106a46a294306ba216fdf2eee0.jpg","text":"TemporaryFile(/tmp/multipartBody6624891522581913014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735920067641,"filename":"image_03012025_16_59_02_731672_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8c58f5400aad9c2a6ac0dedb7755ca93.jpg","text":"TemporaryFile(/tmp/multipartBody8474243683052549809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735920067641,"filename":"image_03012025_16_57_02_387095_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/87638c04dd4dfc02fc0f005ee131df48.jpg","text":"TemporaryFile(/tmp/multipartBody4390133571416418562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735920067641,"filename":"image_03012025_16_58_02_615860_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/fa7186a70fccad86fff102d0bab5c1b1.jpg","text":"TemporaryFile(/tmp/multipartBody4687786758367855193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735920067641,"filename":"image_03012025_16_58_02_615860_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6d49b6535bb0bd9ad4cbd8b64fe4c64e.jpg","text":"TemporaryFile(/tmp/multipartBody7909799361674761390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735920067641,"filename":"image_03012025_16_58_02_615860_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/07e11a6d81a59976a8aa2d29f6eb90bb.jpg","text":"TemporaryFile(/tmp/multipartBody3621002441258122961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735920067641,"filename":"image_03012025_16_58_02_615860_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325900412","file1":"1325900064","file0":"1325899821","file4":"1325900545","file5":"1325900636","file3":"1325900542"},"map_files_photo_id_array":[{"photo_id":"1325900636","filename":"file5"},{"photo_id":"1325900412","filename":"file2"},{"photo_id":"1325900545","filename":"file4"},{"photo_id":"1325900064","filename":"file1"},{"photo_id":"1325899821","filename":"file0"},{"photo_id":"1325900542","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325900636":["hashtag1","hashtag2"]},{"1325899821":["hashtag1","hashtag2"]},{"1325900542":["hashtag1","hashtag2"]},{"1325900545":["hashtag1","hashtag2"]},{"1325900064":["hashtag1","hashtag2"]},{"1325900412":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325900636, 1325899821, 1325900542, 1325900545, 1325900064, 1325900412)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.68172907829285 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-03 17:00:52.732326
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/16/59/image_03012025_16_59_02_731672_0001.jpg', '/home/pi/Desktop/images/03012025/16/59/image_03012025_16_59_02_731672_0002.jpg', '/home/pi/Desktop/images/03012025/17/00/image_03012025_17_00_03_045928_0000.jpg', '/home/pi/Desktop/images/03012025/17/00/image_03012025_17_00_03_045928_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/16/59/image_03012025_16_59_02_731672_0001.jpg
/home/pi/Desktop/images/03012025/16/59/image_03012025_16_59_02_731672_0002.jpg
/home/pi/Desktop/images/03012025/17/00/image_03012025_17_00_03_045928_0000.jpg
/home/pi/Desktop/images/03012025/17/00/image_03012025_17_00_03_045928_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":["1325900839","1325900880","1325900882","1325900837"],"photo_ids_order":["1325900837","1325900839","1325900880","1325900882"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0bc2dbd793f397e1160a44d47ebd0792.jpg","text":"TemporaryFile(/tmp/multipartBody5180644861573066724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735920123257,"filename":"image_03012025_16_59_02_731672_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d2cec7f72ae6bf1b9f8eede12c27c56a.jpg","text":"TemporaryFile(/tmp/multipartBody4019608248907655236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735920123257,"filename":"image_03012025_17_00_03_045928_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/48ac6e653ca3ae166a961b240edbae7f.jpg","text":"TemporaryFile(/tmp/multipartBody4330152754235207767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735920123257,"filename":"image_03012025_17_00_03_045928_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/602ccc51829450265b1d5d07864b8fa5.jpg","text":"TemporaryFile(/tmp/multipartBody4544448274362337847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735920123257,"filename":"image_03012025_16_59_02_731672_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325900880","file1":"1325900839","file0":"1325900837","file3":"1325900882"},"map_files_photo_id_array":[{"photo_id":"1325900880","filename":"file2"},{"photo_id":"1325900839","filename":"file1"},{"photo_id":"1325900837","filename":"file0"},{"photo_id":"1325900882","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325900839":["hashtag1","hashtag2"]},{"1325900880":["hashtag1","hashtag2"]},{"1325900882":["hashtag1","hashtag2"]},{"1325900837":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325900839, 1325900880, 1325900882, 1325900837)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.19697284698486 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-03 17:01:41.999644
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/17/00/image_03012025_17_00_03_045928_0003.jpg', '/home/pi/Desktop/images/03012025/17/01/image_03012025_17_01_03_119688_0000.jpg', '/home/pi/Desktop/images/03012025/17/01/image_03012025_17_01_03_119688_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/17/00/image_03012025_17_00_03_045928_0003.jpg
/home/pi/Desktop/images/03012025/17/01/image_03012025_17_01_03_119688_0000.jpg
/home/pi/Desktop/images/03012025/17/01/image_03012025_17_01_03_119688_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":["1325901523","1325901647","1325901638"],"photo_ids_order":["1325901523","1325901638","1325901647"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/41754f0635afbe7aeccc96c86a1e519f.jpg","text":"TemporaryFile(/tmp/multipartBody5748989871085082737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735920170012,"filename":"image_03012025_17_00_03_045928_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/76a9698cf9fa17edaebbd3c1a16dfb0d.jpg","text":"TemporaryFile(/tmp/multipartBody1993761571806110417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735920170012,"filename":"image_03012025_17_01_03_119688_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6967a9c8688b43cab9140765055b4d3a.jpg","text":"TemporaryFile(/tmp/multipartBody2895242034281927040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735920170012,"filename":"image_03012025_17_01_03_119688_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325901647","file1":"1325901638","file0":"1325901523"},"map_files_photo_id_array":[{"photo_id":"1325901647","filename":"file2"},{"photo_id":"1325901638","filename":"file1"},{"photo_id":"1325901523","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325901523":["hashtag1","hashtag2"]},{"1325901647":["hashtag1","hashtag2"]},{"1325901638":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325901523, 1325901647, 1325901638)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.737172842025757 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 17:02:22.158592
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/17/01/image_03012025_17_01_03_119688_0002.jpg', '/home/pi/Desktop/images/03012025/17/02/image_03012025_17_02_02_346093_0000.jpg', '/home/pi/Desktop/images/03012025/17/02/image_03012025_17_02_02_346093_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/17/01/image_03012025_17_01_03_119688_0002.jpg
/home/pi/Desktop/images/03012025/17/02/image_03012025_17_02_02_346093_0000.jpg
/home/pi/Desktop/images/03012025/17/02/image_03012025_17_02_02_346093_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":["1325901693","1325901689","1325901677"],"photo_ids_order":["1325901677","1325901689","1325901693"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c7450aa6609f7581a7206f8f261a3f2f.jpg","text":"TemporaryFile(/tmp/multipartBody6982521641411728275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735920210219,"filename":"image_03012025_17_02_02_346093_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/79c9b03897670e97cb3f735af811417f.jpg","text":"TemporaryFile(/tmp/multipartBody7760772660012097350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735920210219,"filename":"image_03012025_17_02_02_346093_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5beceab0a05a5119a6d8cfea85596bb9.jpg","text":"TemporaryFile(/tmp/multipartBody358498568410910275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735920210219,"filename":"image_03012025_17_01_03_119688_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325901693","file1":"1325901689","file0":"1325901677"},"map_files_photo_id_array":[{"photo_id":"1325901693","filename":"file2"},{"photo_id":"1325901689","filename":"file1"},{"photo_id":"1325901677","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325901693":["hashtag1","hashtag2"]},{"1325901689":["hashtag1","hashtag2"]},{"1325901677":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325901693, 1325901689, 1325901677)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.313740968704224 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 17:03:02.846192
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 17:03:22.316579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/17/02/image_03012025_17_02_02_346093_0002.jpg', '/home/pi/Desktop/images/03012025/17/03/image_03012025_17_03_02_553669_0000.jpg', '/home/pi/Desktop/images/03012025/17/03/image_03012025_17_03_02_553669_0001.jpg', '/home/pi/Desktop/images/03012025/17/03/image_03012025_17_03_02_553669_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/17/02/image_03012025_17_02_02_346093_0002.jpg
/home/pi/Desktop/images/03012025/17/03/image_03012025_17_03_02_553669_0000.jpg
/home/pi/Desktop/images/03012025/17/03/image_03012025_17_03_02_553669_0001.jpg
/home/pi/Desktop/images/03012025/17/03/image_03012025_17_03_02_553669_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325902086","1325902020","1325902064","1325902096"],"photo_ids_order":["1325902020","1325902064","1325902086","1325902096"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/58674fd502dab08fd0f2587c8f9baf76.jpg","text":"TemporaryFile(/tmp/multipartBody6280451320353734057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735920272845,"filename":"image_03012025_17_03_02_553669_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/580f1bf31a1bf0ca706b9f810d907f84.jpg","text":"TemporaryFile(/tmp/multipartBody9147179264788386541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735920272845,"filename":"image_03012025_17_02_02_346093_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5ed56ecbd3e37bf5b5de36711dff4049.jpg","text":"TemporaryFile(/tmp/multipartBody6300153679401676732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735920272845,"filename":"image_03012025_17_03_02_553669_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/87a8322b272f9704984ed79a8463b0fe.jpg","text":"TemporaryFile(/tmp/multipartBody5949110059413265183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735920272845,"filename":"image_03012025_17_03_02_553669_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325902086","file1":"1325902064","file0":"1325902020","file3":"1325902096"},"map_files_photo_id_array":[{"photo_id":"1325902086","filename":"file2"},{"photo_id":"1325902064","filename":"file1"},{"photo_id":"1325902020","filename":"file0"},{"photo_id":"1325902096","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325902086":["hashtag1","hashtag2"]},{"1325902020":["hashtag1","hashtag2"]},{"1325902064":["hashtag1","hashtag2"]},{"1325902096":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325902086, 1325902020, 1325902064, 1325902096)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.339327573776245 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 17:04:03.007027
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 17:04:22.448040
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/17/03/image_03012025_17_03_02_553669_0003.jpg', '/home/pi/Desktop/images/03012025/17/04/image_03012025_17_04_02_750015_0001.jpg', '/home/pi/Desktop/images/03012025/17/04/image_03012025_17_04_02_750015_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/17/03/image_03012025_17_03_02_553669_0003.jpg
/home/pi/Desktop/images/03012025/17/04/image_03012025_17_04_02_750015_0001.jpg
/home/pi/Desktop/images/03012025/17/04/image_03012025_17_04_02_750015_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325902257","1325902283","1325902261"],"photo_ids_order":["1325902257","1325902261","1325902283"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9851eb57e3222c4c4d37125bbf77b467.jpg","text":"TemporaryFile(/tmp/multipartBody5697037764077516189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735920330553,"filename":"image_03012025_17_03_02_553669_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a96c8eabf86187c950d9d4576f25acc4.jpg","text":"TemporaryFile(/tmp/multipartBody4614172566546102660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735920330553,"filename":"image_03012025_17_04_02_750015_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/605a574c72b9c4f9ea36866dfbadbea0.jpg","text":"TemporaryFile(/tmp/multipartBody2960053438952896161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735920330553,"filename":"image_03012025_17_04_02_750015_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325902283","file1":"1325902261","file0":"1325902257"},"map_files_photo_id_array":[{"photo_id":"1325902283","filename":"file2"},{"photo_id":"1325902261","filename":"file1"},{"photo_id":"1325902257","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325902257":["hashtag1","hashtag2"]},{"1325902283":["hashtag1","hashtag2"]},{"1325902261":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325902257, 1325902283, 1325902261)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.727445125579834 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 17:05:03.238014
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 17:05:22.658522
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/17/04/image_03012025_17_04_02_750015_0003.jpg', '/home/pi/Desktop/images/03012025/17/05/image_03012025_17_05_02_819316_0000.jpg', '/home/pi/Desktop/images/03012025/17/05/image_03012025_17_05_02_819316_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/17/04/image_03012025_17_04_02_750015_0003.jpg
/home/pi/Desktop/images/03012025/17/05/image_03012025_17_05_02_819316_0000.jpg
/home/pi/Desktop/images/03012025/17/05/image_03012025_17_05_02_819316_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325902519","1325902524","1325902515"],"photo_ids_order":["1325902515","1325902519","1325902524"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/39707e92d90eed317e443efedd281431.jpg","text":"TemporaryFile(/tmp/multipartBody3701728258242446468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735920390728,"filename":"image_03012025_17_05_02_819316_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c07739c1289a95cf75d2e05ea8fe4b9f.jpg","text":"TemporaryFile(/tmp/multipartBody2550040451471338007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735920390728,"filename":"image_03012025_17_05_02_819316_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ce2fe1f1dddd0df4ca0e5775e0d0801e.jpg","text":"TemporaryFile(/tmp/multipartBody1618255477904857311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735920390728,"filename":"image_03012025_17_04_02_750015_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325902524","file1":"1325902519","file0":"1325902515"},"map_files_photo_id_array":[{"photo_id":"1325902524","filename":"file2"},{"photo_id":"1325902519","filename":"file1"},{"photo_id":"1325902515","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325902519":["hashtag1","hashtag2"]},{"1325902524":["hashtag1","hashtag2"]},{"1325902515":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325902519, 1325902524, 1325902515)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.46702480316162 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 17:06:02.362799
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 17:06:21.884659
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/17/05/image_03012025_17_05_02_819316_0003.jpg', '/home/pi/Desktop/images/03012025/17/06/image_03012025_17_06_03_075876_0000.jpg', '/home/pi/Desktop/images/03012025/17/06/image_03012025_17_06_03_075876_0001.jpg', '/home/pi/Desktop/images/03012025/17/06/image_03012025_17_06_03_075876_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/17/05/image_03012025_17_05_02_819316_0003.jpg
/home/pi/Desktop/images/03012025/17/06/image_03012025_17_06_03_075876_0000.jpg
/home/pi/Desktop/images/03012025/17/06/image_03012025_17_06_03_075876_0001.jpg
/home/pi/Desktop/images/03012025/17/06/image_03012025_17_06_03_075876_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.425635576248169 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-03 17:06:41.882554
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/17/05/image_03012025_17_05_02_819316_0003.jpg', '/home/pi/Desktop/images/03012025/17/06/image_03012025_17_06_03_075876_0000.jpg', '/home/pi/Desktop/images/03012025/17/06/image_03012025_17_06_03_075876_0001.jpg', '/home/pi/Desktop/images/03012025/17/06/image_03012025_17_06_03_075876_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/17/05/image_03012025_17_05_02_819316_0003.jpg
/home/pi/Desktop/images/03012025/17/06/image_03012025_17_06_03_075876_0000.jpg
/home/pi/Desktop/images/03012025/17/06/image_03012025_17_06_03_075876_0001.jpg
/home/pi/Desktop/images/03012025/17/06/image_03012025_17_06_03_075876_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325903283","1325903312","1325903299","1325903260"],"photo_ids_order":["1325903260","1325903283","1325903299","1325903312"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/217aba8a6ba32c9950924f2c334fd937.jpg","text":"TemporaryFile(/tmp/multipartBody2886171783703881419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735920472687,"filename":"image_03012025_17_06_03_075876_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/15804750c6770f2f98dbfb556dced2b0.jpg","text":"TemporaryFile(/tmp/multipartBody103541911276589804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735920472687,"filename":"image_03012025_17_06_03_075876_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/020f3cf07231e4246d72b58dd2ef6391.jpg","text":"TemporaryFile(/tmp/multipartBody8924167262337119121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735920472687,"filename":"image_03012025_17_06_03_075876_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6ac7579ee5ba5f4e0c672965533f87d7.jpg","text":"TemporaryFile(/tmp/multipartBody1313513822744892230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735920472687,"filename":"image_03012025_17_05_02_819316_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325903299","file1":"1325903283","file0":"1325903260","file3":"1325903312"},"map_files_photo_id_array":[{"photo_id":"1325903299","filename":"file2"},{"photo_id":"1325903283","filename":"file1"},{"photo_id":"1325903260","filename":"file0"},{"photo_id":"1325903312","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325903283":["hashtag1","hashtag2"]},{"1325903312":["hashtag1","hashtag2"]},{"1325903299":["hashtag1","hashtag2"]},{"1325903260":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325903283, 1325903312, 1325903299, 1325903260)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.65347409248352 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-03 17:07:32.019434
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/17/06/image_03012025_17_06_03_075876_0003.jpg', '/home/pi/Desktop/images/03012025/17/07/image_03012025_17_07_02_235462_0000.jpg', '/home/pi/Desktop/images/03012025/17/07/image_03012025_17_07_02_235462_0001.jpg', '/home/pi/Desktop/images/03012025/17/07/image_03012025_17_07_02_235462_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/17/06/image_03012025_17_06_03_075876_0003.jpg
/home/pi/Desktop/images/03012025/17/07/image_03012025_17_07_02_235462_0000.jpg
/home/pi/Desktop/images/03012025/17/07/image_03012025_17_07_02_235462_0001.jpg
/home/pi/Desktop/images/03012025/17/07/image_03012025_17_07_02_235462_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325903373","1325903378","1325903392","1325903566"],"photo_ids_order":["1325903373","1325903378","1325903392","1325903566"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d7119f27282b779732cead09daeeb23e.jpg","text":"TemporaryFile(/tmp/multipartBody7225398117790044166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735920522764,"filename":"image_03012025_17_06_03_075876_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/eded0cd3d5bc4a98cb262c4749b41e7c.jpg","text":"TemporaryFile(/tmp/multipartBody5365040991431920000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735920522764,"filename":"image_03012025_17_07_02_235462_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1ab30a0c6e8ca2c411ecc042defbb439.jpg","text":"TemporaryFile(/tmp/multipartBody8612873207585612820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735920522764,"filename":"image_03012025_17_07_02_235462_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8239a0c724ec930ac97cec2aa96e3f4b.jpg","text":"TemporaryFile(/tmp/multipartBody6123384468820567470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735920522764,"filename":"image_03012025_17_07_02_235462_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325903392","file1":"1325903378","file0":"1325903373","file3":"1325903566"},"map_files_photo_id_array":[{"photo_id":"1325903392","filename":"file2"},{"photo_id":"1325903378","filename":"file1"},{"photo_id":"1325903373","filename":"file0"},{"photo_id":"1325903566","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325903373":["hashtag1","hashtag2"]},{"1325903378":["hashtag1","hashtag2"]},{"1325903392":["hashtag1","hashtag2"]},{"1325903566":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325903373, 1325903378, 1325903392, 1325903566)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.161245346069336 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 17:08:22.259122
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/17/07/image_03012025_17_07_02_235462_0003.jpg', '/home/pi/Desktop/images/03012025/17/08/image_03012025_17_08_02_392964_0000.jpg', '/home/pi/Desktop/images/03012025/17/08/image_03012025_17_08_02_392964_0001.jpg', '/home/pi/Desktop/images/03012025/17/08/image_03012025_17_08_02_392964_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/17/07/image_03012025_17_07_02_235462_0003.jpg
/home/pi/Desktop/images/03012025/17/08/image_03012025_17_08_02_392964_0000.jpg
/home/pi/Desktop/images/03012025/17/08/image_03012025_17_08_02_392964_0001.jpg
/home/pi/Desktop/images/03012025/17/08/image_03012025_17_08_02_392964_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325903809","1325903800","1325903803","1325903806"],"photo_ids_order":["1325903800","1325903803","1325903806","1325903809"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a5bad834b4d948e8c0d47adcd2a904db.jpg","text":"TemporaryFile(/tmp/multipartBody1484241867666327552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735920573065,"filename":"image_03012025_17_08_02_392964_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/297c9b01600e3de19c83f3fa8947a1ad.jpg","text":"TemporaryFile(/tmp/multipartBody3211180380436273750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735920573065,"filename":"image_03012025_17_07_02_235462_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/afa1c0fb7f5b62a654bd5b925e63835a.jpg","text":"TemporaryFile(/tmp/multipartBody5111819056140826132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735920573065,"filename":"image_03012025_17_08_02_392964_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/21c3b801bc170cf65f304315cd884f9d.jpg","text":"TemporaryFile(/tmp/multipartBody5352607847739180610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735920573065,"filename":"image_03012025_17_08_02_392964_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325903806","file1":"1325903803","file0":"1325903800","file3":"1325903809"},"map_files_photo_id_array":[{"photo_id":"1325903806","filename":"file2"},{"photo_id":"1325903803","filename":"file1"},{"photo_id":"1325903800","filename":"file0"},{"photo_id":"1325903809","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325903809":["hashtag1","hashtag2"]},{"1325903800":["hashtag1","hashtag2"]},{"1325903803":["hashtag1","hashtag2"]},{"1325903806":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325903809, 1325903800, 1325903803, 1325903806)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.90674042701721 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 17:09:22.340717
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/17/08/image_03012025_17_08_02_392964_0003.jpg', '/home/pi/Desktop/images/03012025/17/09/image_03012025_17_09_02_523343_0000.jpg', '/home/pi/Desktop/images/03012025/17/09/image_03012025_17_09_02_523343_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/17/08/image_03012025_17_08_02_392964_0003.jpg
/home/pi/Desktop/images/03012025/17/09/image_03012025_17_09_02_523343_0000.jpg
/home/pi/Desktop/images/03012025/17/09/image_03012025_17_09_02_523343_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":["1325903832","1325904050","1325903906"],"photo_ids_order":["1325903832","1325903906","1325904050"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/188d66a4247259313b5245b2cd259e37.jpg","text":"TemporaryFile(/tmp/multipartBody3120248572689503212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735920630585,"filename":"image_03012025_17_08_02_392964_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/dbfa97ba30515ce35157a15e847cdd5c.jpg","text":"TemporaryFile(/tmp/multipartBody689229492997308573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735920630585,"filename":"image_03012025_17_09_02_523343_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6cb00d3ae4d8c785090a94e4236f6c93.jpg","text":"TemporaryFile(/tmp/multipartBody4183510036302780720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735920630585,"filename":"image_03012025_17_09_02_523343_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325904050","file1":"1325903906","file0":"1325903832"},"map_files_photo_id_array":[{"photo_id":"1325904050","filename":"file2"},{"photo_id":"1325903906","filename":"file1"},{"photo_id":"1325903832","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325903832":["hashtag1","hashtag2"]},{"1325904050":["hashtag1","hashtag2"]},{"1325903906":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325903832, 1325904050, 1325903906)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.664926290512085 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 17:10:02.877408
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 17:10:22.637982
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/17/09/image_03012025_17_09_02_523343_0002.jpg', '/home/pi/Desktop/images/03012025/17/10/image_03012025_17_10_02_761928_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/17/09/image_03012025_17_09_02_523343_0002.jpg
/home/pi/Desktop/images/03012025/17/10/image_03012025_17_10_02_761928_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":["1325904132","1325904130"],"photo_ids_order":["1325904130","1325904132"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/fa6c4a17d0dc2becf5a9dbd256f3e3ba.jpg","text":"TemporaryFile(/tmp/multipartBody3331556484674082768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735920688357,"filename":"image_03012025_17_10_02_761928_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/27f394bbc502cb026e6580342c7f3f22.jpg","text":"TemporaryFile(/tmp/multipartBody5798124030040992524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735920688357,"filename":"image_03012025_17_09_02_523343_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1325904132","file0":"1325904130"},"map_files_photo_id_array":[{"photo_id":"1325904132","filename":"file1"},{"photo_id":"1325904130","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325904132":["hashtag1","hashtag2"]},{"1325904130":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325904132, 1325904130)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.919286727905273 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-03 17:10:52.531162
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 17:11:03.276882
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 17:11:22.791840
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/17/10/image_03012025_17_10_02_761928_0003.jpg', '/home/pi/Desktop/images/03012025/17/11/image_03012025_17_11_02_949917_0000.jpg', '/home/pi/Desktop/images/03012025/17/11/image_03012025_17_11_02_949917_0001.jpg', '/home/pi/Desktop/images/03012025/17/11/image_03012025_17_11_02_949917_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/17/10/image_03012025_17_10_02_761928_0003.jpg
/home/pi/Desktop/images/03012025/17/11/image_03012025_17_11_02_949917_0000.jpg
/home/pi/Desktop/images/03012025/17/11/image_03012025_17_11_02_949917_0001.jpg
/home/pi/Desktop/images/03012025/17/11/image_03012025_17_11_02_949917_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325904609","1325904611","1325904605","1325904607"],"photo_ids_order":["1325904605","1325904607","1325904609","1325904611"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/04e1174ebc7673a8b22a056a431b54cd.jpg","text":"TemporaryFile(/tmp/multipartBody6411287787954107733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735920753543,"filename":"image_03012025_17_11_02_949917_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/83b95b2223958c6558a985a16f8f9952.jpg","text":"TemporaryFile(/tmp/multipartBody3653089042177422044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735920753543,"filename":"image_03012025_17_11_02_949917_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/44d134ebf29a007db27af5780643bb28.jpg","text":"TemporaryFile(/tmp/multipartBody8603611478322926933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735920753543,"filename":"image_03012025_17_10_02_761928_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/074a0fd2ddb5acf634bd0d4704bc8654.jpg","text":"TemporaryFile(/tmp/multipartBody4504523164314969936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735920753543,"filename":"image_03012025_17_11_02_949917_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325904609","file1":"1325904607","file0":"1325904605","file3":"1325904611"},"map_files_photo_id_array":[{"photo_id":"1325904609","filename":"file2"},{"photo_id":"1325904607","filename":"file1"},{"photo_id":"1325904605","filename":"file0"},{"photo_id":"1325904611","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325904609":["hashtag1","hashtag2"]},{"1325904611":["hashtag1","hashtag2"]},{"1325904605":["hashtag1","hashtag2"]},{"1325904607":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325904609, 1325904611, 1325904605, 1325904607)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.831451416015625 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 17:12:21.955998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/17/11/image_03012025_17_11_02_949917_0003.jpg', '/home/pi/Desktop/images/03012025/17/12/image_03012025_17_12_03_147217_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/17/11/image_03012025_17_11_02_949917_0003.jpg
/home/pi/Desktop/images/03012025/17/12/image_03012025_17_12_03_147217_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":["1325905006","1325904904"],"photo_ids_order":["1325904904","1325905006"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ae8e8edc23aa4b2cbff7fa231016e01c.jpg","text":"TemporaryFile(/tmp/multipartBody7799995642899734269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735920807644,"filename":"image_03012025_17_12_03_147217_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c0abccdcd9087bec1a2115c358690939.jpg","text":"TemporaryFile(/tmp/multipartBody613155991774989429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735920807644,"filename":"image_03012025_17_11_02_949917_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1325905006","file0":"1325904904"},"map_files_photo_id_array":[{"photo_id":"1325905006","filename":"file1"},{"photo_id":"1325904904","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325905006":["hashtag1","hashtag2"]},{"1325904904":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325905006, 1325904904)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.378060340881348 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-03 17:12:51.894011
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 17:13:02.743940
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 17:13:22.067114
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/17/12/image_03012025_17_12_03_147217_0003.jpg', '/home/pi/Desktop/images/03012025/17/13/image_03012025_17_13_02_254363_0001.jpg', '/home/pi/Desktop/images/03012025/17/13/image_03012025_17_13_02_254363_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/17/12/image_03012025_17_12_03_147217_0003.jpg
/home/pi/Desktop/images/03012025/17/13/image_03012025_17_13_02_254363_0001.jpg
/home/pi/Desktop/images/03012025/17/13/image_03012025_17_13_02_254363_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325905475","1325905521","1325905551"],"photo_ids_order":["1325905475","1325905521","1325905551"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/18a1e23bc52775e8713dfef71d696af0.jpg","text":"TemporaryFile(/tmp/multipartBody6777821342359470722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735920870333,"filename":"image_03012025_17_12_03_147217_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4e8ca523e273c2a18719758f7c2bdab2.jpg","text":"TemporaryFile(/tmp/multipartBody791144985399057773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735920870333,"filename":"image_03012025_17_13_02_254363_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c9da52508040eaf99d0ffbef427f6330.jpg","text":"TemporaryFile(/tmp/multipartBody7901720169987157375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735920870333,"filename":"image_03012025_17_13_02_254363_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325905551","file1":"1325905521","file0":"1325905475"},"map_files_photo_id_array":[{"photo_id":"1325905551","filename":"file2"},{"photo_id":"1325905521","filename":"file1"},{"photo_id":"1325905475","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325905475":["hashtag1","hashtag2"]},{"1325905521":["hashtag1","hashtag2"]},{"1325905551":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325905475, 1325905521, 1325905551)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.35421872138977 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 17:14:02.616695
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 17:14:22.284234
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/17/13/image_03012025_17_13_02_254363_0003.jpg', '/home/pi/Desktop/images/03012025/17/14/image_03012025_17_14_02_495253_0000.jpg', '/home/pi/Desktop/images/03012025/17/14/image_03012025_17_14_02_495253_0001.jpg', '/home/pi/Desktop/images/03012025/17/14/image_03012025_17_14_02_495253_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/17/13/image_03012025_17_13_02_254363_0003.jpg
/home/pi/Desktop/images/03012025/17/14/image_03012025_17_14_02_495253_0000.jpg
/home/pi/Desktop/images/03012025/17/14/image_03012025_17_14_02_495253_0001.jpg
/home/pi/Desktop/images/03012025/17/14/image_03012025_17_14_02_495253_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325905931","1325905924","1325905926","1325905929"],"photo_ids_order":["1325905924","1325905926","1325905929","1325905931"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/799ba560dc5ac17479ed41ed91424b66.jpg","text":"TemporaryFile(/tmp/multipartBody5344155811687051104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735920933046,"filename":"image_03012025_17_14_02_495253_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6b92edf11fb8924b9f9ce15c91bb1adb.jpg","text":"TemporaryFile(/tmp/multipartBody1304492855468022625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735920933046,"filename":"image_03012025_17_13_02_254363_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f488203f9468e6f251bca4d2cbe9b265.jpg","text":"TemporaryFile(/tmp/multipartBody6436810918097730492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735920933046,"filename":"image_03012025_17_14_02_495253_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/033cc3aef58a9c388eb415ffaa9e0244.jpg","text":"TemporaryFile(/tmp/multipartBody3546212234909801100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735920933046,"filename":"image_03012025_17_14_02_495253_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325905929","file1":"1325905926","file0":"1325905924","file3":"1325905931"},"map_files_photo_id_array":[{"photo_id":"1325905929","filename":"file2"},{"photo_id":"1325905926","filename":"file1"},{"photo_id":"1325905924","filename":"file0"},{"photo_id":"1325905931","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325905931":["hashtag1","hashtag2"]},{"1325905924":["hashtag1","hashtag2"]},{"1325905926":["hashtag1","hashtag2"]},{"1325905929":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325905931, 1325905924, 1325905926, 1325905929)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.739673376083374 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 17:15:22.585050
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/17/14/image_03012025_17_14_02_495253_0003.jpg', '/home/pi/Desktop/images/03012025/17/15/image_03012025_17_15_02_690179_0000.jpg', '/home/pi/Desktop/images/03012025/17/15/image_03012025_17_15_02_690179_0001.jpg', '/home/pi/Desktop/images/03012025/17/15/image_03012025_17_15_02_690179_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/17/14/image_03012025_17_14_02_495253_0003.jpg
/home/pi/Desktop/images/03012025/17/15/image_03012025_17_15_02_690179_0000.jpg
/home/pi/Desktop/images/03012025/17/15/image_03012025_17_15_02_690179_0001.jpg
/home/pi/Desktop/images/03012025/17/15/image_03012025_17_15_02_690179_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.3476722240448 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-03 17:15:42.501764
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/17/14/image_03012025_17_14_02_495253_0003.jpg', '/home/pi/Desktop/images/03012025/17/15/image_03012025_17_15_02_690179_0000.jpg', '/home/pi/Desktop/images/03012025/17/15/image_03012025_17_15_02_690179_0001.jpg', '/home/pi/Desktop/images/03012025/17/15/image_03012025_17_15_02_690179_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/17/14/image_03012025_17_14_02_495253_0003.jpg
/home/pi/Desktop/images/03012025/17/15/image_03012025_17_15_02_690179_0000.jpg
/home/pi/Desktop/images/03012025/17/15/image_03012025_17_15_02_690179_0001.jpg
/home/pi/Desktop/images/03012025/17/15/image_03012025_17_15_02_690179_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":["1325906488","1325906476","1325906448","1325906492"],"photo_ids_order":["1325906448","1325906476","1325906488","1325906492"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/58ef57e7cbb3ff998701dcf499b2d2e1.jpg","text":"TemporaryFile(/tmp/multipartBody2252371429255667922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735921013246,"filename":"image_03012025_17_15_02_690179_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/cbc9f31c774b4286c4276865a7cb865a.jpg","text":"TemporaryFile(/tmp/multipartBody4063415809517249610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735921013246,"filename":"image_03012025_17_15_02_690179_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6f12d1cc8e25d8dfdb8f5497ba619144.jpg","text":"TemporaryFile(/tmp/multipartBody8438792972886629562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735921013246,"filename":"image_03012025_17_14_02_495253_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b9d645ea4bc45adf629a1025b1c61504.jpg","text":"TemporaryFile(/tmp/multipartBody503481552443654781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735921013246,"filename":"image_03012025_17_15_02_690179_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325906488","file1":"1325906476","file0":"1325906448","file3":"1325906492"},"map_files_photo_id_array":[{"photo_id":"1325906488","filename":"file2"},{"photo_id":"1325906476","filename":"file1"},{"photo_id":"1325906448","filename":"file0"},{"photo_id":"1325906492","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325906488":["hashtag1","hashtag2"]},{"1325906476":["hashtag1","hashtag2"]},{"1325906448":["hashtag1","hashtag2"]},{"1325906492":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325906488, 1325906476, 1325906448, 1325906492)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.4979202747345 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 17:16:22.635231
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/17/15/image_03012025_17_15_02_690179_0003.jpg', '/home/pi/Desktop/images/03012025/17/16/image_03012025_17_16_02_807827_0000.jpg', '/home/pi/Desktop/images/03012025/17/16/image_03012025_17_16_02_807827_0001.jpg', '/home/pi/Desktop/images/03012025/17/16/image_03012025_17_16_02_807827_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/17/15/image_03012025_17_15_02_690179_0003.jpg
/home/pi/Desktop/images/03012025/17/16/image_03012025_17_16_02_807827_0000.jpg
/home/pi/Desktop/images/03012025/17/16/image_03012025_17_16_02_807827_0001.jpg
/home/pi/Desktop/images/03012025/17/16/image_03012025_17_16_02_807827_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325906542","1325906533","1325906529","1325906538"],"photo_ids_order":["1325906529","1325906533","1325906538","1325906542"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/37ba2794c92480cd725166e4035bf7a2.jpg","text":"TemporaryFile(/tmp/multipartBody824245884646602378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735921053418,"filename":"image_03012025_17_16_02_807827_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4ae5c578281b44aa01eaccb1109871a7.jpg","text":"TemporaryFile(/tmp/multipartBody6418490736754149600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735921053418,"filename":"image_03012025_17_16_02_807827_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/eff5bc71eba757cb20e839afdbafd18b.jpg","text":"TemporaryFile(/tmp/multipartBody2317497329201392718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735921053418,"filename":"image_03012025_17_15_02_690179_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/11467c9b653f5ea90f7aea9ef8f79970.jpg","text":"TemporaryFile(/tmp/multipartBody1521386625043712289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735921053418,"filename":"image_03012025_17_16_02_807827_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325906538","file1":"1325906533","file0":"1325906529","file3":"1325906542"},"map_files_photo_id_array":[{"photo_id":"1325906538","filename":"file2"},{"photo_id":"1325906533","filename":"file1"},{"photo_id":"1325906529","filename":"file0"},{"photo_id":"1325906542","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325906542":["hashtag1","hashtag2"]},{"1325906533":["hashtag1","hashtag2"]},{"1325906529":["hashtag1","hashtag2"]},{"1325906538":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325906542, 1325906533, 1325906529, 1325906538)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.33070206642151 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 17:17:22.807412
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/17/16/image_03012025_17_16_02_807827_0003.jpg', '/home/pi/Desktop/images/03012025/17/17/image_03012025_17_17_03_038203_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/17/16/image_03012025_17_16_02_807827_0003.jpg
/home/pi/Desktop/images/03012025/17/17/image_03012025_17_17_03_038203_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":["1325907053","1325906888"],"photo_ids_order":["1325906888","1325907053"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0ecf3aea30944d2335da109fb469261a.jpg","text":"TemporaryFile(/tmp/multipartBody1316905440124683037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735921108517,"filename":"image_03012025_17_17_03_038203_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/90f3cfd42871ce4f377ba7e56ad8fa30.jpg","text":"TemporaryFile(/tmp/multipartBody4971425176299865038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735921108517,"filename":"image_03012025_17_16_02_807827_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1325907053","file0":"1325906888"},"map_files_photo_id_array":[{"photo_id":"1325907053","filename":"file1"},{"photo_id":"1325906888","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325907053":["hashtag1","hashtag2"]},{"1325906888":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325907053, 1325906888)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.99242067337036 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-03 17:17:52.727610
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 17:18:02.314710
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 17:18:22.008755
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/17/17/image_03012025_17_17_03_038203_0002.jpg', '/home/pi/Desktop/images/03012025/17/18/image_03012025_17_18_03_118778_0000.jpg', '/home/pi/Desktop/images/03012025/17/18/image_03012025_17_18_03_118778_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/17/17/image_03012025_17_17_03_038203_0002.jpg
/home/pi/Desktop/images/03012025/17/18/image_03012025_17_18_03_118778_0000.jpg
/home/pi/Desktop/images/03012025/17/18/image_03012025_17_18_03_118778_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":["1325907910","1325907876","1325907740"],"photo_ids_order":["1325907740","1325907876","1325907910"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ffcd8b64a554a69a569daa30c8544b14.jpg","text":"TemporaryFile(/tmp/multipartBody810407299673176498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735921170255,"filename":"image_03012025_17_18_03_118778_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0a5ebb126e5042b5e5bd2aa4998bf889.jpg","text":"TemporaryFile(/tmp/multipartBody8252196161953063678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735921170255,"filename":"image_03012025_17_18_03_118778_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/495ddb96f211bacea61c778310593d6d.jpg","text":"TemporaryFile(/tmp/multipartBody5672986113033553273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735921170255,"filename":"image_03012025_17_17_03_038203_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325907910","file1":"1325907876","file0":"1325907740"},"map_files_photo_id_array":[{"photo_id":"1325907910","filename":"file2"},{"photo_id":"1325907876","filename":"file1"},{"photo_id":"1325907740","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325907910":["hashtag1","hashtag2"]},{"1325907876":["hashtag1","hashtag2"]},{"1325907740":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325907910, 1325907876, 1325907740)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.426122903823853 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 17:19:02.660811
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 17:19:22.250426
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/17/18/image_03012025_17_18_03_118778_0003.jpg', '/home/pi/Desktop/images/03012025/17/19/image_03012025_17_19_02_309628_0000.jpg', '/home/pi/Desktop/images/03012025/17/19/image_03012025_17_19_02_309628_0001.jpg', '/home/pi/Desktop/images/03012025/17/19/image_03012025_17_19_02_309628_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/17/18/image_03012025_17_18_03_118778_0003.jpg
/home/pi/Desktop/images/03012025/17/19/image_03012025_17_19_02_309628_0000.jpg
/home/pi/Desktop/images/03012025/17/19/image_03012025_17_19_02_309628_0001.jpg
/home/pi/Desktop/images/03012025/17/19/image_03012025_17_19_02_309628_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325908068","1325908040","1325908177","1325908330"],"photo_ids_order":["1325908040","1325908068","1325908177","1325908330"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/dbea19b742b9c93c6e95f3085c03a70d.jpg","text":"TemporaryFile(/tmp/multipartBody6921581700565042597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735921233018,"filename":"image_03012025_17_19_02_309628_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/37d87755531e58474301262d9b8e9919.jpg","text":"TemporaryFile(/tmp/multipartBody2013234748570689851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735921233018,"filename":"image_03012025_17_18_03_118778_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/85cf8d66b7b27209f381c01da882b1bc.jpg","text":"TemporaryFile(/tmp/multipartBody8377984731627633390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735921233018,"filename":"image_03012025_17_19_02_309628_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/890dffc072e8b46d3be54146b8bc6a7b.jpg","text":"TemporaryFile(/tmp/multipartBody8579427832806748482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735921233018,"filename":"image_03012025_17_19_02_309628_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325908177","file1":"1325908068","file0":"1325908040","file3":"1325908330"},"map_files_photo_id_array":[{"photo_id":"1325908177","filename":"file2"},{"photo_id":"1325908068","filename":"file1"},{"photo_id":"1325908040","filename":"file0"},{"photo_id":"1325908330","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325908068":["hashtag1","hashtag2"]},{"1325908040":["hashtag1","hashtag2"]},{"1325908177":["hashtag1","hashtag2"]},{"1325908330":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325908068, 1325908040, 1325908177, 1325908330)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.133111000061035 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 17:20:02.668105
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 17:20:22.205131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/17/19/image_03012025_17_19_02_309628_0003.jpg', '/home/pi/Desktop/images/03012025/17/20/image_03012025_17_20_02_499133_0000.jpg', '/home/pi/Desktop/images/03012025/17/20/image_03012025_17_20_02_499133_0001.jpg', '/home/pi/Desktop/images/03012025/17/20/image_03012025_17_20_02_499133_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/17/19/image_03012025_17_19_02_309628_0003.jpg
/home/pi/Desktop/images/03012025/17/20/image_03012025_17_20_02_499133_0000.jpg
/home/pi/Desktop/images/03012025/17/20/image_03012025_17_20_02_499133_0001.jpg
/home/pi/Desktop/images/03012025/17/20/image_03012025_17_20_02_499133_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325908668","1325908688","1325908739","1325908690"],"photo_ids_order":["1325908668","1325908688","1325908690","1325908739"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/50ac200f5fe671608bd514c90b76e886.jpg","text":"TemporaryFile(/tmp/multipartBody8748915097214206115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735921293282,"filename":"image_03012025_17_19_02_309628_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/432d3a964eac1d77ec11e80e51ac37c0.jpg","text":"TemporaryFile(/tmp/multipartBody6790800185725150689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735921293282,"filename":"image_03012025_17_20_02_499133_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b6eb2b9861991f4cd84b31309e33c279.jpg","text":"TemporaryFile(/tmp/multipartBody8706443997802088979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735921293282,"filename":"image_03012025_17_20_02_499133_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a31e516f47dae5203bbaa16e96103a53.jpg","text":"TemporaryFile(/tmp/multipartBody4118041041269087103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735921293282,"filename":"image_03012025_17_20_02_499133_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325908690","file1":"1325908688","file0":"1325908668","file3":"1325908739"},"map_files_photo_id_array":[{"photo_id":"1325908690","filename":"file2"},{"photo_id":"1325908688","filename":"file1"},{"photo_id":"1325908668","filename":"file0"},{"photo_id":"1325908739","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325908668":["hashtag1","hashtag2"]},{"1325908688":["hashtag1","hashtag2"]},{"1325908739":["hashtag1","hashtag2"]},{"1325908690":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325908668, 1325908688, 1325908739, 1325908690)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.918227195739746 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 17:21:22.555186
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/17/20/image_03012025_17_20_02_499133_0003.jpg', '/home/pi/Desktop/images/03012025/17/21/image_03012025_17_21_02_601935_0000.jpg', '/home/pi/Desktop/images/03012025/17/21/image_03012025_17_21_02_601935_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/17/20/image_03012025_17_20_02_499133_0003.jpg
/home/pi/Desktop/images/03012025/17/21/image_03012025_17_21_02_601935_0000.jpg
/home/pi/Desktop/images/03012025/17/21/image_03012025_17_21_02_601935_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":["1325909352","1325909313","1325909309"],"photo_ids_order":["1325909309","1325909313","1325909352"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4d3e89897ab41b11e56502495e238dde.jpg","text":"TemporaryFile(/tmp/multipartBody2933844825003553396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735921350822,"filename":"image_03012025_17_21_02_601935_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0aed0afad2b58e7c06cfa08e22944bf6.jpg","text":"TemporaryFile(/tmp/multipartBody7462484269983877042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735921350822,"filename":"image_03012025_17_21_02_601935_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b1412841d1c52cd5993ee18d4091aabf.jpg","text":"TemporaryFile(/tmp/multipartBody2687124472950540151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735921350822,"filename":"image_03012025_17_20_02_499133_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325909352","file1":"1325909313","file0":"1325909309"},"map_files_photo_id_array":[{"photo_id":"1325909352","filename":"file2"},{"photo_id":"1325909313","filename":"file1"},{"photo_id":"1325909309","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325909352":["hashtag1","hashtag2"]},{"1325909313":["hashtag1","hashtag2"]},{"1325909309":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325909352, 1325909313, 1325909309)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.298287630081177 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 17:22:03.035351
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 17:22:22.661605
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/17/21/image_03012025_17_21_02_601935_0003.jpg', '/home/pi/Desktop/images/03012025/17/22/image_03012025_17_22_02_902657_0000.jpg', '/home/pi/Desktop/images/03012025/17/22/image_03012025_17_22_02_902657_0001.jpg', '/home/pi/Desktop/images/03012025/17/22/image_03012025_17_22_02_902657_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/17/21/image_03012025_17_21_02_601935_0003.jpg
/home/pi/Desktop/images/03012025/17/22/image_03012025_17_22_02_902657_0000.jpg
/home/pi/Desktop/images/03012025/17/22/image_03012025_17_22_02_902657_0001.jpg
/home/pi/Desktop/images/03012025/17/22/image_03012025_17_22_02_902657_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325909954","1325910002","1325909839","1325909935"],"photo_ids_order":["1325909839","1325909935","1325909954","1325910002"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a129bb54a3aea73c64ea5e33ffc0541d.jpg","text":"TemporaryFile(/tmp/multipartBody656987940295670785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735921413406,"filename":"image_03012025_17_22_02_902657_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a24ddf6317b97aed64d9bc43d7fbcd6a.jpg","text":"TemporaryFile(/tmp/multipartBody5165616687581928731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735921413406,"filename":"image_03012025_17_22_02_902657_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/05bd4c03398e8a5ae8aee3696ecabf26.jpg","text":"TemporaryFile(/tmp/multipartBody4448017713026298588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735921413406,"filename":"image_03012025_17_21_02_601935_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8b441e5deed73c8dce0023d29ad9216e.jpg","text":"TemporaryFile(/tmp/multipartBody2740259081533977473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735921413406,"filename":"image_03012025_17_22_02_902657_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325909954","file1":"1325909935","file0":"1325909839","file3":"1325910002"},"map_files_photo_id_array":[{"photo_id":"1325909954","filename":"file2"},{"photo_id":"1325909935","filename":"file1"},{"photo_id":"1325909839","filename":"file0"},{"photo_id":"1325910002","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325909954":["hashtag1","hashtag2"]},{"1325910002":["hashtag1","hashtag2"]},{"1325909839":["hashtag1","hashtag2"]},{"1325909935":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325909954, 1325910002, 1325909839, 1325909935)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.19863772392273 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 17:23:21.885525
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/17/22/image_03012025_17_22_02_902657_0003.jpg', '/home/pi/Desktop/images/03012025/17/23/image_03012025_17_23_03_091781_0000.jpg', '/home/pi/Desktop/images/03012025/17/23/image_03012025_17_23_03_091781_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/17/22/image_03012025_17_22_02_902657_0003.jpg
/home/pi/Desktop/images/03012025/17/23/image_03012025_17_23_03_091781_0000.jpg
/home/pi/Desktop/images/03012025/17/23/image_03012025_17_23_03_091781_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":["1325910042","1325910045","1325910037"],"photo_ids_order":["1325910037","1325910042","1325910045"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/db6e0081fab6b96c83aa8b99224d7ee2.jpg","text":"TemporaryFile(/tmp/multipartBody6526964344880487014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735921470161,"filename":"image_03012025_17_23_03_091781_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d48f7630a173f5c888aceff216dbf42f.jpg","text":"TemporaryFile(/tmp/multipartBody5670707232960016219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735921470161,"filename":"image_03012025_17_23_03_091781_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a1043a094e2e9eea132ee2c56eca200f.jpg","text":"TemporaryFile(/tmp/multipartBody5457378769034858033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735921470161,"filename":"image_03012025_17_22_02_902657_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325910045","file1":"1325910042","file0":"1325910037"},"map_files_photo_id_array":[{"photo_id":"1325910045","filename":"file2"},{"photo_id":"1325910042","filename":"file1"},{"photo_id":"1325910037","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325910042":["hashtag1","hashtag2"]},{"1325910045":["hashtag1","hashtag2"]},{"1325910037":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325910042, 1325910045, 1325910037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.5119149684906 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 17:24:02.527673
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 17:24:22.034163
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/17/23/image_03012025_17_23_03_091781_0002.jpg', '/home/pi/Desktop/images/03012025/17/24/image_03012025_17_24_02_210323_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/17/23/image_03012025_17_23_03_091781_0002.jpg
/home/pi/Desktop/images/03012025/17/24/image_03012025_17_24_02_210323_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.338504791259766 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-03 17:24:32.017228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/17/23/image_03012025_17_23_03_091781_0002.jpg', '/home/pi/Desktop/images/03012025/17/24/image_03012025_17_24_02_210323_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/17/23/image_03012025_17_23_03_091781_0002.jpg
/home/pi/Desktop/images/03012025/17/24/image_03012025_17_24_02_210323_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":["1325910429","1325910373"],"photo_ids_order":["1325910373","1325910429"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9181e7d9fa174c6da34e522f2180db21.jpg","text":"TemporaryFile(/tmp/multipartBody4585358440159285525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735921537741,"filename":"image_03012025_17_24_02_210323_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9dc0a143fa48eb690a7c4fe7d5eefade.jpg","text":"TemporaryFile(/tmp/multipartBody5047424314920438658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735921537741,"filename":"image_03012025_17_23_03_091781_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1325910429","file0":"1325910373"},"map_files_photo_id_array":[{"photo_id":"1325910429","filename":"file1"},{"photo_id":"1325910373","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325910429":["hashtag1","hashtag2"]},{"1325910373":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325910429, 1325910373)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.65468740463257 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 17:25:02.877249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 17:25:22.220663
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/17/24/image_03012025_17_24_02_210323_0002.jpg', '/home/pi/Desktop/images/03012025/17/25/image_03012025_17_25_02_412175_0001.jpg', '/home/pi/Desktop/images/03012025/17/25/image_03012025_17_25_02_412175_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/17/24/image_03012025_17_24_02_210323_0002.jpg
/home/pi/Desktop/images/03012025/17/25/image_03012025_17_25_02_412175_0001.jpg
/home/pi/Desktop/images/03012025/17/25/image_03012025_17_25_02_412175_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325910573","1325910570","1325910705"],"photo_ids_order":["1325910570","1325910573","1325910705"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/29ae4af3dc1e2152a3895a9131bfa2eb.jpg","text":"TemporaryFile(/tmp/multipartBody5852210773340450876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735921590456,"filename":"image_03012025_17_25_02_412175_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7a85aa3ae322bdf14cedd28a734a146a.jpg","text":"TemporaryFile(/tmp/multipartBody601196551200436753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735921590456,"filename":"image_03012025_17_24_02_210323_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/fd228131574a8a6f9a51943817ef735e.jpg","text":"TemporaryFile(/tmp/multipartBody8930846775651079937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735921590456,"filename":"image_03012025_17_25_02_412175_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325910705","file1":"1325910573","file0":"1325910570"},"map_files_photo_id_array":[{"photo_id":"1325910705","filename":"file2"},{"photo_id":"1325910573","filename":"file1"},{"photo_id":"1325910570","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325910573":["hashtag1","hashtag2"]},{"1325910570":["hashtag1","hashtag2"]},{"1325910705":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325910573, 1325910570, 1325910705)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 35.45562267303467 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 17:26:02.807056
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 17:26:22.446349
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/17/25/image_03012025_17_25_02_412175_0003.jpg', '/home/pi/Desktop/images/03012025/17/26/image_03012025_17_26_02_538210_0000.jpg', '/home/pi/Desktop/images/03012025/17/26/image_03012025_17_26_02_538210_0001.jpg', '/home/pi/Desktop/images/03012025/17/26/image_03012025_17_26_02_538210_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/17/25/image_03012025_17_25_02_412175_0003.jpg
/home/pi/Desktop/images/03012025/17/26/image_03012025_17_26_02_538210_0000.jpg
/home/pi/Desktop/images/03012025/17/26/image_03012025_17_26_02_538210_0001.jpg
/home/pi/Desktop/images/03012025/17/26/image_03012025_17_26_02_538210_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325911419","1325911370","1325911448","1325911450"],"photo_ids_order":["1325911370","1325911419","1325911448","1325911450"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/88042bb295c6c050e4219972e5806b4f.jpg","text":"TemporaryFile(/tmp/multipartBody4815295095635806857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735921652730,"filename":"image_03012025_17_26_02_538210_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8e5c5242034853306b98649c6ed258ad.jpg","text":"TemporaryFile(/tmp/multipartBody5115993300965947654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735921652730,"filename":"image_03012025_17_25_02_412175_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/35d59611af3a600dde90fdfb33fff978.jpg","text":"TemporaryFile(/tmp/multipartBody46908771747304292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735921652730,"filename":"image_03012025_17_26_02_538210_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a7de3c7dd984713606ac5d25363fd339.jpg","text":"TemporaryFile(/tmp/multipartBody4249127217228036128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735921652730,"filename":"image_03012025_17_26_02_538210_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325911448","file1":"1325911419","file0":"1325911370","file3":"1325911450"},"map_files_photo_id_array":[{"photo_id":"1325911448","filename":"file2"},{"photo_id":"1325911419","filename":"file1"},{"photo_id":"1325911370","filename":"file0"},{"photo_id":"1325911450","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325911419":["hashtag1","hashtag2"]},{"1325911370":["hashtag1","hashtag2"]},{"1325911448":["hashtag1","hashtag2"]},{"1325911450":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325911419, 1325911370, 1325911448, 1325911450)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.38438558578491 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 17:27:22.801336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/17/26/image_03012025_17_26_02_538210_0003.jpg', '/home/pi/Desktop/images/03012025/17/27/image_03012025_17_27_02_843123_0000.jpg', '/home/pi/Desktop/images/03012025/17/27/image_03012025_17_27_02_843123_0001.jpg', '/home/pi/Desktop/images/03012025/17/27/image_03012025_17_27_02_843123_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/17/26/image_03012025_17_26_02_538210_0003.jpg
/home/pi/Desktop/images/03012025/17/27/image_03012025_17_27_02_843123_0000.jpg
/home/pi/Desktop/images/03012025/17/27/image_03012025_17_27_02_843123_0001.jpg
/home/pi/Desktop/images/03012025/17/27/image_03012025_17_27_02_843123_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325911464","1325911458","1325911573","1325911462"],"photo_ids_order":["1325911458","1325911462","1325911464","1325911573"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/04b3e8cebb490d7c1521a113f4e2aef6.jpg","text":"TemporaryFile(/tmp/multipartBody3668485314496615375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735921712925,"filename":"image_03012025_17_27_02_843123_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c3432b17c64151989cbe2e7928745391.jpg","text":"TemporaryFile(/tmp/multipartBody1109902602643096316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735921712925,"filename":"image_03012025_17_26_02_538210_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/bf6e5361213d5c1262dab84aa27f997f.jpg","text":"TemporaryFile(/tmp/multipartBody7023738386198610234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735921712925,"filename":"image_03012025_17_27_02_843123_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/718ecc05954654ccf48e95e783c54b66.jpg","text":"TemporaryFile(/tmp/multipartBody6513132121751096204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735921712925,"filename":"image_03012025_17_27_02_843123_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325911464","file1":"1325911462","file0":"1325911458","file3":"1325911573"},"map_files_photo_id_array":[{"photo_id":"1325911464","filename":"file2"},{"photo_id":"1325911462","filename":"file1"},{"photo_id":"1325911458","filename":"file0"},{"photo_id":"1325911573","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325911464":["hashtag1","hashtag2"]},{"1325911458":["hashtag1","hashtag2"]},{"1325911573":["hashtag1","hashtag2"]},{"1325911462":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325911464, 1325911458, 1325911573, 1325911462)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.174623012542725 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 17:28:21.916141
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/17/27/image_03012025_17_27_02_843123_0003.jpg', '/home/pi/Desktop/images/03012025/17/28/image_03012025_17_28_03_107274_0000.jpg', '/home/pi/Desktop/images/03012025/17/28/image_03012025_17_28_03_107274_0001.jpg', '/home/pi/Desktop/images/03012025/17/28/image_03012025_17_28_03_107274_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/17/27/image_03012025_17_27_02_843123_0003.jpg
/home/pi/Desktop/images/03012025/17/28/image_03012025_17_28_03_107274_0000.jpg
/home/pi/Desktop/images/03012025/17/28/image_03012025_17_28_03_107274_0001.jpg
/home/pi/Desktop/images/03012025/17/28/image_03012025_17_28_03_107274_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325912022","1325912027","1325911989","1325912025"],"photo_ids_order":["1325911989","1325912022","1325912025","1325912027"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/30397fa7ed24efd537b458df89a9d99b.jpg","text":"TemporaryFile(/tmp/multipartBody7374658906176943542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735921772259,"filename":"image_03012025_17_28_03_107274_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f7979804866d03b2eb2961f9c0ed67d9.jpg","text":"TemporaryFile(/tmp/multipartBody5199223192107255738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735921772259,"filename":"image_03012025_17_28_03_107274_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/722896c7528eec2d073085b1c2fcd99d.jpg","text":"TemporaryFile(/tmp/multipartBody1934103908000677848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735921772259,"filename":"image_03012025_17_27_02_843123_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b107828043ac919d65bbd1a199c386ca.jpg","text":"TemporaryFile(/tmp/multipartBody1275549999189696367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735921772259,"filename":"image_03012025_17_28_03_107274_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325912025","file1":"1325912022","file0":"1325911989","file3":"1325912027"},"map_files_photo_id_array":[{"photo_id":"1325912025","filename":"file2"},{"photo_id":"1325912022","filename":"file1"},{"photo_id":"1325911989","filename":"file0"},{"photo_id":"1325912027","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325912022":["hashtag1","hashtag2"]},{"1325912027":["hashtag1","hashtag2"]},{"1325911989":["hashtag1","hashtag2"]},{"1325912025":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325912022, 1325912027, 1325911989, 1325912025)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.44859170913696 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 17:29:22.107010
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/17/28/image_03012025_17_28_03_107274_0003.jpg', '/home/pi/Desktop/images/03012025/17/29/image_03012025_17_29_02_236051_0000.jpg', '/home/pi/Desktop/images/03012025/17/29/image_03012025_17_29_02_236051_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/17/28/image_03012025_17_28_03_107274_0003.jpg
/home/pi/Desktop/images/03012025/17/29/image_03012025_17_29_02_236051_0000.jpg
/home/pi/Desktop/images/03012025/17/29/image_03012025_17_29_02_236051_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":["1325912517","1325912578","1325912602"],"photo_ids_order":["1325912517","1325912578","1325912602"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ff9ded430e259eeff5ce525b9339bb88.jpg","text":"TemporaryFile(/tmp/multipartBody6796466845028625319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735921830023,"filename":"image_03012025_17_28_03_107274_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/23b9042c30edc26f54f8b2891e4af9c7.jpg","text":"TemporaryFile(/tmp/multipartBody7507262821019170608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735921830023,"filename":"image_03012025_17_29_02_236051_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/97e69509fc97e2160a21728cb119e6fc.jpg","text":"TemporaryFile(/tmp/multipartBody7644796444980841635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735921830023,"filename":"image_03012025_17_29_02_236051_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325912602","file1":"1325912578","file0":"1325912517"},"map_files_photo_id_array":[{"photo_id":"1325912602","filename":"file2"},{"photo_id":"1325912578","filename":"file1"},{"photo_id":"1325912517","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325912517":["hashtag1","hashtag2"]},{"1325912578":["hashtag1","hashtag2"]},{"1325912602":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325912517, 1325912578, 1325912602)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 33.27774143218994 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 17:30:02.686028
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 17:30:22.310462
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/17/29/image_03012025_17_29_02_236051_0003.jpg', '/home/pi/Desktop/images/03012025/17/30/image_03012025_17_30_02_422640_0000.jpg', '/home/pi/Desktop/images/03012025/17/30/image_03012025_17_30_02_422640_0001.jpg', '/home/pi/Desktop/images/03012025/17/30/image_03012025_17_30_02_422640_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/17/29/image_03012025_17_29_02_236051_0003.jpg
/home/pi/Desktop/images/03012025/17/30/image_03012025_17_30_02_422640_0000.jpg
/home/pi/Desktop/images/03012025/17/30/image_03012025_17_30_02_422640_0001.jpg
/home/pi/Desktop/images/03012025/17/30/image_03012025_17_30_02_422640_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325913206","1325913209","1325913210","1325913176"],"photo_ids_order":["1325913176","1325913206","1325913209","1325913210"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/53a02416eacf727d17316802d93f5a1e.jpg","text":"TemporaryFile(/tmp/multipartBody1247831156172354365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735921892701,"filename":"image_03012025_17_30_02_422640_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/58ae6ed751dda0fa5dfc559577599055.jpg","text":"TemporaryFile(/tmp/multipartBody5068941188399550874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735921892701,"filename":"image_03012025_17_30_02_422640_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ecd4b4a2a972f6f6270c6f5332db267d.jpg","text":"TemporaryFile(/tmp/multipartBody7221252511101072911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735921892701,"filename":"image_03012025_17_30_02_422640_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/49d21fda7eb9cb6d0f554108df14a4cb.jpg","text":"TemporaryFile(/tmp/multipartBody1982414281509402154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735921892701,"filename":"image_03012025_17_29_02_236051_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325913209","file1":"1325913206","file0":"1325913176","file3":"1325913210"},"map_files_photo_id_array":[{"photo_id":"1325913209","filename":"file2"},{"photo_id":"1325913206","filename":"file1"},{"photo_id":"1325913176","filename":"file0"},{"photo_id":"1325913210","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325913206":["hashtag1","hashtag2"]},{"1325913209":["hashtag1","hashtag2"]},{"1325913210":["hashtag1","hashtag2"]},{"1325913176":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325913206, 1325913209, 1325913210, 1325913176)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.73720741271973 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 17:31:22.372743
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/17/30/image_03012025_17_30_02_422640_0003.jpg', '/home/pi/Desktop/images/03012025/17/31/image_03012025_17_31_02_580703_0000.jpg', '/home/pi/Desktop/images/03012025/17/31/image_03012025_17_31_02_580703_0001.jpg', '/home/pi/Desktop/images/03012025/17/31/image_03012025_17_31_02_580703_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/17/30/image_03012025_17_30_02_422640_0003.jpg
/home/pi/Desktop/images/03012025/17/31/image_03012025_17_31_02_580703_0000.jpg
/home/pi/Desktop/images/03012025/17/31/image_03012025_17_31_02_580703_0001.jpg
/home/pi/Desktop/images/03012025/17/31/image_03012025_17_31_02_580703_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325914127","1325914159","1325914123","1325914052"],"photo_ids_order":["1325914052","1325914123","1325914127","1325914159"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6f4c5329ce1c5659d30547eec6876aae.jpg","text":"TemporaryFile(/tmp/multipartBody5384954664996307520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735921952735,"filename":"image_03012025_17_31_02_580703_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ae5fdc5aecdccc8d865a241610277ad8.jpg","text":"TemporaryFile(/tmp/multipartBody8702896843612960088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735921952735,"filename":"image_03012025_17_31_02_580703_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/cb404543361bde9202eb5462d96472af.jpg","text":"TemporaryFile(/tmp/multipartBody8061191812710983440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735921952735,"filename":"image_03012025_17_31_02_580703_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ef6a37d7d42f707f7dbd24dd21f3138a.jpg","text":"TemporaryFile(/tmp/multipartBody60102391987569554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735921952735,"filename":"image_03012025_17_30_02_422640_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325914127","file1":"1325914123","file0":"1325914052","file3":"1325914159"},"map_files_photo_id_array":[{"photo_id":"1325914127","filename":"file2"},{"photo_id":"1325914123","filename":"file1"},{"photo_id":"1325914052","filename":"file0"},{"photo_id":"1325914159","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325914127":["hashtag1","hashtag2"]},{"1325914159":["hashtag1","hashtag2"]},{"1325914123":["hashtag1","hashtag2"]},{"1325914052":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325914127, 1325914159, 1325914123, 1325914052)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.77154779434204 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-03 17:32:22.657970
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/17/31/image_03012025_17_31_02_580703_0003.jpg', '/home/pi/Desktop/images/03012025/17/32/image_03012025_17_32_02_815606_0000.jpg', '/home/pi/Desktop/images/03012025/17/32/image_03012025_17_32_02_815606_0001.jpg', '/home/pi/Desktop/images/03012025/17/32/image_03012025_17_32_02_815606_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/17/31/image_03012025_17_31_02_580703_0003.jpg
/home/pi/Desktop/images/03012025/17/32/image_03012025_17_32_02_815606_0000.jpg
/home/pi/Desktop/images/03012025/17/32/image_03012025_17_32_02_815606_0001.jpg
/home/pi/Desktop/images/03012025/17/32/image_03012025_17_32_02_815606_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325914879","1325914615","1325914754","1325914631"],"photo_ids_order":["1325914615","1325914631","1325914754","1325914879"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/632e10b93095e6ed6fd5659d5a6c8526.jpg","text":"TemporaryFile(/tmp/multipartBody2205216645189389339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735922012867,"filename":"image_03012025_17_32_02_815606_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b783998343d278639385a7f1ba4a507c.jpg","text":"TemporaryFile(/tmp/multipartBody3532451355417447188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735922012867,"filename":"image_03012025_17_31_02_580703_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0d2ff2a973da396ee902dec4aab17c37.jpg","text":"TemporaryFile(/tmp/multipartBody3380113002786687129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735922012867,"filename":"image_03012025_17_32_02_815606_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/fce165f12c5f60ccdc9bf3d1347ee6f3.jpg","text":"TemporaryFile(/tmp/multipartBody8389167608216654308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735922012867,"filename":"image_03012025_17_32_02_815606_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325914754","file1":"1325914631","file0":"1325914615","file3":"1325914879"},"map_files_photo_id_array":[{"photo_id":"1325914754","filename":"file2"},{"photo_id":"1325914631","filename":"file1"},{"photo_id":"1325914615","filename":"file0"},{"photo_id":"1325914879","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325914879":["hashtag1","hashtag2"]},{"1325914615":["hashtag1","hashtag2"]},{"1325914754":["hashtag1","hashtag2"]},{"1325914631":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325914879, 1325914615, 1325914754, 1325914631)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.69048237800598 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 17:33:21.952456
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/17/32/image_03012025_17_32_02_815606_0003.jpg', '/home/pi/Desktop/images/03012025/17/33/image_03012025_17_33_03_015875_0000.jpg', '/home/pi/Desktop/images/03012025/17/33/image_03012025_17_33_03_015875_0001.jpg', '/home/pi/Desktop/images/03012025/17/33/image_03012025_17_33_03_015875_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/17/32/image_03012025_17_32_02_815606_0003.jpg
/home/pi/Desktop/images/03012025/17/33/image_03012025_17_33_03_015875_0000.jpg
/home/pi/Desktop/images/03012025/17/33/image_03012025_17_33_03_015875_0001.jpg
/home/pi/Desktop/images/03012025/17/33/image_03012025_17_33_03_015875_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325915798","1325915681","1325915705","1325915779"],"photo_ids_order":["1325915681","1325915705","1325915779","1325915798"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/61da2fc3c2e9ece0d5035242e74ef17b.jpg","text":"TemporaryFile(/tmp/multipartBody5683321469561068103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735922072379,"filename":"image_03012025_17_33_03_015875_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/42e9ac17f01f63b4ea7ca5c299db87e0.jpg","text":"TemporaryFile(/tmp/multipartBody6292799083017366555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735922072379,"filename":"image_03012025_17_32_02_815606_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1fab6f4502bd800593aaa14bd30a7b07.jpg","text":"TemporaryFile(/tmp/multipartBody8539388938862934879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735922072379,"filename":"image_03012025_17_33_03_015875_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5c235243872b4dd3ca0f64235c120793.jpg","text":"TemporaryFile(/tmp/multipartBody1739186393915430070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735922072379,"filename":"image_03012025_17_33_03_015875_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325915779","file1":"1325915705","file0":"1325915681","file3":"1325915798"},"map_files_photo_id_array":[{"photo_id":"1325915779","filename":"file2"},{"photo_id":"1325915705","filename":"file1"},{"photo_id":"1325915681","filename":"file0"},{"photo_id":"1325915798","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325915798":["hashtag1","hashtag2"]},{"1325915681":["hashtag1","hashtag2"]},{"1325915705":["hashtag1","hashtag2"]},{"1325915779":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325915798, 1325915681, 1325915705, 1325915779)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.665531873703 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 17:34:22.059145
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/17/33/image_03012025_17_33_03_015875_0003.jpg', '/home/pi/Desktop/images/03012025/17/34/image_03012025_17_34_02_256846_0000.jpg', '/home/pi/Desktop/images/03012025/17/34/image_03012025_17_34_02_256846_0001.jpg', '/home/pi/Desktop/images/03012025/17/34/image_03012025_17_34_02_256846_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/17/33/image_03012025_17_33_03_015875_0003.jpg
/home/pi/Desktop/images/03012025/17/34/image_03012025_17_34_02_256846_0000.jpg
/home/pi/Desktop/images/03012025/17/34/image_03012025_17_34_02_256846_0001.jpg
/home/pi/Desktop/images/03012025/17/34/image_03012025_17_34_02_256846_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325915898","1325915895","1325915901","1325915893"],"photo_ids_order":["1325915893","1325915895","1325915898","1325915901"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ac3c2512a518d85299768b63b788acb6.jpg","text":"TemporaryFile(/tmp/multipartBody8281495094221755164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735922132377,"filename":"image_03012025_17_34_02_256846_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/440d03d3f36ae0a65bbf5355b92b8150.jpg","text":"TemporaryFile(/tmp/multipartBody194477461951426123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735922132377,"filename":"image_03012025_17_34_02_256846_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d4a89f4d32f535cbcbef9cdf207584c0.jpg","text":"TemporaryFile(/tmp/multipartBody1837531334078213194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735922132377,"filename":"image_03012025_17_34_02_256846_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/98729d9a3162f71ce68d8c77ddde6ed6.jpg","text":"TemporaryFile(/tmp/multipartBody7755260160424304965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735922132377,"filename":"image_03012025_17_33_03_015875_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325915898","file1":"1325915895","file0":"1325915893","file3":"1325915901"},"map_files_photo_id_array":[{"photo_id":"1325915898","filename":"file2"},{"photo_id":"1325915895","filename":"file1"},{"photo_id":"1325915893","filename":"file0"},{"photo_id":"1325915901","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325915898":["hashtag1","hashtag2"]},{"1325915895":["hashtag1","hashtag2"]},{"1325915901":["hashtag1","hashtag2"]},{"1325915893":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325915898, 1325915895, 1325915901, 1325915893)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.6853129863739 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 17:35:22.340552
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/17/34/image_03012025_17_34_02_256846_0003.jpg', '/home/pi/Desktop/images/03012025/17/35/image_03012025_17_35_02_388999_0000.jpg', '/home/pi/Desktop/images/03012025/17/35/image_03012025_17_35_02_388999_0001.jpg', '/home/pi/Desktop/images/03012025/17/35/image_03012025_17_35_02_388999_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/17/34/image_03012025_17_34_02_256846_0003.jpg
/home/pi/Desktop/images/03012025/17/35/image_03012025_17_35_02_388999_0000.jpg
/home/pi/Desktop/images/03012025/17/35/image_03012025_17_35_02_388999_0001.jpg
/home/pi/Desktop/images/03012025/17/35/image_03012025_17_35_02_388999_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325916230","1325916233","1325916184","1325916223"],"photo_ids_order":["1325916184","1325916223","1325916230","1325916233"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3cf12c9b4da3e722cb34c6daea0b1b16.jpg","text":"TemporaryFile(/tmp/multipartBody2951483865607005964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735922192673,"filename":"image_03012025_17_35_02_388999_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1c91ddbc23281ad8f200a35bfd368aec.jpg","text":"TemporaryFile(/tmp/multipartBody7521507141719727456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735922192673,"filename":"image_03012025_17_35_02_388999_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/692624bf65c71e5edbd46c803601cb32.jpg","text":"TemporaryFile(/tmp/multipartBody8648967019791885304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735922192673,"filename":"image_03012025_17_34_02_256846_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/da44633476972337056a69b24a4f9be8.jpg","text":"TemporaryFile(/tmp/multipartBody2754007833751106340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735922192673,"filename":"image_03012025_17_35_02_388999_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325916230","file1":"1325916223","file0":"1325916184","file3":"1325916233"},"map_files_photo_id_array":[{"photo_id":"1325916230","filename":"file2"},{"photo_id":"1325916223","filename":"file1"},{"photo_id":"1325916184","filename":"file0"},{"photo_id":"1325916233","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325916230":["hashtag1","hashtag2"]},{"1325916233":["hashtag1","hashtag2"]},{"1325916184":["hashtag1","hashtag2"]},{"1325916223":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325916230, 1325916233, 1325916184, 1325916223)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.287741899490356 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 17:36:22.429825
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/17/35/image_03012025_17_35_02_388999_0003.jpg', '/home/pi/Desktop/images/03012025/17/36/image_03012025_17_36_02_596812_0000.jpg', '/home/pi/Desktop/images/03012025/17/36/image_03012025_17_36_02_596812_0001.jpg', '/home/pi/Desktop/images/03012025/17/36/image_03012025_17_36_02_596812_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/17/35/image_03012025_17_35_02_388999_0003.jpg
/home/pi/Desktop/images/03012025/17/36/image_03012025_17_36_02_596812_0000.jpg
/home/pi/Desktop/images/03012025/17/36/image_03012025_17_36_02_596812_0001.jpg
/home/pi/Desktop/images/03012025/17/36/image_03012025_17_36_02_596812_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325916348","1325916580","1325916598","1325916469"],"photo_ids_order":["1325916348","1325916469","1325916580","1325916598"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/227535e4c3541ad9822a365dc826f4f2.jpg","text":"TemporaryFile(/tmp/multipartBody989040361943674846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735922252816,"filename":"image_03012025_17_35_02_388999_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/814ba18472f71d80f47cb913a5955610.jpg","text":"TemporaryFile(/tmp/multipartBody9125301909878391140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735922252816,"filename":"image_03012025_17_36_02_596812_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7bd11e0d6a510dca2ea5fd68e96cd0a8.jpg","text":"TemporaryFile(/tmp/multipartBody4681421835168421430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735922252816,"filename":"image_03012025_17_36_02_596812_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5117fab17d3ca19505eec0effa08b1a7.jpg","text":"TemporaryFile(/tmp/multipartBody2874946937440705819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735922252816,"filename":"image_03012025_17_36_02_596812_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325916580","file1":"1325916469","file0":"1325916348","file3":"1325916598"},"map_files_photo_id_array":[{"photo_id":"1325916580","filename":"file2"},{"photo_id":"1325916469","filename":"file1"},{"photo_id":"1325916348","filename":"file0"},{"photo_id":"1325916598","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325916348":["hashtag1","hashtag2"]},{"1325916580":["hashtag1","hashtag2"]},{"1325916598":["hashtag1","hashtag2"]},{"1325916469":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325916348, 1325916580, 1325916598, 1325916469)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.24407076835632 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 17:37:03.271979
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 17:37:22.732178
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/17/36/image_03012025_17_36_02_596812_0003.jpg', '/home/pi/Desktop/images/03012025/17/37/image_03012025_17_37_02_846261_0000.jpg', '/home/pi/Desktop/images/03012025/17/37/image_03012025_17_37_02_846261_0001.jpg', '/home/pi/Desktop/images/03012025/17/37/image_03012025_17_37_02_846261_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/17/36/image_03012025_17_36_02_596812_0003.jpg
/home/pi/Desktop/images/03012025/17/37/image_03012025_17_37_02_846261_0000.jpg
/home/pi/Desktop/images/03012025/17/37/image_03012025_17_37_02_846261_0001.jpg
/home/pi/Desktop/images/03012025/17/37/image_03012025_17_37_02_846261_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325917172","1325917175","1325917301","1325917204"],"photo_ids_order":["1325917172","1325917175","1325917204","1325917301"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4e9fa86a19e15dcf3159d5cba706c357.jpg","text":"TemporaryFile(/tmp/multipartBody6455685933170802640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735922313332,"filename":"image_03012025_17_36_02_596812_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/45b9b15add6562d11f7c365ccf4d5e5e.jpg","text":"TemporaryFile(/tmp/multipartBody7000497228365305474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735922313332,"filename":"image_03012025_17_37_02_846261_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0dfbb6f5711ad4a75c10926ee126b584.jpg","text":"TemporaryFile(/tmp/multipartBody7033932040718745424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735922313332,"filename":"image_03012025_17_37_02_846261_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6fe686a95507880ce370cd4585c2df4d.jpg","text":"TemporaryFile(/tmp/multipartBody3222040936857849567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735922313332,"filename":"image_03012025_17_37_02_846261_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325917204","file1":"1325917175","file0":"1325917172","file3":"1325917301"},"map_files_photo_id_array":[{"photo_id":"1325917204","filename":"file2"},{"photo_id":"1325917175","filename":"file1"},{"photo_id":"1325917172","filename":"file0"},{"photo_id":"1325917301","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325917172":["hashtag1","hashtag2"]},{"1325917175":["hashtag1","hashtag2"]},{"1325917301":["hashtag1","hashtag2"]},{"1325917204":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325917172, 1325917175, 1325917301, 1325917204)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.378894090652466 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 17:38:21.874021
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/17/37/image_03012025_17_37_02_846261_0003.jpg', '/home/pi/Desktop/images/03012025/17/38/image_03012025_17_38_03_086729_0000.jpg', '/home/pi/Desktop/images/03012025/17/38/image_03012025_17_38_03_086729_0001.jpg', '/home/pi/Desktop/images/03012025/17/38/image_03012025_17_38_03_086729_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/17/37/image_03012025_17_37_02_846261_0003.jpg
/home/pi/Desktop/images/03012025/17/38/image_03012025_17_38_03_086729_0000.jpg
/home/pi/Desktop/images/03012025/17/38/image_03012025_17_38_03_086729_0001.jpg
/home/pi/Desktop/images/03012025/17/38/image_03012025_17_38_03_086729_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325917746","1325917376","1325917379","1325917850"],"photo_ids_order":["1325917376","1325917379","1325917746","1325917850"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/38fb4ab189dddbdb35b65f08433e64dd.jpg","text":"TemporaryFile(/tmp/multipartBody892094217129021415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735922372129,"filename":"image_03012025_17_38_03_086729_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3b82f65e19528561f6880b51d85053b2.jpg","text":"TemporaryFile(/tmp/multipartBody3767494989370167131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735922372129,"filename":"image_03012025_17_37_02_846261_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ec332737033f06c5f17d0c853df3cc08.jpg","text":"TemporaryFile(/tmp/multipartBody4517367535476371794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735922372129,"filename":"image_03012025_17_38_03_086729_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2d6747767e5aa28f2eb93fe524c6893b.jpg","text":"TemporaryFile(/tmp/multipartBody7334985016313818336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735922372129,"filename":"image_03012025_17_38_03_086729_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325917746","file1":"1325917379","file0":"1325917376","file3":"1325917850"},"map_files_photo_id_array":[{"photo_id":"1325917746","filename":"file2"},{"photo_id":"1325917379","filename":"file1"},{"photo_id":"1325917376","filename":"file0"},{"photo_id":"1325917850","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325917746":["hashtag1","hashtag2"]},{"1325917376":["hashtag1","hashtag2"]},{"1325917379":["hashtag1","hashtag2"]},{"1325917850":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325917746, 1325917376, 1325917379, 1325917850)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.84072995185852 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 17:39:22.077358
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/17/38/image_03012025_17_38_03_086729_0003.jpg', '/home/pi/Desktop/images/03012025/17/39/image_03012025_17_39_02_192226_0000.jpg', '/home/pi/Desktop/images/03012025/17/39/image_03012025_17_39_02_192226_0001.jpg', '/home/pi/Desktop/images/03012025/17/39/image_03012025_17_39_02_192226_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/17/38/image_03012025_17_38_03_086729_0003.jpg
/home/pi/Desktop/images/03012025/17/39/image_03012025_17_39_02_192226_0000.jpg
/home/pi/Desktop/images/03012025/17/39/image_03012025_17_39_02_192226_0001.jpg
/home/pi/Desktop/images/03012025/17/39/image_03012025_17_39_02_192226_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325918621","1325918609","1325918467","1325918469"],"photo_ids_order":["1325918467","1325918469","1325918609","1325918621"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/801c84122ab8ae9ac1069e6f5caabbfa.jpg","text":"TemporaryFile(/tmp/multipartBody4527364490455382690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735922432327,"filename":"image_03012025_17_39_02_192226_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b6cf5a4d3dd0c1acf6333444ed5ed097.jpg","text":"TemporaryFile(/tmp/multipartBody4443278086524027159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735922432327,"filename":"image_03012025_17_39_02_192226_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1d47a8e5ab87d8cf59ff4cd492dc4067.jpg","text":"TemporaryFile(/tmp/multipartBody4660098601714089767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735922432327,"filename":"image_03012025_17_38_03_086729_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/60eaa78f3e7247019b4af48995bac626.jpg","text":"TemporaryFile(/tmp/multipartBody3931073729751416946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735922432327,"filename":"image_03012025_17_39_02_192226_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325918609","file1":"1325918469","file0":"1325918467","file3":"1325918621"},"map_files_photo_id_array":[{"photo_id":"1325918609","filename":"file2"},{"photo_id":"1325918469","filename":"file1"},{"photo_id":"1325918467","filename":"file0"},{"photo_id":"1325918621","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325918621":["hashtag1","hashtag2"]},{"1325918609":["hashtag1","hashtag2"]},{"1325918467":["hashtag1","hashtag2"]},{"1325918469":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325918621, 1325918609, 1325918467, 1325918469)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.81031250953674 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 17:40:22.176975
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/17/39/image_03012025_17_39_02_192226_0003.jpg', '/home/pi/Desktop/images/03012025/17/40/image_03012025_17_40_02_376945_0000.jpg', '/home/pi/Desktop/images/03012025/17/40/image_03012025_17_40_02_376945_0001.jpg', '/home/pi/Desktop/images/03012025/17/40/image_03012025_17_40_02_376945_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/17/39/image_03012025_17_39_02_192226_0003.jpg
/home/pi/Desktop/images/03012025/17/40/image_03012025_17_40_02_376945_0000.jpg
/home/pi/Desktop/images/03012025/17/40/image_03012025_17_40_02_376945_0001.jpg
/home/pi/Desktop/images/03012025/17/40/image_03012025_17_40_02_376945_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325919224","1325919193","1325919296","1325919269"],"photo_ids_order":["1325919193","1325919224","1325919269","1325919296"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e18c6e32bb1ebc7d250d66ed010edee1.jpg","text":"TemporaryFile(/tmp/multipartBody2084986326267868400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735922492552,"filename":"image_03012025_17_40_02_376945_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/952e6df787c4d25b58994ca9a9cc687a.jpg","text":"TemporaryFile(/tmp/multipartBody5205920854904157987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735922492552,"filename":"image_03012025_17_39_02_192226_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1ec6f8b5028013abc52c5cfca9db95d9.jpg","text":"TemporaryFile(/tmp/multipartBody4527774130476775070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735922492552,"filename":"image_03012025_17_40_02_376945_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/693cd118225711e5241e33d1b29c0b3b.jpg","text":"TemporaryFile(/tmp/multipartBody9150329575272781380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735922492552,"filename":"image_03012025_17_40_02_376945_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325919269","file1":"1325919224","file0":"1325919193","file3":"1325919296"},"map_files_photo_id_array":[{"photo_id":"1325919269","filename":"file2"},{"photo_id":"1325919224","filename":"file1"},{"photo_id":"1325919193","filename":"file0"},{"photo_id":"1325919296","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325919224":["hashtag1","hashtag2"]},{"1325919193":["hashtag1","hashtag2"]},{"1325919296":["hashtag1","hashtag2"]},{"1325919269":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325919224, 1325919193, 1325919296, 1325919269)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.17602491378784 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 17:41:22.460032
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/17/40/image_03012025_17_40_02_376945_0003.jpg', '/home/pi/Desktop/images/03012025/17/41/image_03012025_17_41_02_543337_0000.jpg', '/home/pi/Desktop/images/03012025/17/41/image_03012025_17_41_02_543337_0001.jpg', '/home/pi/Desktop/images/03012025/17/41/image_03012025_17_41_02_543337_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/17/40/image_03012025_17_40_02_376945_0003.jpg
/home/pi/Desktop/images/03012025/17/41/image_03012025_17_41_02_543337_0000.jpg
/home/pi/Desktop/images/03012025/17/41/image_03012025_17_41_02_543337_0001.jpg
/home/pi/Desktop/images/03012025/17/41/image_03012025_17_41_02_543337_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325919466","1325920063","1325920092","1325919854"],"photo_ids_order":["1325919466","1325919854","1325920063","1325920092"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d4f7f28799148ed514510cb933d0a1a9.jpg","text":"TemporaryFile(/tmp/multipartBody319369397531106650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735922552908,"filename":"image_03012025_17_40_02_376945_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/cbfa7510e6060d130c604c99341e49b0.jpg","text":"TemporaryFile(/tmp/multipartBody4533167299757257502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735922552908,"filename":"image_03012025_17_41_02_543337_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a8b96c44fb2ce998636ba048c1575bc0.jpg","text":"TemporaryFile(/tmp/multipartBody6473886309927314471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735922552908,"filename":"image_03012025_17_41_02_543337_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b8fd780fa0f40935aea59679871669f9.jpg","text":"TemporaryFile(/tmp/multipartBody8286054977014488135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735922552908,"filename":"image_03012025_17_41_02_543337_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325920063","file1":"1325919854","file0":"1325919466","file3":"1325920092"},"map_files_photo_id_array":[{"photo_id":"1325920063","filename":"file2"},{"photo_id":"1325919854","filename":"file1"},{"photo_id":"1325919466","filename":"file0"},{"photo_id":"1325920092","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325919466":["hashtag1","hashtag2"]},{"1325920063":["hashtag1","hashtag2"]},{"1325920092":["hashtag1","hashtag2"]},{"1325919854":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325919466, 1325920063, 1325920092, 1325919854)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.83395791053772 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 17:42:22.609914
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/17/41/image_03012025_17_41_02_543337_0003.jpg', '/home/pi/Desktop/images/03012025/17/42/image_03012025_17_42_02_823628_0000.jpg', '/home/pi/Desktop/images/03012025/17/42/image_03012025_17_42_02_823628_0001.jpg', '/home/pi/Desktop/images/03012025/17/42/image_03012025_17_42_02_823628_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/17/41/image_03012025_17_41_02_543337_0003.jpg
/home/pi/Desktop/images/03012025/17/42/image_03012025_17_42_02_823628_0000.jpg
/home/pi/Desktop/images/03012025/17/42/image_03012025_17_42_02_823628_0001.jpg
/home/pi/Desktop/images/03012025/17/42/image_03012025_17_42_02_823628_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325920759","1325920930","1325920921","1325920557"],"photo_ids_order":["1325920557","1325920759","1325920921","1325920930"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8081f9469a1747627fbbf7d5670b7540.jpg","text":"TemporaryFile(/tmp/multipartBody4593300632150028319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735922612962,"filename":"image_03012025_17_42_02_823628_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/970823ff9b17e123be8af548d6ea67a1.jpg","text":"TemporaryFile(/tmp/multipartBody6908330465900775448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735922612962,"filename":"image_03012025_17_42_02_823628_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8b036c65995c70d7ce21a84acda0ee74.jpg","text":"TemporaryFile(/tmp/multipartBody1437460078864553519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735922612962,"filename":"image_03012025_17_42_02_823628_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e81fbf711a3b64c5b1696afe7b7d1d8b.jpg","text":"TemporaryFile(/tmp/multipartBody733274175929812560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735922612962,"filename":"image_03012025_17_41_02_543337_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325920921","file1":"1325920759","file0":"1325920557","file3":"1325920930"},"map_files_photo_id_array":[{"photo_id":"1325920921","filename":"file2"},{"photo_id":"1325920759","filename":"file1"},{"photo_id":"1325920557","filename":"file0"},{"photo_id":"1325920930","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325920759":["hashtag1","hashtag2"]},{"1325920930":["hashtag1","hashtag2"]},{"1325920921":["hashtag1","hashtag2"]},{"1325920557":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325920759, 1325920930, 1325920921, 1325920557)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.0473735332489 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 17:43:21.899653
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/17/42/image_03012025_17_42_02_823628_0003.jpg', '/home/pi/Desktop/images/03012025/17/43/image_03012025_17_43_02_963847_0000.jpg', '/home/pi/Desktop/images/03012025/17/43/image_03012025_17_43_02_963847_0001.jpg', '/home/pi/Desktop/images/03012025/17/43/image_03012025_17_43_02_963847_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/17/42/image_03012025_17_42_02_823628_0003.jpg
/home/pi/Desktop/images/03012025/17/43/image_03012025_17_43_02_963847_0000.jpg
/home/pi/Desktop/images/03012025/17/43/image_03012025_17_43_02_963847_0001.jpg
/home/pi/Desktop/images/03012025/17/43/image_03012025_17_43_02_963847_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325921983","1325921620","1325921622","1325921625"],"photo_ids_order":["1325921620","1325921622","1325921625","1325921983"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/aed3d5ea1bd0a22bbe70be74026c0f39.jpg","text":"TemporaryFile(/tmp/multipartBody4769941708443536562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735922672130,"filename":"image_03012025_17_43_02_963847_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0f2ae0f1bcefb2cf405daaf864921ddc.jpg","text":"TemporaryFile(/tmp/multipartBody8589395688047803567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735922672130,"filename":"image_03012025_17_42_02_823628_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2139146294c09b453abc8398952f0f45.jpg","text":"TemporaryFile(/tmp/multipartBody6584047253740739440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735922672130,"filename":"image_03012025_17_43_02_963847_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7dab3f158162f263a7ddb161ff196330.jpg","text":"TemporaryFile(/tmp/multipartBody621203337671437989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735922672130,"filename":"image_03012025_17_43_02_963847_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325921625","file1":"1325921622","file0":"1325921620","file3":"1325921983"},"map_files_photo_id_array":[{"photo_id":"1325921625","filename":"file2"},{"photo_id":"1325921622","filename":"file1"},{"photo_id":"1325921620","filename":"file0"},{"photo_id":"1325921983","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325921983":["hashtag1","hashtag2"]},{"1325921620":["hashtag1","hashtag2"]},{"1325921622":["hashtag1","hashtag2"]},{"1325921625":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325921983, 1325921620, 1325921622, 1325921625)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.137288093566895 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 17:44:02.395493
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 17:44:21.954811
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/17/43/image_03012025_17_43_02_963847_0003.jpg', '/home/pi/Desktop/images/03012025/17/44/image_03012025_17_44_02_255888_0001.jpg', '/home/pi/Desktop/images/03012025/17/44/image_03012025_17_44_02_255888_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/17/43/image_03012025_17_43_02_963847_0003.jpg
/home/pi/Desktop/images/03012025/17/44/image_03012025_17_44_02_255888_0001.jpg
/home/pi/Desktop/images/03012025/17/44/image_03012025_17_44_02_255888_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325922376","1325922364","1325922371"],"photo_ids_order":["1325922364","1325922371","1325922376"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/126b3aa0a0338e14cf94779b43f31c8b.jpg","text":"TemporaryFile(/tmp/multipartBody8782008596044396873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735922729776,"filename":"image_03012025_17_44_02_255888_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/646dd3f0aed31bb85b801e65d2d59c4c.jpg","text":"TemporaryFile(/tmp/multipartBody2069339863830200849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735922729776,"filename":"image_03012025_17_43_02_963847_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/bb3999a498f9784326b9696730348e94.jpg","text":"TemporaryFile(/tmp/multipartBody4223267544615083066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735922729776,"filename":"image_03012025_17_44_02_255888_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325922376","file1":"1325922371","file0":"1325922364"},"map_files_photo_id_array":[{"photo_id":"1325922376","filename":"file2"},{"photo_id":"1325922371","filename":"file1"},{"photo_id":"1325922364","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325922376":["hashtag1","hashtag2"]},{"1325922364":["hashtag1","hashtag2"]},{"1325922371":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325922376, 1325922364, 1325922371)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.09776544570923 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 17:45:02.920797
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 17:45:22.156185
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/17/44/image_03012025_17_44_02_255888_0003.jpg', '/home/pi/Desktop/images/03012025/17/45/image_03012025_17_45_02_320671_0000.jpg', '/home/pi/Desktop/images/03012025/17/45/image_03012025_17_45_02_320671_0001.jpg', '/home/pi/Desktop/images/03012025/17/45/image_03012025_17_45_02_320671_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/17/44/image_03012025_17_44_02_255888_0003.jpg
/home/pi/Desktop/images/03012025/17/45/image_03012025_17_45_02_320671_0000.jpg
/home/pi/Desktop/images/03012025/17/45/image_03012025_17_45_02_320671_0001.jpg
/home/pi/Desktop/images/03012025/17/45/image_03012025_17_45_02_320671_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325922889","1325922550","1325922390","1325923011"],"photo_ids_order":["1325922390","1325922550","1325922889","1325923011"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/caa6a9371edb8656b8212b7a8eb87826.jpg","text":"TemporaryFile(/tmp/multipartBody1049687942605811081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735922792416,"filename":"image_03012025_17_45_02_320671_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/353ad9790fb72b11bf8d7b7879fa5097.jpg","text":"TemporaryFile(/tmp/multipartBody5262480825479884261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735922792416,"filename":"image_03012025_17_45_02_320671_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8904275d2bc606fb11c4db7f0cfc494b.jpg","text":"TemporaryFile(/tmp/multipartBody9208311275573545702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735922792416,"filename":"image_03012025_17_44_02_255888_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9e7c059676afda953a4eccf782dfe72a.jpg","text":"TemporaryFile(/tmp/multipartBody8105223835373258470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735922792416,"filename":"image_03012025_17_45_02_320671_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325922889","file1":"1325922550","file0":"1325922390","file3":"1325923011"},"map_files_photo_id_array":[{"photo_id":"1325922889","filename":"file2"},{"photo_id":"1325922550","filename":"file1"},{"photo_id":"1325922390","filename":"file0"},{"photo_id":"1325923011","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325922889":["hashtag1","hashtag2"]},{"1325922550":["hashtag1","hashtag2"]},{"1325922390":["hashtag1","hashtag2"]},{"1325923011":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325922889, 1325922550, 1325922390, 1325923011)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.93470573425293 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 17:46:22.336806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/17/45/image_03012025_17_45_02_320671_0003.jpg', '/home/pi/Desktop/images/03012025/17/46/image_03012025_17_46_02_496888_0000.jpg', '/home/pi/Desktop/images/03012025/17/46/image_03012025_17_46_02_496888_0001.jpg', '/home/pi/Desktop/images/03012025/17/46/image_03012025_17_46_02_496888_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/17/45/image_03012025_17_45_02_320671_0003.jpg
/home/pi/Desktop/images/03012025/17/46/image_03012025_17_46_02_496888_0000.jpg
/home/pi/Desktop/images/03012025/17/46/image_03012025_17_46_02_496888_0001.jpg
/home/pi/Desktop/images/03012025/17/46/image_03012025_17_46_02_496888_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325924202","1325924165","1325924383","1325924023"],"photo_ids_order":["1325924023","1325924165","1325924202","1325924383"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ab27dbfeef55da51d3e7335ed5f72f4a.jpg","text":"TemporaryFile(/tmp/multipartBody6130723960979243805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735922852635,"filename":"image_03012025_17_46_02_496888_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ed461c4ac53c9cafabec3566149b8137.jpg","text":"TemporaryFile(/tmp/multipartBody953987692182746528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735922852635,"filename":"image_03012025_17_46_02_496888_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5f8d4b60a6ffa165247b7cfe8cc61e60.jpg","text":"TemporaryFile(/tmp/multipartBody2796723180232311425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735922852635,"filename":"image_03012025_17_46_02_496888_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3ddf49d0ecebad152c3360e3a349e589.jpg","text":"TemporaryFile(/tmp/multipartBody8578946975979514989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735922852635,"filename":"image_03012025_17_45_02_320671_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325924202","file1":"1325924165","file0":"1325924023","file3":"1325924383"},"map_files_photo_id_array":[{"photo_id":"1325924202","filename":"file2"},{"photo_id":"1325924165","filename":"file1"},{"photo_id":"1325924023","filename":"file0"},{"photo_id":"1325924383","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325924202":["hashtag1","hashtag2"]},{"1325924165":["hashtag1","hashtag2"]},{"1325924383":["hashtag1","hashtag2"]},{"1325924023":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325924202, 1325924165, 1325924383, 1325924023)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.88898587226868 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 17:47:02.985061
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 17:47:22.609130
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/17/46/image_03012025_17_46_02_496888_0003.jpg', '/home/pi/Desktop/images/03012025/17/47/image_03012025_17_47_02_699115_0000.jpg', '/home/pi/Desktop/images/03012025/17/47/image_03012025_17_47_02_699115_0001.jpg', '/home/pi/Desktop/images/03012025/17/47/image_03012025_17_47_02_699115_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/17/46/image_03012025_17_46_02_496888_0003.jpg
/home/pi/Desktop/images/03012025/17/47/image_03012025_17_47_02_699115_0000.jpg
/home/pi/Desktop/images/03012025/17/47/image_03012025_17_47_02_699115_0001.jpg
/home/pi/Desktop/images/03012025/17/47/image_03012025_17_47_02_699115_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325925219","1325925216","1325925269","1325925267"],"photo_ids_order":["1325925216","1325925219","1325925267","1325925269"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5f080842435a6a94a48cc0e75f4fd52e.jpg","text":"TemporaryFile(/tmp/multipartBody8576436798905150995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735922912910,"filename":"image_03012025_17_47_02_699115_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/55ffd214c386aacee50912bd293f8de2.jpg","text":"TemporaryFile(/tmp/multipartBody6548001207748818200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735922912910,"filename":"image_03012025_17_46_02_496888_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/37ba8be1f6c6ffb51622ff3f3d0df289.jpg","text":"TemporaryFile(/tmp/multipartBody8285865276340030501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735922912910,"filename":"image_03012025_17_47_02_699115_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7cd7d1011a71211aa677b5d43705777f.jpg","text":"TemporaryFile(/tmp/multipartBody2495084589058708404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735922912910,"filename":"image_03012025_17_47_02_699115_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325925267","file1":"1325925219","file0":"1325925216","file3":"1325925269"},"map_files_photo_id_array":[{"photo_id":"1325925267","filename":"file2"},{"photo_id":"1325925219","filename":"file1"},{"photo_id":"1325925216","filename":"file0"},{"photo_id":"1325925269","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325925219":["hashtag1","hashtag2"]},{"1325925216":["hashtag1","hashtag2"]},{"1325925269":["hashtag1","hashtag2"]},{"1325925267":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325925219, 1325925216, 1325925269, 1325925267)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.13743734359741 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 17:48:03.088124
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 17:48:22.735229
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/17/47/image_03012025_17_47_02_699115_0003.jpg', '/home/pi/Desktop/images/03012025/17/48/image_03012025_17_48_02_952384_0000.jpg', '/home/pi/Desktop/images/03012025/17/48/image_03012025_17_48_02_952384_0001.jpg', '/home/pi/Desktop/images/03012025/17/48/image_03012025_17_48_02_952384_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/17/47/image_03012025_17_47_02_699115_0003.jpg
/home/pi/Desktop/images/03012025/17/48/image_03012025_17_48_02_952384_0000.jpg
/home/pi/Desktop/images/03012025/17/48/image_03012025_17_48_02_952384_0001.jpg
/home/pi/Desktop/images/03012025/17/48/image_03012025_17_48_02_952384_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325925371","1325925373","1325925366","1325925369"],"photo_ids_order":["1325925366","1325925369","1325925371","1325925373"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f75f11add85929d0cc9066d44823f114.jpg","text":"TemporaryFile(/tmp/multipartBody620621867192441256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735922972973,"filename":"image_03012025_17_48_02_952384_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f0a7c805537a46d9ed0f2f739923b2fc.jpg","text":"TemporaryFile(/tmp/multipartBody1374995088256266952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735922972973,"filename":"image_03012025_17_48_02_952384_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0866dc52f8ed7962a00eb6bddf08494d.jpg","text":"TemporaryFile(/tmp/multipartBody7251887700056977038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735922972973,"filename":"image_03012025_17_47_02_699115_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3a91bd073c1492f33b4f34c60a9c864a.jpg","text":"TemporaryFile(/tmp/multipartBody8683503043904327243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735922972973,"filename":"image_03012025_17_48_02_952384_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325925371","file1":"1325925369","file0":"1325925366","file3":"1325925373"},"map_files_photo_id_array":[{"photo_id":"1325925371","filename":"file2"},{"photo_id":"1325925369","filename":"file1"},{"photo_id":"1325925366","filename":"file0"},{"photo_id":"1325925373","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325925371":["hashtag1","hashtag2"]},{"1325925373":["hashtag1","hashtag2"]},{"1325925366":["hashtag1","hashtag2"]},{"1325925369":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325925371, 1325925373, 1325925366, 1325925369)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.86292362213135 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 17:49:21.882637
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/17/48/image_03012025_17_48_02_952384_0003.jpg', '/home/pi/Desktop/images/03012025/17/49/image_03012025_17_49_03_039932_0000.jpg', '/home/pi/Desktop/images/03012025/17/49/image_03012025_17_49_03_039932_0001.jpg', '/home/pi/Desktop/images/03012025/17/49/image_03012025_17_49_03_039932_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/17/48/image_03012025_17_48_02_952384_0003.jpg
/home/pi/Desktop/images/03012025/17/49/image_03012025_17_49_03_039932_0000.jpg
/home/pi/Desktop/images/03012025/17/49/image_03012025_17_49_03_039932_0001.jpg
/home/pi/Desktop/images/03012025/17/49/image_03012025_17_49_03_039932_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325925761","1325925839","1325925835","1325925786"],"photo_ids_order":["1325925761","1325925786","1325925835","1325925839"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/150fe1719f57e570c5d2e0011f4904f7.jpg","text":"TemporaryFile(/tmp/multipartBody7132653269294498603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735923032312,"filename":"image_03012025_17_48_02_952384_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/75650812b53b4dcc1e45924d4f1b68a8.jpg","text":"TemporaryFile(/tmp/multipartBody6056685812403817073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735923032312,"filename":"image_03012025_17_49_03_039932_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/cf5c34b6bb265be354cbb80628863851.jpg","text":"TemporaryFile(/tmp/multipartBody4126653520099635955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735923032312,"filename":"image_03012025_17_49_03_039932_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/98d6f053e454628d4178091b588bc0cc.jpg","text":"TemporaryFile(/tmp/multipartBody4172646340914851433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735923032312,"filename":"image_03012025_17_49_03_039932_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325925835","file1":"1325925786","file0":"1325925761","file3":"1325925839"},"map_files_photo_id_array":[{"photo_id":"1325925835","filename":"file2"},{"photo_id":"1325925786","filename":"file1"},{"photo_id":"1325925761","filename":"file0"},{"photo_id":"1325925839","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325925761":["hashtag1","hashtag2"]},{"1325925839":["hashtag1","hashtag2"]},{"1325925835":["hashtag1","hashtag2"]},{"1325925786":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325925761, 1325925839, 1325925835, 1325925786)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.15274786949158 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 17:50:02.338748
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 17:50:22.008968
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/17/49/image_03012025_17_49_03_039932_0003.jpg', '/home/pi/Desktop/images/03012025/17/50/image_03012025_17_50_02_263826_0000.jpg', '/home/pi/Desktop/images/03012025/17/50/image_03012025_17_50_02_263826_0001.jpg', '/home/pi/Desktop/images/03012025/17/50/image_03012025_17_50_02_263826_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/17/49/image_03012025_17_49_03_039932_0003.jpg
/home/pi/Desktop/images/03012025/17/50/image_03012025_17_50_02_263826_0000.jpg
/home/pi/Desktop/images/03012025/17/50/image_03012025_17_50_02_263826_0001.jpg
/home/pi/Desktop/images/03012025/17/50/image_03012025_17_50_02_263826_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325925857","1325925850","1325925853","1325925855"],"photo_ids_order":["1325925850","1325925853","1325925855","1325925857"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/fae00eac723910b00ddc5d95425a70c1.jpg","text":"TemporaryFile(/tmp/multipartBody8682037292531335171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735923092296,"filename":"image_03012025_17_50_02_263826_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8d3f5b1fbb3d686dae5519943431981a.jpg","text":"TemporaryFile(/tmp/multipartBody1981786469722649992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735923092296,"filename":"image_03012025_17_49_03_039932_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f3027a8034ba5ce32bead86ff7522af4.jpg","text":"TemporaryFile(/tmp/multipartBody4862934268774007162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735923092296,"filename":"image_03012025_17_50_02_263826_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/94395d494b92401108348ea7a3677d44.jpg","text":"TemporaryFile(/tmp/multipartBody186558915025423291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735923092296,"filename":"image_03012025_17_50_02_263826_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325925855","file1":"1325925853","file0":"1325925850","file3":"1325925857"},"map_files_photo_id_array":[{"photo_id":"1325925855","filename":"file2"},{"photo_id":"1325925853","filename":"file1"},{"photo_id":"1325925850","filename":"file0"},{"photo_id":"1325925857","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325925857":["hashtag1","hashtag2"]},{"1325925850":["hashtag1","hashtag2"]},{"1325925853":["hashtag1","hashtag2"]},{"1325925855":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325925857, 1325925850, 1325925853, 1325925855)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.64757227897644 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 17:51:02.730137
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 17:51:22.211503
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/17/50/image_03012025_17_50_02_263826_0003.jpg', '/home/pi/Desktop/images/03012025/17/51/image_03012025_17_51_02_434575_0000.jpg', '/home/pi/Desktop/images/03012025/17/51/image_03012025_17_51_02_434575_0001.jpg', '/home/pi/Desktop/images/03012025/17/51/image_03012025_17_51_02_434575_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/17/50/image_03012025_17_50_02_263826_0003.jpg
/home/pi/Desktop/images/03012025/17/51/image_03012025_17_51_02_434575_0000.jpg
/home/pi/Desktop/images/03012025/17/51/image_03012025_17_51_02_434575_0001.jpg
/home/pi/Desktop/images/03012025/17/51/image_03012025_17_51_02_434575_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325926658","1325926767","1325926722","1325926629"],"photo_ids_order":["1325926629","1325926658","1325926722","1325926767"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6f181b72b0054b1d605dd4a2472b9cce.jpg","text":"TemporaryFile(/tmp/multipartBody7822006191315594891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735923152599,"filename":"image_03012025_17_51_02_434575_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/942aa51de7068bb0ab486d86829ea678.jpg","text":"TemporaryFile(/tmp/multipartBody8891556164933043608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735923152599,"filename":"image_03012025_17_51_02_434575_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/361b5e0e787738132736cd3659f64b46.jpg","text":"TemporaryFile(/tmp/multipartBody3074409080610902581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735923152599,"filename":"image_03012025_17_51_02_434575_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a1db6e2eac503ca0593f17188666f4d6.jpg","text":"TemporaryFile(/tmp/multipartBody5702994659042944583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735923152599,"filename":"image_03012025_17_50_02_263826_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325926722","file1":"1325926658","file0":"1325926629","file3":"1325926767"},"map_files_photo_id_array":[{"photo_id":"1325926722","filename":"file2"},{"photo_id":"1325926658","filename":"file1"},{"photo_id":"1325926629","filename":"file0"},{"photo_id":"1325926767","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325926658":["hashtag1","hashtag2"]},{"1325926767":["hashtag1","hashtag2"]},{"1325926722":["hashtag1","hashtag2"]},{"1325926629":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325926658, 1325926767, 1325926722, 1325926629)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.940451860427856 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 17:52:22.445747
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/17/51/image_03012025_17_51_02_434575_0003.jpg', '/home/pi/Desktop/images/03012025/17/52/image_03012025_17_52_02_597682_0000.jpg', '/home/pi/Desktop/images/03012025/17/52/image_03012025_17_52_02_597682_0001.jpg', '/home/pi/Desktop/images/03012025/17/52/image_03012025_17_52_02_597682_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/17/51/image_03012025_17_51_02_434575_0003.jpg
/home/pi/Desktop/images/03012025/17/52/image_03012025_17_52_02_597682_0000.jpg
/home/pi/Desktop/images/03012025/17/52/image_03012025_17_52_02_597682_0001.jpg
/home/pi/Desktop/images/03012025/17/52/image_03012025_17_52_02_597682_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.805747509002686 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-03 17:52:42.390884
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/17/51/image_03012025_17_51_02_434575_0003.jpg', '/home/pi/Desktop/images/03012025/17/52/image_03012025_17_52_02_597682_0000.jpg', '/home/pi/Desktop/images/03012025/17/52/image_03012025_17_52_02_597682_0001.jpg', '/home/pi/Desktop/images/03012025/17/52/image_03012025_17_52_02_597682_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/17/51/image_03012025_17_51_02_434575_0003.jpg
/home/pi/Desktop/images/03012025/17/52/image_03012025_17_52_02_597682_0000.jpg
/home/pi/Desktop/images/03012025/17/52/image_03012025_17_52_02_597682_0001.jpg
/home/pi/Desktop/images/03012025/17/52/image_03012025_17_52_02_597682_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325927464","1325927463","1325927466","1325927462"],"photo_ids_order":["1325927462","1325927463","1325927464","1325927466"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ad1b94b7ebb59c1bdde8234d31a1958b.jpg","text":"TemporaryFile(/tmp/multipartBody3210309063144628116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735923232607,"filename":"image_03012025_17_52_02_597682_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7152b3cc356384153960eed661c69694.jpg","text":"TemporaryFile(/tmp/multipartBody3531205117113395876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735923232607,"filename":"image_03012025_17_52_02_597682_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d31ac71bff51b29542aa7da076dac48f.jpg","text":"TemporaryFile(/tmp/multipartBody3580194026310542630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735923232607,"filename":"image_03012025_17_52_02_597682_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f8854cb0f168e26f1f65f0f7280e8092.jpg","text":"TemporaryFile(/tmp/multipartBody6644716871403618826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735923232607,"filename":"image_03012025_17_51_02_434575_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325927464","file1":"1325927463","file0":"1325927462","file3":"1325927466"},"map_files_photo_id_array":[{"photo_id":"1325927464","filename":"file2"},{"photo_id":"1325927463","filename":"file1"},{"photo_id":"1325927462","filename":"file0"},{"photo_id":"1325927466","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325927464":["hashtag1","hashtag2"]},{"1325927463":["hashtag1","hashtag2"]},{"1325927466":["hashtag1","hashtag2"]},{"1325927462":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325927464, 1325927463, 1325927466, 1325927462)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.86942982673645 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-03 17:53:32.567558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/17/52/image_03012025_17_52_02_597682_0003.jpg', '/home/pi/Desktop/images/03012025/17/53/image_03012025_17_53_02_786945_0000.jpg', '/home/pi/Desktop/images/03012025/17/53/image_03012025_17_53_02_786945_0001.jpg', '/home/pi/Desktop/images/03012025/17/53/image_03012025_17_53_02_786945_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/17/52/image_03012025_17_52_02_597682_0003.jpg
/home/pi/Desktop/images/03012025/17/53/image_03012025_17_53_02_786945_0000.jpg
/home/pi/Desktop/images/03012025/17/53/image_03012025_17_53_02_786945_0001.jpg
/home/pi/Desktop/images/03012025/17/53/image_03012025_17_53_02_786945_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325928430","1325928433","1325928432","1325928056"],"photo_ids_order":["1325928056","1325928430","1325928432","1325928433"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/fae6688b1f79bb435b2ce04956c9e2d0.jpg","text":"TemporaryFile(/tmp/multipartBody7876407169411116723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735923282957,"filename":"image_03012025_17_53_02_786945_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7405efc1d75a18f595a4b72b1dfdb45d.jpg","text":"TemporaryFile(/tmp/multipartBody7959857255374673478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735923282957,"filename":"image_03012025_17_53_02_786945_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c876d15e11255214db87b75290266329.jpg","text":"TemporaryFile(/tmp/multipartBody5431273434907440651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735923282957,"filename":"image_03012025_17_53_02_786945_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a0613d07bbab85185d719071ece3bd08.jpg","text":"TemporaryFile(/tmp/multipartBody3564744589407159743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735923282957,"filename":"image_03012025_17_52_02_597682_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325928432","file1":"1325928430","file0":"1325928056","file3":"1325928433"},"map_files_photo_id_array":[{"photo_id":"1325928432","filename":"file2"},{"photo_id":"1325928430","filename":"file1"},{"photo_id":"1325928056","filename":"file0"},{"photo_id":"1325928433","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325928430":["hashtag1","hashtag2"]},{"1325928433":["hashtag1","hashtag2"]},{"1325928432":["hashtag1","hashtag2"]},{"1325928056":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325928430, 1325928433, 1325928432, 1325928056)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.7738676071167 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 17:54:22.836850
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/17/53/image_03012025_17_53_02_786945_0003.jpg', '/home/pi/Desktop/images/03012025/17/54/image_03012025_17_54_02_961594_0000.jpg', '/home/pi/Desktop/images/03012025/17/54/image_03012025_17_54_02_961594_0001.jpg', '/home/pi/Desktop/images/03012025/17/54/image_03012025_17_54_02_961594_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/17/53/image_03012025_17_53_02_786945_0003.jpg
/home/pi/Desktop/images/03012025/17/54/image_03012025_17_54_02_961594_0000.jpg
/home/pi/Desktop/images/03012025/17/54/image_03012025_17_54_02_961594_0001.jpg
/home/pi/Desktop/images/03012025/17/54/image_03012025_17_54_02_961594_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325928814","1325928812","1325928809","1325928800"],"photo_ids_order":["1325928800","1325928809","1325928812","1325928814"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/17ef6c10f1ae2907b1a7100a238f0088.jpg","text":"TemporaryFile(/tmp/multipartBody2763763843257029295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735923333103,"filename":"image_03012025_17_54_02_961594_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e8382ed47a696de12b3e565fa0136de8.jpg","text":"TemporaryFile(/tmp/multipartBody8555042320484208307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735923333103,"filename":"image_03012025_17_54_02_961594_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a2dd60de4becfbc71321d6fb69eb897a.jpg","text":"TemporaryFile(/tmp/multipartBody4578998352878891990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735923333103,"filename":"image_03012025_17_54_02_961594_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a70b43269a09cb8f4554d178afb6b209.jpg","text":"TemporaryFile(/tmp/multipartBody743776132432334813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735923333103,"filename":"image_03012025_17_53_02_786945_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325928812","file1":"1325928809","file0":"1325928800","file3":"1325928814"},"map_files_photo_id_array":[{"photo_id":"1325928812","filename":"file2"},{"photo_id":"1325928809","filename":"file1"},{"photo_id":"1325928800","filename":"file0"},{"photo_id":"1325928814","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325928814":["hashtag1","hashtag2"]},{"1325928812":["hashtag1","hashtag2"]},{"1325928809":["hashtag1","hashtag2"]},{"1325928800":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325928814, 1325928812, 1325928809, 1325928800)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.82718777656555 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 17:55:22.012830
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/17/54/image_03012025_17_54_02_961594_0003.jpg', '/home/pi/Desktop/images/03012025/17/55/image_03012025_17_55_03_130080_0000.jpg', '/home/pi/Desktop/images/03012025/17/55/image_03012025_17_55_03_130080_0001.jpg', '/home/pi/Desktop/images/03012025/17/55/image_03012025_17_55_03_130080_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/17/54/image_03012025_17_54_02_961594_0003.jpg
/home/pi/Desktop/images/03012025/17/55/image_03012025_17_55_03_130080_0000.jpg
/home/pi/Desktop/images/03012025/17/55/image_03012025_17_55_03_130080_0001.jpg
/home/pi/Desktop/images/03012025/17/55/image_03012025_17_55_03_130080_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325929389","1325929278","1325929387","1325929363"],"photo_ids_order":["1325929278","1325929363","1325929387","1325929389"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c56bd5871beae44b971eb257ab6e363a.jpg","text":"TemporaryFile(/tmp/multipartBody758884497677256672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735923392365,"filename":"image_03012025_17_55_03_130080_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/dcc3d43cd73e517428522c06f341155f.jpg","text":"TemporaryFile(/tmp/multipartBody7787701744168270927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735923392365,"filename":"image_03012025_17_54_02_961594_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ae7fc3c09bb9650ad8883303c6bb1229.jpg","text":"TemporaryFile(/tmp/multipartBody7176133184851561385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735923392365,"filename":"image_03012025_17_55_03_130080_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b89189a96e7e352ba2ee3715930e4628.jpg","text":"TemporaryFile(/tmp/multipartBody8386355090984819783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735923392365,"filename":"image_03012025_17_55_03_130080_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325929387","file1":"1325929363","file0":"1325929278","file3":"1325929389"},"map_files_photo_id_array":[{"photo_id":"1325929387","filename":"file2"},{"photo_id":"1325929363","filename":"file1"},{"photo_id":"1325929278","filename":"file0"},{"photo_id":"1325929389","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325929389":["hashtag1","hashtag2"]},{"1325929278":["hashtag1","hashtag2"]},{"1325929387":["hashtag1","hashtag2"]},{"1325929363":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325929389, 1325929278, 1325929387, 1325929363)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.14382219314575 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 17:56:22.099097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/17/55/image_03012025_17_55_03_130080_0003.jpg', '/home/pi/Desktop/images/03012025/17/56/image_03012025_17_56_02_322318_0000.jpg', '/home/pi/Desktop/images/03012025/17/56/image_03012025_17_56_02_322318_0001.jpg', '/home/pi/Desktop/images/03012025/17/56/image_03012025_17_56_02_322318_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/17/55/image_03012025_17_55_03_130080_0003.jpg
/home/pi/Desktop/images/03012025/17/56/image_03012025_17_56_02_322318_0000.jpg
/home/pi/Desktop/images/03012025/17/56/image_03012025_17_56_02_322318_0001.jpg
/home/pi/Desktop/images/03012025/17/56/image_03012025_17_56_02_322318_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325930802","1325930978","1325930732","1325930893"],"photo_ids_order":["1325930732","1325930802","1325930893","1325930978"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/558b2d58d0084d363e916f82523ba320.jpg","text":"TemporaryFile(/tmp/multipartBody7008455869192996150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735923452481,"filename":"image_03012025_17_56_02_322318_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f90871cd634e66b31500e6b1e0f3da11.jpg","text":"TemporaryFile(/tmp/multipartBody7637002297021188350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735923452481,"filename":"image_03012025_17_56_02_322318_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4e72c2c0df8482e86d703ab5d5779403.jpg","text":"TemporaryFile(/tmp/multipartBody6856274364194256167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735923452481,"filename":"image_03012025_17_55_03_130080_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6fc92b29f2e6fa59e2bfecd0de60e618.jpg","text":"TemporaryFile(/tmp/multipartBody523266728007438678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735923452481,"filename":"image_03012025_17_56_02_322318_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325930893","file1":"1325930802","file0":"1325930732","file3":"1325930978"},"map_files_photo_id_array":[{"photo_id":"1325930893","filename":"file2"},{"photo_id":"1325930802","filename":"file1"},{"photo_id":"1325930732","filename":"file0"},{"photo_id":"1325930978","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325930802":["hashtag1","hashtag2"]},{"1325930978":["hashtag1","hashtag2"]},{"1325930732":["hashtag1","hashtag2"]},{"1325930893":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325930802, 1325930978, 1325930732, 1325930893)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.69185018539429 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 17:57:22.226156
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/17/56/image_03012025_17_56_02_322318_0003.jpg', '/home/pi/Desktop/images/03012025/17/57/image_03012025_17_57_02_511065_0000.jpg', '/home/pi/Desktop/images/03012025/17/57/image_03012025_17_57_02_511065_0001.jpg', '/home/pi/Desktop/images/03012025/17/57/image_03012025_17_57_02_511065_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/17/56/image_03012025_17_56_02_322318_0003.jpg
/home/pi/Desktop/images/03012025/17/57/image_03012025_17_57_02_511065_0000.jpg
/home/pi/Desktop/images/03012025/17/57/image_03012025_17_57_02_511065_0001.jpg
/home/pi/Desktop/images/03012025/17/57/image_03012025_17_57_02_511065_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325931508","1325931537","1325931539","1325931541"],"photo_ids_order":["1325931508","1325931537","1325931539","1325931541"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/964a8b50a489d9a26b37c37ec3c56473.jpg","text":"TemporaryFile(/tmp/multipartBody6093173136058409823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735923512589,"filename":"image_03012025_17_56_02_322318_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f4196a1f26700077af049a8a95726e1f.jpg","text":"TemporaryFile(/tmp/multipartBody2898382327897132936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735923512589,"filename":"image_03012025_17_57_02_511065_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/45fcc6aaaad32bc30ea114058a13524b.jpg","text":"TemporaryFile(/tmp/multipartBody1114214424535008731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735923512589,"filename":"image_03012025_17_57_02_511065_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6bda841d99900620b8ebfe242908f40a.jpg","text":"TemporaryFile(/tmp/multipartBody4279544419746729997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735923512589,"filename":"image_03012025_17_57_02_511065_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325931539","file1":"1325931537","file0":"1325931508","file3":"1325931541"},"map_files_photo_id_array":[{"photo_id":"1325931539","filename":"file2"},{"photo_id":"1325931537","filename":"file1"},{"photo_id":"1325931508","filename":"file0"},{"photo_id":"1325931541","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325931508":["hashtag1","hashtag2"]},{"1325931537":["hashtag1","hashtag2"]},{"1325931539":["hashtag1","hashtag2"]},{"1325931541":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325931508, 1325931537, 1325931539, 1325931541)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.48449754714966 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 17:59:03.235671
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 17:59:22.678074
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/17/57/image_03012025_17_57_02_511065_0003.jpg', '/home/pi/Desktop/images/03012025/17/58/image_03012025_17_58_02_688161_0000.jpg', '/home/pi/Desktop/images/03012025/17/58/image_03012025_17_58_02_688161_0001.jpg', '/home/pi/Desktop/images/03012025/17/58/image_03012025_17_58_02_688161_0002.jpg', '/home/pi/Desktop/images/03012025/17/58/image_03012025_17_58_02_688161_0003.jpg', '/home/pi/Desktop/images/03012025/17/59/image_03012025_17_59_02_787312_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/17/57/image_03012025_17_57_02_511065_0003.jpg
/home/pi/Desktop/images/03012025/17/58/image_03012025_17_58_02_688161_0000.jpg
/home/pi/Desktop/images/03012025/17/58/image_03012025_17_58_02_688161_0001.jpg
/home/pi/Desktop/images/03012025/17/58/image_03012025_17_58_02_688161_0002.jpg
/home/pi/Desktop/images/03012025/17/58/image_03012025_17_58_02_688161_0003.jpg
/home/pi/Desktop/images/03012025/17/59/image_03012025_17_59_02_787312_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":["1325932224","1325932211","1325932219","1325932213","1325932207","1325932216"],"photo_ids_order":["1325932207","1325932211","1325932213","1325932216","1325932219","1325932224"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f7e6426fce9efd02112dcf613a0e9f2a.jpg","text":"TemporaryFile(/tmp/multipartBody8300151836565697884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735923638135,"filename":"image_03012025_17_59_02_787312_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4137dc7dcfa53daa78a572c17829eae8.jpg","text":"TemporaryFile(/tmp/multipartBody6280384330254242352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735923638135,"filename":"image_03012025_17_58_02_688161_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/20dc5e3eb5fce1898e7c9e0ed6e86adb.jpg","text":"TemporaryFile(/tmp/multipartBody4637596205634320786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735923638135,"filename":"image_03012025_17_58_02_688161_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/90e4e8b70b55a55d753615e1c4b234ee.jpg","text":"TemporaryFile(/tmp/multipartBody3544922668124841766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735923638135,"filename":"image_03012025_17_58_02_688161_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1ad36faffc594e1c7ae679b49bb7d646.jpg","text":"TemporaryFile(/tmp/multipartBody8951113333520129059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735923638135,"filename":"image_03012025_17_57_02_511065_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/fdce43a19c7bf32e88685326d5c46912.jpg","text":"TemporaryFile(/tmp/multipartBody6419429318879806065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735923638135,"filename":"image_03012025_17_58_02_688161_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325932213","file1":"1325932211","file0":"1325932207","file4":"1325932219","file5":"1325932224","file3":"1325932216"},"map_files_photo_id_array":[{"photo_id":"1325932224","filename":"file5"},{"photo_id":"1325932213","filename":"file2"},{"photo_id":"1325932219","filename":"file4"},{"photo_id":"1325932211","filename":"file1"},{"photo_id":"1325932207","filename":"file0"},{"photo_id":"1325932216","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325932224":["hashtag1","hashtag2"]},{"1325932211":["hashtag1","hashtag2"]},{"1325932219":["hashtag1","hashtag2"]},{"1325932213":["hashtag1","hashtag2"]},{"1325932207":["hashtag1","hashtag2"]},{"1325932216":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325932224, 1325932211, 1325932219, 1325932213, 1325932207, 1325932216)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.59716057777405 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 18:00:21.818206
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/17/59/image_03012025_17_59_02_787312_0001.jpg', '/home/pi/Desktop/images/03012025/17/59/image_03012025_17_59_02_787312_0002.jpg', '/home/pi/Desktop/images/03012025/17/59/image_03012025_17_59_02_787312_0003.jpg', '/home/pi/Desktop/images/03012025/18/00/image_03012025_18_00_03_037423_0000.jpg', '/home/pi/Desktop/images/03012025/18/00/image_03012025_18_00_03_037423_0001.jpg', '/home/pi/Desktop/images/03012025/18/00/image_03012025_18_00_03_037423_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/17/59/image_03012025_17_59_02_787312_0001.jpg
/home/pi/Desktop/images/03012025/17/59/image_03012025_17_59_02_787312_0002.jpg
/home/pi/Desktop/images/03012025/17/59/image_03012025_17_59_02_787312_0003.jpg
/home/pi/Desktop/images/03012025/18/00/image_03012025_18_00_03_037423_0000.jpg
/home/pi/Desktop/images/03012025/18/00/image_03012025_18_00_03_037423_0001.jpg
/home/pi/Desktop/images/03012025/18/00/image_03012025_18_00_03_037423_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325932800","1325932928","1325932802","1325932910","1325932927","1325932804"],"photo_ids_order":["1325932800","1325932802","1325932804","1325932910","1325932927","1325932928"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0021b09d3e86fbad858cd7c6d93bb69b.jpg","text":"TemporaryFile(/tmp/multipartBody5253477791113806589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735923696973,"filename":"image_03012025_17_59_02_787312_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4ad24a3a3785acf758682c9d39d821b0.jpg","text":"TemporaryFile(/tmp/multipartBody1157339348941187747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735923696973,"filename":"image_03012025_18_00_03_037423_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/97436f4ca7eba2371ea420f9014bd2e7.jpg","text":"TemporaryFile(/tmp/multipartBody2412497313168662123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735923696973,"filename":"image_03012025_17_59_02_787312_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1a3742c29c2f2007c023e7be9acbaf0c.jpg","text":"TemporaryFile(/tmp/multipartBody9001891326887739453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735923696973,"filename":"image_03012025_18_00_03_037423_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4374028f0f442cf350447d0dccf4f6b2.jpg","text":"TemporaryFile(/tmp/multipartBody5928738366834748958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735923696973,"filename":"image_03012025_18_00_03_037423_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c6712af5383aab135142f2606e60953b.jpg","text":"TemporaryFile(/tmp/multipartBody6826324410348574117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735923696973,"filename":"image_03012025_17_59_02_787312_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325932804","file1":"1325932802","file0":"1325932800","file4":"1325932927","file5":"1325932928","file3":"1325932910"},"map_files_photo_id_array":[{"photo_id":"1325932928","filename":"file5"},{"photo_id":"1325932804","filename":"file2"},{"photo_id":"1325932927","filename":"file4"},{"photo_id":"1325932802","filename":"file1"},{"photo_id":"1325932800","filename":"file0"},{"photo_id":"1325932910","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325932800":["hashtag1","hashtag2"]},{"1325932928":["hashtag1","hashtag2"]},{"1325932802":["hashtag1","hashtag2"]},{"1325932910":["hashtag1","hashtag2"]},{"1325932927":["hashtag1","hashtag2"]},{"1325932804":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325932800, 1325932928, 1325932802, 1325932910, 1325932927, 1325932804)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.48456811904907 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 18:01:22.071150
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/18/00/image_03012025_18_00_03_037423_0003.jpg', '/home/pi/Desktop/images/03012025/18/01/image_03012025_18_01_02_125469_0000.jpg', '/home/pi/Desktop/images/03012025/18/01/image_03012025_18_01_02_125469_0001.jpg', '/home/pi/Desktop/images/03012025/18/01/image_03012025_18_01_02_125469_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/18/00/image_03012025_18_00_03_037423_0003.jpg
/home/pi/Desktop/images/03012025/18/01/image_03012025_18_01_02_125469_0000.jpg
/home/pi/Desktop/images/03012025/18/01/image_03012025_18_01_02_125469_0001.jpg
/home/pi/Desktop/images/03012025/18/01/image_03012025_18_01_02_125469_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325933741","1325933899","1325933767","1325933775"],"photo_ids_order":["1325933741","1325933767","1325933775","1325933899"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1c8ead62a838dac2be3ab39197f7ad3c.jpg","text":"TemporaryFile(/tmp/multipartBody5082075681371555727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735923752461,"filename":"image_03012025_18_00_03_037423_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/fba43ced72eb98b10b293c22b7b39dd8.jpg","text":"TemporaryFile(/tmp/multipartBody7307107341687373555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735923752461,"filename":"image_03012025_18_01_02_125469_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2a4822f9ee70ff57b0279101ec02465e.jpg","text":"TemporaryFile(/tmp/multipartBody6218832627330820694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735923752461,"filename":"image_03012025_18_01_02_125469_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a009b878138e9b08c42b6e43d9db0179.jpg","text":"TemporaryFile(/tmp/multipartBody2641794093538449238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735923752461,"filename":"image_03012025_18_01_02_125469_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325933775","file1":"1325933767","file0":"1325933741","file3":"1325933899"},"map_files_photo_id_array":[{"photo_id":"1325933775","filename":"file2"},{"photo_id":"1325933767","filename":"file1"},{"photo_id":"1325933741","filename":"file0"},{"photo_id":"1325933899","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325933741":["hashtag1","hashtag2"]},{"1325933899":["hashtag1","hashtag2"]},{"1325933767":["hashtag1","hashtag2"]},{"1325933775":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325933741, 1325933899, 1325933767, 1325933775)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.96215558052063 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 18:02:02.423624
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 18:02:22.111965
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/18/01/image_03012025_18_01_02_125469_0003.jpg', '/home/pi/Desktop/images/03012025/18/02/image_03012025_18_02_02_324156_0000.jpg', '/home/pi/Desktop/images/03012025/18/02/image_03012025_18_02_02_324156_0001.jpg', '/home/pi/Desktop/images/03012025/18/02/image_03012025_18_02_02_324156_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/18/01/image_03012025_18_01_02_125469_0003.jpg
/home/pi/Desktop/images/03012025/18/02/image_03012025_18_02_02_324156_0000.jpg
/home/pi/Desktop/images/03012025/18/02/image_03012025_18_02_02_324156_0001.jpg
/home/pi/Desktop/images/03012025/18/02/image_03012025_18_02_02_324156_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325934644","1325934676","1325934588","1325934627"],"photo_ids_order":["1325934588","1325934627","1325934644","1325934676"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6935ecd851b5acd3b581edf83d6db818.jpg","text":"TemporaryFile(/tmp/multipartBody1247081014219654683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735923812493,"filename":"image_03012025_18_02_02_324156_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e1f62de68c360a0408629829f1f8e2cb.jpg","text":"TemporaryFile(/tmp/multipartBody8676413455446408409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735923812493,"filename":"image_03012025_18_02_02_324156_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/194531a03e423b612279b790f5c4db1d.jpg","text":"TemporaryFile(/tmp/multipartBody7755699114546109329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735923812493,"filename":"image_03012025_18_01_02_125469_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a7dc5c9d2752e958335612c6c2b7a8c7.jpg","text":"TemporaryFile(/tmp/multipartBody8411866020307166690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735923812493,"filename":"image_03012025_18_02_02_324156_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325934644","file1":"1325934627","file0":"1325934588","file3":"1325934676"},"map_files_photo_id_array":[{"photo_id":"1325934644","filename":"file2"},{"photo_id":"1325934627","filename":"file1"},{"photo_id":"1325934588","filename":"file0"},{"photo_id":"1325934676","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325934644":["hashtag1","hashtag2"]},{"1325934676":["hashtag1","hashtag2"]},{"1325934588":["hashtag1","hashtag2"]},{"1325934627":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325934644, 1325934676, 1325934588, 1325934627)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.838571071624756 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 18:03:02.972927
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 18:03:22.400844
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/18/02/image_03012025_18_02_02_324156_0003.jpg', '/home/pi/Desktop/images/03012025/18/03/image_03012025_18_03_02_386093_0000.jpg', '/home/pi/Desktop/images/03012025/18/03/image_03012025_18_03_02_386093_0001.jpg', '/home/pi/Desktop/images/03012025/18/03/image_03012025_18_03_02_386093_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/18/02/image_03012025_18_02_02_324156_0003.jpg
/home/pi/Desktop/images/03012025/18/03/image_03012025_18_03_02_386093_0000.jpg
/home/pi/Desktop/images/03012025/18/03/image_03012025_18_03_02_386093_0001.jpg
/home/pi/Desktop/images/03012025/18/03/image_03012025_18_03_02_386093_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325935202","1325935558","1325935200","1325935317"],"photo_ids_order":["1325935200","1325935202","1325935317","1325935558"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9ba01550f305978017ae6baca702613e.jpg","text":"TemporaryFile(/tmp/multipartBody633801652207037463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735923872766,"filename":"image_03012025_18_03_02_386093_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6263c68c36173ad5513524f5be0baf6e.jpg","text":"TemporaryFile(/tmp/multipartBody3913610508213296465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735923872766,"filename":"image_03012025_18_03_02_386093_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/94df964b6dd04c810976c62c288ee7c7.jpg","text":"TemporaryFile(/tmp/multipartBody8162986100781165751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735923872766,"filename":"image_03012025_18_02_02_324156_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/28f967ba9132e55185c0dcc37493c1fb.jpg","text":"TemporaryFile(/tmp/multipartBody5543344118799625040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735923872766,"filename":"image_03012025_18_03_02_386093_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325935317","file1":"1325935202","file0":"1325935200","file3":"1325935558"},"map_files_photo_id_array":[{"photo_id":"1325935317","filename":"file2"},{"photo_id":"1325935202","filename":"file1"},{"photo_id":"1325935200","filename":"file0"},{"photo_id":"1325935558","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325935202":["hashtag1","hashtag2"]},{"1325935558":["hashtag1","hashtag2"]},{"1325935200":["hashtag1","hashtag2"]},{"1325935317":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325935202, 1325935558, 1325935200, 1325935317)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.0238778591156 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 18:04:22.485279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/18/03/image_03012025_18_03_02_386093_0003.jpg', '/home/pi/Desktop/images/03012025/18/04/image_03012025_18_04_02_623712_0000.jpg', '/home/pi/Desktop/images/03012025/18/04/image_03012025_18_04_02_623712_0001.jpg', '/home/pi/Desktop/images/03012025/18/04/image_03012025_18_04_02_623712_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/18/03/image_03012025_18_03_02_386093_0003.jpg
/home/pi/Desktop/images/03012025/18/04/image_03012025_18_04_02_623712_0000.jpg
/home/pi/Desktop/images/03012025/18/04/image_03012025_18_04_02_623712_0001.jpg
/home/pi/Desktop/images/03012025/18/04/image_03012025_18_04_02_623712_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325935960","1325935953","1325935956","1325935958"],"photo_ids_order":["1325935953","1325935956","1325935958","1325935960"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0442ff5897cd13dc2c7072854414806f.jpg","text":"TemporaryFile(/tmp/multipartBody4083487762773638567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735923932811,"filename":"image_03012025_18_04_02_623712_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/75b5fee753d2d4c28f4bd611fc1ffab8.jpg","text":"TemporaryFile(/tmp/multipartBody6831292481780633130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735923932811,"filename":"image_03012025_18_03_02_386093_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e365e58353803748a338fd19d843edad.jpg","text":"TemporaryFile(/tmp/multipartBody6363194167769956841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735923932811,"filename":"image_03012025_18_04_02_623712_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/028b772e34f3cef600c7bc39c19b72f3.jpg","text":"TemporaryFile(/tmp/multipartBody2042483574946954863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735923932811,"filename":"image_03012025_18_04_02_623712_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325935958","file1":"1325935956","file0":"1325935953","file3":"1325935960"},"map_files_photo_id_array":[{"photo_id":"1325935958","filename":"file2"},{"photo_id":"1325935956","filename":"file1"},{"photo_id":"1325935953","filename":"file0"},{"photo_id":"1325935960","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325935960":["hashtag1","hashtag2"]},{"1325935953":["hashtag1","hashtag2"]},{"1325935956":["hashtag1","hashtag2"]},{"1325935958":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325935960, 1325935953, 1325935956, 1325935958)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.69039702415466 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 18:05:22.614540
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/18/04/image_03012025_18_04_02_623712_0003.jpg', '/home/pi/Desktop/images/03012025/18/05/image_03012025_18_05_02_795650_0000.jpg', '/home/pi/Desktop/images/03012025/18/05/image_03012025_18_05_02_795650_0001.jpg', '/home/pi/Desktop/images/03012025/18/05/image_03012025_18_05_02_795650_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/18/04/image_03012025_18_04_02_623712_0003.jpg
/home/pi/Desktop/images/03012025/18/05/image_03012025_18_05_02_795650_0000.jpg
/home/pi/Desktop/images/03012025/18/05/image_03012025_18_05_02_795650_0001.jpg
/home/pi/Desktop/images/03012025/18/05/image_03012025_18_05_02_795650_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325936017","1325936019","1325936021","1325936086"],"photo_ids_order":["1325936017","1325936019","1325936021","1325936086"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b4272f14d441fc948235908207a17fb6.jpg","text":"TemporaryFile(/tmp/multipartBody95526364726902227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735923992986,"filename":"image_03012025_18_04_02_623712_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/945455a5424ec5ee6c241b2b6c2012ad.jpg","text":"TemporaryFile(/tmp/multipartBody8674158597467673857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735923992986,"filename":"image_03012025_18_05_02_795650_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1cad2827299d30d08dac2fc6447e22a0.jpg","text":"TemporaryFile(/tmp/multipartBody7217565557386760090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735923992986,"filename":"image_03012025_18_05_02_795650_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/79dc82dfa133839b9b8615d2db5f4de1.jpg","text":"TemporaryFile(/tmp/multipartBody42664684733694613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735923992986,"filename":"image_03012025_18_05_02_795650_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325936021","file1":"1325936019","file0":"1325936017","file3":"1325936086"},"map_files_photo_id_array":[{"photo_id":"1325936021","filename":"file2"},{"photo_id":"1325936019","filename":"file1"},{"photo_id":"1325936017","filename":"file0"},{"photo_id":"1325936086","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325936017":["hashtag1","hashtag2"]},{"1325936019":["hashtag1","hashtag2"]},{"1325936021":["hashtag1","hashtag2"]},{"1325936086":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325936017, 1325936019, 1325936021, 1325936086)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.20968294143677 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 18:06:21.794511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/18/05/image_03012025_18_05_02_795650_0003.jpg', '/home/pi/Desktop/images/03012025/18/06/image_03012025_18_06_02_975595_0000.jpg', '/home/pi/Desktop/images/03012025/18/06/image_03012025_18_06_02_975595_0001.jpg', '/home/pi/Desktop/images/03012025/18/06/image_03012025_18_06_02_975595_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/18/05/image_03012025_18_05_02_795650_0003.jpg
/home/pi/Desktop/images/03012025/18/06/image_03012025_18_06_02_975595_0000.jpg
/home/pi/Desktop/images/03012025/18/06/image_03012025_18_06_02_975595_0001.jpg
/home/pi/Desktop/images/03012025/18/06/image_03012025_18_06_02_975595_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325937813","1325937815","1325937628","1325937736"],"photo_ids_order":["1325937628","1325937736","1325937813","1325937815"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a399367ce7c1a242df9b39482976d03b.jpg","text":"TemporaryFile(/tmp/multipartBody6016593979792450003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735924051965,"filename":"image_03012025_18_06_02_975595_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/bf58f8d0d93da71f47aea7a3a1a93929.jpg","text":"TemporaryFile(/tmp/multipartBody5689961242899538806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735924051965,"filename":"image_03012025_18_06_02_975595_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0223f05102016644b960a195cce0d5cf.jpg","text":"TemporaryFile(/tmp/multipartBody30525369319133281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735924051965,"filename":"image_03012025_18_05_02_795650_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8cd32503768281d8b5343954571a0abc.jpg","text":"TemporaryFile(/tmp/multipartBody7891383402255992758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735924051965,"filename":"image_03012025_18_06_02_975595_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325937813","file1":"1325937736","file0":"1325937628","file3":"1325937815"},"map_files_photo_id_array":[{"photo_id":"1325937813","filename":"file2"},{"photo_id":"1325937736","filename":"file1"},{"photo_id":"1325937628","filename":"file0"},{"photo_id":"1325937815","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325937813":["hashtag1","hashtag2"]},{"1325937815":["hashtag1","hashtag2"]},{"1325937628":["hashtag1","hashtag2"]},{"1325937736":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325937813, 1325937815, 1325937628, 1325937736)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.248265504837036 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 18:07:02.648872
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 18:07:22.106890
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/18/06/image_03012025_18_06_02_975595_0003.jpg', '/home/pi/Desktop/images/03012025/18/07/image_03012025_18_07_02_127973_0000.jpg', '/home/pi/Desktop/images/03012025/18/07/image_03012025_18_07_02_127973_0001.jpg', '/home/pi/Desktop/images/03012025/18/07/image_03012025_18_07_02_127973_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/18/06/image_03012025_18_06_02_975595_0003.jpg
/home/pi/Desktop/images/03012025/18/07/image_03012025_18_07_02_127973_0000.jpg
/home/pi/Desktop/images/03012025/18/07/image_03012025_18_07_02_127973_0001.jpg
/home/pi/Desktop/images/03012025/18/07/image_03012025_18_07_02_127973_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325938014","1325938011","1325938016","1325938018"],"photo_ids_order":["1325938011","1325938014","1325938016","1325938018"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e18b6e562db9531e906a1c49f6dd1625.jpg","text":"TemporaryFile(/tmp/multipartBody1518860994678900814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735924112364,"filename":"image_03012025_18_07_02_127973_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/96175a1b03e23d889dff63fdd3f6f7d4.jpg","text":"TemporaryFile(/tmp/multipartBody5133487990902060702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735924112364,"filename":"image_03012025_18_06_02_975595_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/039e8a150c5cd1b1d1690fd41af656a5.jpg","text":"TemporaryFile(/tmp/multipartBody4807119788916330503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735924112364,"filename":"image_03012025_18_07_02_127973_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c146dd4ec2ebd01f16a295c4aba11747.jpg","text":"TemporaryFile(/tmp/multipartBody6361693284652084824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735924112364,"filename":"image_03012025_18_07_02_127973_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325938016","file1":"1325938014","file0":"1325938011","file3":"1325938018"},"map_files_photo_id_array":[{"photo_id":"1325938016","filename":"file2"},{"photo_id":"1325938014","filename":"file1"},{"photo_id":"1325938011","filename":"file0"},{"photo_id":"1325938018","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325938014":["hashtag1","hashtag2"]},{"1325938011":["hashtag1","hashtag2"]},{"1325938016":["hashtag1","hashtag2"]},{"1325938018":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325938014, 1325938011, 1325938016, 1325938018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.88919472694397 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 18:08:22.225652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/18/07/image_03012025_18_07_02_127973_0003.jpg', '/home/pi/Desktop/images/03012025/18/08/image_03012025_18_08_02_415297_0000.jpg', '/home/pi/Desktop/images/03012025/18/08/image_03012025_18_08_02_415297_0001.jpg', '/home/pi/Desktop/images/03012025/18/08/image_03012025_18_08_02_415297_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/18/07/image_03012025_18_07_02_127973_0003.jpg
/home/pi/Desktop/images/03012025/18/08/image_03012025_18_08_02_415297_0000.jpg
/home/pi/Desktop/images/03012025/18/08/image_03012025_18_08_02_415297_0001.jpg
/home/pi/Desktop/images/03012025/18/08/image_03012025_18_08_02_415297_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325938413","1325938454","1325938415","1325938351"],"photo_ids_order":["1325938351","1325938413","1325938415","1325938454"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/dac161740dcbf71dfed1cda66b1c9a1b.jpg","text":"TemporaryFile(/tmp/multipartBody4206048031748873128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735924172812,"filename":"image_03012025_18_08_02_415297_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f4e5f841137ed11a35aa0ddd436b2ac6.jpg","text":"TemporaryFile(/tmp/multipartBody8259612653746706378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735924172812,"filename":"image_03012025_18_08_02_415297_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6915c449799d69a8a6b5a65724ebaf8e.jpg","text":"TemporaryFile(/tmp/multipartBody972663339843931625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735924172812,"filename":"image_03012025_18_08_02_415297_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/47f246fcaddc65e4cb0c584839c5fdc5.jpg","text":"TemporaryFile(/tmp/multipartBody5137644221430547704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735924172812,"filename":"image_03012025_18_07_02_127973_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325938415","file1":"1325938413","file0":"1325938351","file3":"1325938454"},"map_files_photo_id_array":[{"photo_id":"1325938415","filename":"file2"},{"photo_id":"1325938413","filename":"file1"},{"photo_id":"1325938351","filename":"file0"},{"photo_id":"1325938454","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325938413":["hashtag1","hashtag2"]},{"1325938454":["hashtag1","hashtag2"]},{"1325938415":["hashtag1","hashtag2"]},{"1325938351":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325938413, 1325938454, 1325938415, 1325938351)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.43977403640747 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 18:09:03.006534
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 18:09:22.453436
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/18/08/image_03012025_18_08_02_415297_0003.jpg', '/home/pi/Desktop/images/03012025/18/09/image_03012025_18_09_02_590999_0000.jpg', '/home/pi/Desktop/images/03012025/18/09/image_03012025_18_09_02_590999_0001.jpg', '/home/pi/Desktop/images/03012025/18/09/image_03012025_18_09_02_590999_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/18/08/image_03012025_18_08_02_415297_0003.jpg
/home/pi/Desktop/images/03012025/18/09/image_03012025_18_09_02_590999_0000.jpg
/home/pi/Desktop/images/03012025/18/09/image_03012025_18_09_02_590999_0001.jpg
/home/pi/Desktop/images/03012025/18/09/image_03012025_18_09_02_590999_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325938493","1325938495","1325938491","1325938488"],"photo_ids_order":["1325938488","1325938491","1325938493","1325938495"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/11086eaeb0211eb4a55357a5ec1b73a2.jpg","text":"TemporaryFile(/tmp/multipartBody6114966824717440617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735924232980,"filename":"image_03012025_18_09_02_590999_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/fb959bd0a5f31446ef750c68741961ef.jpg","text":"TemporaryFile(/tmp/multipartBody8896612092355593753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735924232980,"filename":"image_03012025_18_09_02_590999_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/96de09dc1b156e0c0ca01cac6c6ed148.jpg","text":"TemporaryFile(/tmp/multipartBody8848752350936089084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735924232980,"filename":"image_03012025_18_09_02_590999_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3a6479f0bcc49d8d74d58923989bd731.jpg","text":"TemporaryFile(/tmp/multipartBody2629120336210052533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735924232980,"filename":"image_03012025_18_08_02_415297_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325938493","file1":"1325938491","file0":"1325938488","file3":"1325938495"},"map_files_photo_id_array":[{"photo_id":"1325938493","filename":"file2"},{"photo_id":"1325938491","filename":"file1"},{"photo_id":"1325938488","filename":"file0"},{"photo_id":"1325938495","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325938493":["hashtag1","hashtag2"]},{"1325938495":["hashtag1","hashtag2"]},{"1325938491":["hashtag1","hashtag2"]},{"1325938488":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325938493, 1325938495, 1325938491, 1325938488)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.060096979141235 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 18:10:22.502986
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/18/09/image_03012025_18_09_02_590999_0003.jpg', '/home/pi/Desktop/images/03012025/18/10/image_03012025_18_10_02_797274_0000.jpg', '/home/pi/Desktop/images/03012025/18/10/image_03012025_18_10_02_797274_0001.jpg', '/home/pi/Desktop/images/03012025/18/10/image_03012025_18_10_02_797274_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/18/09/image_03012025_18_09_02_590999_0003.jpg
/home/pi/Desktop/images/03012025/18/10/image_03012025_18_10_02_797274_0000.jpg
/home/pi/Desktop/images/03012025/18/10/image_03012025_18_10_02_797274_0001.jpg
/home/pi/Desktop/images/03012025/18/10/image_03012025_18_10_02_797274_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325939001","1325938935","1325938940","1325938999"],"photo_ids_order":["1325938935","1325938940","1325938999","1325939001"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e91a55b4b73ce33c7e9862485a7a7da2.jpg","text":"TemporaryFile(/tmp/multipartBody6556501911359052173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735924292923,"filename":"image_03012025_18_10_02_797274_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/06715e1623d4f1f499133d2e0cdd3874.jpg","text":"TemporaryFile(/tmp/multipartBody6212009000316111851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735924292923,"filename":"image_03012025_18_09_02_590999_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c1557fe94720450c98e76b0ec49bda16.jpg","text":"TemporaryFile(/tmp/multipartBody2268540551142995113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735924292923,"filename":"image_03012025_18_10_02_797274_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9ed13f557d768c373b2a42aec6ad1eef.jpg","text":"TemporaryFile(/tmp/multipartBody7720612826971214977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735924292923,"filename":"image_03012025_18_10_02_797274_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325938999","file1":"1325938940","file0":"1325938935","file3":"1325939001"},"map_files_photo_id_array":[{"photo_id":"1325938999","filename":"file2"},{"photo_id":"1325938940","filename":"file1"},{"photo_id":"1325938935","filename":"file0"},{"photo_id":"1325939001","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325939001":["hashtag1","hashtag2"]},{"1325938935":["hashtag1","hashtag2"]},{"1325938940":["hashtag1","hashtag2"]},{"1325938999":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325939001, 1325938935, 1325938940, 1325938999)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.211607217788696 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 18:11:22.725447
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/18/10/image_03012025_18_10_02_797274_0003.jpg', '/home/pi/Desktop/images/03012025/18/11/image_03012025_18_11_02_893455_0000.jpg', '/home/pi/Desktop/images/03012025/18/11/image_03012025_18_11_02_893455_0001.jpg', '/home/pi/Desktop/images/03012025/18/11/image_03012025_18_11_02_893455_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/18/10/image_03012025_18_10_02_797274_0003.jpg
/home/pi/Desktop/images/03012025/18/11/image_03012025_18_11_02_893455_0000.jpg
/home/pi/Desktop/images/03012025/18/11/image_03012025_18_11_02_893455_0001.jpg
/home/pi/Desktop/images/03012025/18/11/image_03012025_18_11_02_893455_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325939587","1325939986","1325939982","1325939736"],"photo_ids_order":["1325939587","1325939736","1325939982","1325939986"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a66b17e6986477f06a2d0f88b06b0dea.jpg","text":"TemporaryFile(/tmp/multipartBody6370990967102871683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735924353219,"filename":"image_03012025_18_10_02_797274_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d5807872f23fff193318418702554dc0.jpg","text":"TemporaryFile(/tmp/multipartBody2861675916669411968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735924353219,"filename":"image_03012025_18_11_02_893455_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/92cc1c174907c8612f12b3c2d641e2c5.jpg","text":"TemporaryFile(/tmp/multipartBody2239157422351522336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735924353219,"filename":"image_03012025_18_11_02_893455_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/11cdd439a3f7b71373d0a287885b069d.jpg","text":"TemporaryFile(/tmp/multipartBody8542744829478126162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735924353219,"filename":"image_03012025_18_11_02_893455_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325939982","file1":"1325939736","file0":"1325939587","file3":"1325939986"},"map_files_photo_id_array":[{"photo_id":"1325939982","filename":"file2"},{"photo_id":"1325939736","filename":"file1"},{"photo_id":"1325939587","filename":"file0"},{"photo_id":"1325939986","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325939587":["hashtag1","hashtag2"]},{"1325939986":["hashtag1","hashtag2"]},{"1325939982":["hashtag1","hashtag2"]},{"1325939736":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325939587, 1325939986, 1325939982, 1325939736)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.75756502151489 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 18:12:21.888961
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/18/11/image_03012025_18_11_02_893455_0003.jpg', '/home/pi/Desktop/images/03012025/18/12/image_03012025_18_12_03_049964_0000.jpg', '/home/pi/Desktop/images/03012025/18/12/image_03012025_18_12_03_049964_0001.jpg', '/home/pi/Desktop/images/03012025/18/12/image_03012025_18_12_03_049964_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/18/11/image_03012025_18_11_02_893455_0003.jpg
/home/pi/Desktop/images/03012025/18/12/image_03012025_18_12_03_049964_0000.jpg
/home/pi/Desktop/images/03012025/18/12/image_03012025_18_12_03_049964_0001.jpg
/home/pi/Desktop/images/03012025/18/12/image_03012025_18_12_03_049964_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325940240","1325940530","1325940242","1325940244"],"photo_ids_order":["1325940240","1325940242","1325940244","1325940530"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2192f4555ecf8237548e4144999d80af.jpg","text":"TemporaryFile(/tmp/multipartBody6674512369723363209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735924412494,"filename":"image_03012025_18_11_02_893455_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/64b5148da97d48a549f53edc7e62a8da.jpg","text":"TemporaryFile(/tmp/multipartBody5567211709601254945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735924412494,"filename":"image_03012025_18_12_03_049964_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9cc187280d648aa27dc89d543acc03da.jpg","text":"TemporaryFile(/tmp/multipartBody6054482550223909879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735924412494,"filename":"image_03012025_18_12_03_049964_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d41a03c524534e48ca3fed3eb57b08a3.jpg","text":"TemporaryFile(/tmp/multipartBody8556993161336187360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735924412494,"filename":"image_03012025_18_12_03_049964_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325940244","file1":"1325940242","file0":"1325940240","file3":"1325940530"},"map_files_photo_id_array":[{"photo_id":"1325940244","filename":"file2"},{"photo_id":"1325940242","filename":"file1"},{"photo_id":"1325940240","filename":"file0"},{"photo_id":"1325940530","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325940240":["hashtag1","hashtag2"]},{"1325940530":["hashtag1","hashtag2"]},{"1325940242":["hashtag1","hashtag2"]},{"1325940244":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325940240, 1325940530, 1325940242, 1325940244)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.63876533508301 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-03 18:13:22.040616
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/18/12/image_03012025_18_12_03_049964_0003.jpg', '/home/pi/Desktop/images/03012025/18/13/image_03012025_18_13_02_200657_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/18/12/image_03012025_18_12_03_049964_0003.jpg
/home/pi/Desktop/images/03012025/18/13/image_03012025_18_13_02_200657_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":["1325940735","1325940646"],"photo_ids_order":["1325940646","1325940735"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/efc54a6fa9b6e565c5d1144de79c44cd.jpg","text":"TemporaryFile(/tmp/multipartBody5661714750350210655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735924467533,"filename":"image_03012025_18_13_02_200657_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0e112263a334e6bbe2ae9995adb30695.jpg","text":"TemporaryFile(/tmp/multipartBody4602471646622082131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735924467533,"filename":"image_03012025_18_12_03_049964_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1325940735","file0":"1325940646"},"map_files_photo_id_array":[{"photo_id":"1325940735","filename":"file1"},{"photo_id":"1325940646","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325940735":["hashtag1","hashtag2"]},{"1325940646":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325940735, 1325940646)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.04831624031067 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-03 18:13:51.993186
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 18:14:02.631815
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 18:14:22.196117
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/18/13/image_03012025_18_13_02_200657_0003.jpg', '/home/pi/Desktop/images/03012025/18/14/image_03012025_18_14_02_375392_0000.jpg', '/home/pi/Desktop/images/03012025/18/14/image_03012025_18_14_02_375392_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/18/13/image_03012025_18_13_02_200657_0003.jpg
/home/pi/Desktop/images/03012025/18/14/image_03012025_18_14_02_375392_0000.jpg
/home/pi/Desktop/images/03012025/18/14/image_03012025_18_14_02_375392_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325941448","1325941431","1325941428"],"photo_ids_order":["1325941428","1325941431","1325941448"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6c4989461c6b52da6563f50bad6aa70e.jpg","text":"TemporaryFile(/tmp/multipartBody6080615626525370224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735924530185,"filename":"image_03012025_18_14_02_375392_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f76ee742bf17b6af43bcbd9e768a21fd.jpg","text":"TemporaryFile(/tmp/multipartBody2282728389414635721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735924530185,"filename":"image_03012025_18_14_02_375392_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a739b15ac978c8887e64f5f92615ea5e.jpg","text":"TemporaryFile(/tmp/multipartBody7759942244740351463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735924530185,"filename":"image_03012025_18_13_02_200657_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325941448","file1":"1325941431","file0":"1325941428"},"map_files_photo_id_array":[{"photo_id":"1325941448","filename":"file2"},{"photo_id":"1325941431","filename":"file1"},{"photo_id":"1325941428","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325941448":["hashtag1","hashtag2"]},{"1325941431":["hashtag1","hashtag2"]},{"1325941428":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325941448, 1325941431, 1325941428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 34.67843580245972 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 18:15:03.073721
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 18:15:22.376543
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/18/14/image_03012025_18_14_02_375392_0003.jpg', '/home/pi/Desktop/images/03012025/18/15/image_03012025_18_15_02_507953_0000.jpg', '/home/pi/Desktop/images/03012025/18/15/image_03012025_18_15_02_507953_0001.jpg', '/home/pi/Desktop/images/03012025/18/15/image_03012025_18_15_02_507953_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/18/14/image_03012025_18_14_02_375392_0003.jpg
/home/pi/Desktop/images/03012025/18/15/image_03012025_18_15_02_507953_0000.jpg
/home/pi/Desktop/images/03012025/18/15/image_03012025_18_15_02_507953_0001.jpg
/home/pi/Desktop/images/03012025/18/15/image_03012025_18_15_02_507953_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325941478","1325941472","1325941475","1325941483"],"photo_ids_order":["1325941472","1325941475","1325941478","1325941483"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/73c785c9e14955496121580cbdeb36e5.jpg","text":"TemporaryFile(/tmp/multipartBody7947398201221719781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735924592811,"filename":"image_03012025_18_15_02_507953_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/560274663f619675bb452c118ae7d641.jpg","text":"TemporaryFile(/tmp/multipartBody7088031613841897539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735924592811,"filename":"image_03012025_18_14_02_375392_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9d30431b822575e4d5e594f12d4800e8.jpg","text":"TemporaryFile(/tmp/multipartBody334688385042532102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735924592811,"filename":"image_03012025_18_15_02_507953_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2a605fa8859303818ad7dcfe49c4cf4a.jpg","text":"TemporaryFile(/tmp/multipartBody2349475287667260283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735924592811,"filename":"image_03012025_18_15_02_507953_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325941478","file1":"1325941475","file0":"1325941472","file3":"1325941483"},"map_files_photo_id_array":[{"photo_id":"1325941478","filename":"file2"},{"photo_id":"1325941475","filename":"file1"},{"photo_id":"1325941472","filename":"file0"},{"photo_id":"1325941483","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325941478":["hashtag1","hashtag2"]},{"1325941472":["hashtag1","hashtag2"]},{"1325941475":["hashtag1","hashtag2"]},{"1325941483":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325941478, 1325941472, 1325941475, 1325941483)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.61426615715027 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-03 18:16:22.629203
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/18/15/image_03012025_18_15_02_507953_0003.jpg', '/home/pi/Desktop/images/03012025/18/16/image_03012025_18_16_02_737987_0000.jpg', '/home/pi/Desktop/images/03012025/18/16/image_03012025_18_16_02_737987_0001.jpg', '/home/pi/Desktop/images/03012025/18/16/image_03012025_18_16_02_737987_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/18/15/image_03012025_18_15_02_507953_0003.jpg
/home/pi/Desktop/images/03012025/18/16/image_03012025_18_16_02_737987_0000.jpg
/home/pi/Desktop/images/03012025/18/16/image_03012025_18_16_02_737987_0001.jpg
/home/pi/Desktop/images/03012025/18/16/image_03012025_18_16_02_737987_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.924696683883667 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-03 18:16:42.595668
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/18/15/image_03012025_18_15_02_507953_0003.jpg', '/home/pi/Desktop/images/03012025/18/16/image_03012025_18_16_02_737987_0000.jpg', '/home/pi/Desktop/images/03012025/18/16/image_03012025_18_16_02_737987_0001.jpg', '/home/pi/Desktop/images/03012025/18/16/image_03012025_18_16_02_737987_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/18/15/image_03012025_18_15_02_507953_0003.jpg
/home/pi/Desktop/images/03012025/18/16/image_03012025_18_16_02_737987_0000.jpg
/home/pi/Desktop/images/03012025/18/16/image_03012025_18_16_02_737987_0001.jpg
/home/pi/Desktop/images/03012025/18/16/image_03012025_18_16_02_737987_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":["1325942063","1325942128","1325942061","1325942081"],"photo_ids_order":["1325942061","1325942063","1325942081","1325942128"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d978d6dc9beff5d527f9ba9f840c2db1.jpg","text":"TemporaryFile(/tmp/multipartBody6932648184733112791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735924672923,"filename":"image_03012025_18_16_02_737987_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/81221cff08288be61ffb19fdf4932945.jpg","text":"TemporaryFile(/tmp/multipartBody3486456270695171135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735924672923,"filename":"image_03012025_18_16_02_737987_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4ce0f64af665e7f418a5b0d2134d4e8a.jpg","text":"TemporaryFile(/tmp/multipartBody3533503162041853258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735924672923,"filename":"image_03012025_18_15_02_507953_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5885efe1a47ace85dfe1f33a23b49730.jpg","text":"TemporaryFile(/tmp/multipartBody7060069491223680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735924672923,"filename":"image_03012025_18_16_02_737987_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325942081","file1":"1325942063","file0":"1325942061","file3":"1325942128"},"map_files_photo_id_array":[{"photo_id":"1325942081","filename":"file2"},{"photo_id":"1325942063","filename":"file1"},{"photo_id":"1325942061","filename":"file0"},{"photo_id":"1325942128","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325942063":["hashtag1","hashtag2"]},{"1325942128":["hashtag1","hashtag2"]},{"1325942061":["hashtag1","hashtag2"]},{"1325942081":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325942063, 1325942128, 1325942061, 1325942081)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.71598696708679 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 18:17:22.762752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/18/16/image_03012025_18_16_02_737987_0003.jpg', '/home/pi/Desktop/images/03012025/18/17/image_03012025_18_17_03_001045_0000.jpg', '/home/pi/Desktop/images/03012025/18/17/image_03012025_18_17_03_001045_0001.jpg', '/home/pi/Desktop/images/03012025/18/17/image_03012025_18_17_03_001045_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/18/16/image_03012025_18_16_02_737987_0003.jpg
/home/pi/Desktop/images/03012025/18/17/image_03012025_18_17_03_001045_0000.jpg
/home/pi/Desktop/images/03012025/18/17/image_03012025_18_17_03_001045_0001.jpg
/home/pi/Desktop/images/03012025/18/17/image_03012025_18_17_03_001045_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325942711","1325942714","1325942638","1325942700"],"photo_ids_order":["1325942638","1325942700","1325942711","1325942714"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8ad69914c6a37784a0b7c40fbf8c0f12.jpg","text":"TemporaryFile(/tmp/multipartBody4737709963474421575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735924712911,"filename":"image_03012025_18_17_03_001045_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1a0f161eaf94ec19565c9950cf3d010d.jpg","text":"TemporaryFile(/tmp/multipartBody1379465050133696847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735924712911,"filename":"image_03012025_18_17_03_001045_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9ee98740eb9b5acc920d1834a698c5b6.jpg","text":"TemporaryFile(/tmp/multipartBody7189981166721161849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735924712911,"filename":"image_03012025_18_16_02_737987_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d90d6fd6982333006c694c2efb104254.jpg","text":"TemporaryFile(/tmp/multipartBody3265893573443809932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735924712911,"filename":"image_03012025_18_17_03_001045_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325942711","file1":"1325942700","file0":"1325942638","file3":"1325942714"},"map_files_photo_id_array":[{"photo_id":"1325942711","filename":"file2"},{"photo_id":"1325942700","filename":"file1"},{"photo_id":"1325942638","filename":"file0"},{"photo_id":"1325942714","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325942711":["hashtag1","hashtag2"]},{"1325942714":["hashtag1","hashtag2"]},{"1325942638":["hashtag1","hashtag2"]},{"1325942700":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325942711, 1325942714, 1325942638, 1325942700)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.770220041275024 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 18:18:22.108796
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/18/17/image_03012025_18_17_03_001045_0003.jpg', '/home/pi/Desktop/images/03012025/18/18/image_03012025_18_18_03_188804_0001.jpg', '/home/pi/Desktop/images/03012025/18/18/image_03012025_18_18_03_188804_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/18/17/image_03012025_18_17_03_001045_0003.jpg
/home/pi/Desktop/images/03012025/18/18/image_03012025_18_18_03_188804_0001.jpg
/home/pi/Desktop/images/03012025/18/18/image_03012025_18_18_03_188804_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325943466","1325943166","1325943198"],"photo_ids_order":["1325943166","1325943198","1325943466"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/13cfb6b1361f428a923db8dfa9132703.jpg","text":"TemporaryFile(/tmp/multipartBody8304093363254509743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735924769946,"filename":"image_03012025_18_18_03_188804_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/baacdcebebe1aee11d5bb875e9866006.jpg","text":"TemporaryFile(/tmp/multipartBody3890731226523131726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735924769946,"filename":"image_03012025_18_17_03_001045_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2856253cae555257d47fcb23b6fb0efd.jpg","text":"TemporaryFile(/tmp/multipartBody5562289028353135625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735924769946,"filename":"image_03012025_18_18_03_188804_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325943466","file1":"1325943198","file0":"1325943166"},"map_files_photo_id_array":[{"photo_id":"1325943466","filename":"file2"},{"photo_id":"1325943198","filename":"file1"},{"photo_id":"1325943166","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325943466":["hashtag1","hashtag2"]},{"1325943166":["hashtag1","hashtag2"]},{"1325943198":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325943466, 1325943166, 1325943198)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.911102533340454 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 18:19:02.811392
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 18:19:22.236588
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/18/18/image_03012025_18_18_03_188804_0003.jpg', '/home/pi/Desktop/images/03012025/18/19/image_03012025_18_19_02_428651_0000.jpg', '/home/pi/Desktop/images/03012025/18/19/image_03012025_18_19_02_428651_0001.jpg', '/home/pi/Desktop/images/03012025/18/19/image_03012025_18_19_02_428651_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/18/18/image_03012025_18_18_03_188804_0003.jpg
/home/pi/Desktop/images/03012025/18/19/image_03012025_18_19_02_428651_0000.jpg
/home/pi/Desktop/images/03012025/18/19/image_03012025_18_19_02_428651_0001.jpg
/home/pi/Desktop/images/03012025/18/19/image_03012025_18_19_02_428651_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325944117","1325943974","1325943896","1325944115"],"photo_ids_order":["1325943896","1325943974","1325944115","1325944117"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/93a01fa572d957a83ac3c13d39c45ec0.jpg","text":"TemporaryFile(/tmp/multipartBody1368362091615499004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735924832534,"filename":"image_03012025_18_19_02_428651_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/810ab05d64c9e97efbc7ba3ace9811d6.jpg","text":"TemporaryFile(/tmp/multipartBody4967466875101879448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735924832534,"filename":"image_03012025_18_19_02_428651_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/cb2ee247a59c6d2ef61c712848eefa3a.jpg","text":"TemporaryFile(/tmp/multipartBody3765570043562874422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735924832534,"filename":"image_03012025_18_18_03_188804_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2461edcc2d0ab5da856d9db5aa9337de.jpg","text":"TemporaryFile(/tmp/multipartBody7376260414916230768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735924832534,"filename":"image_03012025_18_19_02_428651_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325944115","file1":"1325943974","file0":"1325943896","file3":"1325944117"},"map_files_photo_id_array":[{"photo_id":"1325944115","filename":"file2"},{"photo_id":"1325943974","filename":"file1"},{"photo_id":"1325943896","filename":"file0"},{"photo_id":"1325944117","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325944117":["hashtag1","hashtag2"]},{"1325943974":["hashtag1","hashtag2"]},{"1325943896":["hashtag1","hashtag2"]},{"1325944115":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325944117, 1325943974, 1325943896, 1325944115)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.717079401016235 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 18:20:22.483853
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/18/19/image_03012025_18_19_02_428651_0003.jpg', '/home/pi/Desktop/images/03012025/18/20/image_03012025_18_20_02_540603_0000.jpg', '/home/pi/Desktop/images/03012025/18/20/image_03012025_18_20_02_540603_0001.jpg', '/home/pi/Desktop/images/03012025/18/20/image_03012025_18_20_02_540603_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/18/19/image_03012025_18_19_02_428651_0003.jpg
/home/pi/Desktop/images/03012025/18/20/image_03012025_18_20_02_540603_0000.jpg
/home/pi/Desktop/images/03012025/18/20/image_03012025_18_20_02_540603_0001.jpg
/home/pi/Desktop/images/03012025/18/20/image_03012025_18_20_02_540603_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325944720","1325944716","1325944658","1325944718"],"photo_ids_order":["1325944658","1325944716","1325944718","1325944720"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9936323e43a33b15bbb317ed74c83e93.jpg","text":"TemporaryFile(/tmp/multipartBody7963862462374979989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735924892777,"filename":"image_03012025_18_20_02_540603_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/58224c8a4fc7ea4b6750bf7c30ba2eca.jpg","text":"TemporaryFile(/tmp/multipartBody5202167683055765240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735924892777,"filename":"image_03012025_18_20_02_540603_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/df20df7a97fc92025454ba5a0e33d896.jpg","text":"TemporaryFile(/tmp/multipartBody3252984846883477855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735924892777,"filename":"image_03012025_18_19_02_428651_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/098f6aba46e2c10aa32b0a67e05721f0.jpg","text":"TemporaryFile(/tmp/multipartBody4224613892718800467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735924892777,"filename":"image_03012025_18_20_02_540603_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325944718","file1":"1325944716","file0":"1325944658","file3":"1325944720"},"map_files_photo_id_array":[{"photo_id":"1325944718","filename":"file2"},{"photo_id":"1325944716","filename":"file1"},{"photo_id":"1325944658","filename":"file0"},{"photo_id":"1325944720","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325944720":["hashtag1","hashtag2"]},{"1325944716":["hashtag1","hashtag2"]},{"1325944658":["hashtag1","hashtag2"]},{"1325944718":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325944720, 1325944716, 1325944658, 1325944718)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.23521661758423 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 18:21:03.030124
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 18:21:22.517289
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/18/20/image_03012025_18_20_02_540603_0003.jpg', '/home/pi/Desktop/images/03012025/18/21/image_03012025_18_21_02_753257_0000.jpg', '/home/pi/Desktop/images/03012025/18/21/image_03012025_18_21_02_753257_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/18/20/image_03012025_18_20_02_540603_0003.jpg
/home/pi/Desktop/images/03012025/18/21/image_03012025_18_21_02_753257_0000.jpg
/home/pi/Desktop/images/03012025/18/21/image_03012025_18_21_02_753257_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":["1325944902","1325944905","1325944907"],"photo_ids_order":["1325944902","1325944905","1325944907"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e2b34ae3d11ded02fa2683d10573be7f.jpg","text":"TemporaryFile(/tmp/multipartBody1634407938972972598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735924950511,"filename":"image_03012025_18_20_02_540603_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a9f66ce4d4c4c2dfca8a01b5bdd2a40c.jpg","text":"TemporaryFile(/tmp/multipartBody376143643484692205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735924950511,"filename":"image_03012025_18_21_02_753257_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7daea3bc1d20e00d30888e081cdbd983.jpg","text":"TemporaryFile(/tmp/multipartBody7672348193712165818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735924950511,"filename":"image_03012025_18_21_02_753257_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325944907","file1":"1325944905","file0":"1325944902"},"map_files_photo_id_array":[{"photo_id":"1325944907","filename":"file2"},{"photo_id":"1325944905","filename":"file1"},{"photo_id":"1325944902","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325944902":["hashtag1","hashtag2"]},{"1325944905":["hashtag1","hashtag2"]},{"1325944907":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325944902, 1325944905, 1325944907)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.97683310508728 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 18:22:03.174961
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 18:22:22.808101
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/18/21/image_03012025_18_21_02_753257_0003.jpg', '/home/pi/Desktop/images/03012025/18/22/image_03012025_18_22_02_894410_0000.jpg', '/home/pi/Desktop/images/03012025/18/22/image_03012025_18_22_02_894410_0001.jpg', '/home/pi/Desktop/images/03012025/18/22/image_03012025_18_22_02_894410_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/18/21/image_03012025_18_21_02_753257_0003.jpg
/home/pi/Desktop/images/03012025/18/22/image_03012025_18_22_02_894410_0000.jpg
/home/pi/Desktop/images/03012025/18/22/image_03012025_18_22_02_894410_0001.jpg
/home/pi/Desktop/images/03012025/18/22/image_03012025_18_22_02_894410_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325945454","1325945502","1325945452","1325945527"],"photo_ids_order":["1325945452","1325945454","1325945502","1325945527"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/852da8aeff965ee355748c2e8d4d8dbe.jpg","text":"TemporaryFile(/tmp/multipartBody7488930265026631538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735925013084,"filename":"image_03012025_18_22_02_894410_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/da8458bed4460df8bc7d0443802e6e28.jpg","text":"TemporaryFile(/tmp/multipartBody4458584964065751908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735925013084,"filename":"image_03012025_18_22_02_894410_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/068b2d6d106bfc62ee161f8531ea9936.jpg","text":"TemporaryFile(/tmp/multipartBody7985264720468982071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735925013084,"filename":"image_03012025_18_21_02_753257_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/78b5e8e7cae34081fd422140a4ed9150.jpg","text":"TemporaryFile(/tmp/multipartBody3175753029336723204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735925013084,"filename":"image_03012025_18_22_02_894410_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325945502","file1":"1325945454","file0":"1325945452","file3":"1325945527"},"map_files_photo_id_array":[{"photo_id":"1325945502","filename":"file2"},{"photo_id":"1325945454","filename":"file1"},{"photo_id":"1325945452","filename":"file0"},{"photo_id":"1325945527","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325945454":["hashtag1","hashtag2"]},{"1325945502":["hashtag1","hashtag2"]},{"1325945452":["hashtag1","hashtag2"]},{"1325945527":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325945454, 1325945502, 1325945452, 1325945527)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.923800468444824 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 18:23:21.967259
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/18/22/image_03012025_18_22_02_894410_0003.jpg', '/home/pi/Desktop/images/03012025/18/23/image_03012025_18_23_03_143076_0000.jpg', '/home/pi/Desktop/images/03012025/18/23/image_03012025_18_23_03_143076_0001.jpg', '/home/pi/Desktop/images/03012025/18/23/image_03012025_18_23_03_143076_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/18/22/image_03012025_18_22_02_894410_0003.jpg
/home/pi/Desktop/images/03012025/18/23/image_03012025_18_23_03_143076_0000.jpg
/home/pi/Desktop/images/03012025/18/23/image_03012025_18_23_03_143076_0001.jpg
/home/pi/Desktop/images/03012025/18/23/image_03012025_18_23_03_143076_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325946039","1325945981","1325946350","1325946041"],"photo_ids_order":["1325945981","1325946039","1325946041","1325946350"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c5c74dd009d6398a81f1e3f69be832fe.jpg","text":"TemporaryFile(/tmp/multipartBody8054681931974402380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735925072407,"filename":"image_03012025_18_23_03_143076_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9fa0abd5970b7f41cde815c5b60e72e9.jpg","text":"TemporaryFile(/tmp/multipartBody1326699314123250035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735925072407,"filename":"image_03012025_18_22_02_894410_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d08cd3dc7f7712445d3c8df9cbd47e43.jpg","text":"TemporaryFile(/tmp/multipartBody7085126764491214720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735925072407,"filename":"image_03012025_18_23_03_143076_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f0a799d25dcb79830a88b9ad7e52994b.jpg","text":"TemporaryFile(/tmp/multipartBody4920301276078817377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735925072407,"filename":"image_03012025_18_23_03_143076_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325946041","file1":"1325946039","file0":"1325945981","file3":"1325946350"},"map_files_photo_id_array":[{"photo_id":"1325946041","filename":"file2"},{"photo_id":"1325946039","filename":"file1"},{"photo_id":"1325945981","filename":"file0"},{"photo_id":"1325946350","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325946039":["hashtag1","hashtag2"]},{"1325945981":["hashtag1","hashtag2"]},{"1325946350":["hashtag1","hashtag2"]},{"1325946041":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325946039, 1325945981, 1325946350, 1325946041)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.42068934440613 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 18:24:02.630914
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 18:24:22.124079
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/18/23/image_03012025_18_23_03_143076_0003.jpg', '/home/pi/Desktop/images/03012025/18/24/image_03012025_18_24_02_432169_0000.jpg', '/home/pi/Desktop/images/03012025/18/24/image_03012025_18_24_02_432169_0001.jpg', '/home/pi/Desktop/images/03012025/18/24/image_03012025_18_24_02_432169_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/18/23/image_03012025_18_23_03_143076_0003.jpg
/home/pi/Desktop/images/03012025/18/24/image_03012025_18_24_02_432169_0000.jpg
/home/pi/Desktop/images/03012025/18/24/image_03012025_18_24_02_432169_0001.jpg
/home/pi/Desktop/images/03012025/18/24/image_03012025_18_24_02_432169_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325946962","1325946964","1325946958","1325946960"],"photo_ids_order":["1325946958","1325946960","1325946962","1325946964"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/351db7189aed96bac8eb294cf531f863.jpg","text":"TemporaryFile(/tmp/multipartBody8397398851381651092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735925132628,"filename":"image_03012025_18_24_02_432169_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5cfe509ca2c5738c4a230d4f59bd299c.jpg","text":"TemporaryFile(/tmp/multipartBody2238555990447850555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735925132628,"filename":"image_03012025_18_24_02_432169_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/01f1f75a6220ab33c44405d9a3c5afa2.jpg","text":"TemporaryFile(/tmp/multipartBody6904052345772789925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735925132628,"filename":"image_03012025_18_23_03_143076_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d4fda0b240bcbb3ce17941dbeb5d1b90.jpg","text":"TemporaryFile(/tmp/multipartBody4218617408511522409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735925132628,"filename":"image_03012025_18_24_02_432169_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325946962","file1":"1325946960","file0":"1325946958","file3":"1325946964"},"map_files_photo_id_array":[{"photo_id":"1325946962","filename":"file2"},{"photo_id":"1325946960","filename":"file1"},{"photo_id":"1325946958","filename":"file0"},{"photo_id":"1325946964","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325946962":["hashtag1","hashtag2"]},{"1325946964":["hashtag1","hashtag2"]},{"1325946958":["hashtag1","hashtag2"]},{"1325946960":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325946962, 1325946964, 1325946958, 1325946960)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.444600343704224 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 18:25:22.378136
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/18/24/image_03012025_18_24_02_432169_0003.jpg', '/home/pi/Desktop/images/03012025/18/25/image_03012025_18_25_02_448862_0001.jpg', '/home/pi/Desktop/images/03012025/18/25/image_03012025_18_25_02_448862_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/18/24/image_03012025_18_24_02_432169_0003.jpg
/home/pi/Desktop/images/03012025/18/25/image_03012025_18_25_02_448862_0001.jpg
/home/pi/Desktop/images/03012025/18/25/image_03012025_18_25_02_448862_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325947018","1325947065","1325947014"],"photo_ids_order":["1325947014","1325947018","1325947065"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9a5f1eceab7f2e562543569e70f8dcdd.jpg","text":"TemporaryFile(/tmp/multipartBody5151538562493392275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735925190196,"filename":"image_03012025_18_25_02_448862_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7606b74a860a9ba2d44b41a4e942eec6.jpg","text":"TemporaryFile(/tmp/multipartBody953925309966939634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735925190196,"filename":"image_03012025_18_25_02_448862_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/843a7181bf2652d56b8308e941d1825f.jpg","text":"TemporaryFile(/tmp/multipartBody3486225511547167397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735925190196,"filename":"image_03012025_18_24_02_432169_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325947065","file1":"1325947018","file0":"1325947014"},"map_files_photo_id_array":[{"photo_id":"1325947065","filename":"file2"},{"photo_id":"1325947018","filename":"file1"},{"photo_id":"1325947014","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325947018":["hashtag1","hashtag2"]},{"1325947065":["hashtag1","hashtag2"]},{"1325947014":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325947018, 1325947065, 1325947014)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.078977823257446 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 18:26:02.957599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 18:26:22.539696
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/18/25/image_03012025_18_25_02_448862_0003.jpg', '/home/pi/Desktop/images/03012025/18/26/image_03012025_18_26_02_640273_0000.jpg', '/home/pi/Desktop/images/03012025/18/26/image_03012025_18_26_02_640273_0001.jpg', '/home/pi/Desktop/images/03012025/18/26/image_03012025_18_26_02_640273_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/18/25/image_03012025_18_25_02_448862_0003.jpg
/home/pi/Desktop/images/03012025/18/26/image_03012025_18_26_02_640273_0000.jpg
/home/pi/Desktop/images/03012025/18/26/image_03012025_18_26_02_640273_0001.jpg
/home/pi/Desktop/images/03012025/18/26/image_03012025_18_26_02_640273_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325947547","1325947721","1325947888","1325947542"],"photo_ids_order":["1325947542","1325947547","1325947721","1325947888"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0d5120946352e68b275d5ce84d283469.jpg","text":"TemporaryFile(/tmp/multipartBody2291218740159794273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735925252765,"filename":"image_03012025_18_26_02_640273_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c53530aca27fe509d538f2a3f5f6d614.jpg","text":"TemporaryFile(/tmp/multipartBody7252275759889767024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735925252765,"filename":"image_03012025_18_26_02_640273_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/78c854d4c3db0dc5d3b3fd6755c333aa.jpg","text":"TemporaryFile(/tmp/multipartBody4191081921049094408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735925252765,"filename":"image_03012025_18_26_02_640273_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c5bc68959a763c9231a707fda2e44495.jpg","text":"TemporaryFile(/tmp/multipartBody8448683035447017788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735925252765,"filename":"image_03012025_18_25_02_448862_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325947721","file1":"1325947547","file0":"1325947542","file3":"1325947888"},"map_files_photo_id_array":[{"photo_id":"1325947721","filename":"file2"},{"photo_id":"1325947547","filename":"file1"},{"photo_id":"1325947542","filename":"file0"},{"photo_id":"1325947888","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325947547":["hashtag1","hashtag2"]},{"1325947721":["hashtag1","hashtag2"]},{"1325947888":["hashtag1","hashtag2"]},{"1325947542":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325947547, 1325947721, 1325947888, 1325947542)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.92356872558594 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 18:27:03.471468
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 18:27:22.767111
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/18/26/image_03012025_18_26_02_640273_0003.jpg', '/home/pi/Desktop/images/03012025/18/27/image_03012025_18_27_02_900459_0000.jpg', '/home/pi/Desktop/images/03012025/18/27/image_03012025_18_27_02_900459_0001.jpg', '/home/pi/Desktop/images/03012025/18/27/image_03012025_18_27_02_900459_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/18/26/image_03012025_18_26_02_640273_0003.jpg
/home/pi/Desktop/images/03012025/18/27/image_03012025_18_27_02_900459_0000.jpg
/home/pi/Desktop/images/03012025/18/27/image_03012025_18_27_02_900459_0001.jpg
/home/pi/Desktop/images/03012025/18/27/image_03012025_18_27_02_900459_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325948371","1325948377","1325948375","1325948366"],"photo_ids_order":["1325948366","1325948371","1325948375","1325948377"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e189260cd102e99b0cc543ff6d490939.jpg","text":"TemporaryFile(/tmp/multipartBody7245967752625477844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735925313009,"filename":"image_03012025_18_27_02_900459_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c5d321fe4d42c1bfaa8136e5f9016b8e.jpg","text":"TemporaryFile(/tmp/multipartBody3499749553694636048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735925313009,"filename":"image_03012025_18_27_02_900459_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7714cecc3d44063f8984c3135eb8617e.jpg","text":"TemporaryFile(/tmp/multipartBody579330335251818264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735925313009,"filename":"image_03012025_18_27_02_900459_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8ced92fd917effd7b4cbc37ddc56daa7.jpg","text":"TemporaryFile(/tmp/multipartBody6026973029376915371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735925313009,"filename":"image_03012025_18_26_02_640273_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325948375","file1":"1325948371","file0":"1325948366","file3":"1325948377"},"map_files_photo_id_array":[{"photo_id":"1325948375","filename":"file2"},{"photo_id":"1325948371","filename":"file1"},{"photo_id":"1325948366","filename":"file0"},{"photo_id":"1325948377","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325948371":["hashtag1","hashtag2"]},{"1325948377":["hashtag1","hashtag2"]},{"1325948375":["hashtag1","hashtag2"]},{"1325948366":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325948371, 1325948377, 1325948375, 1325948366)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.7968475818634 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 18:28:21.877148
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/18/27/image_03012025_18_27_02_900459_0003.jpg', '/home/pi/Desktop/images/03012025/18/28/image_03012025_18_28_03_075724_0000.jpg', '/home/pi/Desktop/images/03012025/18/28/image_03012025_18_28_03_075724_0001.jpg', '/home/pi/Desktop/images/03012025/18/28/image_03012025_18_28_03_075724_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/18/27/image_03012025_18_27_02_900459_0003.jpg
/home/pi/Desktop/images/03012025/18/28/image_03012025_18_28_03_075724_0000.jpg
/home/pi/Desktop/images/03012025/18/28/image_03012025_18_28_03_075724_0001.jpg
/home/pi/Desktop/images/03012025/18/28/image_03012025_18_28_03_075724_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325948787","1325948784","1325948792","1325948789"],"photo_ids_order":["1325948784","1325948787","1325948789","1325948792"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/02d819371b2477e27c7d8b9a4b9c759e.jpg","text":"TemporaryFile(/tmp/multipartBody5480392622398752782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735925372148,"filename":"image_03012025_18_28_03_075724_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5fb836924f0bf652daadbd545f13b47d.jpg","text":"TemporaryFile(/tmp/multipartBody268352544656297672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735925372148,"filename":"image_03012025_18_27_02_900459_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ecd0a39208bb6923e6a8e2ecdaafa61c.jpg","text":"TemporaryFile(/tmp/multipartBody491771939134547598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735925372148,"filename":"image_03012025_18_28_03_075724_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/96b6dc9662bca36a70227e4248e5e1e9.jpg","text":"TemporaryFile(/tmp/multipartBody2992462148129068093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735925372148,"filename":"image_03012025_18_28_03_075724_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325948789","file1":"1325948787","file0":"1325948784","file3":"1325948792"},"map_files_photo_id_array":[{"photo_id":"1325948789","filename":"file2"},{"photo_id":"1325948787","filename":"file1"},{"photo_id":"1325948784","filename":"file0"},{"photo_id":"1325948792","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325948787":["hashtag1","hashtag2"]},{"1325948784":["hashtag1","hashtag2"]},{"1325948792":["hashtag1","hashtag2"]},{"1325948789":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325948787, 1325948784, 1325948792, 1325948789)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.08356785774231 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 18:29:02.718036
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 18:29:22.033217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/18/28/image_03012025_18_28_03_075724_0003.jpg', '/home/pi/Desktop/images/03012025/18/29/image_03012025_18_29_02_270230_0000.jpg', '/home/pi/Desktop/images/03012025/18/29/image_03012025_18_29_02_270230_0001.jpg', '/home/pi/Desktop/images/03012025/18/29/image_03012025_18_29_02_270230_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/18/28/image_03012025_18_28_03_075724_0003.jpg
/home/pi/Desktop/images/03012025/18/29/image_03012025_18_29_02_270230_0000.jpg
/home/pi/Desktop/images/03012025/18/29/image_03012025_18_29_02_270230_0001.jpg
/home/pi/Desktop/images/03012025/18/29/image_03012025_18_29_02_270230_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325949148","1325948922","1325948808","1325949146"],"photo_ids_order":["1325948808","1325948922","1325949146","1325949148"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/102fd773999d1e839f9761c039b117fd.jpg","text":"TemporaryFile(/tmp/multipartBody4107375300569042773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735925432181,"filename":"image_03012025_18_29_02_270230_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f7219eb247ecd0e4771182ff2b356159.jpg","text":"TemporaryFile(/tmp/multipartBody5145655387589313442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735925432181,"filename":"image_03012025_18_29_02_270230_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7a22da308a5ea40fd9f3fdb205ed89e7.jpg","text":"TemporaryFile(/tmp/multipartBody6942393003439448446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735925432181,"filename":"image_03012025_18_28_03_075724_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3648d0d252ef34843ba37065358bbe1a.jpg","text":"TemporaryFile(/tmp/multipartBody4122757227873467019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735925432181,"filename":"image_03012025_18_29_02_270230_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325949146","file1":"1325948922","file0":"1325948808","file3":"1325949148"},"map_files_photo_id_array":[{"photo_id":"1325949146","filename":"file2"},{"photo_id":"1325948922","filename":"file1"},{"photo_id":"1325948808","filename":"file0"},{"photo_id":"1325949148","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325949148":["hashtag1","hashtag2"]},{"1325948922":["hashtag1","hashtag2"]},{"1325948808":["hashtag1","hashtag2"]},{"1325949146":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325949148, 1325948922, 1325948808, 1325949146)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.746602058410645 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 18:30:22.264084
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/18/29/image_03012025_18_29_02_270230_0003.jpg', '/home/pi/Desktop/images/03012025/18/30/image_03012025_18_30_02_396207_0000.jpg', '/home/pi/Desktop/images/03012025/18/30/image_03012025_18_30_02_396207_0001.jpg', '/home/pi/Desktop/images/03012025/18/30/image_03012025_18_30_02_396207_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/18/29/image_03012025_18_29_02_270230_0003.jpg
/home/pi/Desktop/images/03012025/18/30/image_03012025_18_30_02_396207_0000.jpg
/home/pi/Desktop/images/03012025/18/30/image_03012025_18_30_02_396207_0001.jpg
/home/pi/Desktop/images/03012025/18/30/image_03012025_18_30_02_396207_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325949628","1325949709","1325949678","1325949713"],"photo_ids_order":["1325949628","1325949678","1325949709","1325949713"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d10a81dbc1b7b7f8c165b1da2c680b66.jpg","text":"TemporaryFile(/tmp/multipartBody6704518173518724547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735925492450,"filename":"image_03012025_18_29_02_270230_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f2ef99ac698ccc12a6d4c6adc5205e54.jpg","text":"TemporaryFile(/tmp/multipartBody5874844498549812858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735925492450,"filename":"image_03012025_18_30_02_396207_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2c1556169b665ce71aad00ceea616bec.jpg","text":"TemporaryFile(/tmp/multipartBody4672550099211571258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735925492450,"filename":"image_03012025_18_30_02_396207_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/698d7a8669d67033f6819e44875a3dfd.jpg","text":"TemporaryFile(/tmp/multipartBody364064049320023553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735925492450,"filename":"image_03012025_18_30_02_396207_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325949709","file1":"1325949678","file0":"1325949628","file3":"1325949713"},"map_files_photo_id_array":[{"photo_id":"1325949709","filename":"file2"},{"photo_id":"1325949678","filename":"file1"},{"photo_id":"1325949628","filename":"file0"},{"photo_id":"1325949713","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325949628":["hashtag1","hashtag2"]},{"1325949709":["hashtag1","hashtag2"]},{"1325949678":["hashtag1","hashtag2"]},{"1325949713":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325949628, 1325949709, 1325949678, 1325949713)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.6319899559021 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-03 18:31:22.556250
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/18/30/image_03012025_18_30_02_396207_0003.jpg', '/home/pi/Desktop/images/03012025/18/31/image_03012025_18_31_02_573362_0000.jpg', '/home/pi/Desktop/images/03012025/18/31/image_03012025_18_31_02_573362_0001.jpg', '/home/pi/Desktop/images/03012025/18/31/image_03012025_18_31_02_573362_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/18/30/image_03012025_18_30_02_396207_0003.jpg
/home/pi/Desktop/images/03012025/18/31/image_03012025_18_31_02_573362_0000.jpg
/home/pi/Desktop/images/03012025/18/31/image_03012025_18_31_02_573362_0001.jpg
/home/pi/Desktop/images/03012025/18/31/image_03012025_18_31_02_573362_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325949769","1325949811","1325949771","1325949774"],"photo_ids_order":["1325949769","1325949771","1325949774","1325949811"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/38f75d57f7a16a4497b0f14af1fe01a0.jpg","text":"TemporaryFile(/tmp/multipartBody3300249831140045484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735925552822,"filename":"image_03012025_18_30_02_396207_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/48651824842cf9a5d2d8b7b3a32ccac8.jpg","text":"TemporaryFile(/tmp/multipartBody2889617034990946870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735925552822,"filename":"image_03012025_18_31_02_573362_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/be9c553a48453c524f57a83b61560878.jpg","text":"TemporaryFile(/tmp/multipartBody9004773667821242747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735925552822,"filename":"image_03012025_18_31_02_573362_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/41568ae0bcac1e0d7c72e5ab0aab2a6d.jpg","text":"TemporaryFile(/tmp/multipartBody5206967266379112080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735925552822,"filename":"image_03012025_18_31_02_573362_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325949774","file1":"1325949771","file0":"1325949769","file3":"1325949811"},"map_files_photo_id_array":[{"photo_id":"1325949774","filename":"file2"},{"photo_id":"1325949771","filename":"file1"},{"photo_id":"1325949769","filename":"file0"},{"photo_id":"1325949811","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325949769":["hashtag1","hashtag2"]},{"1325949811":["hashtag1","hashtag2"]},{"1325949771":["hashtag1","hashtag2"]},{"1325949774":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325949769, 1325949811, 1325949771, 1325949774)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.39765119552612 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 18:32:03.108462
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 18:32:22.756571
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/18/31/image_03012025_18_31_02_573362_0003.jpg', '/home/pi/Desktop/images/03012025/18/32/image_03012025_18_32_02_879704_0000.jpg', '/home/pi/Desktop/images/03012025/18/32/image_03012025_18_32_02_879704_0001.jpg', '/home/pi/Desktop/images/03012025/18/32/image_03012025_18_32_02_879704_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/18/31/image_03012025_18_31_02_573362_0003.jpg
/home/pi/Desktop/images/03012025/18/32/image_03012025_18_32_02_879704_0000.jpg
/home/pi/Desktop/images/03012025/18/32/image_03012025_18_32_02_879704_0001.jpg
/home/pi/Desktop/images/03012025/18/32/image_03012025_18_32_02_879704_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325950257","1325950332","1325950329","1325950334"],"photo_ids_order":["1325950257","1325950329","1325950332","1325950334"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d7c346e8eb8ff1a584856974ce96a997.jpg","text":"TemporaryFile(/tmp/multipartBody5080542678473631422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735925612827,"filename":"image_03012025_18_31_02_573362_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8330ec39604cc41cc35ba98ad5a4b98f.jpg","text":"TemporaryFile(/tmp/multipartBody7761817748816896306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735925612827,"filename":"image_03012025_18_32_02_879704_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/549051db6959620e2a495a69f8b6e0c5.jpg","text":"TemporaryFile(/tmp/multipartBody4661082440179688337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735925612827,"filename":"image_03012025_18_32_02_879704_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/44f0bfc16ba1ff7fb196ec4297de96b3.jpg","text":"TemporaryFile(/tmp/multipartBody545304444727152143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735925612827,"filename":"image_03012025_18_32_02_879704_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325950332","file1":"1325950329","file0":"1325950257","file3":"1325950334"},"map_files_photo_id_array":[{"photo_id":"1325950332","filename":"file2"},{"photo_id":"1325950329","filename":"file1"},{"photo_id":"1325950257","filename":"file0"},{"photo_id":"1325950334","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325950257":["hashtag1","hashtag2"]},{"1325950332":["hashtag1","hashtag2"]},{"1325950329":["hashtag1","hashtag2"]},{"1325950334":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325950257, 1325950332, 1325950329, 1325950334)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.1586537361145 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 18:33:21.835737
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/18/32/image_03012025_18_32_02_879704_0003.jpg', '/home/pi/Desktop/images/03012025/18/33/image_03012025_18_33_02_988096_0000.jpg', '/home/pi/Desktop/images/03012025/18/33/image_03012025_18_33_02_988096_0001.jpg', '/home/pi/Desktop/images/03012025/18/33/image_03012025_18_33_02_988096_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/18/32/image_03012025_18_32_02_879704_0003.jpg
/home/pi/Desktop/images/03012025/18/33/image_03012025_18_33_02_988096_0000.jpg
/home/pi/Desktop/images/03012025/18/33/image_03012025_18_33_02_988096_0001.jpg
/home/pi/Desktop/images/03012025/18/33/image_03012025_18_33_02_988096_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325951083","1325951068","1325950794","1325951081"],"photo_ids_order":["1325950794","1325951068","1325951081","1325951083"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8320f69e695437f33b3a64a4f9addb67.jpg","text":"TemporaryFile(/tmp/multipartBody8195650390509348441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735925672284,"filename":"image_03012025_18_33_02_988096_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7f89037945512de22b76f98c37aeaa84.jpg","text":"TemporaryFile(/tmp/multipartBody7930121266931528176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735925672284,"filename":"image_03012025_18_33_02_988096_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c6f83252c917a0b1a1deb30021f59c91.jpg","text":"TemporaryFile(/tmp/multipartBody8300362838824925017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735925672284,"filename":"image_03012025_18_32_02_879704_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/bf86cc05f832011a46da9886dc84d9b8.jpg","text":"TemporaryFile(/tmp/multipartBody9123161555019479516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735925672284,"filename":"image_03012025_18_33_02_988096_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325951081","file1":"1325951068","file0":"1325950794","file3":"1325951083"},"map_files_photo_id_array":[{"photo_id":"1325951081","filename":"file2"},{"photo_id":"1325951068","filename":"file1"},{"photo_id":"1325950794","filename":"file0"},{"photo_id":"1325951083","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325951083":["hashtag1","hashtag2"]},{"1325951068":["hashtag1","hashtag2"]},{"1325950794":["hashtag1","hashtag2"]},{"1325951081":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325951083, 1325951068, 1325950794, 1325951081)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.860008001327515 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 18:34:02.400978
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 18:34:22.014867
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/18/33/image_03012025_18_33_02_988096_0003.jpg', '/home/pi/Desktop/images/03012025/18/34/image_03012025_18_34_02_234641_0000.jpg', '/home/pi/Desktop/images/03012025/18/34/image_03012025_18_34_02_234641_0001.jpg', '/home/pi/Desktop/images/03012025/18/34/image_03012025_18_34_02_234641_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/18/33/image_03012025_18_33_02_988096_0003.jpg
/home/pi/Desktop/images/03012025/18/34/image_03012025_18_34_02_234641_0000.jpg
/home/pi/Desktop/images/03012025/18/34/image_03012025_18_34_02_234641_0001.jpg
/home/pi/Desktop/images/03012025/18/34/image_03012025_18_34_02_234641_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325951754","1325951757","1325951256","1325951378"],"photo_ids_order":["1325951256","1325951378","1325951754","1325951757"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/93cef55b1db08c8d06b15b4800866943.jpg","text":"TemporaryFile(/tmp/multipartBody6716055246543015681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735925732258,"filename":"image_03012025_18_34_02_234641_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f9da9e4add5d56a326cd4d24dd4b3975.jpg","text":"TemporaryFile(/tmp/multipartBody4812187667763921786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735925732258,"filename":"image_03012025_18_34_02_234641_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e7126180042aa7c0b82c544304f8204c.jpg","text":"TemporaryFile(/tmp/multipartBody423558520753902293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735925732258,"filename":"image_03012025_18_33_02_988096_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/cb56bf3df1856e6813a748fbe88c48e4.jpg","text":"TemporaryFile(/tmp/multipartBody9161577140101379887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735925732258,"filename":"image_03012025_18_34_02_234641_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325951754","file1":"1325951378","file0":"1325951256","file3":"1325951757"},"map_files_photo_id_array":[{"photo_id":"1325951754","filename":"file2"},{"photo_id":"1325951378","filename":"file1"},{"photo_id":"1325951256","filename":"file0"},{"photo_id":"1325951757","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325951754":["hashtag1","hashtag2"]},{"1325951757":["hashtag1","hashtag2"]},{"1325951256":["hashtag1","hashtag2"]},{"1325951378":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325951754, 1325951757, 1325951256, 1325951378)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.25392818450928 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 18:35:22.218122
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/18/34/image_03012025_18_34_02_234641_0003.jpg', '/home/pi/Desktop/images/03012025/18/35/image_03012025_18_35_02_380529_0000.jpg', '/home/pi/Desktop/images/03012025/18/35/image_03012025_18_35_02_380529_0001.jpg', '/home/pi/Desktop/images/03012025/18/35/image_03012025_18_35_02_380529_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/18/34/image_03012025_18_34_02_234641_0003.jpg
/home/pi/Desktop/images/03012025/18/35/image_03012025_18_35_02_380529_0000.jpg
/home/pi/Desktop/images/03012025/18/35/image_03012025_18_35_02_380529_0001.jpg
/home/pi/Desktop/images/03012025/18/35/image_03012025_18_35_02_380529_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325952450","1325952054","1325952446","1325952271"],"photo_ids_order":["1325952054","1325952271","1325952446","1325952450"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7c4a3499248ee1c06274c523174f422c.jpg","text":"TemporaryFile(/tmp/multipartBody693482836339374648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735925792571,"filename":"image_03012025_18_35_02_380529_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/bb3eb33ca2e12dcc3ae3831251952d1a.jpg","text":"TemporaryFile(/tmp/multipartBody4656898152567942910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735925792571,"filename":"image_03012025_18_34_02_234641_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d62f963c759d0095ce6c21e25962d78a.jpg","text":"TemporaryFile(/tmp/multipartBody3331713465518049637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735925792571,"filename":"image_03012025_18_35_02_380529_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f17ead70c6f88851af4152cfc6e3985e.jpg","text":"TemporaryFile(/tmp/multipartBody2373202289254979338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735925792571,"filename":"image_03012025_18_35_02_380529_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325952446","file1":"1325952271","file0":"1325952054","file3":"1325952450"},"map_files_photo_id_array":[{"photo_id":"1325952446","filename":"file2"},{"photo_id":"1325952271","filename":"file1"},{"photo_id":"1325952054","filename":"file0"},{"photo_id":"1325952450","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325952450":["hashtag1","hashtag2"]},{"1325952054":["hashtag1","hashtag2"]},{"1325952446":["hashtag1","hashtag2"]},{"1325952271":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325952450, 1325952054, 1325952446, 1325952271)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.57335877418518 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-03 18:36:22.413011
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/18/35/image_03012025_18_35_02_380529_0003.jpg', '/home/pi/Desktop/images/03012025/18/36/image_03012025_18_36_02_604351_0000.jpg', '/home/pi/Desktop/images/03012025/18/36/image_03012025_18_36_02_604351_0001.jpg', '/home/pi/Desktop/images/03012025/18/36/image_03012025_18_36_02_604351_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/18/35/image_03012025_18_35_02_380529_0003.jpg
/home/pi/Desktop/images/03012025/18/36/image_03012025_18_36_02_604351_0000.jpg
/home/pi/Desktop/images/03012025/18/36/image_03012025_18_36_02_604351_0001.jpg
/home/pi/Desktop/images/03012025/18/36/image_03012025_18_36_02_604351_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325952727","1325952622","1325952619","1325952610"],"photo_ids_order":["1325952610","1325952619","1325952622","1325952727"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4a69d69e4d08908c685a089fe2fcf40a.jpg","text":"TemporaryFile(/tmp/multipartBody3308799926466997365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735925852666,"filename":"image_03012025_18_36_02_604351_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a28b64dab6e22cf74c6c8ef319214dfa.jpg","text":"TemporaryFile(/tmp/multipartBody6100709155744893786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735925852666,"filename":"image_03012025_18_36_02_604351_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9345cba5944ceec0bd8620ff6576b7be.jpg","text":"TemporaryFile(/tmp/multipartBody7370833120539287635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735925852666,"filename":"image_03012025_18_36_02_604351_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c340422690d7c8bd4564b9254f81c56b.jpg","text":"TemporaryFile(/tmp/multipartBody7010190407277051149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735925852666,"filename":"image_03012025_18_35_02_380529_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325952622","file1":"1325952619","file0":"1325952610","file3":"1325952727"},"map_files_photo_id_array":[{"photo_id":"1325952622","filename":"file2"},{"photo_id":"1325952619","filename":"file1"},{"photo_id":"1325952610","filename":"file0"},{"photo_id":"1325952727","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325952727":["hashtag1","hashtag2"]},{"1325952622":["hashtag1","hashtag2"]},{"1325952619":["hashtag1","hashtag2"]},{"1325952610":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325952727, 1325952622, 1325952619, 1325952610)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.76214790344238 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 18:37:22.591104
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/18/36/image_03012025_18_36_02_604351_0003.jpg', '/home/pi/Desktop/images/03012025/18/37/image_03012025_18_37_02_757581_0000.jpg', '/home/pi/Desktop/images/03012025/18/37/image_03012025_18_37_02_757581_0001.jpg', '/home/pi/Desktop/images/03012025/18/37/image_03012025_18_37_02_757581_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/18/36/image_03012025_18_36_02_604351_0003.jpg
/home/pi/Desktop/images/03012025/18/37/image_03012025_18_37_02_757581_0000.jpg
/home/pi/Desktop/images/03012025/18/37/image_03012025_18_37_02_757581_0001.jpg
/home/pi/Desktop/images/03012025/18/37/image_03012025_18_37_02_757581_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.776140928268433 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-03 18:37:42.583429
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/18/36/image_03012025_18_36_02_604351_0003.jpg', '/home/pi/Desktop/images/03012025/18/37/image_03012025_18_37_02_757581_0000.jpg', '/home/pi/Desktop/images/03012025/18/37/image_03012025_18_37_02_757581_0001.jpg', '/home/pi/Desktop/images/03012025/18/37/image_03012025_18_37_02_757581_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/18/36/image_03012025_18_36_02_604351_0003.jpg
/home/pi/Desktop/images/03012025/18/37/image_03012025_18_37_02_757581_0000.jpg
/home/pi/Desktop/images/03012025/18/37/image_03012025_18_37_02_757581_0001.jpg
/home/pi/Desktop/images/03012025/18/37/image_03012025_18_37_02_757581_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":["1325954016","1325953694","1325954018","1325953957"],"photo_ids_order":["1325953694","1325953957","1325954016","1325954018"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9b43751e11c4343f5ea1e8a1693973e1.jpg","text":"TemporaryFile(/tmp/multipartBody5746055896058654945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735925932755,"filename":"image_03012025_18_37_02_757581_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/139ccf9e692e10d024eeb83828cdac92.jpg","text":"TemporaryFile(/tmp/multipartBody6237426814966576570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735925932755,"filename":"image_03012025_18_36_02_604351_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8997748503bedcf0a3bff6f617d9edf6.jpg","text":"TemporaryFile(/tmp/multipartBody9042458042726043591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735925932755,"filename":"image_03012025_18_37_02_757581_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/11ba2857bb7389d988c73b6aad26c59f.jpg","text":"TemporaryFile(/tmp/multipartBody4292135768632824042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735925932755,"filename":"image_03012025_18_37_02_757581_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325954016","file1":"1325953957","file0":"1325953694","file3":"1325954018"},"map_files_photo_id_array":[{"photo_id":"1325954016","filename":"file2"},{"photo_id":"1325953957","filename":"file1"},{"photo_id":"1325953694","filename":"file0"},{"photo_id":"1325954018","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325954016":["hashtag1","hashtag2"]},{"1325953694":["hashtag1","hashtag2"]},{"1325954018":["hashtag1","hashtag2"]},{"1325953957":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325954016, 1325953694, 1325954018, 1325953957)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.252755880355835 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 18:38:22.748840
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/18/37/image_03012025_18_37_02_757581_0003.jpg', '/home/pi/Desktop/images/03012025/18/38/image_03012025_18_38_02_932813_0000.jpg', '/home/pi/Desktop/images/03012025/18/38/image_03012025_18_38_02_932813_0001.jpg', '/home/pi/Desktop/images/03012025/18/38/image_03012025_18_38_02_932813_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/18/37/image_03012025_18_37_02_757581_0003.jpg
/home/pi/Desktop/images/03012025/18/38/image_03012025_18_38_02_932813_0000.jpg
/home/pi/Desktop/images/03012025/18/38/image_03012025_18_38_02_932813_0001.jpg
/home/pi/Desktop/images/03012025/18/38/image_03012025_18_38_02_932813_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325954240","1325954242","1325954305","1325954187"],"photo_ids_order":["1325954187","1325954240","1325954242","1325954305"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/012fc322bc7eba05225c6dde4db6866d.jpg","text":"TemporaryFile(/tmp/multipartBody8544577947674611955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735925972943,"filename":"image_03012025_18_38_02_932813_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/fc063d39a2022c3eeaa981050d110c82.jpg","text":"TemporaryFile(/tmp/multipartBody6413636077610162975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735925972943,"filename":"image_03012025_18_38_02_932813_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1007dee20743b51d19b0087ee74cb042.jpg","text":"TemporaryFile(/tmp/multipartBody5166141534555293370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735925972943,"filename":"image_03012025_18_38_02_932813_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8032482c0d39e41074dcef67627eb0b1.jpg","text":"TemporaryFile(/tmp/multipartBody2739035794983797034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735925972943,"filename":"image_03012025_18_37_02_757581_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325954242","file1":"1325954240","file0":"1325954187","file3":"1325954305"},"map_files_photo_id_array":[{"photo_id":"1325954242","filename":"file2"},{"photo_id":"1325954240","filename":"file1"},{"photo_id":"1325954187","filename":"file0"},{"photo_id":"1325954305","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325954240":["hashtag1","hashtag2"]},{"1325954242":["hashtag1","hashtag2"]},{"1325954305":["hashtag1","hashtag2"]},{"1325954187":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325954240, 1325954242, 1325954305, 1325954187)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.641462564468384 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 18:39:21.906005
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/18/38/image_03012025_18_38_02_932813_0003.jpg', '/home/pi/Desktop/images/03012025/18/39/image_03012025_18_39_03_111823_0000.jpg', '/home/pi/Desktop/images/03012025/18/39/image_03012025_18_39_03_111823_0001.jpg', '/home/pi/Desktop/images/03012025/18/39/image_03012025_18_39_03_111823_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/18/38/image_03012025_18_38_02_932813_0003.jpg
/home/pi/Desktop/images/03012025/18/39/image_03012025_18_39_03_111823_0000.jpg
/home/pi/Desktop/images/03012025/18/39/image_03012025_18_39_03_111823_0001.jpg
/home/pi/Desktop/images/03012025/18/39/image_03012025_18_39_03_111823_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325954925","1325954927","1325954695","1325954670"],"photo_ids_order":["1325954670","1325954695","1325954925","1325954927"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/73f0b820222fe5c4913225c0cbf6cefc.jpg","text":"TemporaryFile(/tmp/multipartBody3427745843949794232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735926032085,"filename":"image_03012025_18_39_03_111823_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6f731a9e5701bc4798f569d40d79c717.jpg","text":"TemporaryFile(/tmp/multipartBody3190116914930189010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735926032085,"filename":"image_03012025_18_39_03_111823_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d836da67d5643f9d958c403ba753b42b.jpg","text":"TemporaryFile(/tmp/multipartBody6514499219271696997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735926032085,"filename":"image_03012025_18_39_03_111823_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/678f9ff11fda8a91afe6c6ec9c864d69.jpg","text":"TemporaryFile(/tmp/multipartBody4099300169778043008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735926032085,"filename":"image_03012025_18_38_02_932813_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325954925","file1":"1325954695","file0":"1325954670","file3":"1325954927"},"map_files_photo_id_array":[{"photo_id":"1325954925","filename":"file2"},{"photo_id":"1325954695","filename":"file1"},{"photo_id":"1325954670","filename":"file0"},{"photo_id":"1325954927","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325954925":["hashtag1","hashtag2"]},{"1325954927":["hashtag1","hashtag2"]},{"1325954695":["hashtag1","hashtag2"]},{"1325954670":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325954925, 1325954927, 1325954695, 1325954670)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.23694086074829 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 18:40:02.400523
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 18:40:22.039592
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/18/39/image_03012025_18_39_03_111823_0003.jpg', '/home/pi/Desktop/images/03012025/18/40/image_03012025_18_40_02_272663_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/18/39/image_03012025_18_39_03_111823_0003.jpg
/home/pi/Desktop/images/03012025/18/40/image_03012025_18_40_02_272663_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":["1325955250","1325955253"],"photo_ids_order":["1325955250","1325955253"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/37115b149b362af32d60fb32ce5cbedd.jpg","text":"TemporaryFile(/tmp/multipartBody1259920006754967324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735926087364,"filename":"image_03012025_18_39_03_111823_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a3762f630006a5810bf36d4e719659b3.jpg","text":"TemporaryFile(/tmp/multipartBody642649365740413286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735926087364,"filename":"image_03012025_18_40_02_272663_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1325955253","file0":"1325955250"},"map_files_photo_id_array":[{"photo_id":"1325955253","filename":"file1"},{"photo_id":"1325955250","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325955250":["hashtag1","hashtag2"]},{"1325955253":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325955250, 1325955253)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.429677486419678 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-03 18:40:52.012827
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 18:41:02.733296
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 18:41:22.251277
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/18/40/image_03012025_18_40_02_272663_0003.jpg', '/home/pi/Desktop/images/03012025/18/41/image_03012025_18_41_02_487572_0001.jpg', '/home/pi/Desktop/images/03012025/18/41/image_03012025_18_41_02_487572_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/18/40/image_03012025_18_40_02_272663_0003.jpg
/home/pi/Desktop/images/03012025/18/41/image_03012025_18_41_02_487572_0001.jpg
/home/pi/Desktop/images/03012025/18/41/image_03012025_18_41_02_487572_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325955472","1325955519","1325955485"],"photo_ids_order":["1325955472","1325955485","1325955519"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/751b7172b8a78b4fc0a97b8420b48ff9.jpg","text":"TemporaryFile(/tmp/multipartBody8417521462241231916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735926149939,"filename":"image_03012025_18_40_02_272663_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e36da7d068cb15bf0364795f1f6e4dd5.jpg","text":"TemporaryFile(/tmp/multipartBody2226171593103940952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735926149939,"filename":"image_03012025_18_41_02_487572_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d4511d5bb4d220056462efa70fbafe75.jpg","text":"TemporaryFile(/tmp/multipartBody1058726751025167136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735926149939,"filename":"image_03012025_18_41_02_487572_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325955519","file1":"1325955485","file0":"1325955472"},"map_files_photo_id_array":[{"photo_id":"1325955519","filename":"file2"},{"photo_id":"1325955485","filename":"file1"},{"photo_id":"1325955472","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325955472":["hashtag1","hashtag2"]},{"1325955519":["hashtag1","hashtag2"]},{"1325955485":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325955472, 1325955519, 1325955485)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.46492338180542 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 18:42:02.693157
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 18:42:22.516890
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/18/41/image_03012025_18_41_02_487572_0003.jpg', '/home/pi/Desktop/images/03012025/18/42/image_03012025_18_42_02_575673_0000.jpg', '/home/pi/Desktop/images/03012025/18/42/image_03012025_18_42_02_575673_0001.jpg', '/home/pi/Desktop/images/03012025/18/42/image_03012025_18_42_02_575673_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/18/41/image_03012025_18_41_02_487572_0003.jpg
/home/pi/Desktop/images/03012025/18/42/image_03012025_18_42_02_575673_0000.jpg
/home/pi/Desktop/images/03012025/18/42/image_03012025_18_42_02_575673_0001.jpg
/home/pi/Desktop/images/03012025/18/42/image_03012025_18_42_02_575673_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325955701","1325955694","1325955696","1325955698"],"photo_ids_order":["1325955694","1325955696","1325955698","1325955701"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8ddaad487633320ea171c64ee1bfc371.jpg","text":"TemporaryFile(/tmp/multipartBody5043525936430411368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735926212466,"filename":"image_03012025_18_42_02_575673_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/27f8456245afbb57964e7113dac5d45d.jpg","text":"TemporaryFile(/tmp/multipartBody4569263674325555444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735926212466,"filename":"image_03012025_18_41_02_487572_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9f613393d1214c73fa87ff1c447348f8.jpg","text":"TemporaryFile(/tmp/multipartBody8770197379418980544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735926212466,"filename":"image_03012025_18_42_02_575673_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/600fc0ec4b2113269f304b2033c5df58.jpg","text":"TemporaryFile(/tmp/multipartBody356654096303819181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735926212466,"filename":"image_03012025_18_42_02_575673_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325955698","file1":"1325955696","file0":"1325955694","file3":"1325955701"},"map_files_photo_id_array":[{"photo_id":"1325955698","filename":"file2"},{"photo_id":"1325955696","filename":"file1"},{"photo_id":"1325955694","filename":"file0"},{"photo_id":"1325955701","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325955701":["hashtag1","hashtag2"]},{"1325955694":["hashtag1","hashtag2"]},{"1325955696":["hashtag1","hashtag2"]},{"1325955698":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325955701, 1325955694, 1325955696, 1325955698)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.739941358566284 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 18:43:03.194781
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 18:43:22.610401
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/18/42/image_03012025_18_42_02_575673_0003.jpg', '/home/pi/Desktop/images/03012025/18/43/image_03012025_18_43_02_731717_0000.jpg', '/home/pi/Desktop/images/03012025/18/43/image_03012025_18_43_02_731717_0001.jpg', '/home/pi/Desktop/images/03012025/18/43/image_03012025_18_43_02_731717_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/18/42/image_03012025_18_42_02_575673_0003.jpg
/home/pi/Desktop/images/03012025/18/43/image_03012025_18_43_02_731717_0000.jpg
/home/pi/Desktop/images/03012025/18/43/image_03012025_18_43_02_731717_0001.jpg
/home/pi/Desktop/images/03012025/18/43/image_03012025_18_43_02_731717_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325956139","1325955829","1325956085","1325956052"],"photo_ids_order":["1325955829","1325956052","1325956085","1325956139"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ef94fbc3fa6f9ac84d7b88d09f2ba13b.jpg","text":"TemporaryFile(/tmp/multipartBody3760285128384159819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735926272777,"filename":"image_03012025_18_43_02_731717_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/111cdce668a21779f20c75c9f4f88ee8.jpg","text":"TemporaryFile(/tmp/multipartBody5988758162595611974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735926272777,"filename":"image_03012025_18_42_02_575673_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0fb6215180bf2baebbc253146afbeca3.jpg","text":"TemporaryFile(/tmp/multipartBody3813762859755366597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735926272777,"filename":"image_03012025_18_43_02_731717_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/cc63186770316b4c7f0e23d31b6a2afd.jpg","text":"TemporaryFile(/tmp/multipartBody8983121515286515750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735926272777,"filename":"image_03012025_18_43_02_731717_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325956085","file1":"1325956052","file0":"1325955829","file3":"1325956139"},"map_files_photo_id_array":[{"photo_id":"1325956085","filename":"file2"},{"photo_id":"1325956052","filename":"file1"},{"photo_id":"1325955829","filename":"file0"},{"photo_id":"1325956139","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325956139":["hashtag1","hashtag2"]},{"1325955829":["hashtag1","hashtag2"]},{"1325956085":["hashtag1","hashtag2"]},{"1325956052":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325956139, 1325955829, 1325956085, 1325956052)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.48310875892639 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 18:44:22.785772
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/18/43/image_03012025_18_43_02_731717_0003.jpg', '/home/pi/Desktop/images/03012025/18/44/image_03012025_18_44_02_921010_0000.jpg', '/home/pi/Desktop/images/03012025/18/44/image_03012025_18_44_02_921010_0001.jpg', '/home/pi/Desktop/images/03012025/18/44/image_03012025_18_44_02_921010_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/18/43/image_03012025_18_43_02_731717_0003.jpg
/home/pi/Desktop/images/03012025/18/44/image_03012025_18_44_02_921010_0000.jpg
/home/pi/Desktop/images/03012025/18/44/image_03012025_18_44_02_921010_0001.jpg
/home/pi/Desktop/images/03012025/18/44/image_03012025_18_44_02_921010_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325956217","1325956222","1325956224","1325956220"],"photo_ids_order":["1325956217","1325956220","1325956222","1325956224"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/99f44312b96becf2bc05874251ddad0d.jpg","text":"TemporaryFile(/tmp/multipartBody4017427602032413721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735926333107,"filename":"image_03012025_18_43_02_731717_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/48c49c4f2e92a0e5a5b7cc4980e0954e.jpg","text":"TemporaryFile(/tmp/multipartBody1287668944357901581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735926333107,"filename":"image_03012025_18_44_02_921010_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/41bcff7148672ce35f8f9079aa28c98a.jpg","text":"TemporaryFile(/tmp/multipartBody3070397293187964261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735926333107,"filename":"image_03012025_18_44_02_921010_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2e8afd9d722e85aa2a5b9cf1ac39751c.jpg","text":"TemporaryFile(/tmp/multipartBody3173295510980483501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735926333107,"filename":"image_03012025_18_44_02_921010_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325956222","file1":"1325956220","file0":"1325956217","file3":"1325956224"},"map_files_photo_id_array":[{"photo_id":"1325956222","filename":"file2"},{"photo_id":"1325956220","filename":"file1"},{"photo_id":"1325956217","filename":"file0"},{"photo_id":"1325956224","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325956217":["hashtag1","hashtag2"]},{"1325956222":["hashtag1","hashtag2"]},{"1325956224":["hashtag1","hashtag2"]},{"1325956220":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325956217, 1325956222, 1325956224, 1325956220)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.11121964454651 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 18:45:22.072487
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/18/44/image_03012025_18_44_02_921010_0003.jpg', '/home/pi/Desktop/images/03012025/18/45/image_03012025_18_45_03_137854_0000.jpg', '/home/pi/Desktop/images/03012025/18/45/image_03012025_18_45_03_137854_0001.jpg', '/home/pi/Desktop/images/03012025/18/45/image_03012025_18_45_03_137854_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/18/44/image_03012025_18_44_02_921010_0003.jpg
/home/pi/Desktop/images/03012025/18/45/image_03012025_18_45_03_137854_0000.jpg
/home/pi/Desktop/images/03012025/18/45/image_03012025_18_45_03_137854_0001.jpg
/home/pi/Desktop/images/03012025/18/45/image_03012025_18_45_03_137854_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325956498","1325956470","1325956494","1325956496"],"photo_ids_order":["1325956470","1325956494","1325956496","1325956498"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/76380823170f9a3c24aae60b6f059179.jpg","text":"TemporaryFile(/tmp/multipartBody7135973340703673915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735926392448,"filename":"image_03012025_18_45_03_137854_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d297f9a6c56d07fd2dbfd9ab6ecc5f99.jpg","text":"TemporaryFile(/tmp/multipartBody5491831147191762174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735926392448,"filename":"image_03012025_18_44_02_921010_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/021e6878c8a08dc18ae8154be87d885b.jpg","text":"TemporaryFile(/tmp/multipartBody13252883814951279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735926392448,"filename":"image_03012025_18_45_03_137854_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/586a24895642fb217928f3c48003f426.jpg","text":"TemporaryFile(/tmp/multipartBody250211354492303902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735926392448,"filename":"image_03012025_18_45_03_137854_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325956496","file1":"1325956494","file0":"1325956470","file3":"1325956498"},"map_files_photo_id_array":[{"photo_id":"1325956496","filename":"file2"},{"photo_id":"1325956494","filename":"file1"},{"photo_id":"1325956470","filename":"file0"},{"photo_id":"1325956498","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325956498":["hashtag1","hashtag2"]},{"1325956470":["hashtag1","hashtag2"]},{"1325956494":["hashtag1","hashtag2"]},{"1325956496":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325956498, 1325956470, 1325956494, 1325956496)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.86434626579285 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 18:46:22.078237
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/18/45/image_03012025_18_45_03_137854_0003.jpg', '/home/pi/Desktop/images/03012025/18/46/image_03012025_18_46_02_319245_0000.jpg', '/home/pi/Desktop/images/03012025/18/46/image_03012025_18_46_02_319245_0001.jpg', '/home/pi/Desktop/images/03012025/18/46/image_03012025_18_46_02_319245_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/18/45/image_03012025_18_45_03_137854_0003.jpg
/home/pi/Desktop/images/03012025/18/46/image_03012025_18_46_02_319245_0000.jpg
/home/pi/Desktop/images/03012025/18/46/image_03012025_18_46_02_319245_0001.jpg
/home/pi/Desktop/images/03012025/18/46/image_03012025_18_46_02_319245_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.905898094177246 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-03 18:46:42.075452
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/18/45/image_03012025_18_45_03_137854_0003.jpg', '/home/pi/Desktop/images/03012025/18/46/image_03012025_18_46_02_319245_0000.jpg', '/home/pi/Desktop/images/03012025/18/46/image_03012025_18_46_02_319245_0001.jpg', '/home/pi/Desktop/images/03012025/18/46/image_03012025_18_46_02_319245_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/18/45/image_03012025_18_45_03_137854_0003.jpg
/home/pi/Desktop/images/03012025/18/46/image_03012025_18_46_02_319245_0000.jpg
/home/pi/Desktop/images/03012025/18/46/image_03012025_18_46_02_319245_0001.jpg
/home/pi/Desktop/images/03012025/18/46/image_03012025_18_46_02_319245_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":["1325956832","1325956805","1325956801","1325956804"],"photo_ids_order":["1325956801","1325956804","1325956805","1325956832"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9d1146a64d79275ee73336aa3628989a.jpg","text":"TemporaryFile(/tmp/multipartBody6231303189704217089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735926472384,"filename":"image_03012025_18_46_02_319245_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/20f44cfd2aaea8a0451d329a8a904900.jpg","text":"TemporaryFile(/tmp/multipartBody2612661236476871376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735926472384,"filename":"image_03012025_18_46_02_319245_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b2944df6377e10c2039c01bd7fc90a8e.jpg","text":"TemporaryFile(/tmp/multipartBody2642060219368947694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735926472384,"filename":"image_03012025_18_45_03_137854_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/500e761fbef10e430e01c7c26085fad9.jpg","text":"TemporaryFile(/tmp/multipartBody8765668689132646081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735926472384,"filename":"image_03012025_18_46_02_319245_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325956805","file1":"1325956804","file0":"1325956801","file3":"1325956832"},"map_files_photo_id_array":[{"photo_id":"1325956805","filename":"file2"},{"photo_id":"1325956804","filename":"file1"},{"photo_id":"1325956801","filename":"file0"},{"photo_id":"1325956832","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325956832":["hashtag1","hashtag2"]},{"1325956805":["hashtag1","hashtag2"]},{"1325956801":["hashtag1","hashtag2"]},{"1325956804":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325956832, 1325956805, 1325956801, 1325956804)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.960904598236084 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 18:47:22.260710
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/18/46/image_03012025_18_46_02_319245_0003.jpg', '/home/pi/Desktop/images/03012025/18/47/image_03012025_18_47_02_502384_0000.jpg', '/home/pi/Desktop/images/03012025/18/47/image_03012025_18_47_02_502384_0001.jpg', '/home/pi/Desktop/images/03012025/18/47/image_03012025_18_47_02_502384_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/18/46/image_03012025_18_46_02_319245_0003.jpg
/home/pi/Desktop/images/03012025/18/47/image_03012025_18_47_02_502384_0000.jpg
/home/pi/Desktop/images/03012025/18/47/image_03012025_18_47_02_502384_0001.jpg
/home/pi/Desktop/images/03012025/18/47/image_03012025_18_47_02_502384_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325956873","1325956909","1325957075","1325956955"],"photo_ids_order":["1325956873","1325956909","1325956955","1325957075"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a1d0aa9319b9e0d459e046383bac9346.jpg","text":"TemporaryFile(/tmp/multipartBody5660433868513134952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735926513755,"filename":"image_03012025_18_46_02_319245_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b35d6b52b4a93875157cfa267c5b29e0.jpg","text":"TemporaryFile(/tmp/multipartBody9139817406184131433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735926513755,"filename":"image_03012025_18_47_02_502384_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/28955fdc5f70b0b30f2b71642a1c8138.jpg","text":"TemporaryFile(/tmp/multipartBody1277709464875665756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735926513755,"filename":"image_03012025_18_47_02_502384_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b7c43d4ed28c0af3d25f92c8ce122246.jpg","text":"TemporaryFile(/tmp/multipartBody3656282941159625555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735926513755,"filename":"image_03012025_18_47_02_502384_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325956955","file1":"1325956909","file0":"1325956873","file3":"1325957075"},"map_files_photo_id_array":[{"photo_id":"1325956955","filename":"file2"},{"photo_id":"1325956909","filename":"file1"},{"photo_id":"1325956873","filename":"file0"},{"photo_id":"1325957075","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325956873":["hashtag1","hashtag2"]},{"1325956909":["hashtag1","hashtag2"]},{"1325957075":["hashtag1","hashtag2"]},{"1325956955":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325956873, 1325956909, 1325957075, 1325956955)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 47.26809477806091 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 18:48:22.524281
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/18/47/image_03012025_18_47_02_502384_0003.jpg', '/home/pi/Desktop/images/03012025/18/48/image_03012025_18_48_02_594510_0000.jpg', '/home/pi/Desktop/images/03012025/18/48/image_03012025_18_48_02_594510_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/18/47/image_03012025_18_47_02_502384_0003.jpg
/home/pi/Desktop/images/03012025/18/48/image_03012025_18_48_02_594510_0000.jpg
/home/pi/Desktop/images/03012025/18/48/image_03012025_18_48_02_594510_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":["1325957552","1325957285","1325957303"],"photo_ids_order":["1325957285","1325957303","1325957552"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7d206ff1c1c76498e407de9d07109b48.jpg","text":"TemporaryFile(/tmp/multipartBody7792584588545281162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735926570261,"filename":"image_03012025_18_48_02_594510_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8fa42e613ae81845af27d35daa8ff7ed.jpg","text":"TemporaryFile(/tmp/multipartBody8023641137079630012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735926570261,"filename":"image_03012025_18_47_02_502384_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/34d2fbecef3eff59acf602ea65a63c37.jpg","text":"TemporaryFile(/tmp/multipartBody2082025209504852319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735926570261,"filename":"image_03012025_18_48_02_594510_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325957552","file1":"1325957303","file0":"1325957285"},"map_files_photo_id_array":[{"photo_id":"1325957552","filename":"file2"},{"photo_id":"1325957303","filename":"file1"},{"photo_id":"1325957285","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325957552":["hashtag1","hashtag2"]},{"1325957285":["hashtag1","hashtag2"]},{"1325957303":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325957552, 1325957285, 1325957303)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.756524324417114 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 18:49:03.310963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 18:49:22.660079
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/18/48/image_03012025_18_48_02_594510_0003.jpg', '/home/pi/Desktop/images/03012025/18/49/image_03012025_18_49_02_834059_0001.jpg', '/home/pi/Desktop/images/03012025/18/49/image_03012025_18_49_02_834059_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/18/48/image_03012025_18_48_02_594510_0003.jpg
/home/pi/Desktop/images/03012025/18/49/image_03012025_18_49_02_834059_0001.jpg
/home/pi/Desktop/images/03012025/18/49/image_03012025_18_49_02_834059_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325957692","1325957695","1325957698"],"photo_ids_order":["1325957692","1325957695","1325957698"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1c3aa2332f5e2f2adfc341e0cb1a4f2d.jpg","text":"TemporaryFile(/tmp/multipartBody6406962421704901007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735926630549,"filename":"image_03012025_18_48_02_594510_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3ae22fb0e891dcab2d8adac43e9cfb50.jpg","text":"TemporaryFile(/tmp/multipartBody8005022141631163456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735926630549,"filename":"image_03012025_18_49_02_834059_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5bd5f360c1bca3d0620890bc897b2beb.jpg","text":"TemporaryFile(/tmp/multipartBody1461717387234440283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735926630549,"filename":"image_03012025_18_49_02_834059_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325957698","file1":"1325957695","file0":"1325957692"},"map_files_photo_id_array":[{"photo_id":"1325957698","filename":"file2"},{"photo_id":"1325957695","filename":"file1"},{"photo_id":"1325957692","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325957692":["hashtag1","hashtag2"]},{"1325957695":["hashtag1","hashtag2"]},{"1325957698":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325957692, 1325957695, 1325957698)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.91131901741028 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 18:50:02.266308
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 18:50:21.866314
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/18/49/image_03012025_18_49_02_834059_0003.jpg', '/home/pi/Desktop/images/03012025/18/50/image_03012025_18_50_02_994322_0000.jpg', '/home/pi/Desktop/images/03012025/18/50/image_03012025_18_50_02_994322_0001.jpg', '/home/pi/Desktop/images/03012025/18/50/image_03012025_18_50_02_994322_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/18/49/image_03012025_18_49_02_834059_0003.jpg
/home/pi/Desktop/images/03012025/18/50/image_03012025_18_50_02_994322_0000.jpg
/home/pi/Desktop/images/03012025/18/50/image_03012025_18_50_02_994322_0001.jpg
/home/pi/Desktop/images/03012025/18/50/image_03012025_18_50_02_994322_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.888431072235107 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-03 18:50:41.968152
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/18/49/image_03012025_18_49_02_834059_0003.jpg', '/home/pi/Desktop/images/03012025/18/50/image_03012025_18_50_02_994322_0000.jpg', '/home/pi/Desktop/images/03012025/18/50/image_03012025_18_50_02_994322_0001.jpg', '/home/pi/Desktop/images/03012025/18/50/image_03012025_18_50_02_994322_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/18/49/image_03012025_18_49_02_834059_0003.jpg
/home/pi/Desktop/images/03012025/18/50/image_03012025_18_50_02_994322_0000.jpg
/home/pi/Desktop/images/03012025/18/50/image_03012025_18_50_02_994322_0001.jpg
/home/pi/Desktop/images/03012025/18/50/image_03012025_18_50_02_994322_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325958535","1325958561","1325958558","1325958559"],"photo_ids_order":["1325958535","1325958558","1325958559","1325958561"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9153dca68f6c8b4a19c36dac2016745f.jpg","text":"TemporaryFile(/tmp/multipartBody8382597760149552308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735926712253,"filename":"image_03012025_18_49_02_834059_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b2f95e5ca1a6a8521e90a0685fcb5e2b.jpg","text":"TemporaryFile(/tmp/multipartBody3264126518637626938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735926712253,"filename":"image_03012025_18_50_02_994322_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/bc2a1d3910dca1f1ad80d7f1b47c6041.jpg","text":"TemporaryFile(/tmp/multipartBody202190956753091660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735926712253,"filename":"image_03012025_18_50_02_994322_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f46469d631b8a01f0ffa1f1604a116b3.jpg","text":"TemporaryFile(/tmp/multipartBody5712179263168550511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735926712253,"filename":"image_03012025_18_50_02_994322_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325958559","file1":"1325958558","file0":"1325958535","file3":"1325958561"},"map_files_photo_id_array":[{"photo_id":"1325958559","filename":"file2"},{"photo_id":"1325958558","filename":"file1"},{"photo_id":"1325958535","filename":"file0"},{"photo_id":"1325958561","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325958535":["hashtag1","hashtag2"]},{"1325958561":["hashtag1","hashtag2"]},{"1325958558":["hashtag1","hashtag2"]},{"1325958559":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325958535, 1325958561, 1325958558, 1325958559)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.37081575393677 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-03 18:51:32.069100
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/18/50/image_03012025_18_50_02_994322_0003.jpg', '/home/pi/Desktop/images/03012025/18/51/image_03012025_18_51_02_210253_0000.jpg', '/home/pi/Desktop/images/03012025/18/51/image_03012025_18_51_02_210253_0001.jpg', '/home/pi/Desktop/images/03012025/18/51/image_03012025_18_51_02_210253_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/18/50/image_03012025_18_50_02_994322_0003.jpg
/home/pi/Desktop/images/03012025/18/51/image_03012025_18_51_02_210253_0000.jpg
/home/pi/Desktop/images/03012025/18/51/image_03012025_18_51_02_210253_0001.jpg
/home/pi/Desktop/images/03012025/18/51/image_03012025_18_51_02_210253_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.744137048721313 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-03 18:51:52.001667
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/18/50/image_03012025_18_50_02_994322_0003.jpg', '/home/pi/Desktop/images/03012025/18/51/image_03012025_18_51_02_210253_0000.jpg', '/home/pi/Desktop/images/03012025/18/51/image_03012025_18_51_02_210253_0001.jpg', '/home/pi/Desktop/images/03012025/18/51/image_03012025_18_51_02_210253_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/18/50/image_03012025_18_50_02_994322_0003.jpg
/home/pi/Desktop/images/03012025/18/51/image_03012025_18_51_02_210253_0000.jpg
/home/pi/Desktop/images/03012025/18/51/image_03012025_18_51_02_210253_0001.jpg
/home/pi/Desktop/images/03012025/18/51/image_03012025_18_51_02_210253_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325958984","1325958986","1325958989","1325958859"],"photo_ids_order":["1325958859","1325958984","1325958986","1325958989"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1205bf6b8bca0479be5f10c993f10347.jpg","text":"TemporaryFile(/tmp/multipartBody8589585299910496111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735926782193,"filename":"image_03012025_18_51_02_210253_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4caf16b94fa46ebb349040989a7ca87a.jpg","text":"TemporaryFile(/tmp/multipartBody5854669897612416603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735926782193,"filename":"image_03012025_18_51_02_210253_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9dac20eba61b55d71bb012137f419471.jpg","text":"TemporaryFile(/tmp/multipartBody4771881471869119146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735926782193,"filename":"image_03012025_18_51_02_210253_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a02591da573c8259c6d152ee34ed1533.jpg","text":"TemporaryFile(/tmp/multipartBody9000378578031489612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735926782193,"filename":"image_03012025_18_50_02_994322_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325958986","file1":"1325958984","file0":"1325958859","file3":"1325958989"},"map_files_photo_id_array":[{"photo_id":"1325958986","filename":"file2"},{"photo_id":"1325958984","filename":"file1"},{"photo_id":"1325958859","filename":"file0"},{"photo_id":"1325958989","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325958984":["hashtag1","hashtag2"]},{"1325958986":["hashtag1","hashtag2"]},{"1325958989":["hashtag1","hashtag2"]},{"1325958859":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325958984, 1325958986, 1325958989, 1325958859)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.677470207214355 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-03 18:52:42.274077
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/18/51/image_03012025_18_51_02_210253_0003.jpg', '/home/pi/Desktop/images/03012025/18/52/image_03012025_18_52_02_387632_0000.jpg', '/home/pi/Desktop/images/03012025/18/52/image_03012025_18_52_02_387632_0001.jpg', '/home/pi/Desktop/images/03012025/18/52/image_03012025_18_52_02_387632_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/18/51/image_03012025_18_51_02_210253_0003.jpg
/home/pi/Desktop/images/03012025/18/52/image_03012025_18_52_02_387632_0000.jpg
/home/pi/Desktop/images/03012025/18/52/image_03012025_18_52_02_387632_0001.jpg
/home/pi/Desktop/images/03012025/18/52/image_03012025_18_52_02_387632_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325959161","1325959158","1325959154","1325959156"],"photo_ids_order":["1325959154","1325959156","1325959158","1325959161"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6aeaacb726e2b66c3b6f8f1c6fba8b52.jpg","text":"TemporaryFile(/tmp/multipartBody2905034797232602087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735926832586,"filename":"image_03012025_18_52_02_387632_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c81f5833cfb699eaf4ef6952ab5aa46d.jpg","text":"TemporaryFile(/tmp/multipartBody7776920447227566137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735926832586,"filename":"image_03012025_18_52_02_387632_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/dc03707acdbea57a0f3729e63689916d.jpg","text":"TemporaryFile(/tmp/multipartBody5714381585674244745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735926832586,"filename":"image_03012025_18_51_02_210253_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b9ec5139993ac86e1ed6bd2a4264bb1f.jpg","text":"TemporaryFile(/tmp/multipartBody3050466196311047496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735926832586,"filename":"image_03012025_18_52_02_387632_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325959158","file1":"1325959156","file0":"1325959154","file3":"1325959161"},"map_files_photo_id_array":[{"photo_id":"1325959158","filename":"file2"},{"photo_id":"1325959156","filename":"file1"},{"photo_id":"1325959154","filename":"file0"},{"photo_id":"1325959161","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325959161":["hashtag1","hashtag2"]},{"1325959158":["hashtag1","hashtag2"]},{"1325959154":["hashtag1","hashtag2"]},{"1325959156":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325959161, 1325959158, 1325959154, 1325959156)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.64808702468872 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-03 18:53:32.344824
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/18/52/image_03012025_18_52_02_387632_0003.jpg', '/home/pi/Desktop/images/03012025/18/53/image_03012025_18_53_02_617383_0000.jpg', '/home/pi/Desktop/images/03012025/18/53/image_03012025_18_53_02_617383_0001.jpg', '/home/pi/Desktop/images/03012025/18/53/image_03012025_18_53_02_617383_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/18/52/image_03012025_18_52_02_387632_0003.jpg
/home/pi/Desktop/images/03012025/18/53/image_03012025_18_53_02_617383_0000.jpg
/home/pi/Desktop/images/03012025/18/53/image_03012025_18_53_02_617383_0001.jpg
/home/pi/Desktop/images/03012025/18/53/image_03012025_18_53_02_617383_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325959959","1325959500","1325959961","1325959844"],"photo_ids_order":["1325959500","1325959844","1325959959","1325959961"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8a55ce002d8e628e73e49964c9ac998a.jpg","text":"TemporaryFile(/tmp/multipartBody3624831276539641242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735926882823,"filename":"image_03012025_18_53_02_617383_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0c600be54489ad28f697d05534f04cf6.jpg","text":"TemporaryFile(/tmp/multipartBody4971128224882834621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735926882823,"filename":"image_03012025_18_52_02_387632_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/db43aa913d2ad5e037c132e5172deccc.jpg","text":"TemporaryFile(/tmp/multipartBody7289001745230670464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735926882823,"filename":"image_03012025_18_53_02_617383_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/aaa31143e068b91b2ba6ef1c1a63d406.jpg","text":"TemporaryFile(/tmp/multipartBody3204127081948261458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735926882823,"filename":"image_03012025_18_53_02_617383_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325959959","file1":"1325959844","file0":"1325959500","file3":"1325959961"},"map_files_photo_id_array":[{"photo_id":"1325959959","filename":"file2"},{"photo_id":"1325959844","filename":"file1"},{"photo_id":"1325959500","filename":"file0"},{"photo_id":"1325959961","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325959959":["hashtag1","hashtag2"]},{"1325959500":["hashtag1","hashtag2"]},{"1325959961":["hashtag1","hashtag2"]},{"1325959844":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325959959, 1325959500, 1325959961, 1325959844)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.180063247680664 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 18:54:22.591718
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/18/53/image_03012025_18_53_02_617383_0003.jpg', '/home/pi/Desktop/images/03012025/18/54/image_03012025_18_54_02_737989_0000.jpg', '/home/pi/Desktop/images/03012025/18/54/image_03012025_18_54_02_737989_0001.jpg', '/home/pi/Desktop/images/03012025/18/54/image_03012025_18_54_02_737989_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/18/53/image_03012025_18_53_02_617383_0003.jpg
/home/pi/Desktop/images/03012025/18/54/image_03012025_18_54_02_737989_0000.jpg
/home/pi/Desktop/images/03012025/18/54/image_03012025_18_54_02_737989_0001.jpg
/home/pi/Desktop/images/03012025/18/54/image_03012025_18_54_02_737989_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325960256","1325960261","1325960251","1325960245"],"photo_ids_order":["1325960245","1325960251","1325960256","1325960261"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/fc9e34db0bdcc0eee611f1dcba006174.jpg","text":"TemporaryFile(/tmp/multipartBody4856499201478605187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735926932892,"filename":"image_03012025_18_54_02_737989_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4e4a315a81fc7745402e5b27a9bfaed4.jpg","text":"TemporaryFile(/tmp/multipartBody456250942751577807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735926932892,"filename":"image_03012025_18_54_02_737989_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7626fb00bce27e911651f4bdc3f5adec.jpg","text":"TemporaryFile(/tmp/multipartBody1793392897891012800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735926932892,"filename":"image_03012025_18_54_02_737989_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/71b1d1253e85d5b3a58e5abe1d0e7dc2.jpg","text":"TemporaryFile(/tmp/multipartBody7567416647071199183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735926932892,"filename":"image_03012025_18_53_02_617383_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325960256","file1":"1325960251","file0":"1325960245","file3":"1325960261"},"map_files_photo_id_array":[{"photo_id":"1325960256","filename":"file2"},{"photo_id":"1325960251","filename":"file1"},{"photo_id":"1325960245","filename":"file0"},{"photo_id":"1325960261","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325960256":["hashtag1","hashtag2"]},{"1325960261":["hashtag1","hashtag2"]},{"1325960251":["hashtag1","hashtag2"]},{"1325960245":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325960256, 1325960261, 1325960251, 1325960245)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.659053564071655 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 18:55:03.226745
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 18:55:22.789940
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/18/54/image_03012025_18_54_02_737989_0003.jpg', '/home/pi/Desktop/images/03012025/18/55/image_03012025_18_55_02_952670_0000.jpg', '/home/pi/Desktop/images/03012025/18/55/image_03012025_18_55_02_952670_0001.jpg', '/home/pi/Desktop/images/03012025/18/55/image_03012025_18_55_02_952670_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/18/54/image_03012025_18_54_02_737989_0003.jpg
/home/pi/Desktop/images/03012025/18/55/image_03012025_18_55_02_952670_0000.jpg
/home/pi/Desktop/images/03012025/18/55/image_03012025_18_55_02_952670_0001.jpg
/home/pi/Desktop/images/03012025/18/55/image_03012025_18_55_02_952670_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325960714","1325960711","1325960705","1325960708"],"photo_ids_order":["1325960705","1325960708","1325960711","1325960714"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9637b59c1704c86800ffd4766b0adfc1.jpg","text":"TemporaryFile(/tmp/multipartBody2927883899670896995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735926993106,"filename":"image_03012025_18_55_02_952670_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d49f0460a37b84450159eb4b8676cc4c.jpg","text":"TemporaryFile(/tmp/multipartBody2937988356842381329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735926993106,"filename":"image_03012025_18_55_02_952670_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6db84539c87f54bc09739f4c1206cbce.jpg","text":"TemporaryFile(/tmp/multipartBody1466655136527570209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735926993106,"filename":"image_03012025_18_54_02_737989_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ebfe6b5b78c27bd03e29ab03559530b9.jpg","text":"TemporaryFile(/tmp/multipartBody8921467093226315768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735926993106,"filename":"image_03012025_18_55_02_952670_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325960711","file1":"1325960708","file0":"1325960705","file3":"1325960714"},"map_files_photo_id_array":[{"photo_id":"1325960711","filename":"file2"},{"photo_id":"1325960708","filename":"file1"},{"photo_id":"1325960705","filename":"file0"},{"photo_id":"1325960714","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325960714":["hashtag1","hashtag2"]},{"1325960711":["hashtag1","hashtag2"]},{"1325960705":["hashtag1","hashtag2"]},{"1325960708":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325960714, 1325960711, 1325960705, 1325960708)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.73022437095642 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 18:56:21.841312
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/18/55/image_03012025_18_55_02_952670_0003.jpg', '/home/pi/Desktop/images/03012025/18/56/image_03012025_18_56_03_019107_0000.jpg', '/home/pi/Desktop/images/03012025/18/56/image_03012025_18_56_03_019107_0001.jpg', '/home/pi/Desktop/images/03012025/18/56/image_03012025_18_56_03_019107_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/18/55/image_03012025_18_55_02_952670_0003.jpg
/home/pi/Desktop/images/03012025/18/56/image_03012025_18_56_03_019107_0000.jpg
/home/pi/Desktop/images/03012025/18/56/image_03012025_18_56_03_019107_0001.jpg
/home/pi/Desktop/images/03012025/18/56/image_03012025_18_56_03_019107_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325960784","1325960777","1325960780","1325960788"],"photo_ids_order":["1325960777","1325960780","1325960784","1325960788"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/552bb81b19b6859ed81c148d3503bba4.jpg","text":"TemporaryFile(/tmp/multipartBody363759400937613718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735927052157,"filename":"image_03012025_18_56_03_019107_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4be4d8ef1c9c98c028cd81a182c9438b.jpg","text":"TemporaryFile(/tmp/multipartBody6465532347327713277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735927052157,"filename":"image_03012025_18_55_02_952670_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ea75b2c6fd2d2fe06475432ac557733a.jpg","text":"TemporaryFile(/tmp/multipartBody1346306028853145240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735927052157,"filename":"image_03012025_18_56_03_019107_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/89e4a0d221dbc366456243f3438ba8cd.jpg","text":"TemporaryFile(/tmp/multipartBody3164377065837407306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735927052157,"filename":"image_03012025_18_56_03_019107_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325960784","file1":"1325960780","file0":"1325960777","file3":"1325960788"},"map_files_photo_id_array":[{"photo_id":"1325960784","filename":"file2"},{"photo_id":"1325960780","filename":"file1"},{"photo_id":"1325960777","filename":"file0"},{"photo_id":"1325960788","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325960784":["hashtag1","hashtag2"]},{"1325960777":["hashtag1","hashtag2"]},{"1325960780":["hashtag1","hashtag2"]},{"1325960788":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325960784, 1325960777, 1325960780, 1325960788)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.226195096969604 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 18:57:02.701827
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 18:57:22.072445
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/18/56/image_03012025_18_56_03_019107_0003.jpg', '/home/pi/Desktop/images/03012025/18/57/image_03012025_18_57_02_219769_0000.jpg', '/home/pi/Desktop/images/03012025/18/57/image_03012025_18_57_02_219769_0001.jpg', '/home/pi/Desktop/images/03012025/18/57/image_03012025_18_57_02_219769_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/18/56/image_03012025_18_56_03_019107_0003.jpg
/home/pi/Desktop/images/03012025/18/57/image_03012025_18_57_02_219769_0000.jpg
/home/pi/Desktop/images/03012025/18/57/image_03012025_18_57_02_219769_0001.jpg
/home/pi/Desktop/images/03012025/18/57/image_03012025_18_57_02_219769_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325961768","1325961624","1325962074","1325961687"],"photo_ids_order":["1325961624","1325961687","1325961768","1325962074"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ed1c9861c19ffc816569e0f287026369.jpg","text":"TemporaryFile(/tmp/multipartBody3936034075927590780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735927112424,"filename":"image_03012025_18_57_02_219769_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8c5d5a3f1e66669feb1df46e15f6fe59.jpg","text":"TemporaryFile(/tmp/multipartBody8193225217417390124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735927112424,"filename":"image_03012025_18_56_03_019107_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5fd5ebb673cbee111c4a765417308dfd.jpg","text":"TemporaryFile(/tmp/multipartBody364671850209987546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735927112424,"filename":"image_03012025_18_57_02_219769_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/34f9bd3ca119b4e775929e150c9b006f.jpg","text":"TemporaryFile(/tmp/multipartBody5069672083515546477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735927112424,"filename":"image_03012025_18_57_02_219769_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325961768","file1":"1325961687","file0":"1325961624","file3":"1325962074"},"map_files_photo_id_array":[{"photo_id":"1325961768","filename":"file2"},{"photo_id":"1325961687","filename":"file1"},{"photo_id":"1325961624","filename":"file0"},{"photo_id":"1325962074","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325961768":["hashtag1","hashtag2"]},{"1325961624":["hashtag1","hashtag2"]},{"1325962074":["hashtag1","hashtag2"]},{"1325961687":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325961768, 1325961624, 1325962074, 1325961687)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.87816095352173 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 18:59:03.004025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/18/57/image_03012025_18_57_02_219769_0003.jpg', '/home/pi/Desktop/images/03012025/18/58/image_03012025_18_58_02_382772_0000.jpg', '/home/pi/Desktop/images/03012025/18/58/image_03012025_18_58_02_382772_0001.jpg', '/home/pi/Desktop/images/03012025/18/58/image_03012025_18_58_02_382772_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/18/57/image_03012025_18_57_02_219769_0003.jpg
/home/pi/Desktop/images/03012025/18/58/image_03012025_18_58_02_382772_0000.jpg
/home/pi/Desktop/images/03012025/18/58/image_03012025_18_58_02_382772_0001.jpg
/home/pi/Desktop/images/03012025/18/58/image_03012025_18_58_02_382772_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.888546466827393 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 18:59:22.435866
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/18/57/image_03012025_18_57_02_219769_0003.jpg', '/home/pi/Desktop/images/03012025/18/58/image_03012025_18_58_02_382772_0000.jpg', '/home/pi/Desktop/images/03012025/18/58/image_03012025_18_58_02_382772_0001.jpg', '/home/pi/Desktop/images/03012025/18/58/image_03012025_18_58_02_382772_0002.jpg', '/home/pi/Desktop/images/03012025/18/58/image_03012025_18_58_02_382772_0003.jpg', '/home/pi/Desktop/images/03012025/18/59/image_03012025_18_59_02_634983_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/18/57/image_03012025_18_57_02_219769_0003.jpg
/home/pi/Desktop/images/03012025/18/58/image_03012025_18_58_02_382772_0000.jpg
/home/pi/Desktop/images/03012025/18/58/image_03012025_18_58_02_382772_0001.jpg
/home/pi/Desktop/images/03012025/18/58/image_03012025_18_58_02_382772_0002.jpg
/home/pi/Desktop/images/03012025/18/58/image_03012025_18_58_02_382772_0003.jpg
/home/pi/Desktop/images/03012025/18/59/image_03012025_18_59_02_634983_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":["1325963141","1325962988","1325963161","1325963143","1325962687","1325962620"],"photo_ids_order":["1325962620","1325962687","1325962988","1325963141","1325963143","1325963161"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d10ed80ffbc6a6527e4b12056c59fe22.jpg","text":"TemporaryFile(/tmp/multipartBody3084974389591789474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735927237426,"filename":"image_03012025_18_58_02_382772_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/aabfc3ba618c663e3b1b9c6f9911cfe5.jpg","text":"TemporaryFile(/tmp/multipartBody8408623082456290200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735927237426,"filename":"image_03012025_18_58_02_382772_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2078ed0a07cfe82fcb98abbd66025785.jpg","text":"TemporaryFile(/tmp/multipartBody8204631576339640571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735927237426,"filename":"image_03012025_18_59_02_634983_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9c4a986c3a4a349219441602b0835396.jpg","text":"TemporaryFile(/tmp/multipartBody264014313212399346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735927237426,"filename":"image_03012025_18_58_02_382772_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5e71ac4ec5add6cbb7ee3373917e13a6.jpg","text":"TemporaryFile(/tmp/multipartBody1018404126459474027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735927237426,"filename":"image_03012025_18_58_02_382772_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6bd38853feec8572aecf0bff14ca0cb6.jpg","text":"TemporaryFile(/tmp/multipartBody6372689712663398911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735927237426,"filename":"image_03012025_18_57_02_219769_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325962988","file1":"1325962687","file0":"1325962620","file4":"1325963143","file5":"1325963161","file3":"1325963141"},"map_files_photo_id_array":[{"photo_id":"1325963161","filename":"file5"},{"photo_id":"1325962988","filename":"file2"},{"photo_id":"1325963143","filename":"file4"},{"photo_id":"1325962687","filename":"file1"},{"photo_id":"1325962620","filename":"file0"},{"photo_id":"1325963141","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325963141":["hashtag1","hashtag2"]},{"1325962988":["hashtag1","hashtag2"]},{"1325963161":["hashtag1","hashtag2"]},{"1325963143":["hashtag1","hashtag2"]},{"1325962687":["hashtag1","hashtag2"]},{"1325962620":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325963141, 1325962988, 1325963161, 1325963143, 1325962687, 1325962620)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.54785871505737 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 19:00:22.577654
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/18/59/image_03012025_18_59_02_634983_0001.jpg', '/home/pi/Desktop/images/03012025/18/59/image_03012025_18_59_02_634983_0002.jpg', '/home/pi/Desktop/images/03012025/18/59/image_03012025_18_59_02_634983_0003.jpg', '/home/pi/Desktop/images/03012025/19/00/image_03012025_19_00_02_723048_0000.jpg', '/home/pi/Desktop/images/03012025/19/00/image_03012025_19_00_02_723048_0001.jpg', '/home/pi/Desktop/images/03012025/19/00/image_03012025_19_00_02_723048_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/18/59/image_03012025_18_59_02_634983_0001.jpg
/home/pi/Desktop/images/03012025/18/59/image_03012025_18_59_02_634983_0002.jpg
/home/pi/Desktop/images/03012025/18/59/image_03012025_18_59_02_634983_0003.jpg
/home/pi/Desktop/images/03012025/19/00/image_03012025_19_00_02_723048_0000.jpg
/home/pi/Desktop/images/03012025/19/00/image_03012025_19_00_02_723048_0001.jpg
/home/pi/Desktop/images/03012025/19/00/image_03012025_19_00_02_723048_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325964046","1325964010","1325963920","1325963806","1325964012","1325963955"],"photo_ids_order":["1325963806","1325963920","1325963955","1325964010","1325964012","1325964046"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b63165cfe0a810868536e123fd48c49e.jpg","text":"TemporaryFile(/tmp/multipartBody7199153280806053172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735927297827,"filename":"image_03012025_19_00_02_723048_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2674ad2f1dee1d05d091a64c9598ce47.jpg","text":"TemporaryFile(/tmp/multipartBody4695984190198358177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735927297827,"filename":"image_03012025_19_00_02_723048_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2652bf56b55c2c09a0bb69173fe4855b.jpg","text":"TemporaryFile(/tmp/multipartBody691489924394206197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735927297827,"filename":"image_03012025_18_59_02_634983_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7e25813c06696a21f268ed2358b58c43.jpg","text":"TemporaryFile(/tmp/multipartBody6203636671015664671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735927297827,"filename":"image_03012025_18_59_02_634983_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4bac45bc737d92d1ba6dade216e33f28.jpg","text":"TemporaryFile(/tmp/multipartBody2602310634309180363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735927297827,"filename":"image_03012025_19_00_02_723048_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7a3ed7c6dc71df60288127c18956f13d.jpg","text":"TemporaryFile(/tmp/multipartBody4773290394539252035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735927297827,"filename":"image_03012025_18_59_02_634983_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325963955","file1":"1325963920","file0":"1325963806","file4":"1325964012","file5":"1325964046","file3":"1325964010"},"map_files_photo_id_array":[{"photo_id":"1325964046","filename":"file5"},{"photo_id":"1325963955","filename":"file2"},{"photo_id":"1325964012","filename":"file4"},{"photo_id":"1325963920","filename":"file1"},{"photo_id":"1325963806","filename":"file0"},{"photo_id":"1325964010","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325964046":["hashtag1","hashtag2"]},{"1325964010":["hashtag1","hashtag2"]},{"1325963920":["hashtag1","hashtag2"]},{"1325963806":["hashtag1","hashtag2"]},{"1325964012":["hashtag1","hashtag2"]},{"1325963955":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325964046, 1325964010, 1325963920, 1325963806, 1325964012, 1325963955)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.62299966812134 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 19:01:22.792368
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/19/00/image_03012025_19_00_02_723048_0003.jpg', '/home/pi/Desktop/images/03012025/19/01/image_03012025_19_01_02_927647_0000.jpg', '/home/pi/Desktop/images/03012025/19/01/image_03012025_19_01_02_927647_0001.jpg', '/home/pi/Desktop/images/03012025/19/01/image_03012025_19_01_02_927647_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/19/00/image_03012025_19_00_02_723048_0003.jpg
/home/pi/Desktop/images/03012025/19/01/image_03012025_19_01_02_927647_0000.jpg
/home/pi/Desktop/images/03012025/19/01/image_03012025_19_01_02_927647_0001.jpg
/home/pi/Desktop/images/03012025/19/01/image_03012025_19_01_02_927647_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325964057","1325964062","1325964065","1325964059"],"photo_ids_order":["1325964057","1325964059","1325964062","1325964065"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/64c1d24cde0178944b089b074fe3df1a.jpg","text":"TemporaryFile(/tmp/multipartBody8228255794620485835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735927352881,"filename":"image_03012025_19_00_02_723048_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/898cb622dae60b38f7c8d60e923ea02e.jpg","text":"TemporaryFile(/tmp/multipartBody2786392715398881157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735927352881,"filename":"image_03012025_19_01_02_927647_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9909c770c1c53e2efe011c887d425369.jpg","text":"TemporaryFile(/tmp/multipartBody7232674303578559754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735927352881,"filename":"image_03012025_19_01_02_927647_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9cfc807cb0dac19551b68f509c46a338.jpg","text":"TemporaryFile(/tmp/multipartBody1308683254372017142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735927352881,"filename":"image_03012025_19_01_02_927647_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325964062","file1":"1325964059","file0":"1325964057","file3":"1325964065"},"map_files_photo_id_array":[{"photo_id":"1325964062","filename":"file2"},{"photo_id":"1325964059","filename":"file1"},{"photo_id":"1325964057","filename":"file0"},{"photo_id":"1325964065","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325964057":["hashtag1","hashtag2"]},{"1325964062":["hashtag1","hashtag2"]},{"1325964065":["hashtag1","hashtag2"]},{"1325964059":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325964057, 1325964062, 1325964065, 1325964059)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.530513525009155 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 19:02:22.013091
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/19/01/image_03012025_19_01_02_927647_0003.jpg', '/home/pi/Desktop/images/03012025/19/02/image_03012025_19_02_03_087907_0000.jpg', '/home/pi/Desktop/images/03012025/19/02/image_03012025_19_02_03_087907_0001.jpg', '/home/pi/Desktop/images/03012025/19/02/image_03012025_19_02_03_087907_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/19/01/image_03012025_19_01_02_927647_0003.jpg
/home/pi/Desktop/images/03012025/19/02/image_03012025_19_02_03_087907_0000.jpg
/home/pi/Desktop/images/03012025/19/02/image_03012025_19_02_03_087907_0001.jpg
/home/pi/Desktop/images/03012025/19/02/image_03012025_19_02_03_087907_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325964800","1325964506","1325964820","1325964162"],"photo_ids_order":["1325964162","1325964506","1325964800","1325964820"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/548ab92c231008506496f0264e78aa31.jpg","text":"TemporaryFile(/tmp/multipartBody2330617421777276484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735927412264,"filename":"image_03012025_19_02_03_087907_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7b793bca1da240d2b792ee2ebc9bba6a.jpg","text":"TemporaryFile(/tmp/multipartBody5723066644950320533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735927412264,"filename":"image_03012025_19_02_03_087907_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a9d1ec6c7ef90112c0fca2ef5b2ce860.jpg","text":"TemporaryFile(/tmp/multipartBody5902620879654111825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735927412264,"filename":"image_03012025_19_02_03_087907_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/47c61f4a85d7f5bab3677ef7964b106c.jpg","text":"TemporaryFile(/tmp/multipartBody7279173679349535686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735927412264,"filename":"image_03012025_19_01_02_927647_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325964800","file1":"1325964506","file0":"1325964162","file3":"1325964820"},"map_files_photo_id_array":[{"photo_id":"1325964800","filename":"file2"},{"photo_id":"1325964506","filename":"file1"},{"photo_id":"1325964162","filename":"file0"},{"photo_id":"1325964820","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325964800":["hashtag1","hashtag2"]},{"1325964506":["hashtag1","hashtag2"]},{"1325964820":["hashtag1","hashtag2"]},{"1325964162":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325964800, 1325964506, 1325964820, 1325964162)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.09962058067322 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 19:03:02.785034
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 19:03:22.254500
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/19/02/image_03012025_19_02_03_087907_0003.jpg', '/home/pi/Desktop/images/03012025/19/03/image_03012025_19_03_02_409744_0000.jpg', '/home/pi/Desktop/images/03012025/19/03/image_03012025_19_03_02_409744_0001.jpg', '/home/pi/Desktop/images/03012025/19/03/image_03012025_19_03_02_409744_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/19/02/image_03012025_19_02_03_087907_0003.jpg
/home/pi/Desktop/images/03012025/19/03/image_03012025_19_03_02_409744_0000.jpg
/home/pi/Desktop/images/03012025/19/03/image_03012025_19_03_02_409744_0001.jpg
/home/pi/Desktop/images/03012025/19/03/image_03012025_19_03_02_409744_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325965329","1325965331","1325965058","1325965106"],"photo_ids_order":["1325965058","1325965106","1325965329","1325965331"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c23b0ce060a3de1b697d9f43f17d2199.jpg","text":"TemporaryFile(/tmp/multipartBody6878461976020190228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735927472462,"filename":"image_03012025_19_03_02_409744_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6e4ed8d17c24fa6f57d5e4bdea760525.jpg","text":"TemporaryFile(/tmp/multipartBody5723012658288644183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735927472462,"filename":"image_03012025_19_03_02_409744_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/369fdf6cf4d8f3ed2a0354118dba4acb.jpg","text":"TemporaryFile(/tmp/multipartBody6215170546988041356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735927472462,"filename":"image_03012025_19_02_03_087907_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8370d1ebb928d0f658c18f073159847e.jpg","text":"TemporaryFile(/tmp/multipartBody7210490595762020700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735927472462,"filename":"image_03012025_19_03_02_409744_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325965329","file1":"1325965106","file0":"1325965058","file3":"1325965331"},"map_files_photo_id_array":[{"photo_id":"1325965329","filename":"file2"},{"photo_id":"1325965106","filename":"file1"},{"photo_id":"1325965058","filename":"file0"},{"photo_id":"1325965331","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325965329":["hashtag1","hashtag2"]},{"1325965331":["hashtag1","hashtag2"]},{"1325965058":["hashtag1","hashtag2"]},{"1325965106":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325965329, 1325965331, 1325965058, 1325965106)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.013386487960815 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 19:04:22.446417
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/19/03/image_03012025_19_03_02_409744_0003.jpg', '/home/pi/Desktop/images/03012025/19/04/image_03012025_19_04_02_570114_0000.jpg', '/home/pi/Desktop/images/03012025/19/04/image_03012025_19_04_02_570114_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/19/03/image_03012025_19_03_02_409744_0003.jpg
/home/pi/Desktop/images/03012025/19/04/image_03012025_19_04_02_570114_0000.jpg
/home/pi/Desktop/images/03012025/19/04/image_03012025_19_04_02_570114_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325965512","1325965487","1325965484"],"photo_ids_order":["1325965484","1325965487","1325965512"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b6ab579a98b9bd0fbbf4b6a0b9beb2df.jpg","text":"TemporaryFile(/tmp/multipartBody2192256447224833869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735927530337,"filename":"image_03012025_19_04_02_570114_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/61cf5f025844d47f051666329ca6b1bf.jpg","text":"TemporaryFile(/tmp/multipartBody1895623837173309804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735927530337,"filename":"image_03012025_19_04_02_570114_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/328f12efbeaafef418b11317d423a8fd.jpg","text":"TemporaryFile(/tmp/multipartBody3062107883069124269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735927530337,"filename":"image_03012025_19_03_02_409744_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325965512","file1":"1325965487","file0":"1325965484"},"map_files_photo_id_array":[{"photo_id":"1325965512","filename":"file2"},{"photo_id":"1325965487","filename":"file1"},{"photo_id":"1325965484","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325965512":["hashtag1","hashtag2"]},{"1325965487":["hashtag1","hashtag2"]},{"1325965484":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325965512, 1325965487, 1325965484)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.898037433624268 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 19:05:03.143338
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 19:05:22.589782
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/19/04/image_03012025_19_04_02_570114_0003.jpg', '/home/pi/Desktop/images/03012025/19/05/image_03012025_19_05_02_740314_0000.jpg', '/home/pi/Desktop/images/03012025/19/05/image_03012025_19_05_02_740314_0001.jpg', '/home/pi/Desktop/images/03012025/19/05/image_03012025_19_05_02_740314_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/19/04/image_03012025_19_04_02_570114_0003.jpg
/home/pi/Desktop/images/03012025/19/05/image_03012025_19_05_02_740314_0000.jpg
/home/pi/Desktop/images/03012025/19/05/image_03012025_19_05_02_740314_0001.jpg
/home/pi/Desktop/images/03012025/19/05/image_03012025_19_05_02_740314_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325966079","1325966379","1325966076","1325966428"],"photo_ids_order":["1325966076","1325966079","1325966379","1325966428"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/27a01dd3405a4454333c223f7a00d9b8.jpg","text":"TemporaryFile(/tmp/multipartBody3978514080337080563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735927592944,"filename":"image_03012025_19_05_02_740314_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/731745673fc70040a553a79b797561f7.jpg","text":"TemporaryFile(/tmp/multipartBody3582275377236945016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735927592944,"filename":"image_03012025_19_05_02_740314_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2061f09dfe31cc8d0ab417f0f7c8d78e.jpg","text":"TemporaryFile(/tmp/multipartBody3896555130436613255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735927592944,"filename":"image_03012025_19_04_02_570114_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6b583c3b898196aed254a570b3029b45.jpg","text":"TemporaryFile(/tmp/multipartBody4177843986192097647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735927592944,"filename":"image_03012025_19_05_02_740314_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325966379","file1":"1325966079","file0":"1325966076","file3":"1325966428"},"map_files_photo_id_array":[{"photo_id":"1325966379","filename":"file2"},{"photo_id":"1325966079","filename":"file1"},{"photo_id":"1325966076","filename":"file0"},{"photo_id":"1325966428","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325966079":["hashtag1","hashtag2"]},{"1325966379":["hashtag1","hashtag2"]},{"1325966076":["hashtag1","hashtag2"]},{"1325966428":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325966079, 1325966379, 1325966076, 1325966428)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 39.654149770736694 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 19:06:22.786225
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/19/05/image_03012025_19_05_02_740314_0003.jpg', '/home/pi/Desktop/images/03012025/19/06/image_03012025_19_06_02_923333_0000.jpg', '/home/pi/Desktop/images/03012025/19/06/image_03012025_19_06_02_923333_0001.jpg', '/home/pi/Desktop/images/03012025/19/06/image_03012025_19_06_02_923333_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/19/05/image_03012025_19_05_02_740314_0003.jpg
/home/pi/Desktop/images/03012025/19/06/image_03012025_19_06_02_923333_0000.jpg
/home/pi/Desktop/images/03012025/19/06/image_03012025_19_06_02_923333_0001.jpg
/home/pi/Desktop/images/03012025/19/06/image_03012025_19_06_02_923333_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325966831","1325966834","1325966836","1325966833"],"photo_ids_order":["1325966831","1325966833","1325966834","1325966836"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/df37558f30b81845d4b882f23b24ffb2.jpg","text":"TemporaryFile(/tmp/multipartBody1858718168241311320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735927652971,"filename":"image_03012025_19_05_02_740314_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6259f8b818bad3b4bf464555d4df300d.jpg","text":"TemporaryFile(/tmp/multipartBody977045292921819697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735927652971,"filename":"image_03012025_19_06_02_923333_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c64b97ea6f286dba0ae5b20bad06784c.jpg","text":"TemporaryFile(/tmp/multipartBody7927805288154896040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735927652971,"filename":"image_03012025_19_06_02_923333_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/09d67cc60f2269058df68e1599e5b1f5.jpg","text":"TemporaryFile(/tmp/multipartBody2596226188381720287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735927652971,"filename":"image_03012025_19_06_02_923333_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325966834","file1":"1325966833","file0":"1325966831","file3":"1325966836"},"map_files_photo_id_array":[{"photo_id":"1325966834","filename":"file2"},{"photo_id":"1325966833","filename":"file1"},{"photo_id":"1325966831","filename":"file0"},{"photo_id":"1325966836","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325966831":["hashtag1","hashtag2"]},{"1325966834":["hashtag1","hashtag2"]},{"1325966836":["hashtag1","hashtag2"]},{"1325966833":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325966831, 1325966834, 1325966836, 1325966833)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.46402430534363 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 19:07:21.891611
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/19/06/image_03012025_19_06_02_923333_0003.jpg', '/home/pi/Desktop/images/03012025/19/07/image_03012025_19_07_03_109360_0000.jpg', '/home/pi/Desktop/images/03012025/19/07/image_03012025_19_07_03_109360_0001.jpg', '/home/pi/Desktop/images/03012025/19/07/image_03012025_19_07_03_109360_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/19/06/image_03012025_19_06_02_923333_0003.jpg
/home/pi/Desktop/images/03012025/19/07/image_03012025_19_07_03_109360_0000.jpg
/home/pi/Desktop/images/03012025/19/07/image_03012025_19_07_03_109360_0001.jpg
/home/pi/Desktop/images/03012025/19/07/image_03012025_19_07_03_109360_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325966856","1325966849","1325967022","1325967090"],"photo_ids_order":["1325966849","1325966856","1325967022","1325967090"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/01a40c994b39c7c6fef8f99c2c8872aa.jpg","text":"TemporaryFile(/tmp/multipartBody3455024623581750495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735927712203,"filename":"image_03012025_19_07_03_109360_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ef00d9369eb06efae83757ddb1e27236.jpg","text":"TemporaryFile(/tmp/multipartBody6721720817844351646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735927712203,"filename":"image_03012025_19_06_02_923333_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/550813c9759744d902719d96b1bccdfe.jpg","text":"TemporaryFile(/tmp/multipartBody467093518917838051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735927712203,"filename":"image_03012025_19_07_03_109360_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6abae4b506dc93e7ac09a3d169635719.jpg","text":"TemporaryFile(/tmp/multipartBody2298838441410771171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735927712203,"filename":"image_03012025_19_07_03_109360_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325967022","file1":"1325966856","file0":"1325966849","file3":"1325967090"},"map_files_photo_id_array":[{"photo_id":"1325967022","filename":"file2"},{"photo_id":"1325966856","filename":"file1"},{"photo_id":"1325966849","filename":"file0"},{"photo_id":"1325967090","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325966856":["hashtag1","hashtag2"]},{"1325966849":["hashtag1","hashtag2"]},{"1325967022":["hashtag1","hashtag2"]},{"1325967090":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325966856, 1325966849, 1325967022, 1325967090)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.44248819351196 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 19:08:02.430183
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 19:08:22.084304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/19/07/image_03012025_19_07_03_109360_0003.jpg', '/home/pi/Desktop/images/03012025/19/08/image_03012025_19_08_02_334145_0000.jpg', '/home/pi/Desktop/images/03012025/19/08/image_03012025_19_08_02_334145_0001.jpg', '/home/pi/Desktop/images/03012025/19/08/image_03012025_19_08_02_334145_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/19/07/image_03012025_19_07_03_109360_0003.jpg
/home/pi/Desktop/images/03012025/19/08/image_03012025_19_08_02_334145_0000.jpg
/home/pi/Desktop/images/03012025/19/08/image_03012025_19_08_02_334145_0001.jpg
/home/pi/Desktop/images/03012025/19/08/image_03012025_19_08_02_334145_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325967456","1325967525","1325967486","1325967240"],"photo_ids_order":["1325967240","1325967456","1325967486","1325967525"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c71e608d68e47f94a2e5df5310f07f39.jpg","text":"TemporaryFile(/tmp/multipartBody5212448163005404843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735927772493,"filename":"image_03012025_19_08_02_334145_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/28f9b4df631904405317775045e107ea.jpg","text":"TemporaryFile(/tmp/multipartBody7985535429867754668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735927772493,"filename":"image_03012025_19_08_02_334145_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/40590471bd1587706fe7d2506a235d98.jpg","text":"TemporaryFile(/tmp/multipartBody8620969947936846847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735927772493,"filename":"image_03012025_19_08_02_334145_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/01c99fe981fc94e19780f82919da6084.jpg","text":"TemporaryFile(/tmp/multipartBody6878755952385240534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735927772493,"filename":"image_03012025_19_07_03_109360_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325967486","file1":"1325967456","file0":"1325967240","file3":"1325967525"},"map_files_photo_id_array":[{"photo_id":"1325967486","filename":"file2"},{"photo_id":"1325967456","filename":"file1"},{"photo_id":"1325967240","filename":"file0"},{"photo_id":"1325967525","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325967456":["hashtag1","hashtag2"]},{"1325967525":["hashtag1","hashtag2"]},{"1325967486":["hashtag1","hashtag2"]},{"1325967240":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325967456, 1325967525, 1325967486, 1325967240)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.57254409790039 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 19:09:22.206450
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/19/08/image_03012025_19_08_02_334145_0003.jpg', '/home/pi/Desktop/images/03012025/19/09/image_03012025_19_09_02_449947_0000.jpg', '/home/pi/Desktop/images/03012025/19/09/image_03012025_19_09_02_449947_0001.jpg', '/home/pi/Desktop/images/03012025/19/09/image_03012025_19_09_02_449947_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/19/08/image_03012025_19_08_02_334145_0003.jpg
/home/pi/Desktop/images/03012025/19/09/image_03012025_19_09_02_449947_0000.jpg
/home/pi/Desktop/images/03012025/19/09/image_03012025_19_09_02_449947_0001.jpg
/home/pi/Desktop/images/03012025/19/09/image_03012025_19_09_02_449947_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325968007","1325968036","1325968015","1325967873"],"photo_ids_order":["1325967873","1325968007","1325968015","1325968036"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ebe30d146ee3a6948b94a1f92fc4dcc8.jpg","text":"TemporaryFile(/tmp/multipartBody5288619771750128391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735927832393,"filename":"image_03012025_19_09_02_449947_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/bb539a84c49159d174d7b5992d6de4fe.jpg","text":"TemporaryFile(/tmp/multipartBody7107049982653917321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735927832393,"filename":"image_03012025_19_09_02_449947_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b36735b4b07910b67e42aa78065aafba.jpg","text":"TemporaryFile(/tmp/multipartBody9018789115446334979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735927832393,"filename":"image_03012025_19_09_02_449947_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e40c116dc01cee79cd2177bb7c5b46a3.jpg","text":"TemporaryFile(/tmp/multipartBody9160922438451943561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735927832393,"filename":"image_03012025_19_08_02_334145_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325968015","file1":"1325968007","file0":"1325967873","file3":"1325968036"},"map_files_photo_id_array":[{"photo_id":"1325968015","filename":"file2"},{"photo_id":"1325968007","filename":"file1"},{"photo_id":"1325967873","filename":"file0"},{"photo_id":"1325968036","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325968007":["hashtag1","hashtag2"]},{"1325968036":["hashtag1","hashtag2"]},{"1325968015":["hashtag1","hashtag2"]},{"1325967873":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325968007, 1325968036, 1325968015, 1325967873)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.297581911087036 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 19:10:02.743301
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 19:10:22.417971
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/19/09/image_03012025_19_09_02_449947_0003.jpg', '/home/pi/Desktop/images/03012025/19/10/image_03012025_19_10_02_622649_0000.jpg', '/home/pi/Desktop/images/03012025/19/10/image_03012025_19_10_02_622649_0001.jpg', '/home/pi/Desktop/images/03012025/19/10/image_03012025_19_10_02_622649_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/19/09/image_03012025_19_09_02_449947_0003.jpg
/home/pi/Desktop/images/03012025/19/10/image_03012025_19_10_02_622649_0000.jpg
/home/pi/Desktop/images/03012025/19/10/image_03012025_19_10_02_622649_0001.jpg
/home/pi/Desktop/images/03012025/19/10/image_03012025_19_10_02_622649_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325968113","1325968088","1325968109","1325968117"],"photo_ids_order":["1325968088","1325968109","1325968113","1325968117"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d75ced87b463225fd82e4130dc894691.jpg","text":"TemporaryFile(/tmp/multipartBody1285627546431818816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735927892785,"filename":"image_03012025_19_10_02_622649_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8aa8f552ee6f43ef06bed2e8632f1aa5.jpg","text":"TemporaryFile(/tmp/multipartBody8124011394987979738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735927892785,"filename":"image_03012025_19_09_02_449947_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a7a9dc971a5477d008aacf816a12f6a0.jpg","text":"TemporaryFile(/tmp/multipartBody1410481781109900448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735927892785,"filename":"image_03012025_19_10_02_622649_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8d70f1ca39d369507d45439996a22934.jpg","text":"TemporaryFile(/tmp/multipartBody8371436998337093727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735927892785,"filename":"image_03012025_19_10_02_622649_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325968113","file1":"1325968109","file0":"1325968088","file3":"1325968117"},"map_files_photo_id_array":[{"photo_id":"1325968113","filename":"file2"},{"photo_id":"1325968109","filename":"file1"},{"photo_id":"1325968088","filename":"file0"},{"photo_id":"1325968117","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325968113":["hashtag1","hashtag2"]},{"1325968088":["hashtag1","hashtag2"]},{"1325968109":["hashtag1","hashtag2"]},{"1325968117":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325968113, 1325968088, 1325968109, 1325968117)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.0111141204834 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 19:11:22.760341
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/19/10/image_03012025_19_10_02_622649_0003.jpg', '/home/pi/Desktop/images/03012025/19/11/image_03012025_19_11_02_725268_0000.jpg', '/home/pi/Desktop/images/03012025/19/11/image_03012025_19_11_02_725268_0001.jpg', '/home/pi/Desktop/images/03012025/19/11/image_03012025_19_11_02_725268_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/19/10/image_03012025_19_10_02_622649_0003.jpg
/home/pi/Desktop/images/03012025/19/11/image_03012025_19_11_02_725268_0000.jpg
/home/pi/Desktop/images/03012025/19/11/image_03012025_19_11_02_725268_0001.jpg
/home/pi/Desktop/images/03012025/19/11/image_03012025_19_11_02_725268_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325968427","1325968483","1325968387","1325968423"],"photo_ids_order":["1325968387","1325968423","1325968427","1325968483"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c97a4fbbbf7ec3084996bf036bf66ab1.jpg","text":"TemporaryFile(/tmp/multipartBody3295215001170803248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735927953029,"filename":"image_03012025_19_11_02_725268_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/63c21748fbec5f6e8c321d6ae8014528.jpg","text":"TemporaryFile(/tmp/multipartBody6359584716258098790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735927953029,"filename":"image_03012025_19_11_02_725268_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f5d3a080dea750f10bc3fe2a00e61afc.jpg","text":"TemporaryFile(/tmp/multipartBody7988845836369257691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735927953029,"filename":"image_03012025_19_10_02_622649_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/506202d55fc8fdad22d6afc9308bd3f6.jpg","text":"TemporaryFile(/tmp/multipartBody6452627838322746464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735927953029,"filename":"image_03012025_19_11_02_725268_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325968427","file1":"1325968423","file0":"1325968387","file3":"1325968483"},"map_files_photo_id_array":[{"photo_id":"1325968427","filename":"file2"},{"photo_id":"1325968423","filename":"file1"},{"photo_id":"1325968387","filename":"file0"},{"photo_id":"1325968483","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325968427":["hashtag1","hashtag2"]},{"1325968483":["hashtag1","hashtag2"]},{"1325968387":["hashtag1","hashtag2"]},{"1325968423":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325968427, 1325968483, 1325968387, 1325968423)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.23084211349487 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 19:12:21.888715
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/19/11/image_03012025_19_11_02_725268_0003.jpg', '/home/pi/Desktop/images/03012025/19/12/image_03012025_19_12_03_084563_0000.jpg', '/home/pi/Desktop/images/03012025/19/12/image_03012025_19_12_03_084563_0001.jpg', '/home/pi/Desktop/images/03012025/19/12/image_03012025_19_12_03_084563_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/19/11/image_03012025_19_11_02_725268_0003.jpg
/home/pi/Desktop/images/03012025/19/12/image_03012025_19_12_03_084563_0000.jpg
/home/pi/Desktop/images/03012025/19/12/image_03012025_19_12_03_084563_0001.jpg
/home/pi/Desktop/images/03012025/19/12/image_03012025_19_12_03_084563_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325968675","1325968849","1325968801","1325968842"],"photo_ids_order":["1325968675","1325968801","1325968842","1325968849"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3b7b77347eb05b1f7efe265f320d9b47.jpg","text":"TemporaryFile(/tmp/multipartBody1317271737337544162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735928012090,"filename":"image_03012025_19_11_02_725268_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/fa54822dcdaeeb7c5c076b6ce461cfc7.jpg","text":"TemporaryFile(/tmp/multipartBody2478127505203621036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735928012090,"filename":"image_03012025_19_12_03_084563_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5baf9419337a8bf6d4d54af2d1efc0b2.jpg","text":"TemporaryFile(/tmp/multipartBody7792813224329165103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735928012090,"filename":"image_03012025_19_12_03_084563_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c76bebe63f8b3844c7b383a2a809f04d.jpg","text":"TemporaryFile(/tmp/multipartBody8487740607613932190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735928012090,"filename":"image_03012025_19_12_03_084563_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325968842","file1":"1325968801","file0":"1325968675","file3":"1325968849"},"map_files_photo_id_array":[{"photo_id":"1325968842","filename":"file2"},{"photo_id":"1325968801","filename":"file1"},{"photo_id":"1325968675","filename":"file0"},{"photo_id":"1325968849","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325968675":["hashtag1","hashtag2"]},{"1325968849":["hashtag1","hashtag2"]},{"1325968801":["hashtag1","hashtag2"]},{"1325968842":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325968675, 1325968849, 1325968801, 1325968842)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.768369913101196 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 19:13:22.088634
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/19/12/image_03012025_19_12_03_084563_0003.jpg', '/home/pi/Desktop/images/03012025/19/13/image_03012025_19_13_02_233036_0000.jpg', '/home/pi/Desktop/images/03012025/19/13/image_03012025_19_13_02_233036_0001.jpg', '/home/pi/Desktop/images/03012025/19/13/image_03012025_19_13_02_233036_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/19/12/image_03012025_19_12_03_084563_0003.jpg
/home/pi/Desktop/images/03012025/19/13/image_03012025_19_13_02_233036_0000.jpg
/home/pi/Desktop/images/03012025/19/13/image_03012025_19_13_02_233036_0001.jpg
/home/pi/Desktop/images/03012025/19/13/image_03012025_19_13_02_233036_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325969342","1325969269","1325969340","1325969333"],"photo_ids_order":["1325969269","1325969333","1325969340","1325969342"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3d9fb9aedfe2eded60f58c31dc475aee.jpg","text":"TemporaryFile(/tmp/multipartBody8448424039042904435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735928072378,"filename":"image_03012025_19_13_02_233036_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d6a2a537385fba5db05dcc857154f9a8.jpg","text":"TemporaryFile(/tmp/multipartBody8050835844085584151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735928072378,"filename":"image_03012025_19_12_03_084563_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ec52fe5b251ac96743da71bfb05ba6c5.jpg","text":"TemporaryFile(/tmp/multipartBody1646797096218796248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735928072378,"filename":"image_03012025_19_13_02_233036_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d9c81b8582b7da11c3cab461abc0b1f5.jpg","text":"TemporaryFile(/tmp/multipartBody3607730432002402321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735928072378,"filename":"image_03012025_19_13_02_233036_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325969340","file1":"1325969333","file0":"1325969269","file3":"1325969342"},"map_files_photo_id_array":[{"photo_id":"1325969340","filename":"file2"},{"photo_id":"1325969333","filename":"file1"},{"photo_id":"1325969269","filename":"file0"},{"photo_id":"1325969342","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325969342":["hashtag1","hashtag2"]},{"1325969269":["hashtag1","hashtag2"]},{"1325969340":["hashtag1","hashtag2"]},{"1325969333":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325969342, 1325969269, 1325969340, 1325969333)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.544904470443726 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-03 19:14:22.314936
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/19/13/image_03012025_19_13_02_233036_0003.jpg', '/home/pi/Desktop/images/03012025/19/14/image_03012025_19_14_02_507837_0000.jpg', '/home/pi/Desktop/images/03012025/19/14/image_03012025_19_14_02_507837_0001.jpg', '/home/pi/Desktop/images/03012025/19/14/image_03012025_19_14_02_507837_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/19/13/image_03012025_19_13_02_233036_0003.jpg
/home/pi/Desktop/images/03012025/19/14/image_03012025_19_14_02_507837_0000.jpg
/home/pi/Desktop/images/03012025/19/14/image_03012025_19_14_02_507837_0001.jpg
/home/pi/Desktop/images/03012025/19/14/image_03012025_19_14_02_507837_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.809176683425903 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-03 19:14:42.308218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/19/13/image_03012025_19_13_02_233036_0003.jpg', '/home/pi/Desktop/images/03012025/19/14/image_03012025_19_14_02_507837_0000.jpg', '/home/pi/Desktop/images/03012025/19/14/image_03012025_19_14_02_507837_0001.jpg', '/home/pi/Desktop/images/03012025/19/14/image_03012025_19_14_02_507837_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/19/13/image_03012025_19_13_02_233036_0003.jpg
/home/pi/Desktop/images/03012025/19/14/image_03012025_19_14_02_507837_0000.jpg
/home/pi/Desktop/images/03012025/19/14/image_03012025_19_14_02_507837_0001.jpg
/home/pi/Desktop/images/03012025/19/14/image_03012025_19_14_02_507837_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":["1325970047","1325970081","1325970039","1325970000"],"photo_ids_order":["1325970000","1325970039","1325970047","1325970081"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a01de04258ace66f61204800fa2bbc42.jpg","text":"TemporaryFile(/tmp/multipartBody375967190663071631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735928152508,"filename":"image_03012025_19_14_02_507837_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/48d20417d5c8a4ce6fafc2876d6bc0f7.jpg","text":"TemporaryFile(/tmp/multipartBody6504009665307563476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735928152508,"filename":"image_03012025_19_14_02_507837_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/411cb5974207f69164491024c0b90649.jpg","text":"TemporaryFile(/tmp/multipartBody7465728176691676628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735928152508,"filename":"image_03012025_19_14_02_507837_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a5fdcdd943c82a5dd9e1eb59628fbe5d.jpg","text":"TemporaryFile(/tmp/multipartBody7347002049078606053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735928152508,"filename":"image_03012025_19_13_02_233036_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325970047","file1":"1325970039","file0":"1325970000","file3":"1325970081"},"map_files_photo_id_array":[{"photo_id":"1325970047","filename":"file2"},{"photo_id":"1325970039","filename":"file1"},{"photo_id":"1325970000","filename":"file0"},{"photo_id":"1325970081","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325970047":["hashtag1","hashtag2"]},{"1325970081":["hashtag1","hashtag2"]},{"1325970039":["hashtag1","hashtag2"]},{"1325970000":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325970047, 1325970081, 1325970039, 1325970000)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.389260053634644 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 19:15:22.408475
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/19/14/image_03012025_19_14_02_507837_0003.jpg', '/home/pi/Desktop/images/03012025/19/15/image_03012025_19_15_02_566973_0000.jpg', '/home/pi/Desktop/images/03012025/19/15/image_03012025_19_15_02_566973_0001.jpg', '/home/pi/Desktop/images/03012025/19/15/image_03012025_19_15_02_566973_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/19/14/image_03012025_19_14_02_507837_0003.jpg
/home/pi/Desktop/images/03012025/19/15/image_03012025_19_15_02_566973_0000.jpg
/home/pi/Desktop/images/03012025/19/15/image_03012025_19_15_02_566973_0001.jpg
/home/pi/Desktop/images/03012025/19/15/image_03012025_19_15_02_566973_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325970347","1325970308","1325970099","1325970306"],"photo_ids_order":["1325970099","1325970306","1325970308","1325970347"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/323016dfe23b02d7171a2f9de4262a6c.jpg","text":"TemporaryFile(/tmp/multipartBody9041800584088201617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735928192676,"filename":"image_03012025_19_15_02_566973_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a96e2f51c88b92066dc31bbbcccff04e.jpg","text":"TemporaryFile(/tmp/multipartBody1499415418591424727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735928192676,"filename":"image_03012025_19_15_02_566973_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9bd33a58e45eeff6881dc766290ccefa.jpg","text":"TemporaryFile(/tmp/multipartBody5826604993317074216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735928192676,"filename":"image_03012025_19_14_02_507837_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0eda0c3f626f8e3f2f0dd5f263985d4c.jpg","text":"TemporaryFile(/tmp/multipartBody9171914712300177823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735928192676,"filename":"image_03012025_19_15_02_566973_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325970308","file1":"1325970306","file0":"1325970099","file3":"1325970347"},"map_files_photo_id_array":[{"photo_id":"1325970308","filename":"file2"},{"photo_id":"1325970306","filename":"file1"},{"photo_id":"1325970099","filename":"file0"},{"photo_id":"1325970347","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325970347":["hashtag1","hashtag2"]},{"1325970308":["hashtag1","hashtag2"]},{"1325970099":["hashtag1","hashtag2"]},{"1325970306":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325970347, 1325970308, 1325970099, 1325970306)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.23973202705383 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 19:16:02.990317
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 19:16:22.562627
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/19/15/image_03012025_19_15_02_566973_0003.jpg', '/home/pi/Desktop/images/03012025/19/16/image_03012025_19_16_02_833827_0000.jpg', '/home/pi/Desktop/images/03012025/19/16/image_03012025_19_16_02_833827_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/19/15/image_03012025_19_15_02_566973_0003.jpg
/home/pi/Desktop/images/03012025/19/16/image_03012025_19_16_02_833827_0000.jpg
/home/pi/Desktop/images/03012025/19/16/image_03012025_19_16_02_833827_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":["1325970638","1325970643","1325970645"],"photo_ids_order":["1325970638","1325970643","1325970645"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ead831e5801694b2e354d4d94f75488a.jpg","text":"TemporaryFile(/tmp/multipartBody5178405410144694260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735928250604,"filename":"image_03012025_19_15_02_566973_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d6b9d694c2215e0f291dab5d0b0ce7ab.jpg","text":"TemporaryFile(/tmp/multipartBody8022205338114543159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735928250604,"filename":"image_03012025_19_16_02_833827_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3a0f182a93aa0f174a25f8a42abedd50.jpg","text":"TemporaryFile(/tmp/multipartBody6785568166076708399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735928250604,"filename":"image_03012025_19_16_02_833827_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325970645","file1":"1325970643","file0":"1325970638"},"map_files_photo_id_array":[{"photo_id":"1325970645","filename":"file2"},{"photo_id":"1325970643","filename":"file1"},{"photo_id":"1325970638","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325970638":["hashtag1","hashtag2"]},{"1325970643":["hashtag1","hashtag2"]},{"1325970645":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325970638, 1325970643, 1325970645)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.281506299972534 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 19:17:02.464089
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 19:17:21.782922
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/19/16/image_03012025_19_16_02_833827_0002.jpg', '/home/pi/Desktop/images/03012025/19/17/image_03012025_19_17_02_866623_0000.jpg', '/home/pi/Desktop/images/03012025/19/17/image_03012025_19_17_02_866623_0001.jpg', '/home/pi/Desktop/images/03012025/19/17/image_03012025_19_17_02_866623_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/19/16/image_03012025_19_16_02_833827_0002.jpg
/home/pi/Desktop/images/03012025/19/17/image_03012025_19_17_02_866623_0000.jpg
/home/pi/Desktop/images/03012025/19/17/image_03012025_19_17_02_866623_0001.jpg
/home/pi/Desktop/images/03012025/19/17/image_03012025_19_17_02_866623_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325970992","1325970965","1325970960","1325971032"],"photo_ids_order":["1325970960","1325970965","1325970992","1325971032"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a774edb38d79e6023f54a43f391fb865.jpg","text":"TemporaryFile(/tmp/multipartBody3167973248110839312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735928312117,"filename":"image_03012025_19_17_02_866623_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6d9a5324aca9a0fb7535e4c4be3d7805.jpg","text":"TemporaryFile(/tmp/multipartBody1714427896498883067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735928312117,"filename":"image_03012025_19_17_02_866623_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1a2062692810a23f8d87960342e4126e.jpg","text":"TemporaryFile(/tmp/multipartBody7377201946765260615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735928312117,"filename":"image_03012025_19_16_02_833827_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/20179173d667e216ff0ae6f9f59b0684.jpg","text":"TemporaryFile(/tmp/multipartBody3087531753109157049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735928312117,"filename":"image_03012025_19_17_02_866623_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325970992","file1":"1325970965","file0":"1325970960","file3":"1325971032"},"map_files_photo_id_array":[{"photo_id":"1325970992","filename":"file2"},{"photo_id":"1325970965","filename":"file1"},{"photo_id":"1325970960","filename":"file0"},{"photo_id":"1325971032","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325970992":["hashtag1","hashtag2"]},{"1325970965":["hashtag1","hashtag2"]},{"1325970960":["hashtag1","hashtag2"]},{"1325971032":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325970992, 1325970965, 1325970960, 1325971032)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.53286552429199 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 19:18:22.085925
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/19/17/image_03012025_19_17_02_866623_0003.jpg', '/home/pi/Desktop/images/03012025/19/18/image_03012025_19_18_02_200867_0000.jpg', '/home/pi/Desktop/images/03012025/19/18/image_03012025_19_18_02_200867_0001.jpg', '/home/pi/Desktop/images/03012025/19/18/image_03012025_19_18_02_200867_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/19/17/image_03012025_19_17_02_866623_0003.jpg
/home/pi/Desktop/images/03012025/19/18/image_03012025_19_18_02_200867_0000.jpg
/home/pi/Desktop/images/03012025/19/18/image_03012025_19_18_02_200867_0001.jpg
/home/pi/Desktop/images/03012025/19/18/image_03012025_19_18_02_200867_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325971433","1325971613","1325971350","1325971650"],"photo_ids_order":["1325971350","1325971433","1325971613","1325971650"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6b9e394b81f173769adc912847093bd2.jpg","text":"TemporaryFile(/tmp/multipartBody1858168399437077388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735928372370,"filename":"image_03012025_19_18_02_200867_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2de8a8f04b9696c7e0adf403215cb963.jpg","text":"TemporaryFile(/tmp/multipartBody1711976311552150458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735928372370,"filename":"image_03012025_19_18_02_200867_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/88ef1096234fde776ca7fa8fab6ad6fa.jpg","text":"TemporaryFile(/tmp/multipartBody9089867183691364665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735928372370,"filename":"image_03012025_19_17_02_866623_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/46ce3b38c7b605bad88de8c42c86bda2.jpg","text":"TemporaryFile(/tmp/multipartBody2812878928686138805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735928372370,"filename":"image_03012025_19_18_02_200867_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325971613","file1":"1325971433","file0":"1325971350","file3":"1325971650"},"map_files_photo_id_array":[{"photo_id":"1325971613","filename":"file2"},{"photo_id":"1325971433","filename":"file1"},{"photo_id":"1325971350","filename":"file0"},{"photo_id":"1325971650","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325971433":["hashtag1","hashtag2"]},{"1325971613":["hashtag1","hashtag2"]},{"1325971350":["hashtag1","hashtag2"]},{"1325971650":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325971433, 1325971613, 1325971350, 1325971650)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.42785835266113 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 19:19:02.862353
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 19:19:22.197207
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/19/18/image_03012025_19_18_02_200867_0003.jpg', '/home/pi/Desktop/images/03012025/19/19/image_03012025_19_19_02_410746_0000.jpg', '/home/pi/Desktop/images/03012025/19/19/image_03012025_19_19_02_410746_0001.jpg', '/home/pi/Desktop/images/03012025/19/19/image_03012025_19_19_02_410746_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/19/18/image_03012025_19_18_02_200867_0003.jpg
/home/pi/Desktop/images/03012025/19/19/image_03012025_19_19_02_410746_0000.jpg
/home/pi/Desktop/images/03012025/19/19/image_03012025_19_19_02_410746_0001.jpg
/home/pi/Desktop/images/03012025/19/19/image_03012025_19_19_02_410746_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325971744","1325971740","1325971743","1325971737"],"photo_ids_order":["1325971737","1325971740","1325971743","1325971744"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d4ef27c175203101dc697d72ba18a779.jpg","text":"TemporaryFile(/tmp/multipartBody5558967860323437453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735928432333,"filename":"image_03012025_19_19_02_410746_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6e58a29039acdf2f936cfda79bcbfeab.jpg","text":"TemporaryFile(/tmp/multipartBody5370077477379114126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735928432333,"filename":"image_03012025_19_19_02_410746_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/290fde9c1eb918ef9f240373683d291d.jpg","text":"TemporaryFile(/tmp/multipartBody2324458438975982417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735928432333,"filename":"image_03012025_19_19_02_410746_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0c3e40bdcd10e0ae3dcd2cbf3dbef373.jpg","text":"TemporaryFile(/tmp/multipartBody5618263268490287793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735928432333,"filename":"image_03012025_19_18_02_200867_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325971743","file1":"1325971740","file0":"1325971737","file3":"1325971744"},"map_files_photo_id_array":[{"photo_id":"1325971743","filename":"file2"},{"photo_id":"1325971740","filename":"file1"},{"photo_id":"1325971737","filename":"file0"},{"photo_id":"1325971744","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325971744":["hashtag1","hashtag2"]},{"1325971740":["hashtag1","hashtag2"]},{"1325971743":["hashtag1","hashtag2"]},{"1325971737":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325971744, 1325971740, 1325971743, 1325971737)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.67349934577942 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 19:20:22.334096
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/19/19/image_03012025_19_19_02_410746_0003.jpg', '/home/pi/Desktop/images/03012025/19/20/image_03012025_19_20_02_558387_0000.jpg', '/home/pi/Desktop/images/03012025/19/20/image_03012025_19_20_02_558387_0001.jpg', '/home/pi/Desktop/images/03012025/19/20/image_03012025_19_20_02_558387_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/19/19/image_03012025_19_19_02_410746_0003.jpg
/home/pi/Desktop/images/03012025/19/20/image_03012025_19_20_02_558387_0000.jpg
/home/pi/Desktop/images/03012025/19/20/image_03012025_19_20_02_558387_0001.jpg
/home/pi/Desktop/images/03012025/19/20/image_03012025_19_20_02_558387_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.869016647338867 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-03 19:20:42.336351
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/19/19/image_03012025_19_19_02_410746_0003.jpg', '/home/pi/Desktop/images/03012025/19/20/image_03012025_19_20_02_558387_0000.jpg', '/home/pi/Desktop/images/03012025/19/20/image_03012025_19_20_02_558387_0001.jpg', '/home/pi/Desktop/images/03012025/19/20/image_03012025_19_20_02_558387_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/19/19/image_03012025_19_19_02_410746_0003.jpg
/home/pi/Desktop/images/03012025/19/20/image_03012025_19_20_02_558387_0000.jpg
/home/pi/Desktop/images/03012025/19/20/image_03012025_19_20_02_558387_0001.jpg
/home/pi/Desktop/images/03012025/19/20/image_03012025_19_20_02_558387_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325972216","1325972458","1325972217","1325972219"],"photo_ids_order":["1325972216","1325972217","1325972219","1325972458"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/839564f8cd2ecfb08a526b73b7c71507.jpg","text":"TemporaryFile(/tmp/multipartBody5587401766829218926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735928512607,"filename":"image_03012025_19_19_02_410746_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/cc867653bab786e49b3e372e60a57562.jpg","text":"TemporaryFile(/tmp/multipartBody2977465028115046922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735928512607,"filename":"image_03012025_19_20_02_558387_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f6895808c1482e05d7279bae2211483b.jpg","text":"TemporaryFile(/tmp/multipartBody7437612447988777063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735928512607,"filename":"image_03012025_19_20_02_558387_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e77f498f459902ca93d8913cbf47a00e.jpg","text":"TemporaryFile(/tmp/multipartBody7239921008781735058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735928512607,"filename":"image_03012025_19_20_02_558387_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325972219","file1":"1325972217","file0":"1325972216","file3":"1325972458"},"map_files_photo_id_array":[{"photo_id":"1325972219","filename":"file2"},{"photo_id":"1325972217","filename":"file1"},{"photo_id":"1325972216","filename":"file0"},{"photo_id":"1325972458","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325972216":["hashtag1","hashtag2"]},{"1325972458":["hashtag1","hashtag2"]},{"1325972217":["hashtag1","hashtag2"]},{"1325972219":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325972216, 1325972458, 1325972217, 1325972219)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.4769651889801 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-03 19:21:32.458477
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/19/20/image_03012025_19_20_02_558387_0003.jpg', '/home/pi/Desktop/images/03012025/19/21/image_03012025_19_21_02_667335_0000.jpg', '/home/pi/Desktop/images/03012025/19/21/image_03012025_19_21_02_667335_0001.jpg', '/home/pi/Desktop/images/03012025/19/21/image_03012025_19_21_02_667335_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/19/20/image_03012025_19_20_02_558387_0003.jpg
/home/pi/Desktop/images/03012025/19/21/image_03012025_19_21_02_667335_0000.jpg
/home/pi/Desktop/images/03012025/19/21/image_03012025_19_21_02_667335_0001.jpg
/home/pi/Desktop/images/03012025/19/21/image_03012025_19_21_02_667335_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325972833","1325972656","1325972646","1325972648"],"photo_ids_order":["1325972646","1325972648","1325972656","1325972833"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ee2682a2ca7cc6aef3cc9a61d62d56f0.jpg","text":"TemporaryFile(/tmp/multipartBody8757410136131271629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735928562631,"filename":"image_03012025_19_21_02_667335_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0d5bb543d90084f7170aec5abd406375.jpg","text":"TemporaryFile(/tmp/multipartBody7354666173898934340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735928562631,"filename":"image_03012025_19_21_02_667335_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/30f0e55fe73db7ac730a82c681a20846.jpg","text":"TemporaryFile(/tmp/multipartBody7939852656244790903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735928562631,"filename":"image_03012025_19_20_02_558387_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/228a7bb5f3b9e480cbcdd7f7c35a1b59.jpg","text":"TemporaryFile(/tmp/multipartBody8413994886919443689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735928562631,"filename":"image_03012025_19_21_02_667335_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325972656","file1":"1325972648","file0":"1325972646","file3":"1325972833"},"map_files_photo_id_array":[{"photo_id":"1325972656","filename":"file2"},{"photo_id":"1325972648","filename":"file1"},{"photo_id":"1325972646","filename":"file0"},{"photo_id":"1325972833","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325972833":["hashtag1","hashtag2"]},{"1325972656":["hashtag1","hashtag2"]},{"1325972646":["hashtag1","hashtag2"]},{"1325972648":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325972833, 1325972656, 1325972646, 1325972648)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.03985548019409 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 19:22:22.733527
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/19/21/image_03012025_19_21_02_667335_0003.jpg', '/home/pi/Desktop/images/03012025/19/22/image_03012025_19_22_02_849439_0000.jpg', '/home/pi/Desktop/images/03012025/19/22/image_03012025_19_22_02_849439_0001.jpg', '/home/pi/Desktop/images/03012025/19/22/image_03012025_19_22_02_849439_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/19/21/image_03012025_19_21_02_667335_0003.jpg
/home/pi/Desktop/images/03012025/19/22/image_03012025_19_22_02_849439_0000.jpg
/home/pi/Desktop/images/03012025/19/22/image_03012025_19_22_02_849439_0001.jpg
/home/pi/Desktop/images/03012025/19/22/image_03012025_19_22_02_849439_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325973118","1325973219","1325973218","1325973190"],"photo_ids_order":["1325973118","1325973190","1325973218","1325973219"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/541e93d28ee1ae636888ccc6aaa2f64b.jpg","text":"TemporaryFile(/tmp/multipartBody7076036246212796171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735928613228,"filename":"image_03012025_19_21_02_667335_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0c59a2770f52441b473045a1ab73ea79.jpg","text":"TemporaryFile(/tmp/multipartBody816719437837143053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735928613228,"filename":"image_03012025_19_22_02_849439_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a81779d0dd3f71b519f9627b93755555.jpg","text":"TemporaryFile(/tmp/multipartBody6582026694872286256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735928613228,"filename":"image_03012025_19_22_02_849439_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/118f624d1ee2ea734d68f58ef251afab.jpg","text":"TemporaryFile(/tmp/multipartBody6763648562599438018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735928613228,"filename":"image_03012025_19_22_02_849439_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325973218","file1":"1325973190","file0":"1325973118","file3":"1325973219"},"map_files_photo_id_array":[{"photo_id":"1325973218","filename":"file2"},{"photo_id":"1325973190","filename":"file1"},{"photo_id":"1325973118","filename":"file0"},{"photo_id":"1325973219","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325973118":["hashtag1","hashtag2"]},{"1325973219":["hashtag1","hashtag2"]},{"1325973218":["hashtag1","hashtag2"]},{"1325973190":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325973118, 1325973219, 1325973218, 1325973190)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.107274532318115 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 19:23:21.904443
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/19/22/image_03012025_19_22_02_849439_0003.jpg', '/home/pi/Desktop/images/03012025/19/23/image_03012025_19_23_03_025597_0000.jpg', '/home/pi/Desktop/images/03012025/19/23/image_03012025_19_23_03_025597_0001.jpg', '/home/pi/Desktop/images/03012025/19/23/image_03012025_19_23_03_025597_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/19/22/image_03012025_19_22_02_849439_0003.jpg
/home/pi/Desktop/images/03012025/19/23/image_03012025_19_23_03_025597_0000.jpg
/home/pi/Desktop/images/03012025/19/23/image_03012025_19_23_03_025597_0001.jpg
/home/pi/Desktop/images/03012025/19/23/image_03012025_19_23_03_025597_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325974170","1325974248","1325973749","1325973568"],"photo_ids_order":["1325973568","1325973749","1325974170","1325974248"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2fc07cf1fbfeacc0eca86e7e50c1bbe3.jpg","text":"TemporaryFile(/tmp/multipartBody5011412870927845973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735928672258,"filename":"image_03012025_19_23_03_025597_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/da46a785ed29a590edd08042499552be.jpg","text":"TemporaryFile(/tmp/multipartBody4865701172897804536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735928672258,"filename":"image_03012025_19_23_03_025597_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7db68f706e07532a936b0e9fdb08ec5a.jpg","text":"TemporaryFile(/tmp/multipartBody8098919005739507319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735928672258,"filename":"image_03012025_19_23_03_025597_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9af83a61d0441fbf8f9387b54716328b.jpg","text":"TemporaryFile(/tmp/multipartBody8558199829362107678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735928672258,"filename":"image_03012025_19_22_02_849439_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325974170","file1":"1325973749","file0":"1325973568","file3":"1325974248"},"map_files_photo_id_array":[{"photo_id":"1325974170","filename":"file2"},{"photo_id":"1325973749","filename":"file1"},{"photo_id":"1325973568","filename":"file0"},{"photo_id":"1325974248","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325974170":["hashtag1","hashtag2"]},{"1325974248":["hashtag1","hashtag2"]},{"1325973749":["hashtag1","hashtag2"]},{"1325973568":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325974170, 1325974248, 1325973749, 1325973568)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.07308268547058 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 19:24:02.434525
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 19:24:21.933350
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/19/23/image_03012025_19_23_03_025597_0003.jpg', '/home/pi/Desktop/images/03012025/19/24/image_03012025_19_24_02_236953_0000.jpg', '/home/pi/Desktop/images/03012025/19/24/image_03012025_19_24_02_236953_0001.jpg', '/home/pi/Desktop/images/03012025/19/24/image_03012025_19_24_02_236953_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/19/23/image_03012025_19_23_03_025597_0003.jpg
/home/pi/Desktop/images/03012025/19/24/image_03012025_19_24_02_236953_0000.jpg
/home/pi/Desktop/images/03012025/19/24/image_03012025_19_24_02_236953_0001.jpg
/home/pi/Desktop/images/03012025/19/24/image_03012025_19_24_02_236953_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.988865613937378 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-03 19:24:41.925392
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/19/23/image_03012025_19_23_03_025597_0003.jpg', '/home/pi/Desktop/images/03012025/19/24/image_03012025_19_24_02_236953_0000.jpg', '/home/pi/Desktop/images/03012025/19/24/image_03012025_19_24_02_236953_0001.jpg', '/home/pi/Desktop/images/03012025/19/24/image_03012025_19_24_02_236953_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/19/23/image_03012025_19_23_03_025597_0003.jpg
/home/pi/Desktop/images/03012025/19/24/image_03012025_19_24_02_236953_0000.jpg
/home/pi/Desktop/images/03012025/19/24/image_03012025_19_24_02_236953_0001.jpg
/home/pi/Desktop/images/03012025/19/24/image_03012025_19_24_02_236953_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325975056","1325974960","1325975190","1325975172"],"photo_ids_order":["1325974960","1325975056","1325975172","1325975190"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a3d5413fe720213628d7dbf8959ca509.jpg","text":"TemporaryFile(/tmp/multipartBody6823679007070065498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735928752326,"filename":"image_03012025_19_24_02_236953_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/890798fcc0c2cb4a725e02b2cb3a8496.jpg","text":"TemporaryFile(/tmp/multipartBody1342623866747000386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735928752326,"filename":"image_03012025_19_23_03_025597_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/06a83e2161bc934639375c727d6c38c6.jpg","text":"TemporaryFile(/tmp/multipartBody2181675914415712513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735928752326,"filename":"image_03012025_19_24_02_236953_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/771497c92317e1ecc0ff7a173ff1b5b9.jpg","text":"TemporaryFile(/tmp/multipartBody3698447197433455091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735928752326,"filename":"image_03012025_19_24_02_236953_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325975172","file1":"1325975056","file0":"1325974960","file3":"1325975190"},"map_files_photo_id_array":[{"photo_id":"1325975172","filename":"file2"},{"photo_id":"1325975056","filename":"file1"},{"photo_id":"1325974960","filename":"file0"},{"photo_id":"1325975190","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325975056":["hashtag1","hashtag2"]},{"1325974960":["hashtag1","hashtag2"]},{"1325975190":["hashtag1","hashtag2"]},{"1325975172":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325975056, 1325974960, 1325975190, 1325975172)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.06489872932434 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-03 19:25:32.097316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/19/24/image_03012025_19_24_02_236953_0003.jpg', '/home/pi/Desktop/images/03012025/19/25/image_03012025_19_25_02_364498_0000.jpg', '/home/pi/Desktop/images/03012025/19/25/image_03012025_19_25_02_364498_0001.jpg', '/home/pi/Desktop/images/03012025/19/25/image_03012025_19_25_02_364498_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/19/24/image_03012025_19_24_02_236953_0003.jpg
/home/pi/Desktop/images/03012025/19/25/image_03012025_19_25_02_364498_0000.jpg
/home/pi/Desktop/images/03012025/19/25/image_03012025_19_25_02_364498_0001.jpg
/home/pi/Desktop/images/03012025/19/25/image_03012025_19_25_02_364498_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325975297","1325975293","1325975299","1325975295"],"photo_ids_order":["1325975293","1325975295","1325975297","1325975299"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9911d7c3ad6bd684c1d2d55721466c1f.jpg","text":"TemporaryFile(/tmp/multipartBody1053288442252750928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735928802273,"filename":"image_03012025_19_25_02_364498_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f757edc81c1a9d40aaac429203e2f4ba.jpg","text":"TemporaryFile(/tmp/multipartBody2431746413428863832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735928802273,"filename":"image_03012025_19_24_02_236953_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2f9eb77781fb69964321df5c2401f1b8.jpg","text":"TemporaryFile(/tmp/multipartBody4712964188619985686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735928802273,"filename":"image_03012025_19_25_02_364498_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/015ca3f1015de38198154f8383ea60ac.jpg","text":"TemporaryFile(/tmp/multipartBody59717579437439975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735928802273,"filename":"image_03012025_19_25_02_364498_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325975297","file1":"1325975295","file0":"1325975293","file3":"1325975299"},"map_files_photo_id_array":[{"photo_id":"1325975297","filename":"file2"},{"photo_id":"1325975295","filename":"file1"},{"photo_id":"1325975293","filename":"file0"},{"photo_id":"1325975299","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325975297":["hashtag1","hashtag2"]},{"1325975293":["hashtag1","hashtag2"]},{"1325975299":["hashtag1","hashtag2"]},{"1325975295":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325975297, 1325975293, 1325975299, 1325975295)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.73434615135193 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 19:26:22.452704
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/19/25/image_03012025_19_25_02_364498_0003.jpg', '/home/pi/Desktop/images/03012025/19/26/image_03012025_19_26_02_502429_0000.jpg', '/home/pi/Desktop/images/03012025/19/26/image_03012025_19_26_02_502429_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/19/25/image_03012025_19_25_02_364498_0003.jpg
/home/pi/Desktop/images/03012025/19/26/image_03012025_19_26_02_502429_0000.jpg
/home/pi/Desktop/images/03012025/19/26/image_03012025_19_26_02_502429_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":["1325975316","1325975321","1325975312"],"photo_ids_order":["1325975312","1325975316","1325975321"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/fa06fa673688062457f7d0ef9c95382f.jpg","text":"TemporaryFile(/tmp/multipartBody3673136847983489711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735928850364,"filename":"image_03012025_19_26_02_502429_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0ee24a7d76b9816bffbb4b49cbb15506.jpg","text":"TemporaryFile(/tmp/multipartBody3406744336517284817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735928850364,"filename":"image_03012025_19_26_02_502429_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6aa8fa70c5be4fc459b01fe675ce0e70.jpg","text":"TemporaryFile(/tmp/multipartBody6804031258302394326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735928850364,"filename":"image_03012025_19_25_02_364498_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325975321","file1":"1325975316","file0":"1325975312"},"map_files_photo_id_array":[{"photo_id":"1325975321","filename":"file2"},{"photo_id":"1325975316","filename":"file1"},{"photo_id":"1325975312","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325975316":["hashtag1","hashtag2"]},{"1325975321":["hashtag1","hashtag2"]},{"1325975312":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325975316, 1325975321, 1325975312)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.191445112228394 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 19:27:03.008193
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 19:27:22.648374
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/19/26/image_03012025_19_26_02_502429_0002.jpg', '/home/pi/Desktop/images/03012025/19/27/image_03012025_19_27_02_773947_0000.jpg', '/home/pi/Desktop/images/03012025/19/27/image_03012025_19_27_02_773947_0001.jpg', '/home/pi/Desktop/images/03012025/19/27/image_03012025_19_27_02_773947_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/19/26/image_03012025_19_26_02_502429_0002.jpg
/home/pi/Desktop/images/03012025/19/27/image_03012025_19_27_02_773947_0000.jpg
/home/pi/Desktop/images/03012025/19/27/image_03012025_19_27_02_773947_0001.jpg
/home/pi/Desktop/images/03012025/19/27/image_03012025_19_27_02_773947_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325975912","1325976370","1325976049","1325976222"],"photo_ids_order":["1325975912","1325976049","1325976222","1325976370"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/120421e2db7c1458dff6ca2e91c921e9.jpg","text":"TemporaryFile(/tmp/multipartBody6410406963713529533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735928912942,"filename":"image_03012025_19_26_02_502429_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/88eac5025b881e73c3e1fe4a8386bec7.jpg","text":"TemporaryFile(/tmp/multipartBody5318302145695815989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735928912942,"filename":"image_03012025_19_27_02_773947_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/bc1a382a9557ec5c5e281bcf9818e375.jpg","text":"TemporaryFile(/tmp/multipartBody7473836990395737646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735928912942,"filename":"image_03012025_19_27_02_773947_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/15d2b9d6f04780a487936618925b1a2e.jpg","text":"TemporaryFile(/tmp/multipartBody1770249207330760056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735928912942,"filename":"image_03012025_19_27_02_773947_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325976222","file1":"1325976049","file0":"1325975912","file3":"1325976370"},"map_files_photo_id_array":[{"photo_id":"1325976222","filename":"file2"},{"photo_id":"1325976049","filename":"file1"},{"photo_id":"1325975912","filename":"file0"},{"photo_id":"1325976370","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325975912":["hashtag1","hashtag2"]},{"1325976370":["hashtag1","hashtag2"]},{"1325976049":["hashtag1","hashtag2"]},{"1325976222":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325975912, 1325976370, 1325976049, 1325976222)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.39384174346924 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-03 19:28:22.650597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/19/27/image_03012025_19_27_02_773947_0003.jpg', '/home/pi/Desktop/images/03012025/19/28/image_03012025_19_28_02_904984_0001.jpg', '/home/pi/Desktop/images/03012025/19/28/image_03012025_19_28_02_904984_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/19/27/image_03012025_19_27_02_773947_0003.jpg
/home/pi/Desktop/images/03012025/19/28/image_03012025_19_28_02_904984_0001.jpg
/home/pi/Desktop/images/03012025/19/28/image_03012025_19_28_02_904984_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325977284","1325977295","1325977280"],"photo_ids_order":["1325977280","1325977284","1325977295"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5cb36c2186ad7f7868b679eea7be8917.jpg","text":"TemporaryFile(/tmp/multipartBody1135495873809105370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735928970482,"filename":"image_03012025_19_28_02_904984_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/201ca1a5866d4fb0f1c3a85e5c47ed1f.jpg","text":"TemporaryFile(/tmp/multipartBody5338804206085248314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735928970482,"filename":"image_03012025_19_28_02_904984_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/04924674a7d2955407246ab8885aef37.jpg","text":"TemporaryFile(/tmp/multipartBody4145366575513989616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735928970482,"filename":"image_03012025_19_27_02_773947_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325977295","file1":"1325977284","file0":"1325977280"},"map_files_photo_id_array":[{"photo_id":"1325977295","filename":"file2"},{"photo_id":"1325977284","filename":"file1"},{"photo_id":"1325977280","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325977284":["hashtag1","hashtag2"]},{"1325977295":["hashtag1","hashtag2"]},{"1325977280":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325977284, 1325977295, 1325977280)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.793617248535156 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 19:29:02.535668
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 19:29:21.883369
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/19/28/image_03012025_19_28_02_904984_0003.jpg', '/home/pi/Desktop/images/03012025/19/29/image_03012025_19_29_03_164008_0000.jpg', '/home/pi/Desktop/images/03012025/19/29/image_03012025_19_29_03_164008_0001.jpg', '/home/pi/Desktop/images/03012025/19/29/image_03012025_19_29_03_164008_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/19/28/image_03012025_19_28_02_904984_0003.jpg
/home/pi/Desktop/images/03012025/19/29/image_03012025_19_29_03_164008_0000.jpg
/home/pi/Desktop/images/03012025/19/29/image_03012025_19_29_03_164008_0001.jpg
/home/pi/Desktop/images/03012025/19/29/image_03012025_19_29_03_164008_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325977699","1325977705","1325977746","1325977676"],"photo_ids_order":["1325977676","1325977699","1325977705","1325977746"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/53c126c8fbe575ec650ba1736b1745f7.jpg","text":"TemporaryFile(/tmp/multipartBody2400748226860132950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735929032017,"filename":"image_03012025_19_29_03_164008_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b737dbecea379fe01d0ac665bd37922f.jpg","text":"TemporaryFile(/tmp/multipartBody6155765799400611675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735929032017,"filename":"image_03012025_19_29_03_164008_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/36be1996107db266501d7e7ba18665f4.jpg","text":"TemporaryFile(/tmp/multipartBody4216824984620920661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735929032017,"filename":"image_03012025_19_29_03_164008_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/609a2e46a85339999b7d39c94895cb12.jpg","text":"TemporaryFile(/tmp/multipartBody8441846127524846136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735929032017,"filename":"image_03012025_19_28_02_904984_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325977705","file1":"1325977699","file0":"1325977676","file3":"1325977746"},"map_files_photo_id_array":[{"photo_id":"1325977705","filename":"file2"},{"photo_id":"1325977699","filename":"file1"},{"photo_id":"1325977676","filename":"file0"},{"photo_id":"1325977746","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325977699":["hashtag1","hashtag2"]},{"1325977705":["hashtag1","hashtag2"]},{"1325977746":["hashtag1","hashtag2"]},{"1325977676":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325977699, 1325977705, 1325977746, 1325977676)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.52799344062805 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 19:30:02.431857
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 19:30:22.075969
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/19/29/image_03012025_19_29_03_164008_0003.jpg', '/home/pi/Desktop/images/03012025/19/30/image_03012025_19_30_02_262888_0000.jpg', '/home/pi/Desktop/images/03012025/19/30/image_03012025_19_30_02_262888_0001.jpg', '/home/pi/Desktop/images/03012025/19/30/image_03012025_19_30_02_262888_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/19/29/image_03012025_19_29_03_164008_0003.jpg
/home/pi/Desktop/images/03012025/19/30/image_03012025_19_30_02_262888_0000.jpg
/home/pi/Desktop/images/03012025/19/30/image_03012025_19_30_02_262888_0001.jpg
/home/pi/Desktop/images/03012025/19/30/image_03012025_19_30_02_262888_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325977965","1325977761","1325977758","1325977937"],"photo_ids_order":["1325977758","1325977761","1325977937","1325977965"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a90c9a3fd6fa509aac509f7b48dc9597.jpg","text":"TemporaryFile(/tmp/multipartBody4348450298324541956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735929092269,"filename":"image_03012025_19_30_02_262888_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c85f8b5c604dd8d64ff770e8837e5191.jpg","text":"TemporaryFile(/tmp/multipartBody5919799730049049484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735929092269,"filename":"image_03012025_19_30_02_262888_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2dec96b2c01d81122cb2f4327e1ad1a3.jpg","text":"TemporaryFile(/tmp/multipartBody6153218727446153642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735929092269,"filename":"image_03012025_19_29_03_164008_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f2b55f994ad958342cfc5e6756c2f901.jpg","text":"TemporaryFile(/tmp/multipartBody4494897773376997985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735929092269,"filename":"image_03012025_19_30_02_262888_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325977937","file1":"1325977761","file0":"1325977758","file3":"1325977965"},"map_files_photo_id_array":[{"photo_id":"1325977937","filename":"file2"},{"photo_id":"1325977761","filename":"file1"},{"photo_id":"1325977758","filename":"file0"},{"photo_id":"1325977965","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325977965":["hashtag1","hashtag2"]},{"1325977761":["hashtag1","hashtag2"]},{"1325977758":["hashtag1","hashtag2"]},{"1325977937":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325977965, 1325977761, 1325977758, 1325977937)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.69286251068115 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-03 19:31:22.257220
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/19/30/image_03012025_19_30_02_262888_0003.jpg', '/home/pi/Desktop/images/03012025/19/31/image_03012025_19_31_02_439133_0000.jpg', '/home/pi/Desktop/images/03012025/19/31/image_03012025_19_31_02_439133_0001.jpg', '/home/pi/Desktop/images/03012025/19/31/image_03012025_19_31_02_439133_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/19/30/image_03012025_19_30_02_262888_0003.jpg
/home/pi/Desktop/images/03012025/19/31/image_03012025_19_31_02_439133_0000.jpg
/home/pi/Desktop/images/03012025/19/31/image_03012025_19_31_02_439133_0001.jpg
/home/pi/Desktop/images/03012025/19/31/image_03012025_19_31_02_439133_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325978479","1325978503","1325978451","1325978264"],"photo_ids_order":["1325978264","1325978451","1325978479","1325978503"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2d3eabc0bdfe4f3a82a01130ab0d3b5b.jpg","text":"TemporaryFile(/tmp/multipartBody4346625269620853324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735929152453,"filename":"image_03012025_19_31_02_439133_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/980b2b4c270d9ac38ba3142b72af1ccb.jpg","text":"TemporaryFile(/tmp/multipartBody2540142479166615751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735929152453,"filename":"image_03012025_19_31_02_439133_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1c6436f45d637645532fecf5491a75a8.jpg","text":"TemporaryFile(/tmp/multipartBody7672046792995278734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735929152453,"filename":"image_03012025_19_31_02_439133_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1e63619908776c6476dfb1c79826102b.jpg","text":"TemporaryFile(/tmp/multipartBody5948433312201248587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735929152453,"filename":"image_03012025_19_30_02_262888_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325978479","file1":"1325978451","file0":"1325978264","file3":"1325978503"},"map_files_photo_id_array":[{"photo_id":"1325978479","filename":"file2"},{"photo_id":"1325978451","filename":"file1"},{"photo_id":"1325978264","filename":"file0"},{"photo_id":"1325978503","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325978479":["hashtag1","hashtag2"]},{"1325978503":["hashtag1","hashtag2"]},{"1325978451":["hashtag1","hashtag2"]},{"1325978264":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325978479, 1325978503, 1325978451, 1325978264)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.63195300102234 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 19:32:22.491397
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/19/31/image_03012025_19_31_02_439133_0003.jpg', '/home/pi/Desktop/images/03012025/19/32/image_03012025_19_32_02_564184_0000.jpg', '/home/pi/Desktop/images/03012025/19/32/image_03012025_19_32_02_564184_0001.jpg', '/home/pi/Desktop/images/03012025/19/32/image_03012025_19_32_02_564184_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/19/31/image_03012025_19_31_02_439133_0003.jpg
/home/pi/Desktop/images/03012025/19/32/image_03012025_19_32_02_564184_0000.jpg
/home/pi/Desktop/images/03012025/19/32/image_03012025_19_32_02_564184_0001.jpg
/home/pi/Desktop/images/03012025/19/32/image_03012025_19_32_02_564184_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325978743","1325978751","1325978745","1325978748"],"photo_ids_order":["1325978743","1325978745","1325978748","1325978751"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2c866ec1c0db4eb7c0e7df00763fb43f.jpg","text":"TemporaryFile(/tmp/multipartBody7176241479282800335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735929212627,"filename":"image_03012025_19_31_02_439133_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/855b886ebbb97818fbce178703610b52.jpg","text":"TemporaryFile(/tmp/multipartBody6657084760531891983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735929212627,"filename":"image_03012025_19_32_02_564184_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9b282db2b994731e12f2f174dc74e45a.jpg","text":"TemporaryFile(/tmp/multipartBody7031780581812119777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735929212627,"filename":"image_03012025_19_32_02_564184_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/23d9f61e53bc5ebcec8df873947a9900.jpg","text":"TemporaryFile(/tmp/multipartBody4894769116119422387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735929212627,"filename":"image_03012025_19_32_02_564184_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325978748","file1":"1325978745","file0":"1325978743","file3":"1325978751"},"map_files_photo_id_array":[{"photo_id":"1325978748","filename":"file2"},{"photo_id":"1325978745","filename":"file1"},{"photo_id":"1325978743","filename":"file0"},{"photo_id":"1325978751","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325978743":["hashtag1","hashtag2"]},{"1325978751":["hashtag1","hashtag2"]},{"1325978745":["hashtag1","hashtag2"]},{"1325978748":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325978743, 1325978751, 1325978745, 1325978748)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.51020288467407 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-03 19:33:22.769642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/19/32/image_03012025_19_32_02_564184_0003.jpg', '/home/pi/Desktop/images/03012025/19/33/image_03012025_19_33_02_806705_0000.jpg', '/home/pi/Desktop/images/03012025/19/33/image_03012025_19_33_02_806705_0001.jpg', '/home/pi/Desktop/images/03012025/19/33/image_03012025_19_33_02_806705_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/19/32/image_03012025_19_32_02_564184_0003.jpg
/home/pi/Desktop/images/03012025/19/33/image_03012025_19_33_02_806705_0000.jpg
/home/pi/Desktop/images/03012025/19/33/image_03012025_19_33_02_806705_0001.jpg
/home/pi/Desktop/images/03012025/19/33/image_03012025_19_33_02_806705_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325978824","1325978760","1325978766","1325978762"],"photo_ids_order":["1325978760","1325978762","1325978766","1325978824"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d578db75de7cf1b9e5746bc22a92c569.jpg","text":"TemporaryFile(/tmp/multipartBody4897391075517482413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735929273196,"filename":"image_03012025_19_33_02_806705_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/57ea8f053b83da8e6b0e02ebaa82aa90.jpg","text":"TemporaryFile(/tmp/multipartBody8699203405610550432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735929273196,"filename":"image_03012025_19_32_02_564184_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3def5765d98afdfd0720051d14a363a6.jpg","text":"TemporaryFile(/tmp/multipartBody4391700324283689194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735929273196,"filename":"image_03012025_19_33_02_806705_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/87570c076207dc156263680ae0d88afa.jpg","text":"TemporaryFile(/tmp/multipartBody267290410691200574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735929273196,"filename":"image_03012025_19_33_02_806705_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325978766","file1":"1325978762","file0":"1325978760","file3":"1325978824"},"map_files_photo_id_array":[{"photo_id":"1325978766","filename":"file2"},{"photo_id":"1325978762","filename":"file1"},{"photo_id":"1325978760","filename":"file0"},{"photo_id":"1325978824","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325978824":["hashtag1","hashtag2"]},{"1325978760":["hashtag1","hashtag2"]},{"1325978766":["hashtag1","hashtag2"]},{"1325978762":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325978824, 1325978760, 1325978766, 1325978762)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.479485273361206 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 19:34:21.781524
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/19/33/image_03012025_19_33_02_806705_0003.jpg', '/home/pi/Desktop/images/03012025/19/34/image_03012025_19_34_02_968365_0000.jpg', '/home/pi/Desktop/images/03012025/19/34/image_03012025_19_34_02_968365_0001.jpg', '/home/pi/Desktop/images/03012025/19/34/image_03012025_19_34_02_968365_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/19/33/image_03012025_19_33_02_806705_0003.jpg
/home/pi/Desktop/images/03012025/19/34/image_03012025_19_34_02_968365_0000.jpg
/home/pi/Desktop/images/03012025/19/34/image_03012025_19_34_02_968365_0001.jpg
/home/pi/Desktop/images/03012025/19/34/image_03012025_19_34_02_968365_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325979270","1325979315","1325979309","1325979266"],"photo_ids_order":["1325979266","1325979270","1325979309","1325979315"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4af70da007d98d120af454837391b83c.jpg","text":"TemporaryFile(/tmp/multipartBody3756657683779750257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735929332041,"filename":"image_03012025_19_34_02_968365_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b19e250380b463b066b0050379b52b4b.jpg","text":"TemporaryFile(/tmp/multipartBody6499352869505060670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735929332041,"filename":"image_03012025_19_34_02_968365_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a7794f1c997a4413029d7592509a05b8.jpg","text":"TemporaryFile(/tmp/multipartBody6127872105282406999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735929332041,"filename":"image_03012025_19_34_02_968365_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a3ec685ceae4ced541e7d3fd14c15317.jpg","text":"TemporaryFile(/tmp/multipartBody3059700386474872346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735929332041,"filename":"image_03012025_19_33_02_806705_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325979309","file1":"1325979270","file0":"1325979266","file3":"1325979315"},"map_files_photo_id_array":[{"photo_id":"1325979309","filename":"file2"},{"photo_id":"1325979270","filename":"file1"},{"photo_id":"1325979266","filename":"file0"},{"photo_id":"1325979315","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325979270":["hashtag1","hashtag2"]},{"1325979315":["hashtag1","hashtag2"]},{"1325979309":["hashtag1","hashtag2"]},{"1325979266":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325979270, 1325979315, 1325979309, 1325979266)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.1986608505249 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 19:35:22.016799
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/19/34/image_03012025_19_34_02_968365_0003.jpg', '/home/pi/Desktop/images/03012025/19/35/image_03012025_19_35_02_150194_0000.jpg', '/home/pi/Desktop/images/03012025/19/35/image_03012025_19_35_02_150194_0001.jpg', '/home/pi/Desktop/images/03012025/19/35/image_03012025_19_35_02_150194_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/19/34/image_03012025_19_34_02_968365_0003.jpg
/home/pi/Desktop/images/03012025/19/35/image_03012025_19_35_02_150194_0000.jpg
/home/pi/Desktop/images/03012025/19/35/image_03012025_19_35_02_150194_0001.jpg
/home/pi/Desktop/images/03012025/19/35/image_03012025_19_35_02_150194_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325979390","1325979545","1325979518","1325979332"],"photo_ids_order":["1325979332","1325979390","1325979518","1325979545"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/12c4ae801cacfbd93cce7a31d3f8a9c6.jpg","text":"TemporaryFile(/tmp/multipartBody1386176757351622234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735929392215,"filename":"image_03012025_19_35_02_150194_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5884030af00e8238778938ba7b4c5d54.jpg","text":"TemporaryFile(/tmp/multipartBody9179987686905544374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735929392215,"filename":"image_03012025_19_35_02_150194_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d17609528cd2935d1b0b284cfa077c65.jpg","text":"TemporaryFile(/tmp/multipartBody1923241104233417185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735929392215,"filename":"image_03012025_19_35_02_150194_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a56c4145fb62583451b5cbf391ccf313.jpg","text":"TemporaryFile(/tmp/multipartBody9161289430091269065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735929392215,"filename":"image_03012025_19_34_02_968365_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325979518","file1":"1325979390","file0":"1325979332","file3":"1325979545"},"map_files_photo_id_array":[{"photo_id":"1325979518","filename":"file2"},{"photo_id":"1325979390","filename":"file1"},{"photo_id":"1325979332","filename":"file0"},{"photo_id":"1325979545","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325979390":["hashtag1","hashtag2"]},{"1325979545":["hashtag1","hashtag2"]},{"1325979518":["hashtag1","hashtag2"]},{"1325979332":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325979390, 1325979545, 1325979518, 1325979332)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.963035345077515 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 19:36:02.470490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 19:36:22.289827
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/19/35/image_03012025_19_35_02_150194_0003.jpg', '/home/pi/Desktop/images/03012025/19/36/image_03012025_19_36_02_325215_0000.jpg', '/home/pi/Desktop/images/03012025/19/36/image_03012025_19_36_02_325215_0001.jpg', '/home/pi/Desktop/images/03012025/19/36/image_03012025_19_36_02_325215_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/19/35/image_03012025_19_35_02_150194_0003.jpg
/home/pi/Desktop/images/03012025/19/36/image_03012025_19_36_02_325215_0000.jpg
/home/pi/Desktop/images/03012025/19/36/image_03012025_19_36_02_325215_0001.jpg
/home/pi/Desktop/images/03012025/19/36/image_03012025_19_36_02_325215_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325979594","1325979599","1325979596","1325979592"],"photo_ids_order":["1325979592","1325979594","1325979596","1325979599"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e70d2f08718e06e8c6d04855f6e972df.jpg","text":"TemporaryFile(/tmp/multipartBody5914470550152561135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735929452438,"filename":"image_03012025_19_36_02_325215_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/349e4fe8898550375648f5e92a6d3096.jpg","text":"TemporaryFile(/tmp/multipartBody2818251472038775046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735929452438,"filename":"image_03012025_19_36_02_325215_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9eea334572b6913880c46dd73933c052.jpg","text":"TemporaryFile(/tmp/multipartBody7838572845577823692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735929452438,"filename":"image_03012025_19_36_02_325215_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/36fd7a9aac271f5dde84a7841824a088.jpg","text":"TemporaryFile(/tmp/multipartBody5221873715115769917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735929452438,"filename":"image_03012025_19_35_02_150194_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325979596","file1":"1325979594","file0":"1325979592","file3":"1325979599"},"map_files_photo_id_array":[{"photo_id":"1325979596","filename":"file2"},{"photo_id":"1325979594","filename":"file1"},{"photo_id":"1325979592","filename":"file0"},{"photo_id":"1325979599","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325979594":["hashtag1","hashtag2"]},{"1325979599":["hashtag1","hashtag2"]},{"1325979596":["hashtag1","hashtag2"]},{"1325979592":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325979594, 1325979599, 1325979596, 1325979592)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.58094382286072 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 19:37:02.895393
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 19:37:22.360677
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/19/36/image_03012025_19_36_02_325215_0003.jpg', '/home/pi/Desktop/images/03012025/19/37/image_03012025_19_37_02_515412_0000.jpg', '/home/pi/Desktop/images/03012025/19/37/image_03012025_19_37_02_515412_0001.jpg', '/home/pi/Desktop/images/03012025/19/37/image_03012025_19_37_02_515412_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/19/36/image_03012025_19_36_02_325215_0003.jpg
/home/pi/Desktop/images/03012025/19/37/image_03012025_19_37_02_515412_0000.jpg
/home/pi/Desktop/images/03012025/19/37/image_03012025_19_37_02_515412_0001.jpg
/home/pi/Desktop/images/03012025/19/37/image_03012025_19_37_02_515412_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.87735104560852 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-03 19:37:42.259358
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/19/36/image_03012025_19_36_02_325215_0003.jpg', '/home/pi/Desktop/images/03012025/19/37/image_03012025_19_37_02_515412_0000.jpg', '/home/pi/Desktop/images/03012025/19/37/image_03012025_19_37_02_515412_0001.jpg', '/home/pi/Desktop/images/03012025/19/37/image_03012025_19_37_02_515412_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/19/36/image_03012025_19_36_02_325215_0003.jpg
/home/pi/Desktop/images/03012025/19/37/image_03012025_19_37_02_515412_0000.jpg
/home/pi/Desktop/images/03012025/19/37/image_03012025_19_37_02_515412_0001.jpg
/home/pi/Desktop/images/03012025/19/37/image_03012025_19_37_02_515412_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325980306","1325980308","1325980310","1325980304"],"photo_ids_order":["1325980304","1325980306","1325980308","1325980310"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/950f9ad4d5dca1d2bd01b8dcfa814121.jpg","text":"TemporaryFile(/tmp/multipartBody6585725620174009006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735929532550,"filename":"image_03012025_19_37_02_515412_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b4181e99c615a01ac9f6ae95199c72db.jpg","text":"TemporaryFile(/tmp/multipartBody7870770657380518444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735929532550,"filename":"image_03012025_19_37_02_515412_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/93350570ffde73223c071f4871164357.jpg","text":"TemporaryFile(/tmp/multipartBody1723408841938096631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735929532550,"filename":"image_03012025_19_37_02_515412_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/02ca3076f96bcc868c50548362855a73.jpg","text":"TemporaryFile(/tmp/multipartBody6040923221991557903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735929532550,"filename":"image_03012025_19_36_02_325215_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325980308","file1":"1325980306","file0":"1325980304","file3":"1325980310"},"map_files_photo_id_array":[{"photo_id":"1325980308","filename":"file2"},{"photo_id":"1325980306","filename":"file1"},{"photo_id":"1325980304","filename":"file0"},{"photo_id":"1325980310","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325980306":["hashtag1","hashtag2"]},{"1325980308":["hashtag1","hashtag2"]},{"1325980310":["hashtag1","hashtag2"]},{"1325980304":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325980306, 1325980308, 1325980310, 1325980304)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.51460528373718 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-03 19:38:32.482653
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/19/37/image_03012025_19_37_02_515412_0003.jpg', '/home/pi/Desktop/images/03012025/19/38/image_03012025_19_38_02_650957_0000.jpg', '/home/pi/Desktop/images/03012025/19/38/image_03012025_19_38_02_650957_0001.jpg', '/home/pi/Desktop/images/03012025/19/38/image_03012025_19_38_02_650957_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/19/37/image_03012025_19_37_02_515412_0003.jpg
/home/pi/Desktop/images/03012025/19/38/image_03012025_19_38_02_650957_0000.jpg
/home/pi/Desktop/images/03012025/19/38/image_03012025_19_38_02_650957_0001.jpg
/home/pi/Desktop/images/03012025/19/38/image_03012025_19_38_02_650957_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325980600","1325980629","1325980660","1325980597"],"photo_ids_order":["1325980597","1325980600","1325980629","1325980660"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0270c471258af65f26aa4f7ff41a2734.jpg","text":"TemporaryFile(/tmp/multipartBody1261067071316262651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735929583007,"filename":"image_03012025_19_38_02_650957_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/39411082bd8a78ca2a7d55a0e8230f5d.jpg","text":"TemporaryFile(/tmp/multipartBody4970009184576968449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735929583007,"filename":"image_03012025_19_38_02_650957_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/475298f1cedbc0010488b7ec352fc13f.jpg","text":"TemporaryFile(/tmp/multipartBody2214558553672294161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735929583007,"filename":"image_03012025_19_38_02_650957_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ca4e070aeb45311062b4dce04b7c29e1.jpg","text":"TemporaryFile(/tmp/multipartBody7777153814103907225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735929583007,"filename":"image_03012025_19_37_02_515412_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325980629","file1":"1325980600","file0":"1325980597","file3":"1325980660"},"map_files_photo_id_array":[{"photo_id":"1325980629","filename":"file2"},{"photo_id":"1325980600","filename":"file1"},{"photo_id":"1325980597","filename":"file0"},{"photo_id":"1325980660","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325980600":["hashtag1","hashtag2"]},{"1325980629":["hashtag1","hashtag2"]},{"1325980660":["hashtag1","hashtag2"]},{"1325980597":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325980600, 1325980629, 1325980660, 1325980597)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.15215802192688 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 19:39:22.707793
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/19/38/image_03012025_19_38_02_650957_0003.jpg', '/home/pi/Desktop/images/03012025/19/39/image_03012025_19_39_02_829053_0000.jpg', '/home/pi/Desktop/images/03012025/19/39/image_03012025_19_39_02_829053_0001.jpg', '/home/pi/Desktop/images/03012025/19/39/image_03012025_19_39_02_829053_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/19/38/image_03012025_19_38_02_650957_0003.jpg
/home/pi/Desktop/images/03012025/19/39/image_03012025_19_39_02_829053_0000.jpg
/home/pi/Desktop/images/03012025/19/39/image_03012025_19_39_02_829053_0001.jpg
/home/pi/Desktop/images/03012025/19/39/image_03012025_19_39_02_829053_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325980954","1325980717","1325980956","1325980703"],"photo_ids_order":["1325980703","1325980717","1325980954","1325980956"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4ec9109eca27872832e792f0d642bff1.jpg","text":"TemporaryFile(/tmp/multipartBody9088568820941329558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735929632876,"filename":"image_03012025_19_39_02_829053_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1053548478ae9c83a2a80b046061a158.jpg","text":"TemporaryFile(/tmp/multipartBody8292597511400545753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735929632876,"filename":"image_03012025_19_39_02_829053_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b75b11d35c0efa79f73e57e3551e19ff.jpg","text":"TemporaryFile(/tmp/multipartBody3554952168644470907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735929632876,"filename":"image_03012025_19_39_02_829053_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/519ac89118b964eb40bfa5270ad9908a.jpg","text":"TemporaryFile(/tmp/multipartBody1705183474360462569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735929632876,"filename":"image_03012025_19_38_02_650957_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325980954","file1":"1325980717","file0":"1325980703","file3":"1325980956"},"map_files_photo_id_array":[{"photo_id":"1325980954","filename":"file2"},{"photo_id":"1325980717","filename":"file1"},{"photo_id":"1325980703","filename":"file0"},{"photo_id":"1325980956","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325980954":["hashtag1","hashtag2"]},{"1325980717":["hashtag1","hashtag2"]},{"1325980956":["hashtag1","hashtag2"]},{"1325980703":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325980954, 1325980717, 1325980956, 1325980703)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.98516011238098 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 19:40:21.918872
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/19/39/image_03012025_19_39_02_829053_0003.jpg', '/home/pi/Desktop/images/03012025/19/40/image_03012025_19_40_03_086491_0000.jpg', '/home/pi/Desktop/images/03012025/19/40/image_03012025_19_40_03_086491_0001.jpg', '/home/pi/Desktop/images/03012025/19/40/image_03012025_19_40_03_086491_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/19/39/image_03012025_19_39_02_829053_0003.jpg
/home/pi/Desktop/images/03012025/19/40/image_03012025_19_40_03_086491_0000.jpg
/home/pi/Desktop/images/03012025/19/40/image_03012025_19_40_03_086491_0001.jpg
/home/pi/Desktop/images/03012025/19/40/image_03012025_19_40_03_086491_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325981329","1325981334","1325981331","1325981411"],"photo_ids_order":["1325981329","1325981331","1325981334","1325981411"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/997c53d9a0001b2bc15088f1ba1ef338.jpg","text":"TemporaryFile(/tmp/multipartBody8545499847066688987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735929692129,"filename":"image_03012025_19_39_02_829053_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/04cece14fe41128111c49f5e7140a822.jpg","text":"TemporaryFile(/tmp/multipartBody5143920185153340619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735929692129,"filename":"image_03012025_19_40_03_086491_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ff8c49c15b0d6f6076757b1e6ed9337b.jpg","text":"TemporaryFile(/tmp/multipartBody1725715236336612184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735929692129,"filename":"image_03012025_19_40_03_086491_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2a79da16dbb41bc9d71362f982227296.jpg","text":"TemporaryFile(/tmp/multipartBody7390915482655731609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735929692129,"filename":"image_03012025_19_40_03_086491_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325981334","file1":"1325981331","file0":"1325981329","file3":"1325981411"},"map_files_photo_id_array":[{"photo_id":"1325981334","filename":"file2"},{"photo_id":"1325981331","filename":"file1"},{"photo_id":"1325981329","filename":"file0"},{"photo_id":"1325981411","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325981329":["hashtag1","hashtag2"]},{"1325981334":["hashtag1","hashtag2"]},{"1325981331":["hashtag1","hashtag2"]},{"1325981411":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325981329, 1325981334, 1325981331, 1325981411)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.92901301383972 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 19:41:22.115672
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/19/40/image_03012025_19_40_03_086491_0003.jpg', '/home/pi/Desktop/images/03012025/19/41/image_03012025_19_41_02_228052_0000.jpg', '/home/pi/Desktop/images/03012025/19/41/image_03012025_19_41_02_228052_0001.jpg', '/home/pi/Desktop/images/03012025/19/41/image_03012025_19_41_02_228052_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/19/40/image_03012025_19_40_03_086491_0003.jpg
/home/pi/Desktop/images/03012025/19/41/image_03012025_19_41_02_228052_0000.jpg
/home/pi/Desktop/images/03012025/19/41/image_03012025_19_41_02_228052_0001.jpg
/home/pi/Desktop/images/03012025/19/41/image_03012025_19_41_02_228052_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.916849851608276 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-03 19:41:42.038929
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/19/40/image_03012025_19_40_03_086491_0003.jpg', '/home/pi/Desktop/images/03012025/19/41/image_03012025_19_41_02_228052_0000.jpg', '/home/pi/Desktop/images/03012025/19/41/image_03012025_19_41_02_228052_0001.jpg', '/home/pi/Desktop/images/03012025/19/41/image_03012025_19_41_02_228052_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/19/40/image_03012025_19_40_03_086491_0003.jpg
/home/pi/Desktop/images/03012025/19/41/image_03012025_19_41_02_228052_0000.jpg
/home/pi/Desktop/images/03012025/19/41/image_03012025_19_41_02_228052_0001.jpg
/home/pi/Desktop/images/03012025/19/41/image_03012025_19_41_02_228052_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":["1325981786","1325981618","1325981621","1325981773"],"photo_ids_order":["1325981618","1325981621","1325981773","1325981786"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6cc72edd2f900dbaae828a41d380f362.jpg","text":"TemporaryFile(/tmp/multipartBody8948127349117783888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735929772363,"filename":"image_03012025_19_41_02_228052_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/cb0bb923a1bcd29289bdd1bacd162bab.jpg","text":"TemporaryFile(/tmp/multipartBody2202945703909731766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735929772363,"filename":"image_03012025_19_40_03_086491_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/31ed3b923e60f283b04b5405f4bbe553.jpg","text":"TemporaryFile(/tmp/multipartBody7014079549822020113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735929772363,"filename":"image_03012025_19_41_02_228052_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a228ba6845bdb79769ab3d26f6891022.jpg","text":"TemporaryFile(/tmp/multipartBody8104072467266482601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735929772363,"filename":"image_03012025_19_41_02_228052_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325981773","file1":"1325981621","file0":"1325981618","file3":"1325981786"},"map_files_photo_id_array":[{"photo_id":"1325981773","filename":"file2"},{"photo_id":"1325981621","filename":"file1"},{"photo_id":"1325981618","filename":"file0"},{"photo_id":"1325981786","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325981786":["hashtag1","hashtag2"]},{"1325981618":["hashtag1","hashtag2"]},{"1325981621":["hashtag1","hashtag2"]},{"1325981773":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325981786, 1325981618, 1325981621, 1325981773)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.01279854774475 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 19:42:22.263606
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/19/41/image_03012025_19_41_02_228052_0003.jpg', '/home/pi/Desktop/images/03012025/19/42/image_03012025_19_42_02_476797_0000.jpg', '/home/pi/Desktop/images/03012025/19/42/image_03012025_19_42_02_476797_0001.jpg', '/home/pi/Desktop/images/03012025/19/42/image_03012025_19_42_02_476797_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/19/41/image_03012025_19_41_02_228052_0003.jpg
/home/pi/Desktop/images/03012025/19/42/image_03012025_19_42_02_476797_0000.jpg
/home/pi/Desktop/images/03012025/19/42/image_03012025_19_42_02_476797_0001.jpg
/home/pi/Desktop/images/03012025/19/42/image_03012025_19_42_02_476797_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325981844","1325981849","1325981840","1325981837"],"photo_ids_order":["1325981837","1325981840","1325981844","1325981849"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0ea9be3e46110e1e47973e80121f0503.jpg","text":"TemporaryFile(/tmp/multipartBody1983642791734625242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735929812515,"filename":"image_03012025_19_42_02_476797_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/80fff5f07746ef98ab12b5430b1d3d2b.jpg","text":"TemporaryFile(/tmp/multipartBody169557548483458980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735929812515,"filename":"image_03012025_19_42_02_476797_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/cb507113e94d63f164398b979a0947b5.jpg","text":"TemporaryFile(/tmp/multipartBody1894493458744960221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735929812515,"filename":"image_03012025_19_42_02_476797_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5ee8297ae743bdff603d1ffd972a063b.jpg","text":"TemporaryFile(/tmp/multipartBody5263101838760901204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735929812515,"filename":"image_03012025_19_41_02_228052_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325981844","file1":"1325981840","file0":"1325981837","file3":"1325981849"},"map_files_photo_id_array":[{"photo_id":"1325981844","filename":"file2"},{"photo_id":"1325981840","filename":"file1"},{"photo_id":"1325981837","filename":"file0"},{"photo_id":"1325981849","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325981844":["hashtag1","hashtag2"]},{"1325981849":["hashtag1","hashtag2"]},{"1325981840":["hashtag1","hashtag2"]},{"1325981837":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325981844, 1325981849, 1325981840, 1325981837)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.02915549278259 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 19:43:22.402698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/19/42/image_03012025_19_42_02_476797_0003.jpg', '/home/pi/Desktop/images/03012025/19/43/image_03012025_19_43_02_608607_0000.jpg', '/home/pi/Desktop/images/03012025/19/43/image_03012025_19_43_02_608607_0001.jpg', '/home/pi/Desktop/images/03012025/19/43/image_03012025_19_43_02_608607_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/19/42/image_03012025_19_42_02_476797_0003.jpg
/home/pi/Desktop/images/03012025/19/43/image_03012025_19_43_02_608607_0000.jpg
/home/pi/Desktop/images/03012025/19/43/image_03012025_19_43_02_608607_0001.jpg
/home/pi/Desktop/images/03012025/19/43/image_03012025_19_43_02_608607_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325982011","1325982008","1325982013","1325982016"],"photo_ids_order":["1325982008","1325982011","1325982013","1325982016"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4e750311e53ada88ba48c57685352f4e.jpg","text":"TemporaryFile(/tmp/multipartBody469803791421095874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735929872602,"filename":"image_03012025_19_43_02_608607_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/94fd590fddb7a6f4c963a19eb8c168b5.jpg","text":"TemporaryFile(/tmp/multipartBody731913720211251278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735929872602,"filename":"image_03012025_19_42_02_476797_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ba024bb66f3472ce3c09e7e09e4471f3.jpg","text":"TemporaryFile(/tmp/multipartBody2908269654973221481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735929872602,"filename":"image_03012025_19_43_02_608607_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7bed55bd9ab4d1da1683f5c24c0b662c.jpg","text":"TemporaryFile(/tmp/multipartBody8546886028799260828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735929872602,"filename":"image_03012025_19_43_02_608607_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325982013","file1":"1325982011","file0":"1325982008","file3":"1325982016"},"map_files_photo_id_array":[{"photo_id":"1325982013","filename":"file2"},{"photo_id":"1325982011","filename":"file1"},{"photo_id":"1325982008","filename":"file0"},{"photo_id":"1325982016","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325982011":["hashtag1","hashtag2"]},{"1325982008":["hashtag1","hashtag2"]},{"1325982013":["hashtag1","hashtag2"]},{"1325982016":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325982011, 1325982008, 1325982013, 1325982016)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.945345640182495 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 19:44:02.941883
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 19:44:22.552984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/19/43/image_03012025_19_43_02_608607_0003.jpg', '/home/pi/Desktop/images/03012025/19/44/image_03012025_19_44_02_724574_0000.jpg', '/home/pi/Desktop/images/03012025/19/44/image_03012025_19_44_02_724574_0001.jpg', '/home/pi/Desktop/images/03012025/19/44/image_03012025_19_44_02_724574_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/19/43/image_03012025_19_43_02_608607_0003.jpg
/home/pi/Desktop/images/03012025/19/44/image_03012025_19_44_02_724574_0000.jpg
/home/pi/Desktop/images/03012025/19/44/image_03012025_19_44_02_724574_0001.jpg
/home/pi/Desktop/images/03012025/19/44/image_03012025_19_44_02_724574_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325982392","1325982341","1325982388","1325982373"],"photo_ids_order":["1325982341","1325982373","1325982388","1325982392"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/dc54520a2627cb471019bd4524faba1d.jpg","text":"TemporaryFile(/tmp/multipartBody130126904507107353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735929932984,"filename":"image_03012025_19_44_02_724574_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5d0d313c34d2eb2fa5baa345b04eb690.jpg","text":"TemporaryFile(/tmp/multipartBody9005019529889749121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735929932984,"filename":"image_03012025_19_43_02_608607_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/56cddd80af64510789f16adf28224430.jpg","text":"TemporaryFile(/tmp/multipartBody3576531412879962346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735929932984,"filename":"image_03012025_19_44_02_724574_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e5ee77ee939d83ac95ced6a3332c53f0.jpg","text":"TemporaryFile(/tmp/multipartBody5054033695951050290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735929932984,"filename":"image_03012025_19_44_02_724574_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325982388","file1":"1325982373","file0":"1325982341","file3":"1325982392"},"map_files_photo_id_array":[{"photo_id":"1325982388","filename":"file2"},{"photo_id":"1325982373","filename":"file1"},{"photo_id":"1325982341","filename":"file0"},{"photo_id":"1325982392","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325982392":["hashtag1","hashtag2"]},{"1325982341":["hashtag1","hashtag2"]},{"1325982388":["hashtag1","hashtag2"]},{"1325982373":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325982392, 1325982341, 1325982388, 1325982373)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.773709297180176 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 19:45:03.189613
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 19:45:22.689377
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/19/44/image_03012025_19_44_02_724574_0003.jpg', '/home/pi/Desktop/images/03012025/19/45/image_03012025_19_45_02_889163_0000.jpg', '/home/pi/Desktop/images/03012025/19/45/image_03012025_19_45_02_889163_0001.jpg', '/home/pi/Desktop/images/03012025/19/45/image_03012025_19_45_02_889163_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/19/44/image_03012025_19_44_02_724574_0003.jpg
/home/pi/Desktop/images/03012025/19/45/image_03012025_19_45_02_889163_0000.jpg
/home/pi/Desktop/images/03012025/19/45/image_03012025_19_45_02_889163_0001.jpg
/home/pi/Desktop/images/03012025/19/45/image_03012025_19_45_02_889163_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325982734","1325982712","1325982672","1325982561"],"photo_ids_order":["1325982561","1325982672","1325982712","1325982734"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e4863766726bea08c2482efeef306f08.jpg","text":"TemporaryFile(/tmp/multipartBody8254469232601986735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735929992965,"filename":"image_03012025_19_45_02_889163_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/638c43d121dcc2bc49b1beda5767e357.jpg","text":"TemporaryFile(/tmp/multipartBody8137333819913697329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735929992965,"filename":"image_03012025_19_45_02_889163_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b3254044934e48eb4ec6b5376280ab3b.jpg","text":"TemporaryFile(/tmp/multipartBody7246634073583830482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735929992965,"filename":"image_03012025_19_45_02_889163_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e59a3da93a8cfdc79c69a5e7e2a4a8b1.jpg","text":"TemporaryFile(/tmp/multipartBody8307565031101136341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735929992965,"filename":"image_03012025_19_44_02_724574_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325982712","file1":"1325982672","file0":"1325982561","file3":"1325982734"},"map_files_photo_id_array":[{"photo_id":"1325982712","filename":"file2"},{"photo_id":"1325982672","filename":"file1"},{"photo_id":"1325982561","filename":"file0"},{"photo_id":"1325982734","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325982734":["hashtag1","hashtag2"]},{"1325982712":["hashtag1","hashtag2"]},{"1325982672":["hashtag1","hashtag2"]},{"1325982561":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325982734, 1325982712, 1325982672, 1325982561)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.39331555366516 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 19:46:21.907740
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/19/45/image_03012025_19_45_02_889163_0003.jpg', '/home/pi/Desktop/images/03012025/19/46/image_03012025_19_46_03_013733_0000.jpg', '/home/pi/Desktop/images/03012025/19/46/image_03012025_19_46_03_013733_0001.jpg', '/home/pi/Desktop/images/03012025/19/46/image_03012025_19_46_03_013733_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/19/45/image_03012025_19_45_02_889163_0003.jpg
/home/pi/Desktop/images/03012025/19/46/image_03012025_19_46_03_013733_0000.jpg
/home/pi/Desktop/images/03012025/19/46/image_03012025_19_46_03_013733_0001.jpg
/home/pi/Desktop/images/03012025/19/46/image_03012025_19_46_03_013733_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325982936","1325983098","1325983158","1325983323"],"photo_ids_order":["1325982936","1325983098","1325983158","1325983323"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ca531a983b672cb08e0dc88a9604e559.jpg","text":"TemporaryFile(/tmp/multipartBody2762481205136058701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735930052176,"filename":"image_03012025_19_45_02_889163_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8d85063cacb593a55a23e7069eeef3ea.jpg","text":"TemporaryFile(/tmp/multipartBody7338109555518114107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735930052176,"filename":"image_03012025_19_46_03_013733_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8717ccc62afa175fd9ff4e6714ac4a79.jpg","text":"TemporaryFile(/tmp/multipartBody8188331173440005787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735930052176,"filename":"image_03012025_19_46_03_013733_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/76565605e3bdcc5102335100c126b8cf.jpg","text":"TemporaryFile(/tmp/multipartBody7304150377723221523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735930052176,"filename":"image_03012025_19_46_03_013733_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325983158","file1":"1325983098","file0":"1325982936","file3":"1325983323"},"map_files_photo_id_array":[{"photo_id":"1325983158","filename":"file2"},{"photo_id":"1325983098","filename":"file1"},{"photo_id":"1325982936","filename":"file0"},{"photo_id":"1325983323","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325982936":["hashtag1","hashtag2"]},{"1325983098":["hashtag1","hashtag2"]},{"1325983158":["hashtag1","hashtag2"]},{"1325983323":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325982936, 1325983098, 1325983158, 1325983323)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.93819069862366 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 19:47:22.098058
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/19/46/image_03012025_19_46_03_013733_0003.jpg', '/home/pi/Desktop/images/03012025/19/47/image_03012025_19_47_02_215363_0000.jpg', '/home/pi/Desktop/images/03012025/19/47/image_03012025_19_47_02_215363_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/19/46/image_03012025_19_46_03_013733_0003.jpg
/home/pi/Desktop/images/03012025/19/47/image_03012025_19_47_02_215363_0000.jpg
/home/pi/Desktop/images/03012025/19/47/image_03012025_19_47_02_215363_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":["1325983595","1325983919","1325983627"],"photo_ids_order":["1325983595","1325983627","1325983919"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a59da00a25e13c5dcd7900a5301bd6a0.jpg","text":"TemporaryFile(/tmp/multipartBody6019275158984361781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735930109853,"filename":"image_03012025_19_46_03_013733_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/08420d529cd52e067e40269c93e1fc20.jpg","text":"TemporaryFile(/tmp/multipartBody6751757117329586584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735930109853,"filename":"image_03012025_19_47_02_215363_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/737da25946d2057e31c43627c6143946.jpg","text":"TemporaryFile(/tmp/multipartBody1036853553861287481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735930109853,"filename":"image_03012025_19_47_02_215363_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325983919","file1":"1325983627","file0":"1325983595"},"map_files_photo_id_array":[{"photo_id":"1325983919","filename":"file2"},{"photo_id":"1325983627","filename":"file1"},{"photo_id":"1325983595","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325983595":["hashtag1","hashtag2"]},{"1325983919":["hashtag1","hashtag2"]},{"1325983627":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325983595, 1325983919, 1325983627)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.96972894668579 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 19:48:02.694506
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 19:48:22.306595
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/19/47/image_03012025_19_47_02_215363_0003.jpg', '/home/pi/Desktop/images/03012025/19/48/image_03012025_19_48_02_411118_0000.jpg', '/home/pi/Desktop/images/03012025/19/48/image_03012025_19_48_02_411118_0001.jpg', '/home/pi/Desktop/images/03012025/19/48/image_03012025_19_48_02_411118_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/19/47/image_03012025_19_47_02_215363_0003.jpg
/home/pi/Desktop/images/03012025/19/48/image_03012025_19_48_02_411118_0000.jpg
/home/pi/Desktop/images/03012025/19/48/image_03012025_19_48_02_411118_0001.jpg
/home/pi/Desktop/images/03012025/19/48/image_03012025_19_48_02_411118_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325984330","1325984333","1325984326","1325984328"],"photo_ids_order":["1325984326","1325984328","1325984330","1325984333"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/dbcbc66389679de35b1d0f0378164f2b.jpg","text":"TemporaryFile(/tmp/multipartBody734115399905050065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735930172526,"filename":"image_03012025_19_48_02_411118_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/106e1b67fd24f2bef39a94ecf999b8e0.jpg","text":"TemporaryFile(/tmp/multipartBody1354469613773950015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735930172526,"filename":"image_03012025_19_48_02_411118_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/82de64da986942ce51e00b84a9928344.jpg","text":"TemporaryFile(/tmp/multipartBody4415402077323380446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735930172526,"filename":"image_03012025_19_47_02_215363_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f10bf7339978f307ab7cdcd23b11c53c.jpg","text":"TemporaryFile(/tmp/multipartBody2087148870114551805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735930172526,"filename":"image_03012025_19_48_02_411118_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325984330","file1":"1325984328","file0":"1325984326","file3":"1325984333"},"map_files_photo_id_array":[{"photo_id":"1325984330","filename":"file2"},{"photo_id":"1325984328","filename":"file1"},{"photo_id":"1325984326","filename":"file0"},{"photo_id":"1325984333","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325984330":["hashtag1","hashtag2"]},{"1325984333":["hashtag1","hashtag2"]},{"1325984326":["hashtag1","hashtag2"]},{"1325984328":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325984330, 1325984333, 1325984326, 1325984328)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.82455229759216 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 19:49:22.554000
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/19/48/image_03012025_19_48_02_411118_0003.jpg', '/home/pi/Desktop/images/03012025/19/49/image_03012025_19_49_02_620326_0000.jpg', '/home/pi/Desktop/images/03012025/19/49/image_03012025_19_49_02_620326_0001.jpg', '/home/pi/Desktop/images/03012025/19/49/image_03012025_19_49_02_620326_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/19/48/image_03012025_19_48_02_411118_0003.jpg
/home/pi/Desktop/images/03012025/19/49/image_03012025_19_49_02_620326_0000.jpg
/home/pi/Desktop/images/03012025/19/49/image_03012025_19_49_02_620326_0001.jpg
/home/pi/Desktop/images/03012025/19/49/image_03012025_19_49_02_620326_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325984345","1325984347","1325984343","1325984489"],"photo_ids_order":["1325984343","1325984345","1325984347","1325984489"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a065ede19d96ea1f0213e4e1238f3648.jpg","text":"TemporaryFile(/tmp/multipartBody2100462679481707831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735930233085,"filename":"image_03012025_19_49_02_620326_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0ea1234022d11be5b94fc5cfca368568.jpg","text":"TemporaryFile(/tmp/multipartBody8853765775020733256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735930233085,"filename":"image_03012025_19_49_02_620326_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3ab08f16e71b27dabd61953ab6215160.jpg","text":"TemporaryFile(/tmp/multipartBody2704953599027495631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735930233085,"filename":"image_03012025_19_48_02_411118_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1410b482386d12bf43dad846e0dda451.jpg","text":"TemporaryFile(/tmp/multipartBody1245973300002095445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735930233085,"filename":"image_03012025_19_49_02_620326_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325984347","file1":"1325984345","file0":"1325984343","file3":"1325984489"},"map_files_photo_id_array":[{"photo_id":"1325984347","filename":"file2"},{"photo_id":"1325984345","filename":"file1"},{"photo_id":"1325984343","filename":"file0"},{"photo_id":"1325984489","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325984345":["hashtag1","hashtag2"]},{"1325984347":["hashtag1","hashtag2"]},{"1325984343":["hashtag1","hashtag2"]},{"1325984489":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325984345, 1325984347, 1325984343, 1325984489)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.911190032958984 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 19:50:22.577985
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/19/49/image_03012025_19_49_02_620326_0003.jpg', '/home/pi/Desktop/images/03012025/19/50/image_03012025_19_50_02_865620_0000.jpg', '/home/pi/Desktop/images/03012025/19/50/image_03012025_19_50_02_865620_0001.jpg', '/home/pi/Desktop/images/03012025/19/50/image_03012025_19_50_02_865620_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/19/49/image_03012025_19_49_02_620326_0003.jpg
/home/pi/Desktop/images/03012025/19/50/image_03012025_19_50_02_865620_0000.jpg
/home/pi/Desktop/images/03012025/19/50/image_03012025_19_50_02_865620_0001.jpg
/home/pi/Desktop/images/03012025/19/50/image_03012025_19_50_02_865620_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325984777","1325984711","1325984683","1325984686"],"photo_ids_order":["1325984683","1325984686","1325984711","1325984777"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/41a2e3ce4a9d674eb09c43e767eb2a55.jpg","text":"TemporaryFile(/tmp/multipartBody2287217071184106342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735930293016,"filename":"image_03012025_19_50_02_865620_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c43d8ab6fff0d8c749d86dffbc671b9f.jpg","text":"TemporaryFile(/tmp/multipartBody3419857863027622254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735930293016,"filename":"image_03012025_19_50_02_865620_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2d8436746cd6ab722a03f9f525cb46e3.jpg","text":"TemporaryFile(/tmp/multipartBody2871047639118190637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735930293016,"filename":"image_03012025_19_49_02_620326_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f7ec162e515ee5c9fef3e8e3fafb6ec0.jpg","text":"TemporaryFile(/tmp/multipartBody3362796748016718551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735930293016,"filename":"image_03012025_19_50_02_865620_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325984711","file1":"1325984686","file0":"1325984683","file3":"1325984777"},"map_files_photo_id_array":[{"photo_id":"1325984711","filename":"file2"},{"photo_id":"1325984686","filename":"file1"},{"photo_id":"1325984683","filename":"file0"},{"photo_id":"1325984777","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325984777":["hashtag1","hashtag2"]},{"1325984711":["hashtag1","hashtag2"]},{"1325984683":["hashtag1","hashtag2"]},{"1325984686":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325984777, 1325984711, 1325984683, 1325984686)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.388763666152954 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 19:51:22.791371
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/19/50/image_03012025_19_50_02_865620_0003.jpg', '/home/pi/Desktop/images/03012025/19/51/image_03012025_19_51_02_873690_0000.jpg', '/home/pi/Desktop/images/03012025/19/51/image_03012025_19_51_02_873690_0001.jpg', '/home/pi/Desktop/images/03012025/19/51/image_03012025_19_51_02_873690_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/19/50/image_03012025_19_50_02_865620_0003.jpg
/home/pi/Desktop/images/03012025/19/51/image_03012025_19_51_02_873690_0000.jpg
/home/pi/Desktop/images/03012025/19/51/image_03012025_19_51_02_873690_0001.jpg
/home/pi/Desktop/images/03012025/19/51/image_03012025_19_51_02_873690_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325985058","1325985060","1325985054","1325985062"],"photo_ids_order":["1325985054","1325985058","1325985060","1325985062"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2e5ba537abfc95c6cd64d0d9a9b24743.jpg","text":"TemporaryFile(/tmp/multipartBody2623850484869149378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735930353197,"filename":"image_03012025_19_51_02_873690_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f424ed6fd7020e8300be151ed7fc583b.jpg","text":"TemporaryFile(/tmp/multipartBody1626347528140742823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735930353197,"filename":"image_03012025_19_51_02_873690_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1d54b197520849ce6ff4cb158d69bb7b.jpg","text":"TemporaryFile(/tmp/multipartBody589421229393483274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735930353197,"filename":"image_03012025_19_50_02_865620_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c144079870b78a2ca015cdc7891390fa.jpg","text":"TemporaryFile(/tmp/multipartBody6986853781575019560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735930353197,"filename":"image_03012025_19_51_02_873690_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325985060","file1":"1325985058","file0":"1325985054","file3":"1325985062"},"map_files_photo_id_array":[{"photo_id":"1325985060","filename":"file2"},{"photo_id":"1325985058","filename":"file1"},{"photo_id":"1325985054","filename":"file0"},{"photo_id":"1325985062","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325985058":["hashtag1","hashtag2"]},{"1325985060":["hashtag1","hashtag2"]},{"1325985054":["hashtag1","hashtag2"]},{"1325985062":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325985058, 1325985060, 1325985054, 1325985062)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.78013277053833 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 19:52:21.934126
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/19/51/image_03012025_19_51_02_873690_0003.jpg', '/home/pi/Desktop/images/03012025/19/52/image_03012025_19_52_03_045680_0000.jpg', '/home/pi/Desktop/images/03012025/19/52/image_03012025_19_52_03_045680_0001.jpg', '/home/pi/Desktop/images/03012025/19/52/image_03012025_19_52_03_045680_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/19/51/image_03012025_19_51_02_873690_0003.jpg
/home/pi/Desktop/images/03012025/19/52/image_03012025_19_52_03_045680_0000.jpg
/home/pi/Desktop/images/03012025/19/52/image_03012025_19_52_03_045680_0001.jpg
/home/pi/Desktop/images/03012025/19/52/image_03012025_19_52_03_045680_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325985865","1325985777","1325985807","1325985887"],"photo_ids_order":["1325985777","1325985807","1325985865","1325985887"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a60bfb3c52645bbe9485d180050d80e4.jpg","text":"TemporaryFile(/tmp/multipartBody1260340509937982804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735930412245,"filename":"image_03012025_19_52_03_045680_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f74876f0a60e149280fabb6f4a093021.jpg","text":"TemporaryFile(/tmp/multipartBody8854049256450903599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735930412245,"filename":"image_03012025_19_51_02_873690_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/53435521a5a3b9cb19458c6fe0aed134.jpg","text":"TemporaryFile(/tmp/multipartBody4858004415319130863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735930412245,"filename":"image_03012025_19_52_03_045680_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7d1df099e20d19ed9b393ea22cb07552.jpg","text":"TemporaryFile(/tmp/multipartBody7010867300861161704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735930412245,"filename":"image_03012025_19_52_03_045680_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325985865","file1":"1325985807","file0":"1325985777","file3":"1325985887"},"map_files_photo_id_array":[{"photo_id":"1325985865","filename":"file2"},{"photo_id":"1325985807","filename":"file1"},{"photo_id":"1325985777","filename":"file0"},{"photo_id":"1325985887","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325985865":["hashtag1","hashtag2"]},{"1325985777":["hashtag1","hashtag2"]},{"1325985807":["hashtag1","hashtag2"]},{"1325985887":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325985865, 1325985777, 1325985807, 1325985887)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.31752109527588 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 19:53:22.136289
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/19/52/image_03012025_19_52_03_045680_0003.jpg', '/home/pi/Desktop/images/03012025/19/53/image_03012025_19_53_02_234420_0000.jpg', '/home/pi/Desktop/images/03012025/19/53/image_03012025_19_53_02_234420_0001.jpg', '/home/pi/Desktop/images/03012025/19/53/image_03012025_19_53_02_234420_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/19/52/image_03012025_19_52_03_045680_0003.jpg
/home/pi/Desktop/images/03012025/19/53/image_03012025_19_53_02_234420_0000.jpg
/home/pi/Desktop/images/03012025/19/53/image_03012025_19_53_02_234420_0001.jpg
/home/pi/Desktop/images/03012025/19/53/image_03012025_19_53_02_234420_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325986212","1325986460","1325986223","1325986208"],"photo_ids_order":["1325986208","1325986212","1325986223","1325986460"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/715f9a60c456af7611e6eb090cd70662.jpg","text":"TemporaryFile(/tmp/multipartBody6512831131042282463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735930472343,"filename":"image_03012025_19_53_02_234420_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/df11243faaed700cf5e5c3ce1899a8ec.jpg","text":"TemporaryFile(/tmp/multipartBody4544805073522538453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735930472343,"filename":"image_03012025_19_53_02_234420_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e4013b091dd3df5e158a76b05b8982e7.jpg","text":"TemporaryFile(/tmp/multipartBody377341697921712865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735930472343,"filename":"image_03012025_19_53_02_234420_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/70fd987d5cab0ec100c4faee336a4ec6.jpg","text":"TemporaryFile(/tmp/multipartBody984474592075556783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735930472343,"filename":"image_03012025_19_52_03_045680_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325986223","file1":"1325986212","file0":"1325986208","file3":"1325986460"},"map_files_photo_id_array":[{"photo_id":"1325986223","filename":"file2"},{"photo_id":"1325986212","filename":"file1"},{"photo_id":"1325986208","filename":"file0"},{"photo_id":"1325986460","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325986212":["hashtag1","hashtag2"]},{"1325986460":["hashtag1","hashtag2"]},{"1325986223":["hashtag1","hashtag2"]},{"1325986208":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325986212, 1325986460, 1325986223, 1325986208)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.90485334396362 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 19:54:22.272644
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/19/53/image_03012025_19_53_02_234420_0003.jpg', '/home/pi/Desktop/images/03012025/19/54/image_03012025_19_54_02_448080_0000.jpg', '/home/pi/Desktop/images/03012025/19/54/image_03012025_19_54_02_448080_0001.jpg', '/home/pi/Desktop/images/03012025/19/54/image_03012025_19_54_02_448080_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/19/53/image_03012025_19_53_02_234420_0003.jpg
/home/pi/Desktop/images/03012025/19/54/image_03012025_19_54_02_448080_0000.jpg
/home/pi/Desktop/images/03012025/19/54/image_03012025_19_54_02_448080_0001.jpg
/home/pi/Desktop/images/03012025/19/54/image_03012025_19_54_02_448080_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325986623","1325986626","1325986631","1325986628"],"photo_ids_order":["1325986623","1325986626","1325986628","1325986631"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/fe3236986038d888034e90898ca12c40.jpg","text":"TemporaryFile(/tmp/multipartBody5537644645206494857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735930532467,"filename":"image_03012025_19_53_02_234420_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c083ef05f6e31b63c55c036914724ab8.jpg","text":"TemporaryFile(/tmp/multipartBody588166978154268883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735930532467,"filename":"image_03012025_19_54_02_448080_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/24e2c80065663cac3b6aa9e5bf3698d6.jpg","text":"TemporaryFile(/tmp/multipartBody7774563854611066771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735930532467,"filename":"image_03012025_19_54_02_448080_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e0d2aa2e94fc9f9fefc92026b7e99dd2.jpg","text":"TemporaryFile(/tmp/multipartBody4152286756156180642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735930532467,"filename":"image_03012025_19_54_02_448080_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325986628","file1":"1325986626","file0":"1325986623","file3":"1325986631"},"map_files_photo_id_array":[{"photo_id":"1325986628","filename":"file2"},{"photo_id":"1325986626","filename":"file1"},{"photo_id":"1325986623","filename":"file0"},{"photo_id":"1325986631","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325986623":["hashtag1","hashtag2"]},{"1325986626":["hashtag1","hashtag2"]},{"1325986631":["hashtag1","hashtag2"]},{"1325986628":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325986623, 1325986626, 1325986631, 1325986628)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.5489776134491 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-03 19:55:22.424489
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/19/54/image_03012025_19_54_02_448080_0003.jpg', '/home/pi/Desktop/images/03012025/19/55/image_03012025_19_55_02_589961_0000.jpg', '/home/pi/Desktop/images/03012025/19/55/image_03012025_19_55_02_589961_0001.jpg', '/home/pi/Desktop/images/03012025/19/55/image_03012025_19_55_02_589961_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/19/54/image_03012025_19_54_02_448080_0003.jpg
/home/pi/Desktop/images/03012025/19/55/image_03012025_19_55_02_589961_0000.jpg
/home/pi/Desktop/images/03012025/19/55/image_03012025_19_55_02_589961_0001.jpg
/home/pi/Desktop/images/03012025/19/55/image_03012025_19_55_02_589961_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325987002","1325986968","1325987013","1325986964"],"photo_ids_order":["1325986964","1325986968","1325987002","1325987013"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b25a3ad046fce3a34f2de67429ce0b28.jpg","text":"TemporaryFile(/tmp/multipartBody3586843720067739933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735930592725,"filename":"image_03012025_19_55_02_589961_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/56a526c733fdd2f090afe7ede2e327e0.jpg","text":"TemporaryFile(/tmp/multipartBody92460647330853963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735930592725,"filename":"image_03012025_19_55_02_589961_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9644e6953dc1047d5130688b0896f832.jpg","text":"TemporaryFile(/tmp/multipartBody4460173301781155470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735930592725,"filename":"image_03012025_19_55_02_589961_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7ba3e6c6ed463b59f9e36e94be124c5e.jpg","text":"TemporaryFile(/tmp/multipartBody1900933832622164687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735930592725,"filename":"image_03012025_19_54_02_448080_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325987002","file1":"1325986968","file0":"1325986964","file3":"1325987013"},"map_files_photo_id_array":[{"photo_id":"1325987002","filename":"file2"},{"photo_id":"1325986968","filename":"file1"},{"photo_id":"1325986964","filename":"file0"},{"photo_id":"1325987013","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325987002":["hashtag1","hashtag2"]},{"1325986968":["hashtag1","hashtag2"]},{"1325987013":["hashtag1","hashtag2"]},{"1325986964":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325987002, 1325986968, 1325987013, 1325986964)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.64156222343445 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 19:56:03.133737
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 19:56:22.685769
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/19/55/image_03012025_19_55_02_589961_0003.jpg', '/home/pi/Desktop/images/03012025/19/56/image_03012025_19_56_02_810153_0000.jpg', '/home/pi/Desktop/images/03012025/19/56/image_03012025_19_56_02_810153_0001.jpg', '/home/pi/Desktop/images/03012025/19/56/image_03012025_19_56_02_810153_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/19/55/image_03012025_19_55_02_589961_0003.jpg
/home/pi/Desktop/images/03012025/19/56/image_03012025_19_56_02_810153_0000.jpg
/home/pi/Desktop/images/03012025/19/56/image_03012025_19_56_02_810153_0001.jpg
/home/pi/Desktop/images/03012025/19/56/image_03012025_19_56_02_810153_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325987334","1325987078","1325987207","1325987317"],"photo_ids_order":["1325987078","1325987207","1325987317","1325987334"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f96c49d9cbb78574d3209b87ca8cde17.jpg","text":"TemporaryFile(/tmp/multipartBody108634417597463531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735930652786,"filename":"image_03012025_19_56_02_810153_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/285d7375cf1766d2a37b8e5c94ca2a50.jpg","text":"TemporaryFile(/tmp/multipartBody1654209359621697772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735930652786,"filename":"image_03012025_19_55_02_589961_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/fac2060e2be2dcd55c2c0c20f9a52ede.jpg","text":"TemporaryFile(/tmp/multipartBody7784390758829183628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735930652786,"filename":"image_03012025_19_56_02_810153_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0d29e7a0fef88282e2b47509bc23cad0.jpg","text":"TemporaryFile(/tmp/multipartBody302070376615114352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735930652786,"filename":"image_03012025_19_56_02_810153_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325987317","file1":"1325987207","file0":"1325987078","file3":"1325987334"},"map_files_photo_id_array":[{"photo_id":"1325987317","filename":"file2"},{"photo_id":"1325987207","filename":"file1"},{"photo_id":"1325987078","filename":"file0"},{"photo_id":"1325987334","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325987334":["hashtag1","hashtag2"]},{"1325987078":["hashtag1","hashtag2"]},{"1325987207":["hashtag1","hashtag2"]},{"1325987317":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325987334, 1325987078, 1325987207, 1325987317)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.339184284210205 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 19:57:21.880058
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/19/56/image_03012025_19_56_02_810153_0003.jpg', '/home/pi/Desktop/images/03012025/19/57/image_03012025_19_57_03_019723_0000.jpg', '/home/pi/Desktop/images/03012025/19/57/image_03012025_19_57_03_019723_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/19/56/image_03012025_19_56_02_810153_0003.jpg
/home/pi/Desktop/images/03012025/19/57/image_03012025_19_57_03_019723_0000.jpg
/home/pi/Desktop/images/03012025/19/57/image_03012025_19_57_03_019723_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":["1325987889","1325987814","1325987867"],"photo_ids_order":["1325987814","1325987867","1325987889"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f35dc95e879d941aa2ae1bf9cc3ae902.jpg","text":"TemporaryFile(/tmp/multipartBody6818792252397595328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735930709607,"filename":"image_03012025_19_57_03_019723_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/02b206dbe71d1fbbfa8f449297d81ec9.jpg","text":"TemporaryFile(/tmp/multipartBody174255494807706207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735930709607,"filename":"image_03012025_19_56_02_810153_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c452c1d9d64a88c3e9df2641bb3fe706.jpg","text":"TemporaryFile(/tmp/multipartBody7775855987224073786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735930709607,"filename":"image_03012025_19_57_03_019723_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325987889","file1":"1325987867","file0":"1325987814"},"map_files_photo_id_array":[{"photo_id":"1325987889","filename":"file2"},{"photo_id":"1325987867","filename":"file1"},{"photo_id":"1325987814","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325987889":["hashtag1","hashtag2"]},{"1325987814":["hashtag1","hashtag2"]},{"1325987867":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325987889, 1325987814, 1325987867)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.317164421081543 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 19:59:02.865208
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/19/57/image_03012025_19_57_03_019723_0003.jpg', '/home/pi/Desktop/images/03012025/19/58/image_03012025_19_58_02_251895_0000.jpg', '/home/pi/Desktop/images/03012025/19/58/image_03012025_19_58_02_251895_0001.jpg', '/home/pi/Desktop/images/03012025/19/58/image_03012025_19_58_02_251895_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/19/57/image_03012025_19_57_03_019723_0003.jpg
/home/pi/Desktop/images/03012025/19/58/image_03012025_19_58_02_251895_0000.jpg
/home/pi/Desktop/images/03012025/19/58/image_03012025_19_58_02_251895_0001.jpg
/home/pi/Desktop/images/03012025/19/58/image_03012025_19_58_02_251895_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325988522","1325988603","1325988453","1325988393"],"photo_ids_order":["1325988393","1325988453","1325988522","1325988603"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/459f237e5d2eb4aef99fb6e96f87e882.jpg","text":"TemporaryFile(/tmp/multipartBody2488667032594064630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735930813059,"filename":"image_03012025_19_58_02_251895_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/dc99c80b0036bd2eadac272903db4404.jpg","text":"TemporaryFile(/tmp/multipartBody3635569791645074795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735930813059,"filename":"image_03012025_19_58_02_251895_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1607dd87e710d168b6bad5e14fca3886.jpg","text":"TemporaryFile(/tmp/multipartBody1885898058049872615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735930813059,"filename":"image_03012025_19_58_02_251895_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7841eecd67e34db056b700afb047fc72.jpg","text":"TemporaryFile(/tmp/multipartBody1400500209083661919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735930813059,"filename":"image_03012025_19_57_03_019723_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325988522","file1":"1325988453","file0":"1325988393","file3":"1325988603"},"map_files_photo_id_array":[{"photo_id":"1325988522","filename":"file2"},{"photo_id":"1325988453","filename":"file1"},{"photo_id":"1325988393","filename":"file0"},{"photo_id":"1325988603","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325988522":["hashtag1","hashtag2"]},{"1325988603":["hashtag1","hashtag2"]},{"1325988453":["hashtag1","hashtag2"]},{"1325988393":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325988522, 1325988603, 1325988453, 1325988393)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.22355842590332 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-03 19:59:52.091068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/19/58/image_03012025_19_58_02_251895_0003.jpg', '/home/pi/Desktop/images/03012025/19/59/image_03012025_19_59_02_350687_0000.jpg', '/home/pi/Desktop/images/03012025/19/59/image_03012025_19_59_02_350687_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/19/58/image_03012025_19_58_02_251895_0003.jpg
/home/pi/Desktop/images/03012025/19/59/image_03012025_19_59_02_350687_0000.jpg
/home/pi/Desktop/images/03012025/19/59/image_03012025_19_59_02_350687_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":["1325988915","1325988970","1325988814"],"photo_ids_order":["1325988814","1325988915","1325988970"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ee6fb24747d893367e7ae99ebba297f7.jpg","text":"TemporaryFile(/tmp/multipartBody4712178404239206473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735930859856,"filename":"image_03012025_19_59_02_350687_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c28dc50fd719af46af2783593b9b868a.jpg","text":"TemporaryFile(/tmp/multipartBody4436210832628379674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735930859856,"filename":"image_03012025_19_59_02_350687_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0a0ba3fdbf18f8180eed5e6caaedb162.jpg","text":"TemporaryFile(/tmp/multipartBody22543744466420667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735930859856,"filename":"image_03012025_19_58_02_251895_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325988970","file1":"1325988915","file0":"1325988814"},"map_files_photo_id_array":[{"photo_id":"1325988970","filename":"file2"},{"photo_id":"1325988915","filename":"file1"},{"photo_id":"1325988814","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325988915":["hashtag1","hashtag2"]},{"1325988970":["hashtag1","hashtag2"]},{"1325988814":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325988915, 1325988970, 1325988814)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.57712483406067 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-03 20:00:32.246951
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/19/59/image_03012025_19_59_02_350687_0002.jpg', '/home/pi/Desktop/images/03012025/20/00/image_03012025_20_00_02_514708_0000.jpg', '/home/pi/Desktop/images/03012025/20/00/image_03012025_20_00_02_514708_0001.jpg', '/home/pi/Desktop/images/03012025/20/00/image_03012025_20_00_02_514708_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/19/59/image_03012025_19_59_02_350687_0002.jpg
/home/pi/Desktop/images/03012025/20/00/image_03012025_20_00_02_514708_0000.jpg
/home/pi/Desktop/images/03012025/20/00/image_03012025_20_00_02_514708_0001.jpg
/home/pi/Desktop/images/03012025/20/00/image_03012025_20_00_02_514708_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325989937","1325989931","1325989939","1325989779"],"photo_ids_order":["1325989779","1325989931","1325989937","1325989939"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9f0d6f933cb97f0871bcdc93b4022274.jpg","text":"TemporaryFile(/tmp/multipartBody7237555258610013186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735930902375,"filename":"image_03012025_20_00_02_514708_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b85ec773ce0c42d8e23dd18dfaa56ab5.jpg","text":"TemporaryFile(/tmp/multipartBody285455882615714022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735930902375,"filename":"image_03012025_20_00_02_514708_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/33a6f05d7dbcd5b683c7c9b3299d102b.jpg","text":"TemporaryFile(/tmp/multipartBody8561818579005382645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735930902375,"filename":"image_03012025_20_00_02_514708_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c381654a45c5fbabf06e82fccf3ef67b.jpg","text":"TemporaryFile(/tmp/multipartBody4167990992381061697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735930902375,"filename":"image_03012025_19_59_02_350687_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325989937","file1":"1325989931","file0":"1325989779","file3":"1325989939"},"map_files_photo_id_array":[{"photo_id":"1325989937","filename":"file2"},{"photo_id":"1325989931","filename":"file1"},{"photo_id":"1325989779","filename":"file0"},{"photo_id":"1325989939","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325989937":["hashtag1","hashtag2"]},{"1325989931":["hashtag1","hashtag2"]},{"1325989939":["hashtag1","hashtag2"]},{"1325989779":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325989937, 1325989931, 1325989939, 1325989779)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.084484338760376 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 20:01:22.495806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/20/00/image_03012025_20_00_02_514708_0003.jpg', '/home/pi/Desktop/images/03012025/20/01/image_03012025_20_01_02_689407_0000.jpg', '/home/pi/Desktop/images/03012025/20/01/image_03012025_20_01_02_689407_0001.jpg', '/home/pi/Desktop/images/03012025/20/01/image_03012025_20_01_02_689407_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/20/00/image_03012025_20_00_02_514708_0003.jpg
/home/pi/Desktop/images/03012025/20/01/image_03012025_20_01_02_689407_0000.jpg
/home/pi/Desktop/images/03012025/20/01/image_03012025_20_01_02_689407_0001.jpg
/home/pi/Desktop/images/03012025/20/01/image_03012025_20_01_02_689407_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325990649","1325990787","1325990509","1325990499"],"photo_ids_order":["1325990499","1325990509","1325990649","1325990787"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d0d8f929a6bef775f7eb247329329d42.jpg","text":"TemporaryFile(/tmp/multipartBody2695065368151696160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735930952666,"filename":"image_03012025_20_01_02_689407_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4950caa2c8d31ef74b3fa2012d771bf3.jpg","text":"TemporaryFile(/tmp/multipartBody6426790528646493879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735930952666,"filename":"image_03012025_20_01_02_689407_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4653f3e6bf52398bc11e581acd54d389.jpg","text":"TemporaryFile(/tmp/multipartBody2035600454749396671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735930952666,"filename":"image_03012025_20_01_02_689407_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/75a4cd798b357786d8ae8db378fc8e2c.jpg","text":"TemporaryFile(/tmp/multipartBody6669319301457335646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735930952666,"filename":"image_03012025_20_00_02_514708_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325990649","file1":"1325990509","file0":"1325990499","file3":"1325990787"},"map_files_photo_id_array":[{"photo_id":"1325990649","filename":"file2"},{"photo_id":"1325990509","filename":"file1"},{"photo_id":"1325990499","filename":"file0"},{"photo_id":"1325990787","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325990649":["hashtag1","hashtag2"]},{"1325990787":["hashtag1","hashtag2"]},{"1325990509":["hashtag1","hashtag2"]},{"1325990499":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325990649, 1325990787, 1325990509, 1325990499)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.59796071052551 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-03 20:02:22.727639
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/20/01/image_03012025_20_01_02_689407_0003.jpg', '/home/pi/Desktop/images/03012025/20/02/image_03012025_20_02_02_841902_0000.jpg', '/home/pi/Desktop/images/03012025/20/02/image_03012025_20_02_02_841902_0001.jpg', '/home/pi/Desktop/images/03012025/20/02/image_03012025_20_02_02_841902_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/20/01/image_03012025_20_01_02_689407_0003.jpg
/home/pi/Desktop/images/03012025/20/02/image_03012025_20_02_02_841902_0000.jpg
/home/pi/Desktop/images/03012025/20/02/image_03012025_20_02_02_841902_0001.jpg
/home/pi/Desktop/images/03012025/20/02/image_03012025_20_02_02_841902_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325990904","1325990894","1325990899","1325990908"],"photo_ids_order":["1325990894","1325990899","1325990904","1325990908"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/696b32900b608a7e25d2eff6ab018d12.jpg","text":"TemporaryFile(/tmp/multipartBody949477372896935757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735931012839,"filename":"image_03012025_20_02_02_841902_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3c029b6264a21edfe37550e7bf5b7235.jpg","text":"TemporaryFile(/tmp/multipartBody1422236462306612636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735931012839,"filename":"image_03012025_20_01_02_689407_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/bac751cf3bb4bcb9f8239bcf34b38395.jpg","text":"TemporaryFile(/tmp/multipartBody7012306124193827006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735931012839,"filename":"image_03012025_20_02_02_841902_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1a43f43c24e253dc82f6c6523de4d21a.jpg","text":"TemporaryFile(/tmp/multipartBody2268508847578709804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735931012839,"filename":"image_03012025_20_02_02_841902_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325990904","file1":"1325990899","file0":"1325990894","file3":"1325990908"},"map_files_photo_id_array":[{"photo_id":"1325990904","filename":"file2"},{"photo_id":"1325990899","filename":"file1"},{"photo_id":"1325990894","filename":"file0"},{"photo_id":"1325990908","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325990904":["hashtag1","hashtag2"]},{"1325990894":["hashtag1","hashtag2"]},{"1325990899":["hashtag1","hashtag2"]},{"1325990908":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325990904, 1325990894, 1325990899, 1325990908)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.119569063186646 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 20:03:21.959177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/20/02/image_03012025_20_02_02_841902_0003.jpg', '/home/pi/Desktop/images/03012025/20/03/image_03012025_20_03_02_996575_0000.jpg', '/home/pi/Desktop/images/03012025/20/03/image_03012025_20_03_02_996575_0001.jpg', '/home/pi/Desktop/images/03012025/20/03/image_03012025_20_03_02_996575_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/20/02/image_03012025_20_02_02_841902_0003.jpg
/home/pi/Desktop/images/03012025/20/03/image_03012025_20_03_02_996575_0000.jpg
/home/pi/Desktop/images/03012025/20/03/image_03012025_20_03_02_996575_0001.jpg
/home/pi/Desktop/images/03012025/20/03/image_03012025_20_03_02_996575_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325991176","1325991167","1325991181","1325991130"],"photo_ids_order":["1325991130","1325991167","1325991176","1325991181"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1f43d652c154d96cff8ee577c1ffb6b1.jpg","text":"TemporaryFile(/tmp/multipartBody3987796158910610722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735931072197,"filename":"image_03012025_20_03_02_996575_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/fb5cfb7a8d419704213c7b671d05c4f4.jpg","text":"TemporaryFile(/tmp/multipartBody3158615448891921223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735931072197,"filename":"image_03012025_20_03_02_996575_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c8fcd5083f1e7be40d7c1e5bf1535db8.jpg","text":"TemporaryFile(/tmp/multipartBody6214557789775451046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735931072197,"filename":"image_03012025_20_03_02_996575_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a5c045fcdcddfe7e3df851c4f1ddd7a6.jpg","text":"TemporaryFile(/tmp/multipartBody2899601047245021489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735931072197,"filename":"image_03012025_20_02_02_841902_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325991176","file1":"1325991167","file0":"1325991130","file3":"1325991181"},"map_files_photo_id_array":[{"photo_id":"1325991176","filename":"file2"},{"photo_id":"1325991167","filename":"file1"},{"photo_id":"1325991130","filename":"file0"},{"photo_id":"1325991181","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325991176":["hashtag1","hashtag2"]},{"1325991167":["hashtag1","hashtag2"]},{"1325991181":["hashtag1","hashtag2"]},{"1325991130":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325991176, 1325991167, 1325991181, 1325991130)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.7880539894104 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 20:04:22.052417
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/20/03/image_03012025_20_03_02_996575_0003.jpg', '/home/pi/Desktop/images/03012025/20/04/image_03012025_20_04_02_289394_0000.jpg', '/home/pi/Desktop/images/03012025/20/04/image_03012025_20_04_02_289394_0001.jpg', '/home/pi/Desktop/images/03012025/20/04/image_03012025_20_04_02_289394_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/20/03/image_03012025_20_03_02_996575_0003.jpg
/home/pi/Desktop/images/03012025/20/04/image_03012025_20_04_02_289394_0000.jpg
/home/pi/Desktop/images/03012025/20/04/image_03012025_20_04_02_289394_0001.jpg
/home/pi/Desktop/images/03012025/20/04/image_03012025_20_04_02_289394_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325991609","1325991605","1325991642","1325991705"],"photo_ids_order":["1325991605","1325991609","1325991642","1325991705"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/635400e381f54b6c19b901e0b407abe6.jpg","text":"TemporaryFile(/tmp/multipartBody2057630477963502063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735931132250,"filename":"image_03012025_20_04_02_289394_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1efda5e1199ddc8cb104187aa75baaf9.jpg","text":"TemporaryFile(/tmp/multipartBody7007658814000834966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735931132250,"filename":"image_03012025_20_03_02_996575_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/da7bb9cfa760b51dd0bfbfa62aac6ea7.jpg","text":"TemporaryFile(/tmp/multipartBody2275234193474544513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735931132250,"filename":"image_03012025_20_04_02_289394_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3d905fa6d2eceb9295b618b86890b543.jpg","text":"TemporaryFile(/tmp/multipartBody8754238795104910116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735931132250,"filename":"image_03012025_20_04_02_289394_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325991642","file1":"1325991609","file0":"1325991605","file3":"1325991705"},"map_files_photo_id_array":[{"photo_id":"1325991642","filename":"file2"},{"photo_id":"1325991609","filename":"file1"},{"photo_id":"1325991605","filename":"file0"},{"photo_id":"1325991705","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325991609":["hashtag1","hashtag2"]},{"1325991605":["hashtag1","hashtag2"]},{"1325991642":["hashtag1","hashtag2"]},{"1325991705":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325991609, 1325991605, 1325991642, 1325991705)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.553104400634766 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 20:05:02.806219
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 20:05:22.204120
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/20/04/image_03012025_20_04_02_289394_0003.jpg', '/home/pi/Desktop/images/03012025/20/05/image_03012025_20_05_02_445801_0000.jpg', '/home/pi/Desktop/images/03012025/20/05/image_03012025_20_05_02_445801_0001.jpg', '/home/pi/Desktop/images/03012025/20/05/image_03012025_20_05_02_445801_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/20/04/image_03012025_20_04_02_289394_0003.jpg
/home/pi/Desktop/images/03012025/20/05/image_03012025_20_05_02_445801_0000.jpg
/home/pi/Desktop/images/03012025/20/05/image_03012025_20_05_02_445801_0001.jpg
/home/pi/Desktop/images/03012025/20/05/image_03012025_20_05_02_445801_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325992477","1325992473","1325992569","1325992481"],"photo_ids_order":["1325992473","1325992477","1325992481","1325992569"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/79cd602f4c0cd6611d8fadccc39b2b50.jpg","text":"TemporaryFile(/tmp/multipartBody1865776534465523221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735931192531,"filename":"image_03012025_20_05_02_445801_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0ffcbfd21d48acb9d3d250d015f14b77.jpg","text":"TemporaryFile(/tmp/multipartBody6381063131028373374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735931192531,"filename":"image_03012025_20_04_02_289394_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/380de86380162cb81c1ee63e108e170d.jpg","text":"TemporaryFile(/tmp/multipartBody6414361200927630343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735931192531,"filename":"image_03012025_20_05_02_445801_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/507d9ba512bbf824c761958e370f8346.jpg","text":"TemporaryFile(/tmp/multipartBody6940155631049145467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735931192531,"filename":"image_03012025_20_05_02_445801_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325992481","file1":"1325992477","file0":"1325992473","file3":"1325992569"},"map_files_photo_id_array":[{"photo_id":"1325992481","filename":"file2"},{"photo_id":"1325992477","filename":"file1"},{"photo_id":"1325992473","filename":"file0"},{"photo_id":"1325992569","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325992477":["hashtag1","hashtag2"]},{"1325992473":["hashtag1","hashtag2"]},{"1325992569":["hashtag1","hashtag2"]},{"1325992481":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325992477, 1325992473, 1325992569, 1325992481)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.61915564537048 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-03 20:06:22.339966
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/20/05/image_03012025_20_05_02_445801_0003.jpg', '/home/pi/Desktop/images/03012025/20/06/image_03012025_20_06_02_522013_0000.jpg', '/home/pi/Desktop/images/03012025/20/06/image_03012025_20_06_02_522013_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/20/05/image_03012025_20_05_02_445801_0003.jpg
/home/pi/Desktop/images/03012025/20/06/image_03012025_20_06_02_522013_0000.jpg
/home/pi/Desktop/images/03012025/20/06/image_03012025_20_06_02_522013_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":["1325992865","1325992996","1325992867"],"photo_ids_order":["1325992865","1325992867","1325992996"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5732db9b759a45261c31fda9dfb5dbf4.jpg","text":"TemporaryFile(/tmp/multipartBody4854354900104057041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735931250216,"filename":"image_03012025_20_05_02_445801_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b73954f9516d0ddfcb395164cb1231da.jpg","text":"TemporaryFile(/tmp/multipartBody493965562581134076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735931250216,"filename":"image_03012025_20_06_02_522013_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/eb670746f78310a34f7ffd1b94406d23.jpg","text":"TemporaryFile(/tmp/multipartBody2932559218935984124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735931250216,"filename":"image_03012025_20_06_02_522013_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325992996","file1":"1325992867","file0":"1325992865"},"map_files_photo_id_array":[{"photo_id":"1325992996","filename":"file2"},{"photo_id":"1325992867","filename":"file1"},{"photo_id":"1325992865","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325992865":["hashtag1","hashtag2"]},{"1325992996":["hashtag1","hashtag2"]},{"1325992867":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325992865, 1325992996, 1325992867)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.840322732925415 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 20:07:03.065855
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 20:07:22.471937
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/20/06/image_03012025_20_06_02_522013_0003.jpg', '/home/pi/Desktop/images/03012025/20/07/image_03012025_20_07_02_723942_0000.jpg', '/home/pi/Desktop/images/03012025/20/07/image_03012025_20_07_02_723942_0001.jpg', '/home/pi/Desktop/images/03012025/20/07/image_03012025_20_07_02_723942_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/20/06/image_03012025_20_06_02_522013_0003.jpg
/home/pi/Desktop/images/03012025/20/07/image_03012025_20_07_02_723942_0000.jpg
/home/pi/Desktop/images/03012025/20/07/image_03012025_20_07_02_723942_0001.jpg
/home/pi/Desktop/images/03012025/20/07/image_03012025_20_07_02_723942_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325993416","1325993412","1325993409","1325993414"],"photo_ids_order":["1325993409","1325993412","1325993414","1325993416"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e01d07b2c1a71aec0577885a45d56649.jpg","text":"TemporaryFile(/tmp/multipartBody6004111645800671513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735931312709,"filename":"image_03012025_20_07_02_723942_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/682c51e6af06cd7aa26fa9673209d81d.jpg","text":"TemporaryFile(/tmp/multipartBody5003042926032598179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735931312709,"filename":"image_03012025_20_07_02_723942_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/98b9f9b55c6d2dbe4abd54493d00a981.jpg","text":"TemporaryFile(/tmp/multipartBody5125413163400620304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735931312709,"filename":"image_03012025_20_06_02_522013_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9720f87dd205881eacddd8ea03bda360.jpg","text":"TemporaryFile(/tmp/multipartBody984316483956433943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735931312709,"filename":"image_03012025_20_07_02_723942_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325993414","file1":"1325993412","file0":"1325993409","file3":"1325993416"},"map_files_photo_id_array":[{"photo_id":"1325993414","filename":"file2"},{"photo_id":"1325993412","filename":"file1"},{"photo_id":"1325993409","filename":"file0"},{"photo_id":"1325993416","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325993416":["hashtag1","hashtag2"]},{"1325993412":["hashtag1","hashtag2"]},{"1325993409":["hashtag1","hashtag2"]},{"1325993414":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325993416, 1325993412, 1325993409, 1325993414)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.70322036743164 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 20:08:22.720391
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/20/07/image_03012025_20_07_02_723942_0003.jpg', '/home/pi/Desktop/images/03012025/20/08/image_03012025_20_08_02_923314_0000.jpg', '/home/pi/Desktop/images/03012025/20/08/image_03012025_20_08_02_923314_0001.jpg', '/home/pi/Desktop/images/03012025/20/08/image_03012025_20_08_02_923314_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/20/07/image_03012025_20_07_02_723942_0003.jpg
/home/pi/Desktop/images/03012025/20/08/image_03012025_20_08_02_923314_0000.jpg
/home/pi/Desktop/images/03012025/20/08/image_03012025_20_08_02_923314_0001.jpg
/home/pi/Desktop/images/03012025/20/08/image_03012025_20_08_02_923314_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325993779","1325993790","1325993783","1325993786"],"photo_ids_order":["1325993779","1325993783","1325993786","1325993790"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b0ba03e59681878ce44def487e7416b4.jpg","text":"TemporaryFile(/tmp/multipartBody1627703692614942430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735931372954,"filename":"image_03012025_20_07_02_723942_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3223005d51a584e2ea47bfea734c4aaa.jpg","text":"TemporaryFile(/tmp/multipartBody5575976072193475063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735931372954,"filename":"image_03012025_20_08_02_923314_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/01e8334ef6f447797aa9133ba777dd61.jpg","text":"TemporaryFile(/tmp/multipartBody2437763693960012292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735931372954,"filename":"image_03012025_20_08_02_923314_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c0fbc8a8dcfe77c3c67683ebc4ba81f8.jpg","text":"TemporaryFile(/tmp/multipartBody3549824652362913342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735931372954,"filename":"image_03012025_20_08_02_923314_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325993786","file1":"1325993783","file0":"1325993779","file3":"1325993790"},"map_files_photo_id_array":[{"photo_id":"1325993786","filename":"file2"},{"photo_id":"1325993783","filename":"file1"},{"photo_id":"1325993779","filename":"file0"},{"photo_id":"1325993790","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325993779":["hashtag1","hashtag2"]},{"1325993790":["hashtag1","hashtag2"]},{"1325993783":["hashtag1","hashtag2"]},{"1325993786":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325993779, 1325993790, 1325993783, 1325993786)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.93457365036011 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 20:09:21.832464
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/20/08/image_03012025_20_08_02_923314_0003.jpg', '/home/pi/Desktop/images/03012025/20/09/image_03012025_20_09_03_024097_0000.jpg', '/home/pi/Desktop/images/03012025/20/09/image_03012025_20_09_03_024097_0001.jpg', '/home/pi/Desktop/images/03012025/20/09/image_03012025_20_09_03_024097_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/20/08/image_03012025_20_08_02_923314_0003.jpg
/home/pi/Desktop/images/03012025/20/09/image_03012025_20_09_03_024097_0000.jpg
/home/pi/Desktop/images/03012025/20/09/image_03012025_20_09_03_024097_0001.jpg
/home/pi/Desktop/images/03012025/20/09/image_03012025_20_09_03_024097_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325994511","1325994514","1325994516","1325994507"],"photo_ids_order":["1325994507","1325994511","1325994514","1325994516"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/17a752ae348f595345b9a51645cbd933.jpg","text":"TemporaryFile(/tmp/multipartBody7354780694259443829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735931432173,"filename":"image_03012025_20_09_03_024097_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c68d8518ad9f5cf2e96fbb069a430cdb.jpg","text":"TemporaryFile(/tmp/multipartBody4983653736562095879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735931432173,"filename":"image_03012025_20_09_03_024097_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/982576f80665bbbe6eaa2c607ab66741.jpg","text":"TemporaryFile(/tmp/multipartBody4629226770331763954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735931432173,"filename":"image_03012025_20_09_03_024097_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0a978952e3e7e64627039719753194db.jpg","text":"TemporaryFile(/tmp/multipartBody8195871624226066004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735931432173,"filename":"image_03012025_20_08_02_923314_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325994514","file1":"1325994511","file0":"1325994507","file3":"1325994516"},"map_files_photo_id_array":[{"photo_id":"1325994514","filename":"file2"},{"photo_id":"1325994511","filename":"file1"},{"photo_id":"1325994507","filename":"file0"},{"photo_id":"1325994516","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325994511":["hashtag1","hashtag2"]},{"1325994514":["hashtag1","hashtag2"]},{"1325994516":["hashtag1","hashtag2"]},{"1325994507":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325994511, 1325994514, 1325994516, 1325994507)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.420774698257446 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 20:10:22.020685
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/20/09/image_03012025_20_09_03_024097_0003.jpg', '/home/pi/Desktop/images/03012025/20/10/image_03012025_20_10_02_241006_0000.jpg', '/home/pi/Desktop/images/03012025/20/10/image_03012025_20_10_02_241006_0001.jpg', '/home/pi/Desktop/images/03012025/20/10/image_03012025_20_10_02_241006_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/20/09/image_03012025_20_09_03_024097_0003.jpg
/home/pi/Desktop/images/03012025/20/10/image_03012025_20_10_02_241006_0000.jpg
/home/pi/Desktop/images/03012025/20/10/image_03012025_20_10_02_241006_0001.jpg
/home/pi/Desktop/images/03012025/20/10/image_03012025_20_10_02_241006_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325994531","1325994527","1325994614","1325994889"],"photo_ids_order":["1325994527","1325994531","1325994614","1325994889"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6f65f61b171c2e92387125e9f4fa2553.jpg","text":"TemporaryFile(/tmp/multipartBody8865681552528807587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735931492201,"filename":"image_03012025_20_10_02_241006_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/cb749c0d517be5b79448fd1980f9ba55.jpg","text":"TemporaryFile(/tmp/multipartBody3948671499579863311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735931492201,"filename":"image_03012025_20_09_03_024097_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/264c9d918c45d6547a51fc1556671141.jpg","text":"TemporaryFile(/tmp/multipartBody2510216478632696385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735931492201,"filename":"image_03012025_20_10_02_241006_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6689c9422dbd55f14e7b761c0ba280b8.jpg","text":"TemporaryFile(/tmp/multipartBody3838662692696554945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735931492201,"filename":"image_03012025_20_10_02_241006_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325994614","file1":"1325994531","file0":"1325994527","file3":"1325994889"},"map_files_photo_id_array":[{"photo_id":"1325994614","filename":"file2"},{"photo_id":"1325994531","filename":"file1"},{"photo_id":"1325994527","filename":"file0"},{"photo_id":"1325994889","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325994531":["hashtag1","hashtag2"]},{"1325994527":["hashtag1","hashtag2"]},{"1325994614":["hashtag1","hashtag2"]},{"1325994889":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325994531, 1325994527, 1325994614, 1325994889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 47.07373309135437 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 20:11:22.175368
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/20/10/image_03012025_20_10_02_241006_0003.jpg', '/home/pi/Desktop/images/03012025/20/11/image_03012025_20_11_02_375398_0000.jpg', '/home/pi/Desktop/images/03012025/20/11/image_03012025_20_11_02_375398_0001.jpg', '/home/pi/Desktop/images/03012025/20/11/image_03012025_20_11_02_375398_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/20/10/image_03012025_20_10_02_241006_0003.jpg
/home/pi/Desktop/images/03012025/20/11/image_03012025_20_11_02_375398_0000.jpg
/home/pi/Desktop/images/03012025/20/11/image_03012025_20_11_02_375398_0001.jpg
/home/pi/Desktop/images/03012025/20/11/image_03012025_20_11_02_375398_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325995184","1325995187","1325995189","1325995191"],"photo_ids_order":["1325995184","1325995187","1325995189","1325995191"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5856ec868ba839d506f55eaf0f56c943.jpg","text":"TemporaryFile(/tmp/multipartBody2544002270297720487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735931552356,"filename":"image_03012025_20_10_02_241006_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d1edf35a898cd5672db5905ba8fafe79.jpg","text":"TemporaryFile(/tmp/multipartBody8069875713456187917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735931552356,"filename":"image_03012025_20_11_02_375398_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3bd667c515adb5b1c1d281c19964f3d8.jpg","text":"TemporaryFile(/tmp/multipartBody4637605490767172599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735931552356,"filename":"image_03012025_20_11_02_375398_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0f52a18fc6e62c5fbb54deab3c21fbc5.jpg","text":"TemporaryFile(/tmp/multipartBody3531990813679543638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735931552356,"filename":"image_03012025_20_11_02_375398_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325995189","file1":"1325995187","file0":"1325995184","file3":"1325995191"},"map_files_photo_id_array":[{"photo_id":"1325995189","filename":"file2"},{"photo_id":"1325995187","filename":"file1"},{"photo_id":"1325995184","filename":"file0"},{"photo_id":"1325995191","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325995184":["hashtag1","hashtag2"]},{"1325995187":["hashtag1","hashtag2"]},{"1325995189":["hashtag1","hashtag2"]},{"1325995191":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325995184, 1325995187, 1325995189, 1325995191)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.421339988708496 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 20:12:02.918703
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 20:12:22.450322
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/20/11/image_03012025_20_11_02_375398_0003.jpg', '/home/pi/Desktop/images/03012025/20/12/image_03012025_20_12_02_583516_0000.jpg', '/home/pi/Desktop/images/03012025/20/12/image_03012025_20_12_02_583516_0001.jpg', '/home/pi/Desktop/images/03012025/20/12/image_03012025_20_12_02_583516_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/20/11/image_03012025_20_11_02_375398_0003.jpg
/home/pi/Desktop/images/03012025/20/12/image_03012025_20_12_02_583516_0000.jpg
/home/pi/Desktop/images/03012025/20/12/image_03012025_20_12_02_583516_0001.jpg
/home/pi/Desktop/images/03012025/20/12/image_03012025_20_12_02_583516_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325995204","1325995212","1325995325","1325995207"],"photo_ids_order":["1325995204","1325995207","1325995212","1325995325"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5e18925014e3e76998cae09d6cdf7813.jpg","text":"TemporaryFile(/tmp/multipartBody7353049445984630521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735931612845,"filename":"image_03012025_20_11_02_375398_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6de203fd8cf90d269b264427e8fd079d.jpg","text":"TemporaryFile(/tmp/multipartBody4156682370614118770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735931612845,"filename":"image_03012025_20_12_02_583516_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3f8325a8629abb6db81437d2fc2f3172.jpg","text":"TemporaryFile(/tmp/multipartBody961549690718609171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735931612845,"filename":"image_03012025_20_12_02_583516_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f7d70bd635cde61c543a2fe7634bb843.jpg","text":"TemporaryFile(/tmp/multipartBody2938487947004186438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735931612845,"filename":"image_03012025_20_12_02_583516_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325995212","file1":"1325995207","file0":"1325995204","file3":"1325995325"},"map_files_photo_id_array":[{"photo_id":"1325995212","filename":"file2"},{"photo_id":"1325995207","filename":"file1"},{"photo_id":"1325995204","filename":"file0"},{"photo_id":"1325995325","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325995204":["hashtag1","hashtag2"]},{"1325995212":["hashtag1","hashtag2"]},{"1325995325":["hashtag1","hashtag2"]},{"1325995207":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325995204, 1325995212, 1325995325, 1325995207)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.32587790489197 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 20:13:22.657936
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/20/12/image_03012025_20_12_02_583516_0003.jpg', '/home/pi/Desktop/images/03012025/20/13/image_03012025_20_13_02_829345_0000.jpg', '/home/pi/Desktop/images/03012025/20/13/image_03012025_20_13_02_829345_0001.jpg', '/home/pi/Desktop/images/03012025/20/13/image_03012025_20_13_02_829345_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/20/12/image_03012025_20_12_02_583516_0003.jpg
/home/pi/Desktop/images/03012025/20/13/image_03012025_20_13_02_829345_0000.jpg
/home/pi/Desktop/images/03012025/20/13/image_03012025_20_13_02_829345_0001.jpg
/home/pi/Desktop/images/03012025/20/13/image_03012025_20_13_02_829345_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325995545","1325995436","1325995415","1325995537"],"photo_ids_order":["1325995415","1325995436","1325995537","1325995545"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9eea2e739d0354e8af22db3cb0379af8.jpg","text":"TemporaryFile(/tmp/multipartBody3840454934242959457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735931672953,"filename":"image_03012025_20_13_02_829345_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/df0d5019f113461e45ad596b1b47b614.jpg","text":"TemporaryFile(/tmp/multipartBody6658335153750173820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735931672953,"filename":"image_03012025_20_13_02_829345_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6cebeae10c505e2db33d080e8f11eabd.jpg","text":"TemporaryFile(/tmp/multipartBody5877917934544812980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735931672953,"filename":"image_03012025_20_12_02_583516_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0a37554acabd3a5a994cb5bed61e08b9.jpg","text":"TemporaryFile(/tmp/multipartBody1725333937005913853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735931672953,"filename":"image_03012025_20_13_02_829345_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325995537","file1":"1325995436","file0":"1325995415","file3":"1325995545"},"map_files_photo_id_array":[{"photo_id":"1325995537","filename":"file2"},{"photo_id":"1325995436","filename":"file1"},{"photo_id":"1325995415","filename":"file0"},{"photo_id":"1325995545","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325995545":["hashtag1","hashtag2"]},{"1325995436":["hashtag1","hashtag2"]},{"1325995415":["hashtag1","hashtag2"]},{"1325995537":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325995545, 1325995436, 1325995415, 1325995537)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.9368941783905 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 20:14:21.904915
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/20/13/image_03012025_20_13_02_829345_0003.jpg', '/home/pi/Desktop/images/03012025/20/14/image_03012025_20_14_03_002478_0000.jpg', '/home/pi/Desktop/images/03012025/20/14/image_03012025_20_14_03_002478_0001.jpg', '/home/pi/Desktop/images/03012025/20/14/image_03012025_20_14_03_002478_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/20/13/image_03012025_20_13_02_829345_0003.jpg
/home/pi/Desktop/images/03012025/20/14/image_03012025_20_14_03_002478_0000.jpg
/home/pi/Desktop/images/03012025/20/14/image_03012025_20_14_03_002478_0001.jpg
/home/pi/Desktop/images/03012025/20/14/image_03012025_20_14_03_002478_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325995650","1325995643","1325995646","1325995648"],"photo_ids_order":["1325995643","1325995646","1325995648","1325995650"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c99338e6d1167c8b70ca884f206fac2c.jpg","text":"TemporaryFile(/tmp/multipartBody759723289613066802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735931732157,"filename":"image_03012025_20_14_03_002478_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ff86c45656f0112ec70a1dac9cafad4e.jpg","text":"TemporaryFile(/tmp/multipartBody6239882777871328518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735931732157,"filename":"image_03012025_20_13_02_829345_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4bcc9c47b674a0d715382bb1328bad9f.jpg","text":"TemporaryFile(/tmp/multipartBody7272130916334075649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735931732157,"filename":"image_03012025_20_14_03_002478_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4f1f275892dd1e8fc73d311b767723d9.jpg","text":"TemporaryFile(/tmp/multipartBody3713844660887895134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735931732157,"filename":"image_03012025_20_14_03_002478_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325995648","file1":"1325995646","file0":"1325995643","file3":"1325995650"},"map_files_photo_id_array":[{"photo_id":"1325995648","filename":"file2"},{"photo_id":"1325995646","filename":"file1"},{"photo_id":"1325995643","filename":"file0"},{"photo_id":"1325995650","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325995650":["hashtag1","hashtag2"]},{"1325995643":["hashtag1","hashtag2"]},{"1325995646":["hashtag1","hashtag2"]},{"1325995648":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325995650, 1325995643, 1325995646, 1325995648)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.544881105422974 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 20:15:02.635683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 20:15:21.950362
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/20/14/image_03012025_20_14_03_002478_0003.jpg', '/home/pi/Desktop/images/03012025/20/15/image_03012025_20_15_02_178524_0000.jpg', '/home/pi/Desktop/images/03012025/20/15/image_03012025_20_15_02_178524_0001.jpg', '/home/pi/Desktop/images/03012025/20/15/image_03012025_20_15_02_178524_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/20/14/image_03012025_20_14_03_002478_0003.jpg
/home/pi/Desktop/images/03012025/20/15/image_03012025_20_15_02_178524_0000.jpg
/home/pi/Desktop/images/03012025/20/15/image_03012025_20_15_02_178524_0001.jpg
/home/pi/Desktop/images/03012025/20/15/image_03012025_20_15_02_178524_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325995878","1325995947","1325995960","1325995957"],"photo_ids_order":["1325995878","1325995947","1325995957","1325995960"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/11e8e7fb3f4ea30286b09a95ec3ee205.jpg","text":"TemporaryFile(/tmp/multipartBody8682345382083042327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735931792138,"filename":"image_03012025_20_14_03_002478_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/bd61c582421ff967ce7eefbc50dff2f6.jpg","text":"TemporaryFile(/tmp/multipartBody7723335162730125208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735931792138,"filename":"image_03012025_20_15_02_178524_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6ecebdfb703e74c7598bfba1fe3e4ad6.jpg","text":"TemporaryFile(/tmp/multipartBody6062321022907942457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735931792138,"filename":"image_03012025_20_15_02_178524_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/80a078e433aa806d68aba658c3574839.jpg","text":"TemporaryFile(/tmp/multipartBody7677484860645889446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735931792138,"filename":"image_03012025_20_15_02_178524_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325995957","file1":"1325995947","file0":"1325995878","file3":"1325995960"},"map_files_photo_id_array":[{"photo_id":"1325995957","filename":"file2"},{"photo_id":"1325995947","filename":"file1"},{"photo_id":"1325995878","filename":"file0"},{"photo_id":"1325995960","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325995878":["hashtag1","hashtag2"]},{"1325995947":["hashtag1","hashtag2"]},{"1325995960":["hashtag1","hashtag2"]},{"1325995957":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325995878, 1325995947, 1325995960, 1325995957)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.281800985336304 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 20:16:02.682215
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 20:16:22.192385
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/20/15/image_03012025_20_15_02_178524_0003.jpg', '/home/pi/Desktop/images/03012025/20/16/image_03012025_20_16_02_410623_0001.jpg', '/home/pi/Desktop/images/03012025/20/16/image_03012025_20_16_02_410623_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/20/15/image_03012025_20_15_02_178524_0003.jpg
/home/pi/Desktop/images/03012025/20/16/image_03012025_20_16_02_410623_0001.jpg
/home/pi/Desktop/images/03012025/20/16/image_03012025_20_16_02_410623_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.352307319641113 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-03 20:16:32.198020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/20/15/image_03012025_20_15_02_178524_0003.jpg', '/home/pi/Desktop/images/03012025/20/16/image_03012025_20_16_02_410623_0001.jpg', '/home/pi/Desktop/images/03012025/20/16/image_03012025_20_16_02_410623_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/20/15/image_03012025_20_15_02_178524_0003.jpg
/home/pi/Desktop/images/03012025/20/16/image_03012025_20_16_02_410623_0001.jpg
/home/pi/Desktop/images/03012025/20/16/image_03012025_20_16_02_410623_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325996447","1325996416","1325996541"],"photo_ids_order":["1325996416","1325996447","1325996541"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/39e67bad8f0a26df70030c58630f70b2.jpg","text":"TemporaryFile(/tmp/multipartBody1366329877139201314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735931859934,"filename":"image_03012025_20_16_02_410623_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4e9d1e1335a9ae604759430b26e43cba.jpg","text":"TemporaryFile(/tmp/multipartBody8268485007561956317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735931859934,"filename":"image_03012025_20_15_02_178524_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1714352f23b674f6939e9a15ea07425d.jpg","text":"TemporaryFile(/tmp/multipartBody8278099389919776479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735931859934,"filename":"image_03012025_20_16_02_410623_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325996541","file1":"1325996447","file0":"1325996416"},"map_files_photo_id_array":[{"photo_id":"1325996541","filename":"file2"},{"photo_id":"1325996447","filename":"file1"},{"photo_id":"1325996416","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325996447":["hashtag1","hashtag2"]},{"1325996416":["hashtag1","hashtag2"]},{"1325996541":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325996447, 1325996416, 1325996541)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.899544954299927 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 20:17:22.335720
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/20/16/image_03012025_20_16_02_410623_0003.jpg', '/home/pi/Desktop/images/03012025/20/17/image_03012025_20_17_02_630060_0000.jpg', '/home/pi/Desktop/images/03012025/20/17/image_03012025_20_17_02_630060_0001.jpg', '/home/pi/Desktop/images/03012025/20/17/image_03012025_20_17_02_630060_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/20/16/image_03012025_20_16_02_410623_0003.jpg
/home/pi/Desktop/images/03012025/20/17/image_03012025_20_17_02_630060_0000.jpg
/home/pi/Desktop/images/03012025/20/17/image_03012025_20_17_02_630060_0001.jpg
/home/pi/Desktop/images/03012025/20/17/image_03012025_20_17_02_630060_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325996662","1325996785","1325996770","1325996658"],"photo_ids_order":["1325996658","1325996662","1325996770","1325996785"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a0b030e8d01e60afd7e2067b77ffeb61.jpg","text":"TemporaryFile(/tmp/multipartBody8810347839691915142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735931912610,"filename":"image_03012025_20_17_02_630060_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/fb63572800ca6244be47651bc328732a.jpg","text":"TemporaryFile(/tmp/multipartBody5017487656560917012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735931912610,"filename":"image_03012025_20_17_02_630060_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0497cad0d9f026633d5c8b74dafbc5dd.jpg","text":"TemporaryFile(/tmp/multipartBody58581680570721372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735931912610,"filename":"image_03012025_20_17_02_630060_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c68f9765575e629df91b6e70cd1dea9f.jpg","text":"TemporaryFile(/tmp/multipartBody4602416137356212960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735931912610,"filename":"image_03012025_20_16_02_410623_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325996770","file1":"1325996662","file0":"1325996658","file3":"1325996785"},"map_files_photo_id_array":[{"photo_id":"1325996770","filename":"file2"},{"photo_id":"1325996662","filename":"file1"},{"photo_id":"1325996658","filename":"file0"},{"photo_id":"1325996785","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325996662":["hashtag1","hashtag2"]},{"1325996785":["hashtag1","hashtag2"]},{"1325996770":["hashtag1","hashtag2"]},{"1325996658":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325996662, 1325996785, 1325996770, 1325996658)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.68586325645447 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-03 20:18:22.630417
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/20/17/image_03012025_20_17_02_630060_0003.jpg', '/home/pi/Desktop/images/03012025/20/18/image_03012025_20_18_02_705171_0000.jpg', '/home/pi/Desktop/images/03012025/20/18/image_03012025_20_18_02_705171_0001.jpg', '/home/pi/Desktop/images/03012025/20/18/image_03012025_20_18_02_705171_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/20/17/image_03012025_20_17_02_630060_0003.jpg
/home/pi/Desktop/images/03012025/20/18/image_03012025_20_18_02_705171_0000.jpg
/home/pi/Desktop/images/03012025/20/18/image_03012025_20_18_02_705171_0001.jpg
/home/pi/Desktop/images/03012025/20/18/image_03012025_20_18_02_705171_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325996969","1325996972","1325996966","1325996974"],"photo_ids_order":["1325996966","1325996969","1325996972","1325996974"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5d4efa107e6c0b161fc1036f34fc63a7.jpg","text":"TemporaryFile(/tmp/multipartBody3284337251320786708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735931972797,"filename":"image_03012025_20_18_02_705171_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8733347bfe0b74e39a742c30b9872432.jpg","text":"TemporaryFile(/tmp/multipartBody8529497778799296336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735931972797,"filename":"image_03012025_20_18_02_705171_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4bbe8c8d67cf4be85bb835a21e28f816.jpg","text":"TemporaryFile(/tmp/multipartBody8693956748132539199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735931972797,"filename":"image_03012025_20_17_02_630060_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3feda6c70f4031a2dae25d3ed0c1edc6.jpg","text":"TemporaryFile(/tmp/multipartBody1787503492093478449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735931972797,"filename":"image_03012025_20_18_02_705171_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325996972","file1":"1325996969","file0":"1325996966","file3":"1325996974"},"map_files_photo_id_array":[{"photo_id":"1325996972","filename":"file2"},{"photo_id":"1325996969","filename":"file1"},{"photo_id":"1325996966","filename":"file0"},{"photo_id":"1325996974","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325996969":["hashtag1","hashtag2"]},{"1325996972":["hashtag1","hashtag2"]},{"1325996966":["hashtag1","hashtag2"]},{"1325996974":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325996969, 1325996972, 1325996966, 1325996974)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.450459718704224 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 20:19:03.295136
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 20:19:22.767728
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/20/18/image_03012025_20_18_02_705171_0003.jpg', '/home/pi/Desktop/images/03012025/20/19/image_03012025_20_19_02_914180_0000.jpg', '/home/pi/Desktop/images/03012025/20/19/image_03012025_20_19_02_914180_0001.jpg', '/home/pi/Desktop/images/03012025/20/19/image_03012025_20_19_02_914180_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/20/18/image_03012025_20_18_02_705171_0003.jpg
/home/pi/Desktop/images/03012025/20/19/image_03012025_20_19_02_914180_0000.jpg
/home/pi/Desktop/images/03012025/20/19/image_03012025_20_19_02_914180_0001.jpg
/home/pi/Desktop/images/03012025/20/19/image_03012025_20_19_02_914180_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325996990","1325997025","1325996997","1325997000"],"photo_ids_order":["1325996990","1325996997","1325997000","1325997025"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/46c99a4bf8bec22e648699af2c55fdb9.jpg","text":"TemporaryFile(/tmp/multipartBody236613156781742589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735932032995,"filename":"image_03012025_20_18_02_705171_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/730331edbcb5cdac67c7485859e7ca86.jpg","text":"TemporaryFile(/tmp/multipartBody1496942666642906222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735932032995,"filename":"image_03012025_20_19_02_914180_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/adeee1e954a075ed86418656090f0865.jpg","text":"TemporaryFile(/tmp/multipartBody6031917901454545085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735932032995,"filename":"image_03012025_20_19_02_914180_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f42aad00a51021df3003ac6c1771224e.jpg","text":"TemporaryFile(/tmp/multipartBody4442987749201860176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735932032995,"filename":"image_03012025_20_19_02_914180_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325997000","file1":"1325996997","file0":"1325996990","file3":"1325997025"},"map_files_photo_id_array":[{"photo_id":"1325997000","filename":"file2"},{"photo_id":"1325996997","filename":"file1"},{"photo_id":"1325996990","filename":"file0"},{"photo_id":"1325997025","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325996990":["hashtag1","hashtag2"]},{"1325997025":["hashtag1","hashtag2"]},{"1325996997":["hashtag1","hashtag2"]},{"1325997000":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325996990, 1325997025, 1325996997, 1325997000)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.046359062194824 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 20:20:21.989890
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/20/19/image_03012025_20_19_02_914180_0003.jpg', '/home/pi/Desktop/images/03012025/20/20/image_03012025_20_20_03_155173_0000.jpg', '/home/pi/Desktop/images/03012025/20/20/image_03012025_20_20_03_155173_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/20/19/image_03012025_20_19_02_914180_0003.jpg
/home/pi/Desktop/images/03012025/20/20/image_03012025_20_20_03_155173_0000.jpg
/home/pi/Desktop/images/03012025/20/20/image_03012025_20_20_03_155173_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":["1325997365","1325997362","1325997418"],"photo_ids_order":["1325997362","1325997365","1325997418"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6647654470b8483ae650dc190d8e18ef.jpg","text":"TemporaryFile(/tmp/multipartBody3203171641287391968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735932089808,"filename":"image_03012025_20_20_03_155173_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1366a85627775ba10702fce4fc52d052.jpg","text":"TemporaryFile(/tmp/multipartBody8982312124929712207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735932089808,"filename":"image_03012025_20_19_02_914180_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/fdd8f0f55f9627be5dcfe76f5a637861.jpg","text":"TemporaryFile(/tmp/multipartBody7321789401474336929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735932089808,"filename":"image_03012025_20_20_03_155173_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325997418","file1":"1325997365","file0":"1325997362"},"map_files_photo_id_array":[{"photo_id":"1325997418","filename":"file2"},{"photo_id":"1325997365","filename":"file1"},{"photo_id":"1325997362","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325997365":["hashtag1","hashtag2"]},{"1325997362":["hashtag1","hashtag2"]},{"1325997418":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325997365, 1325997362, 1325997418)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.47934699058533 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 20:21:02.752342
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 20:21:22.173003
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/20/20/image_03012025_20_20_03_155173_0002.jpg', '/home/pi/Desktop/images/03012025/20/21/image_03012025_20_21_02_321525_0000.jpg', '/home/pi/Desktop/images/03012025/20/21/image_03012025_20_21_02_321525_0001.jpg', '/home/pi/Desktop/images/03012025/20/21/image_03012025_20_21_02_321525_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/20/20/image_03012025_20_20_03_155173_0002.jpg
/home/pi/Desktop/images/03012025/20/21/image_03012025_20_21_02_321525_0000.jpg
/home/pi/Desktop/images/03012025/20/21/image_03012025_20_21_02_321525_0001.jpg
/home/pi/Desktop/images/03012025/20/21/image_03012025_20_21_02_321525_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325998240","1325998191","1325998194","1325998358"],"photo_ids_order":["1325998191","1325998194","1325998240","1325998358"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7187b8af953b2075fba1bc713a4856cb.jpg","text":"TemporaryFile(/tmp/multipartBody5613649205610194957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735932152451,"filename":"image_03012025_20_21_02_321525_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9e97b55c3f87fd1ef62bee85ca3c9ab0.jpg","text":"TemporaryFile(/tmp/multipartBody2024996539357852735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735932152451,"filename":"image_03012025_20_20_03_155173_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8ddcad7c3d29c416020dbdac7c8aa2ca.jpg","text":"TemporaryFile(/tmp/multipartBody845913140999006912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735932152451,"filename":"image_03012025_20_21_02_321525_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a0aa4bf6db39b3d11bf7c26954a41eb3.jpg","text":"TemporaryFile(/tmp/multipartBody8099524134267049841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735932152451,"filename":"image_03012025_20_21_02_321525_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325998240","file1":"1325998194","file0":"1325998191","file3":"1325998358"},"map_files_photo_id_array":[{"photo_id":"1325998240","filename":"file2"},{"photo_id":"1325998194","filename":"file1"},{"photo_id":"1325998191","filename":"file0"},{"photo_id":"1325998358","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325998240":["hashtag1","hashtag2"]},{"1325998191":["hashtag1","hashtag2"]},{"1325998194":["hashtag1","hashtag2"]},{"1325998358":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325998240, 1325998191, 1325998194, 1325998358)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.3816978931427 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 20:22:02.887791
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 20:22:22.432477
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/20/21/image_03012025_20_21_02_321525_0003.jpg', '/home/pi/Desktop/images/03012025/20/22/image_03012025_20_22_02_478454_0000.jpg', '/home/pi/Desktop/images/03012025/20/22/image_03012025_20_22_02_478454_0001.jpg', '/home/pi/Desktop/images/03012025/20/22/image_03012025_20_22_02_478454_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/20/21/image_03012025_20_21_02_321525_0003.jpg
/home/pi/Desktop/images/03012025/20/22/image_03012025_20_22_02_478454_0000.jpg
/home/pi/Desktop/images/03012025/20/22/image_03012025_20_22_02_478454_0001.jpg
/home/pi/Desktop/images/03012025/20/22/image_03012025_20_22_02_478454_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.650651931762695 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-03 20:22:42.408697
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/20/21/image_03012025_20_21_02_321525_0003.jpg', '/home/pi/Desktop/images/03012025/20/22/image_03012025_20_22_02_478454_0000.jpg', '/home/pi/Desktop/images/03012025/20/22/image_03012025_20_22_02_478454_0001.jpg', '/home/pi/Desktop/images/03012025/20/22/image_03012025_20_22_02_478454_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/20/21/image_03012025_20_21_02_321525_0003.jpg
/home/pi/Desktop/images/03012025/20/22/image_03012025_20_22_02_478454_0000.jpg
/home/pi/Desktop/images/03012025/20/22/image_03012025_20_22_02_478454_0001.jpg
/home/pi/Desktop/images/03012025/20/22/image_03012025_20_22_02_478454_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":["1325998681","1325998680","1325998688","1325998682"],"photo_ids_order":["1325998680","1325998681","1325998682","1325998688"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/655a0e5933a1aa74b406f03dfcdcc237.jpg","text":"TemporaryFile(/tmp/multipartBody3030031709214502541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735932232472,"filename":"image_03012025_20_22_02_478454_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e8ae6a68a47a2451bf8718729c9b8c0c.jpg","text":"TemporaryFile(/tmp/multipartBody2630678911925451980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735932232472,"filename":"image_03012025_20_21_02_321525_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d5b905393c6c61e41b68847e22303c73.jpg","text":"TemporaryFile(/tmp/multipartBody4844213210525809157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735932232472,"filename":"image_03012025_20_22_02_478454_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/89993309b8b4dda4f9ee6edeabedcb20.jpg","text":"TemporaryFile(/tmp/multipartBody7590557409945247644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735932232472,"filename":"image_03012025_20_22_02_478454_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325998682","file1":"1325998681","file0":"1325998680","file3":"1325998688"},"map_files_photo_id_array":[{"photo_id":"1325998682","filename":"file2"},{"photo_id":"1325998681","filename":"file1"},{"photo_id":"1325998680","filename":"file0"},{"photo_id":"1325998688","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325998681":["hashtag1","hashtag2"]},{"1325998680":["hashtag1","hashtag2"]},{"1325998688":["hashtag1","hashtag2"]},{"1325998682":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325998681, 1325998680, 1325998688, 1325998682)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.73116445541382 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 20:23:22.656205
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/20/22/image_03012025_20_22_02_478454_0003.jpg', '/home/pi/Desktop/images/03012025/20/23/image_03012025_20_23_02_784218_0000.jpg', '/home/pi/Desktop/images/03012025/20/23/image_03012025_20_23_02_784218_0001.jpg', '/home/pi/Desktop/images/03012025/20/23/image_03012025_20_23_02_784218_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/20/22/image_03012025_20_22_02_478454_0003.jpg
/home/pi/Desktop/images/03012025/20/23/image_03012025_20_23_02_784218_0000.jpg
/home/pi/Desktop/images/03012025/20/23/image_03012025_20_23_02_784218_0001.jpg
/home/pi/Desktop/images/03012025/20/23/image_03012025_20_23_02_784218_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325999266","1325999236","1325999178","1325999162"],"photo_ids_order":["1325999162","1325999178","1325999236","1325999266"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/63c3aa0bae2805ba96bb08b15b46177d.jpg","text":"TemporaryFile(/tmp/multipartBody5488192943123565822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735932272871,"filename":"image_03012025_20_23_02_784218_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/970c82ec0b902d4b054ac136eb420a54.jpg","text":"TemporaryFile(/tmp/multipartBody3439177676474898630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735932272871,"filename":"image_03012025_20_23_02_784218_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6bf313970faa16074be3aac64a992096.jpg","text":"TemporaryFile(/tmp/multipartBody5536552557832589592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735932272871,"filename":"image_03012025_20_23_02_784218_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a0ff3866644745498872c211578bdaa5.jpg","text":"TemporaryFile(/tmp/multipartBody7182187913630493200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735932272871,"filename":"image_03012025_20_22_02_478454_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325999236","file1":"1325999178","file0":"1325999162","file3":"1325999266"},"map_files_photo_id_array":[{"photo_id":"1325999236","filename":"file2"},{"photo_id":"1325999178","filename":"file1"},{"photo_id":"1325999162","filename":"file0"},{"photo_id":"1325999266","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325999266":["hashtag1","hashtag2"]},{"1325999236":["hashtag1","hashtag2"]},{"1325999178":["hashtag1","hashtag2"]},{"1325999162":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325999266, 1325999236, 1325999178, 1325999162)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.38125205039978 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 20:24:21.805057
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/20/23/image_03012025_20_23_02_784218_0003.jpg', '/home/pi/Desktop/images/03012025/20/24/image_03012025_20_24_03_020794_0000.jpg', '/home/pi/Desktop/images/03012025/20/24/image_03012025_20_24_03_020794_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/20/23/image_03012025_20_23_02_784218_0003.jpg
/home/pi/Desktop/images/03012025/20/24/image_03012025_20_24_03_020794_0000.jpg
/home/pi/Desktop/images/03012025/20/24/image_03012025_20_24_03_020794_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":["1325999413","1325999416","1325999419"],"photo_ids_order":["1325999413","1325999416","1325999419"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b3e30643e4500cf5a61039ec53990dba.jpg","text":"TemporaryFile(/tmp/multipartBody1979650281172284181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735932329417,"filename":"image_03012025_20_23_02_784218_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d429e5b7444ca22f51a6ea490d7ef06c.jpg","text":"TemporaryFile(/tmp/multipartBody3735704008264495242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735932329417,"filename":"image_03012025_20_24_03_020794_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7cad175f1418c449d51c15379f08c1bc.jpg","text":"TemporaryFile(/tmp/multipartBody7832572428864940250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735932329417,"filename":"image_03012025_20_24_03_020794_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325999419","file1":"1325999416","file0":"1325999413"},"map_files_photo_id_array":[{"photo_id":"1325999419","filename":"file2"},{"photo_id":"1325999416","filename":"file1"},{"photo_id":"1325999413","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325999413":["hashtag1","hashtag2"]},{"1325999416":["hashtag1","hashtag2"]},{"1325999419":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325999413, 1325999416, 1325999419)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.76009964942932 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 20:25:02.559372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 20:25:21.903629
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/20/24/image_03012025_20_24_03_020794_0003.jpg', '/home/pi/Desktop/images/03012025/20/25/image_03012025_20_25_02_116483_0000.jpg', '/home/pi/Desktop/images/03012025/20/25/image_03012025_20_25_02_116483_0001.jpg', '/home/pi/Desktop/images/03012025/20/25/image_03012025_20_25_02_116483_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/20/24/image_03012025_20_24_03_020794_0003.jpg
/home/pi/Desktop/images/03012025/20/25/image_03012025_20_25_02_116483_0000.jpg
/home/pi/Desktop/images/03012025/20/25/image_03012025_20_25_02_116483_0001.jpg
/home/pi/Desktop/images/03012025/20/25/image_03012025_20_25_02_116483_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1325999743","1325999754","1325999741","1325999738"],"photo_ids_order":["1325999738","1325999741","1325999743","1325999754"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/cd9b07457d075d9ae754e7c49be3db91.jpg","text":"TemporaryFile(/tmp/multipartBody6593708612262111283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735932391899,"filename":"image_03012025_20_25_02_116483_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/95c2fe5cb3682a7040ba613c896ec740.jpg","text":"TemporaryFile(/tmp/multipartBody1528164792438840979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735932391899,"filename":"image_03012025_20_25_02_116483_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/86478ee44cc496bc3148c7779518f0bd.jpg","text":"TemporaryFile(/tmp/multipartBody4118423115447123312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735932391899,"filename":"image_03012025_20_25_02_116483_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5566c1a8b2d43300a81691b89d420b17.jpg","text":"TemporaryFile(/tmp/multipartBody455505219309045779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735932391899,"filename":"image_03012025_20_24_03_020794_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1325999743","file1":"1325999741","file0":"1325999738","file3":"1325999754"},"map_files_photo_id_array":[{"photo_id":"1325999743","filename":"file2"},{"photo_id":"1325999741","filename":"file1"},{"photo_id":"1325999738","filename":"file0"},{"photo_id":"1325999754","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1325999743":["hashtag1","hashtag2"]},{"1325999754":["hashtag1","hashtag2"]},{"1325999741":["hashtag1","hashtag2"]},{"1325999738":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1325999743, 1325999754, 1325999741, 1325999738)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.33283472061157 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 20:26:02.537485
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 20:26:22.256711
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/20/25/image_03012025_20_25_02_116483_0003.jpg', '/home/pi/Desktop/images/03012025/20/26/image_03012025_20_26_02_336264_0000.jpg', '/home/pi/Desktop/images/03012025/20/26/image_03012025_20_26_02_336264_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/20/25/image_03012025_20_25_02_116483_0003.jpg
/home/pi/Desktop/images/03012025/20/26/image_03012025_20_26_02_336264_0000.jpg
/home/pi/Desktop/images/03012025/20/26/image_03012025_20_26_02_336264_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326000570","1326000717","1326000659"],"photo_ids_order":["1326000570","1326000659","1326000717"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c4a6b514706346be32125bf4fce5b2fb.jpg","text":"TemporaryFile(/tmp/multipartBody7021855321171219241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735932449850,"filename":"image_03012025_20_25_02_116483_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/079b8ba198c0b9785e3efe2477bea632.jpg","text":"TemporaryFile(/tmp/multipartBody6743004648883208064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735932449850,"filename":"image_03012025_20_26_02_336264_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f22d610034e947368c3c094372d38cd1.jpg","text":"TemporaryFile(/tmp/multipartBody7213727656948755299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735932449850,"filename":"image_03012025_20_26_02_336264_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326000717","file1":"1326000659","file0":"1326000570"},"map_files_photo_id_array":[{"photo_id":"1326000717","filename":"file2"},{"photo_id":"1326000659","filename":"file1"},{"photo_id":"1326000570","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326000570":["hashtag1","hashtag2"]},{"1326000717":["hashtag1","hashtag2"]},{"1326000659":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326000570, 1326000717, 1326000659)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.58194136619568 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 20:27:02.769123
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 20:27:22.270980
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/20/26/image_03012025_20_26_02_336264_0003.jpg', '/home/pi/Desktop/images/03012025/20/27/image_03012025_20_27_02_510190_0000.jpg', '/home/pi/Desktop/images/03012025/20/27/image_03012025_20_27_02_510190_0001.jpg', '/home/pi/Desktop/images/03012025/20/27/image_03012025_20_27_02_510190_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/20/26/image_03012025_20_26_02_336264_0003.jpg
/home/pi/Desktop/images/03012025/20/27/image_03012025_20_27_02_510190_0000.jpg
/home/pi/Desktop/images/03012025/20/27/image_03012025_20_27_02_510190_0001.jpg
/home/pi/Desktop/images/03012025/20/27/image_03012025_20_27_02_510190_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326000839","1326000836","1326000838","1326000832"],"photo_ids_order":["1326000832","1326000836","1326000838","1326000839"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/24db41bc91965221494c47fd9636fe49.jpg","text":"TemporaryFile(/tmp/multipartBody6372575659526097014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735932512405,"filename":"image_03012025_20_27_02_510190_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c37224379c96d9e442317aaf19ad58df.jpg","text":"TemporaryFile(/tmp/multipartBody5065413917439741757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735932512405,"filename":"image_03012025_20_27_02_510190_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2fecd93bbcf87ee2f43a418ca87579a7.jpg","text":"TemporaryFile(/tmp/multipartBody1543102838167810474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735932512405,"filename":"image_03012025_20_27_02_510190_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/59f3beb293bfa738fcabee5b7eeb9745.jpg","text":"TemporaryFile(/tmp/multipartBody2199899264140920420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735932512405,"filename":"image_03012025_20_26_02_336264_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326000838","file1":"1326000836","file0":"1326000832","file3":"1326000839"},"map_files_photo_id_array":[{"photo_id":"1326000838","filename":"file2"},{"photo_id":"1326000836","filename":"file1"},{"photo_id":"1326000832","filename":"file0"},{"photo_id":"1326000839","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326000839":["hashtag1","hashtag2"]},{"1326000836":["hashtag1","hashtag2"]},{"1326000838":["hashtag1","hashtag2"]},{"1326000832":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326000839, 1326000836, 1326000838, 1326000832)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.81040954589844 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 20:28:02.766735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 20:28:22.491276
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/20/27/image_03012025_20_27_02_510190_0003.jpg', '/home/pi/Desktop/images/03012025/20/28/image_03012025_20_28_02_653028_0000.jpg', '/home/pi/Desktop/images/03012025/20/28/image_03012025_20_28_02_653028_0001.jpg', '/home/pi/Desktop/images/03012025/20/28/image_03012025_20_28_02_653028_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/20/27/image_03012025_20_27_02_510190_0003.jpg
/home/pi/Desktop/images/03012025/20/28/image_03012025_20_28_02_653028_0000.jpg
/home/pi/Desktop/images/03012025/20/28/image_03012025_20_28_02_653028_0001.jpg
/home/pi/Desktop/images/03012025/20/28/image_03012025_20_28_02_653028_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326001391","1326001372","1326001324","1326001394"],"photo_ids_order":["1326001324","1326001372","1326001391","1326001394"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ae6086db6d39fbcffe10a43f7974b6bb.jpg","text":"TemporaryFile(/tmp/multipartBody8131043026254720774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735932572757,"filename":"image_03012025_20_28_02_653028_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/76a8eb81a44e40b3f663a6d10cb150a1.jpg","text":"TemporaryFile(/tmp/multipartBody5330331447006874694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735932572757,"filename":"image_03012025_20_28_02_653028_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ecfb74a76a630db40b5688d7aed571b1.jpg","text":"TemporaryFile(/tmp/multipartBody567079688240434705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735932572757,"filename":"image_03012025_20_27_02_510190_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ebddf1fc16987d1b62c6fe8500609227.jpg","text":"TemporaryFile(/tmp/multipartBody3320085056414911279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735932572757,"filename":"image_03012025_20_28_02_653028_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326001391","file1":"1326001372","file0":"1326001324","file3":"1326001394"},"map_files_photo_id_array":[{"photo_id":"1326001391","filename":"file2"},{"photo_id":"1326001372","filename":"file1"},{"photo_id":"1326001324","filename":"file0"},{"photo_id":"1326001394","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326001391":["hashtag1","hashtag2"]},{"1326001372":["hashtag1","hashtag2"]},{"1326001324":["hashtag1","hashtag2"]},{"1326001394":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326001391, 1326001372, 1326001324, 1326001394)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.221731662750244 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 20:29:03.265756
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 20:29:22.638717
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/20/28/image_03012025_20_28_02_653028_0003.jpg', '/home/pi/Desktop/images/03012025/20/29/image_03012025_20_29_02_732442_0000.jpg', '/home/pi/Desktop/images/03012025/20/29/image_03012025_20_29_02_732442_0001.jpg', '/home/pi/Desktop/images/03012025/20/29/image_03012025_20_29_02_732442_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/20/28/image_03012025_20_28_02_653028_0003.jpg
/home/pi/Desktop/images/03012025/20/29/image_03012025_20_29_02_732442_0000.jpg
/home/pi/Desktop/images/03012025/20/29/image_03012025_20_29_02_732442_0001.jpg
/home/pi/Desktop/images/03012025/20/29/image_03012025_20_29_02_732442_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326002156","1326001829","1326002100","1326001833"],"photo_ids_order":["1326001829","1326001833","1326002100","1326002156"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/254194d46c43a8e848c1bcefd991c1d9.jpg","text":"TemporaryFile(/tmp/multipartBody8433646076964184176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735932632859,"filename":"image_03012025_20_29_02_732442_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/971ba8c89726a9a25fddf6a8aed0fbdb.jpg","text":"TemporaryFile(/tmp/multipartBody7514408866683818357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735932632859,"filename":"image_03012025_20_28_02_653028_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/bc1abfaedf0bc600d888f45194255cfc.jpg","text":"TemporaryFile(/tmp/multipartBody6825145435971145695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735932632859,"filename":"image_03012025_20_29_02_732442_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b49d3356a0413f6563ec6d6fdce76e78.jpg","text":"TemporaryFile(/tmp/multipartBody8918611496686273709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735932632859,"filename":"image_03012025_20_29_02_732442_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326002100","file1":"1326001833","file0":"1326001829","file3":"1326002156"},"map_files_photo_id_array":[{"photo_id":"1326002100","filename":"file2"},{"photo_id":"1326001833","filename":"file1"},{"photo_id":"1326001829","filename":"file0"},{"photo_id":"1326002156","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326002156":["hashtag1","hashtag2"]},{"1326001829":["hashtag1","hashtag2"]},{"1326002100":["hashtag1","hashtag2"]},{"1326001833":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326002156, 1326001829, 1326002100, 1326001833)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.92730975151062 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 20:30:21.902069
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/20/29/image_03012025_20_29_02_732442_0003.jpg', '/home/pi/Desktop/images/03012025/20/30/image_03012025_20_30_03_078037_0000.jpg', '/home/pi/Desktop/images/03012025/20/30/image_03012025_20_30_03_078037_0001.jpg', '/home/pi/Desktop/images/03012025/20/30/image_03012025_20_30_03_078037_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/20/29/image_03012025_20_29_02_732442_0003.jpg
/home/pi/Desktop/images/03012025/20/30/image_03012025_20_30_03_078037_0000.jpg
/home/pi/Desktop/images/03012025/20/30/image_03012025_20_30_03_078037_0001.jpg
/home/pi/Desktop/images/03012025/20/30/image_03012025_20_30_03_078037_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.509231805801392 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-03 20:30:41.826888
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/20/29/image_03012025_20_29_02_732442_0003.jpg', '/home/pi/Desktop/images/03012025/20/30/image_03012025_20_30_03_078037_0000.jpg', '/home/pi/Desktop/images/03012025/20/30/image_03012025_20_30_03_078037_0001.jpg', '/home/pi/Desktop/images/03012025/20/30/image_03012025_20_30_03_078037_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/20/29/image_03012025_20_29_02_732442_0003.jpg
/home/pi/Desktop/images/03012025/20/30/image_03012025_20_30_03_078037_0000.jpg
/home/pi/Desktop/images/03012025/20/30/image_03012025_20_30_03_078037_0001.jpg
/home/pi/Desktop/images/03012025/20/30/image_03012025_20_30_03_078037_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":["1326002504","1326002590","1326002862","1326002502"],"photo_ids_order":["1326002502","1326002504","1326002590","1326002862"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7429687c8f8981b2aedb1eb0f89493c8.jpg","text":"TemporaryFile(/tmp/multipartBody5333653413999476359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735932711746,"filename":"image_03012025_20_30_03_078037_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7db3cd9e8fb0c8ba0c2f7ae7226bbb79.jpg","text":"TemporaryFile(/tmp/multipartBody231539740410147082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735932711746,"filename":"image_03012025_20_30_03_078037_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/583f2fe09ade93966f22329c688955c6.jpg","text":"TemporaryFile(/tmp/multipartBody7256351463164902170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735932711746,"filename":"image_03012025_20_30_03_078037_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/91f122242bce1c18fb145fb213ba4116.jpg","text":"TemporaryFile(/tmp/multipartBody4121094756771635011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735932711746,"filename":"image_03012025_20_29_02_732442_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326002590","file1":"1326002504","file0":"1326002502","file3":"1326002862"},"map_files_photo_id_array":[{"photo_id":"1326002590","filename":"file2"},{"photo_id":"1326002504","filename":"file1"},{"photo_id":"1326002502","filename":"file0"},{"photo_id":"1326002862","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326002504":["hashtag1","hashtag2"]},{"1326002590":["hashtag1","hashtag2"]},{"1326002862":["hashtag1","hashtag2"]},{"1326002502":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326002504, 1326002590, 1326002862, 1326002502)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.04742980003357 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 20:31:22.037557
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/20/30/image_03012025_20_30_03_078037_0003.jpg', '/home/pi/Desktop/images/03012025/20/31/image_03012025_20_31_02_195180_0000.jpg', '/home/pi/Desktop/images/03012025/20/31/image_03012025_20_31_02_195180_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/20/30/image_03012025_20_30_03_078037_0003.jpg
/home/pi/Desktop/images/03012025/20/31/image_03012025_20_31_02_195180_0000.jpg
/home/pi/Desktop/images/03012025/20/31/image_03012025_20_31_02_195180_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":["1326002917","1326002987","1326003113"],"photo_ids_order":["1326002917","1326002987","1326003113"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a0e4618d6d21d518822b0c77b3d0ec57.jpg","text":"TemporaryFile(/tmp/multipartBody4911927960260704573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735932749620,"filename":"image_03012025_20_30_03_078037_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/526e35038cf28411ad15f7f5ff23a6cf.jpg","text":"TemporaryFile(/tmp/multipartBody3958621406177006174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735932749620,"filename":"image_03012025_20_31_02_195180_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/142caf48acd26cab3915ce2938329f4e.jpg","text":"TemporaryFile(/tmp/multipartBody6446705162781781589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735932749620,"filename":"image_03012025_20_31_02_195180_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326003113","file1":"1326002987","file0":"1326002917"},"map_files_photo_id_array":[{"photo_id":"1326003113","filename":"file2"},{"photo_id":"1326002987","filename":"file1"},{"photo_id":"1326002917","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326002917":["hashtag1","hashtag2"]},{"1326002987":["hashtag1","hashtag2"]},{"1326003113":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326002917, 1326002987, 1326003113)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.895992279052734 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 20:32:02.611860
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 20:32:22.179365
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-03 20:32:32.150510
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-03 20:32:42.228818
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-03 20:32:52.199449
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 20:33:02.982414
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 20:33:22.389852
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/20/31/image_03012025_20_31_02_195180_0002.jpg', '/home/pi/Desktop/images/03012025/20/33/image_03012025_20_33_02_563329_0000.jpg', '/home/pi/Desktop/images/03012025/20/33/image_03012025_20_33_02_563329_0001.jpg', '/home/pi/Desktop/images/03012025/20/33/image_03012025_20_33_02_563329_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/20/31/image_03012025_20_31_02_195180_0002.jpg
/home/pi/Desktop/images/03012025/20/33/image_03012025_20_33_02_563329_0000.jpg
/home/pi/Desktop/images/03012025/20/33/image_03012025_20_33_02_563329_0001.jpg
/home/pi/Desktop/images/03012025/20/33/image_03012025_20_33_02_563329_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326003961","1326003888","1326004179","1326004124"],"photo_ids_order":["1326003888","1326003961","1326004124","1326004179"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/fe04ac625e5183741948733174605c22.jpg","text":"TemporaryFile(/tmp/multipartBody3304432763221304699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735932872339,"filename":"image_03012025_20_33_02_563329_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5e75943f55235b4d94dd2700a1392f2b.jpg","text":"TemporaryFile(/tmp/multipartBody2092698989507847266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735932872339,"filename":"image_03012025_20_31_02_195180_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7ab2195730f0645d049f6f525628d177.jpg","text":"TemporaryFile(/tmp/multipartBody1174402762436793984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735932872339,"filename":"image_03012025_20_33_02_563329_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6922b89daa2fb27e188b5ef1679e9e17.jpg","text":"TemporaryFile(/tmp/multipartBody4680165389527163259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735932872339,"filename":"image_03012025_20_33_02_563329_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326004124","file1":"1326003961","file0":"1326003888","file3":"1326004179"},"map_files_photo_id_array":[{"photo_id":"1326004124","filename":"file2"},{"photo_id":"1326003961","filename":"file1"},{"photo_id":"1326003888","filename":"file0"},{"photo_id":"1326004179","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326003961":["hashtag1","hashtag2"]},{"1326003888":["hashtag1","hashtag2"]},{"1326004179":["hashtag1","hashtag2"]},{"1326004124":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326003961, 1326003888, 1326004179, 1326004124)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.771727323532104 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 20:34:22.594846
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/20/33/image_03012025_20_33_02_563329_0003.jpg', '/home/pi/Desktop/images/03012025/20/34/image_03012025_20_34_02_788057_0000.jpg', '/home/pi/Desktop/images/03012025/20/34/image_03012025_20_34_02_788057_0001.jpg', '/home/pi/Desktop/images/03012025/20/34/image_03012025_20_34_02_788057_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/20/33/image_03012025_20_33_02_563329_0003.jpg
/home/pi/Desktop/images/03012025/20/34/image_03012025_20_34_02_788057_0000.jpg
/home/pi/Desktop/images/03012025/20/34/image_03012025_20_34_02_788057_0001.jpg
/home/pi/Desktop/images/03012025/20/34/image_03012025_20_34_02_788057_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326004609","1326004501","1326004748","1326004841"],"photo_ids_order":["1326004501","1326004609","1326004748","1326004841"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6f2282ce21f841136dcb15354e1dbf41.jpg","text":"TemporaryFile(/tmp/multipartBody414207765093535789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735932932485,"filename":"image_03012025_20_34_02_788057_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/dbc74f1ce7dd60d8f5d85b3869cd028a.jpg","text":"TemporaryFile(/tmp/multipartBody6605404510773897125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735932932485,"filename":"image_03012025_20_33_02_563329_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/094b1786dba22e6950794bcc98c14670.jpg","text":"TemporaryFile(/tmp/multipartBody1720460756132398517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735932932485,"filename":"image_03012025_20_34_02_788057_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1b55e0acca63706353d76386409b4cfb.jpg","text":"TemporaryFile(/tmp/multipartBody8235440316411217002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735932932485,"filename":"image_03012025_20_34_02_788057_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326004748","file1":"1326004609","file0":"1326004501","file3":"1326004841"},"map_files_photo_id_array":[{"photo_id":"1326004748","filename":"file2"},{"photo_id":"1326004609","filename":"file1"},{"photo_id":"1326004501","filename":"file0"},{"photo_id":"1326004841","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326004609":["hashtag1","hashtag2"]},{"1326004501":["hashtag1","hashtag2"]},{"1326004748":["hashtag1","hashtag2"]},{"1326004841":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326004609, 1326004501, 1326004748, 1326004841)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.42535710334778 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 20:35:21.874737
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/20/34/image_03012025_20_34_02_788057_0003.jpg', '/home/pi/Desktop/images/03012025/20/35/image_03012025_20_35_02_935226_0000.jpg', '/home/pi/Desktop/images/03012025/20/35/image_03012025_20_35_02_935226_0001.jpg', '/home/pi/Desktop/images/03012025/20/35/image_03012025_20_35_02_935226_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/20/34/image_03012025_20_34_02_788057_0003.jpg
/home/pi/Desktop/images/03012025/20/35/image_03012025_20_35_02_935226_0000.jpg
/home/pi/Desktop/images/03012025/20/35/image_03012025_20_35_02_935226_0001.jpg
/home/pi/Desktop/images/03012025/20/35/image_03012025_20_35_02_935226_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326005825","1326005810","1326005920","1326005487"],"photo_ids_order":["1326005487","1326005810","1326005825","1326005920"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/979811ee7d0499e859dc36aba8140b61.jpg","text":"TemporaryFile(/tmp/multipartBody6539891007474833791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735932991752,"filename":"image_03012025_20_35_02_935226_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/89a00d2ac16e8dd929b1be59dc69cec4.jpg","text":"TemporaryFile(/tmp/multipartBody3583132041784313744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735932991752,"filename":"image_03012025_20_35_02_935226_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3749b54975c8ddf2f1be54be850e5b11.jpg","text":"TemporaryFile(/tmp/multipartBody4145810507194449422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735932991752,"filename":"image_03012025_20_35_02_935226_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1f7d55c70274ef50fc81537917a5a21f.jpg","text":"TemporaryFile(/tmp/multipartBody6738447727857627939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735932991752,"filename":"image_03012025_20_34_02_788057_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326005825","file1":"1326005810","file0":"1326005487","file3":"1326005920"},"map_files_photo_id_array":[{"photo_id":"1326005825","filename":"file2"},{"photo_id":"1326005810","filename":"file1"},{"photo_id":"1326005487","filename":"file0"},{"photo_id":"1326005920","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326005825":["hashtag1","hashtag2"]},{"1326005810":["hashtag1","hashtag2"]},{"1326005920":["hashtag1","hashtag2"]},{"1326005487":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326005825, 1326005810, 1326005920, 1326005487)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.884294748306274 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 20:36:02.374950
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 20:36:21.942639
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/20/35/image_03012025_20_35_02_935226_0003.jpg', '/home/pi/Desktop/images/03012025/20/36/image_03012025_20_36_02_161222_0000.jpg', '/home/pi/Desktop/images/03012025/20/36/image_03012025_20_36_02_161222_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/20/35/image_03012025_20_35_02_935226_0003.jpg
/home/pi/Desktop/images/03012025/20/36/image_03012025_20_36_02_161222_0000.jpg
/home/pi/Desktop/images/03012025/20/36/image_03012025_20_36_02_161222_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":["1326006717","1326006427","1326006699"],"photo_ids_order":["1326006427","1326006699","1326006717"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4faeffd4d68235d36bb17b31254962d9.jpg","text":"TemporaryFile(/tmp/multipartBody2636694575563698217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735933049522,"filename":"image_03012025_20_36_02_161222_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/20c5e8cc41755714906f526a2891523c.jpg","text":"TemporaryFile(/tmp/multipartBody4556812116005466682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735933049522,"filename":"image_03012025_20_35_02_935226_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/66720112a405742bd7b6569b5cad04f6.jpg","text":"TemporaryFile(/tmp/multipartBody5971546082398458240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735933049522,"filename":"image_03012025_20_36_02_161222_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326006717","file1":"1326006699","file0":"1326006427"},"map_files_photo_id_array":[{"photo_id":"1326006717","filename":"file2"},{"photo_id":"1326006699","filename":"file1"},{"photo_id":"1326006427","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326006717":["hashtag1","hashtag2"]},{"1326006427":["hashtag1","hashtag2"]},{"1326006699":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326006717, 1326006427, 1326006699)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 29.616793394088745 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 20:37:02.805768
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 20:37:22.307676
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/20/36/image_03012025_20_36_02_161222_0002.jpg', '/home/pi/Desktop/images/03012025/20/37/image_03012025_20_37_02_328169_0000.jpg', '/home/pi/Desktop/images/03012025/20/37/image_03012025_20_37_02_328169_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/20/36/image_03012025_20_36_02_161222_0002.jpg
/home/pi/Desktop/images/03012025/20/37/image_03012025_20_37_02_328169_0000.jpg
/home/pi/Desktop/images/03012025/20/37/image_03012025_20_37_02_328169_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":["1326007274","1326007582","1326007414"],"photo_ids_order":["1326007274","1326007414","1326007582"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f0cf1371a1f31906f4aef47c038763d6.jpg","text":"TemporaryFile(/tmp/multipartBody3531294630395369051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735933109892,"filename":"image_03012025_20_36_02_161222_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c968e94d09f15a7103da81c1d690cff7.jpg","text":"TemporaryFile(/tmp/multipartBody7807042412775055689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735933109892,"filename":"image_03012025_20_37_02_328169_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1fd8c159894eabc24923e36dfa08a16b.jpg","text":"TemporaryFile(/tmp/multipartBody2736456180565944618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735933109892,"filename":"image_03012025_20_37_02_328169_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326007582","file1":"1326007414","file0":"1326007274"},"map_files_photo_id_array":[{"photo_id":"1326007582","filename":"file2"},{"photo_id":"1326007414","filename":"file1"},{"photo_id":"1326007274","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326007274":["hashtag1","hashtag2"]},{"1326007582":["hashtag1","hashtag2"]},{"1326007414":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326007274, 1326007582, 1326007414)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.26110315322876 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 20:38:02.849130
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 20:38:22.439008
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/20/37/image_03012025_20_37_02_328169_0002.jpg', '/home/pi/Desktop/images/03012025/20/38/image_03012025_20_38_02_657098_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/20/37/image_03012025_20_37_02_328169_0002.jpg
/home/pi/Desktop/images/03012025/20/38/image_03012025_20_38_02_657098_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":["1326007994","1326007997"],"photo_ids_order":["1326007994","1326007997"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b98a85e100fdcc1534923deaca8ce82a.jpg","text":"TemporaryFile(/tmp/multipartBody7012169167282789157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735933167713,"filename":"image_03012025_20_37_02_328169_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ab76df5004b5cfa2647a7672ff266df3.jpg","text":"TemporaryFile(/tmp/multipartBody167148553119602540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735933167713,"filename":"image_03012025_20_38_02_657098_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1326007997","file0":"1326007994"},"map_files_photo_id_array":[{"photo_id":"1326007997","filename":"file1"},{"photo_id":"1326007994","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326007994":["hashtag1","hashtag2"]},{"1326007997":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326007994, 1326007997)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.66710901260376 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-03 20:38:52.388757
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 20:39:03.153966
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 20:39:22.508732
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/20/38/image_03012025_20_38_02_657098_0002.jpg', '/home/pi/Desktop/images/03012025/20/39/image_03012025_20_39_02_732105_0000.jpg', '/home/pi/Desktop/images/03012025/20/39/image_03012025_20_39_02_732105_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/20/38/image_03012025_20_38_02_657098_0002.jpg
/home/pi/Desktop/images/03012025/20/39/image_03012025_20_39_02_732105_0000.jpg
/home/pi/Desktop/images/03012025/20/39/image_03012025_20_39_02_732105_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326008265","1326008244","1326008268"],"photo_ids_order":["1326008244","1326008265","1326008268"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c0306b11c679c3410be909b43a49f6b1.jpg","text":"TemporaryFile(/tmp/multipartBody8753314937090285616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735933230092,"filename":"image_03012025_20_39_02_732105_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1cc636c9a3ebbb05db884bff292c6da4.jpg","text":"TemporaryFile(/tmp/multipartBody4148017310310475016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735933230092,"filename":"image_03012025_20_38_02_657098_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f8659e09fcfb8c6154bd3ce4da6702ee.jpg","text":"TemporaryFile(/tmp/multipartBody228911861301138366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735933230092,"filename":"image_03012025_20_39_02_732105_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326008268","file1":"1326008265","file0":"1326008244"},"map_files_photo_id_array":[{"photo_id":"1326008268","filename":"file2"},{"photo_id":"1326008265","filename":"file1"},{"photo_id":"1326008244","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326008265":["hashtag1","hashtag2"]},{"1326008244":["hashtag1","hashtag2"]},{"1326008268":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326008265, 1326008244, 1326008268)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.578904151916504 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 20:40:03.118468
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 20:40:22.762394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/20/39/image_03012025_20_39_02_732105_0003.jpg', '/home/pi/Desktop/images/03012025/20/40/image_03012025_20_40_02_935674_0000.jpg', '/home/pi/Desktop/images/03012025/20/40/image_03012025_20_40_02_935674_0001.jpg', '/home/pi/Desktop/images/03012025/20/40/image_03012025_20_40_02_935674_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/20/39/image_03012025_20_39_02_732105_0003.jpg
/home/pi/Desktop/images/03012025/20/40/image_03012025_20_40_02_935674_0000.jpg
/home/pi/Desktop/images/03012025/20/40/image_03012025_20_40_02_935674_0001.jpg
/home/pi/Desktop/images/03012025/20/40/image_03012025_20_40_02_935674_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326008408","1326008428","1326008667","1326008582"],"photo_ids_order":["1326008408","1326008428","1326008582","1326008667"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/bf0a2a3dec6c85ebaad267c54d43d6e1.jpg","text":"TemporaryFile(/tmp/multipartBody1468245763053751275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735933292635,"filename":"image_03012025_20_39_02_732105_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1492a9768b14992dccfffcb62d293557.jpg","text":"TemporaryFile(/tmp/multipartBody5261400483387576390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735933292635,"filename":"image_03012025_20_40_02_935674_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4e0e7feb7be040ef56cb29f08998c158.jpg","text":"TemporaryFile(/tmp/multipartBody4262535138044269747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735933292635,"filename":"image_03012025_20_40_02_935674_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/80fa714cd89d0f3ed76e8a3b683abd9d.jpg","text":"TemporaryFile(/tmp/multipartBody4800166910933079536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735933292635,"filename":"image_03012025_20_40_02_935674_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326008582","file1":"1326008428","file0":"1326008408","file3":"1326008667"},"map_files_photo_id_array":[{"photo_id":"1326008582","filename":"file2"},{"photo_id":"1326008428","filename":"file1"},{"photo_id":"1326008408","filename":"file0"},{"photo_id":"1326008667","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326008408":["hashtag1","hashtag2"]},{"1326008428":["hashtag1","hashtag2"]},{"1326008667":["hashtag1","hashtag2"]},{"1326008582":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326008408, 1326008428, 1326008667, 1326008582)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.86005449295044 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 20:41:02.303800
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 20:41:21.956998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/20/40/image_03012025_20_40_02_935674_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/20/40/image_03012025_20_40_02_935674_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326009043"],"photo_id":"1326009043","photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/21b1a73e0db9ca5284a2b0cafc9805fa.jpg","text":"TemporaryFile(/tmp/multipartBody6680159439421876313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735933344935,"filename":"image_03012025_20_40_02_935674_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file0":"1326009043"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1326009043"}],"hashtags":[],"portfolio_id":"19381866","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.693737745285034 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-03 20:41:41.859822
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-03 20:41:51.863288
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 20:42:02.496835
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 20:42:22.044796
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/20/41/image_03012025_20_41_03_133530_0001.jpg', '/home/pi/Desktop/images/03012025/20/42/image_03012025_20_42_02_197398_0000.jpg', '/home/pi/Desktop/images/03012025/20/42/image_03012025_20_42_02_197398_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/20/41/image_03012025_20_41_03_133530_0001.jpg
/home/pi/Desktop/images/03012025/20/42/image_03012025_20_42_02_197398_0000.jpg
/home/pi/Desktop/images/03012025/20/42/image_03012025_20_42_02_197398_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326009582","1326009584","1326009586"],"photo_ids_order":["1326009582","1326009584","1326009586"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c235148758206b18ffcc8c8e478bfb89.jpg","text":"TemporaryFile(/tmp/multipartBody8847584050704366679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735933409662,"filename":"image_03012025_20_41_03_133530_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b5eb4e84eba450afd861214f6bfa2c72.jpg","text":"TemporaryFile(/tmp/multipartBody1840449683380583620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735933409662,"filename":"image_03012025_20_42_02_197398_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/fc6c69d31a8fcabb2f7b9ac9202fbaa2.jpg","text":"TemporaryFile(/tmp/multipartBody1659207968895807655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735933409662,"filename":"image_03012025_20_42_02_197398_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326009586","file1":"1326009584","file0":"1326009582"},"map_files_photo_id_array":[{"photo_id":"1326009586","filename":"file2"},{"photo_id":"1326009584","filename":"file1"},{"photo_id":"1326009582","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326009582":["hashtag1","hashtag2"]},{"1326009584":["hashtag1","hashtag2"]},{"1326009586":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326009582, 1326009584, 1326009586)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.54908299446106 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 20:43:02.832366
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 20:43:22.182100
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/20/42/image_03012025_20_42_02_197398_0003.jpg', '/home/pi/Desktop/images/03012025/20/43/image_03012025_20_43_02_425840_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/20/42/image_03012025_20_42_02_197398_0003.jpg
/home/pi/Desktop/images/03012025/20/43/image_03012025_20_43_02_425840_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":["1326009949","1326009822"],"photo_ids_order":["1326009822","1326009949"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/344e0f8e92bba546620ef44fe24366a3.jpg","text":"TemporaryFile(/tmp/multipartBody200519699555328198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735933467462,"filename":"image_03012025_20_43_02_425840_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3a5c8d91a03574d5801484c1cb6f2832.jpg","text":"TemporaryFile(/tmp/multipartBody8915091216826262252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735933467462,"filename":"image_03012025_20_42_02_197398_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1326009949","file0":"1326009822"},"map_files_photo_id_array":[{"photo_id":"1326009949","filename":"file1"},{"photo_id":"1326009822","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326009949":["hashtag1","hashtag2"]},{"1326009822":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326009949, 1326009822)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.845213174819946 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-03 20:43:52.170174
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 20:44:02.776814
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 20:44:22.388598
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/20/43/image_03012025_20_43_02_425840_0003.jpg', '/home/pi/Desktop/images/03012025/20/44/image_03012025_20_44_02_577362_0001.jpg', '/home/pi/Desktop/images/03012025/20/44/image_03012025_20_44_02_577362_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/20/43/image_03012025_20_43_02_425840_0003.jpg
/home/pi/Desktop/images/03012025/20/44/image_03012025_20_44_02_577362_0001.jpg
/home/pi/Desktop/images/03012025/20/44/image_03012025_20_44_02_577362_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326010162","1326010159","1326010163"],"photo_ids_order":["1326010159","1326010162","1326010163"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/50b977a92367c284d374e7e8cf895a12.jpg","text":"TemporaryFile(/tmp/multipartBody4285084069392894800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735933529961,"filename":"image_03012025_20_44_02_577362_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2ff7cb3f7499867496787df6062738a6.jpg","text":"TemporaryFile(/tmp/multipartBody2827584164826890333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735933529961,"filename":"image_03012025_20_43_02_425840_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2ed1bd7268b22ed099dcc6dd5393f728.jpg","text":"TemporaryFile(/tmp/multipartBody7498569067500786584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735933529961,"filename":"image_03012025_20_44_02_577362_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326010163","file1":"1326010162","file0":"1326010159"},"map_files_photo_id_array":[{"photo_id":"1326010163","filename":"file2"},{"photo_id":"1326010162","filename":"file1"},{"photo_id":"1326010159","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326010162":["hashtag1","hashtag2"]},{"1326010159":["hashtag1","hashtag2"]},{"1326010163":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326010162, 1326010159, 1326010163)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.417659997940063 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 20:45:03.226035
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 20:45:22.509297
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/20/44/image_03012025_20_44_02_577362_0003.jpg', '/home/pi/Desktop/images/03012025/20/45/image_03012025_20_45_02_752857_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/20/44/image_03012025_20_44_02_577362_0003.jpg
/home/pi/Desktop/images/03012025/20/45/image_03012025_20_45_02_752857_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":["1326010465","1326010463"],"photo_ids_order":["1326010463","1326010465"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5a097c1cbcef112815c74cc5079774da.jpg","text":"TemporaryFile(/tmp/multipartBody1218268925294322201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735933587817,"filename":"image_03012025_20_45_02_752857_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/440ec59baa3def8233b1fefce2e45a09.jpg","text":"TemporaryFile(/tmp/multipartBody5564449611023579246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735933587817,"filename":"image_03012025_20_44_02_577362_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1326010465","file0":"1326010463"},"map_files_photo_id_array":[{"photo_id":"1326010465","filename":"file1"},{"photo_id":"1326010463","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326010465":["hashtag1","hashtag2"]},{"1326010463":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326010465, 1326010463)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 24.423283338546753 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-03 20:45:52.563081
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 20:46:03.151378
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 20:46:22.845383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/20/45/image_03012025_20_45_02_752857_0002.jpg', '/home/pi/Desktop/images/03012025/20/46/image_03012025_20_46_02_956354_0001.jpg', '/home/pi/Desktop/images/03012025/20/46/image_03012025_20_46_02_956354_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/20/45/image_03012025_20_45_02_752857_0002.jpg
/home/pi/Desktop/images/03012025/20/46/image_03012025_20_46_02_956354_0001.jpg
/home/pi/Desktop/images/03012025/20/46/image_03012025_20_46_02_956354_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326011080","1326011163","1326011165"],"photo_ids_order":["1326011080","1326011163","1326011165"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9316ec6190739da6ba2f42ab560fd1f1.jpg","text":"TemporaryFile(/tmp/multipartBody2869928367096020649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735933650448,"filename":"image_03012025_20_45_02_752857_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7d063a9fa363d7651d0979cd97c2184b.jpg","text":"TemporaryFile(/tmp/multipartBody990368533456755574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735933650448,"filename":"image_03012025_20_46_02_956354_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0f8b42c002c702b31ca75efd637b8435.jpg","text":"TemporaryFile(/tmp/multipartBody7400284467673476872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735933650448,"filename":"image_03012025_20_46_02_956354_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326011165","file1":"1326011163","file0":"1326011080"},"map_files_photo_id_array":[{"photo_id":"1326011165","filename":"file2"},{"photo_id":"1326011163","filename":"file1"},{"photo_id":"1326011080","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326011080":["hashtag1","hashtag2"]},{"1326011163":["hashtag1","hashtag2"]},{"1326011165":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326011080, 1326011163, 1326011165)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 29.626277446746826 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 20:47:02.583598
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 20:47:22.006675
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/20/46/image_03012025_20_46_02_956354_0003.jpg', '/home/pi/Desktop/images/03012025/20/47/image_03012025_20_47_03_102586_0000.jpg', '/home/pi/Desktop/images/03012025/20/47/image_03012025_20_47_03_102586_0001.jpg', '/home/pi/Desktop/images/03012025/20/47/image_03012025_20_47_03_102586_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/20/46/image_03012025_20_46_02_956354_0003.jpg
/home/pi/Desktop/images/03012025/20/47/image_03012025_20_47_03_102586_0000.jpg
/home/pi/Desktop/images/03012025/20/47/image_03012025_20_47_03_102586_0001.jpg
/home/pi/Desktop/images/03012025/20/47/image_03012025_20_47_03_102586_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326011653","1326011611","1326011614","1326011613"],"photo_ids_order":["1326011611","1326011613","1326011614","1326011653"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/314e730a52a04c4995cf3f33f3f9fcfe.jpg","text":"TemporaryFile(/tmp/multipartBody4411306943900109142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735933711903,"filename":"image_03012025_20_47_03_102586_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a42e86adf01bc42fcca2c9865ba4b483.jpg","text":"TemporaryFile(/tmp/multipartBody5428018477931932761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735933711903,"filename":"image_03012025_20_46_02_956354_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1e5bc59bc6e4422f092852638abe8fb0.jpg","text":"TemporaryFile(/tmp/multipartBody3793420473626140912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735933711903,"filename":"image_03012025_20_47_03_102586_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/de3db2cbe1a150a86f39d08a361e0426.jpg","text":"TemporaryFile(/tmp/multipartBody6596594820001697967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735933711903,"filename":"image_03012025_20_47_03_102586_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326011614","file1":"1326011613","file0":"1326011611","file3":"1326011653"},"map_files_photo_id_array":[{"photo_id":"1326011614","filename":"file2"},{"photo_id":"1326011613","filename":"file1"},{"photo_id":"1326011611","filename":"file0"},{"photo_id":"1326011653","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326011653":["hashtag1","hashtag2"]},{"1326011611":["hashtag1","hashtag2"]},{"1326011614":["hashtag1","hashtag2"]},{"1326011613":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326011653, 1326011611, 1326011614, 1326011613)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.247830390930176 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 20:48:02.470815
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 20:48:22.084525
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/20/47/image_03012025_20_47_03_102586_0003.jpg', '/home/pi/Desktop/images/03012025/20/48/image_03012025_20_48_02_330845_0000.jpg', '/home/pi/Desktop/images/03012025/20/48/image_03012025_20_48_02_330845_0001.jpg', '/home/pi/Desktop/images/03012025/20/48/image_03012025_20_48_02_330845_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/20/47/image_03012025_20_47_03_102586_0003.jpg
/home/pi/Desktop/images/03012025/20/48/image_03012025_20_48_02_330845_0000.jpg
/home/pi/Desktop/images/03012025/20/48/image_03012025_20_48_02_330845_0001.jpg
/home/pi/Desktop/images/03012025/20/48/image_03012025_20_48_02_330845_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326012168","1326012183","1326012181","1326012113"],"photo_ids_order":["1326012113","1326012168","1326012181","1326012183"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/115619b1fd41fcd16f55f67bc70e475b.jpg","text":"TemporaryFile(/tmp/multipartBody3759084983048884580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735933771993,"filename":"image_03012025_20_48_02_330845_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1a0f1700f186eab9b87acce6ff00f40e.jpg","text":"TemporaryFile(/tmp/multipartBody7589586810897623152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735933771993,"filename":"image_03012025_20_48_02_330845_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6e4bf06d5399bcd7a534a0b0aba4d808.jpg","text":"TemporaryFile(/tmp/multipartBody1821264224373731300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735933771993,"filename":"image_03012025_20_48_02_330845_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8f93764da1cc62a5b2b1e0f2159c7d8e.jpg","text":"TemporaryFile(/tmp/multipartBody3369044898694704559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735933771993,"filename":"image_03012025_20_47_03_102586_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326012181","file1":"1326012168","file0":"1326012113","file3":"1326012183"},"map_files_photo_id_array":[{"photo_id":"1326012181","filename":"file2"},{"photo_id":"1326012168","filename":"file1"},{"photo_id":"1326012113","filename":"file0"},{"photo_id":"1326012183","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326012168":["hashtag1","hashtag2"]},{"1326012183":["hashtag1","hashtag2"]},{"1326012181":["hashtag1","hashtag2"]},{"1326012113":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326012168, 1326012183, 1326012181, 1326012113)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.5921266078949 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 20:49:03.033302
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 20:49:22.346310
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/20/48/image_03012025_20_48_02_330845_0003.jpg', '/home/pi/Desktop/images/03012025/20/49/image_03012025_20_49_02_429356_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/20/48/image_03012025_20_48_02_330845_0003.jpg
/home/pi/Desktop/images/03012025/20/49/image_03012025_20_49_02_429356_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":["1326012399","1326012402"],"photo_ids_order":["1326012399","1326012402"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7ea410332cc5ec1f395468212627be55.jpg","text":"TemporaryFile(/tmp/multipartBody3601631901019745074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735933827630,"filename":"image_03012025_20_48_02_330845_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e32eb8c1370ba2705983aba7e2998735.jpg","text":"TemporaryFile(/tmp/multipartBody6865400328534177171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735933827630,"filename":"image_03012025_20_49_02_429356_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1326012402","file0":"1326012399"},"map_files_photo_id_array":[{"photo_id":"1326012402","filename":"file1"},{"photo_id":"1326012399","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326012399":["hashtag1","hashtag2"]},{"1326012402":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326012399, 1326012402)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.72794246673584 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-03 20:49:52.285201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 20:50:02.966884
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 20:50:22.474063
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/20/49/image_03012025_20_49_02_429356_0001.jpg', '/home/pi/Desktop/images/03012025/20/50/image_03012025_20_50_02_667479_0000.jpg', '/home/pi/Desktop/images/03012025/20/50/image_03012025_20_50_02_667479_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/20/49/image_03012025_20_49_02_429356_0001.jpg
/home/pi/Desktop/images/03012025/20/50/image_03012025_20_50_02_667479_0000.jpg
/home/pi/Desktop/images/03012025/20/50/image_03012025_20_50_02_667479_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326012755","1326012818","1326012796"],"photo_ids_order":["1326012755","1326012796","1326012818"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/12c60a40c8f7d16e374291580ccca9a0.jpg","text":"TemporaryFile(/tmp/multipartBody9197585215679827426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735933890067,"filename":"image_03012025_20_49_02_429356_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/72ea56eed0e6e9ead245aa5cc0b7299c.jpg","text":"TemporaryFile(/tmp/multipartBody3299033408182576769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735933890067,"filename":"image_03012025_20_50_02_667479_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0d89a691f8091b05207c68cc070acf7d.jpg","text":"TemporaryFile(/tmp/multipartBody9089823559902270815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735933890067,"filename":"image_03012025_20_50_02_667479_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326012818","file1":"1326012796","file0":"1326012755"},"map_files_photo_id_array":[{"photo_id":"1326012818","filename":"file2"},{"photo_id":"1326012796","filename":"file1"},{"photo_id":"1326012755","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326012755":["hashtag1","hashtag2"]},{"1326012818":["hashtag1","hashtag2"]},{"1326012796":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326012755, 1326012818, 1326012796)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.464858055114746 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 20:51:03.171807
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 20:51:22.668919
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/20/50/image_03012025_20_50_02_667479_0003.jpg', '/home/pi/Desktop/images/03012025/20/51/image_03012025_20_51_02_797416_0000.jpg', '/home/pi/Desktop/images/03012025/20/51/image_03012025_20_51_02_797416_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/20/50/image_03012025_20_50_02_667479_0003.jpg
/home/pi/Desktop/images/03012025/20/51/image_03012025_20_51_02_797416_0000.jpg
/home/pi/Desktop/images/03012025/20/51/image_03012025_20_51_02_797416_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":["1326013553","1326013403","1326013369"],"photo_ids_order":["1326013369","1326013403","1326013553"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c46474a823898e4ffe5ff168d3138653.jpg","text":"TemporaryFile(/tmp/multipartBody3332104260191595643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735933950246,"filename":"image_03012025_20_51_02_797416_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4893970dee65e714d3d3eefeb898a78f.jpg","text":"TemporaryFile(/tmp/multipartBody3733276169093917503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735933950246,"filename":"image_03012025_20_51_02_797416_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9f7ef0ea99ffed25958220cae4cbacce.jpg","text":"TemporaryFile(/tmp/multipartBody5022966729179391752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735933950246,"filename":"image_03012025_20_50_02_667479_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326013553","file1":"1326013403","file0":"1326013369"},"map_files_photo_id_array":[{"photo_id":"1326013553","filename":"file2"},{"photo_id":"1326013403","filename":"file1"},{"photo_id":"1326013369","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326013553":["hashtag1","hashtag2"]},{"1326013403":["hashtag1","hashtag2"]},{"1326013369":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326013553, 1326013403, 1326013369)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.663957595825195 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 20:52:02.261459
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 20:52:21.882648
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/20/51/image_03012025_20_51_02_797416_0002.jpg', '/home/pi/Desktop/images/03012025/20/52/image_03012025_20_52_02_983895_0000.jpg', '/home/pi/Desktop/images/03012025/20/52/image_03012025_20_52_02_983895_0001.jpg', '/home/pi/Desktop/images/03012025/20/52/image_03012025_20_52_02_983895_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/20/51/image_03012025_20_51_02_797416_0002.jpg
/home/pi/Desktop/images/03012025/20/52/image_03012025_20_52_02_983895_0000.jpg
/home/pi/Desktop/images/03012025/20/52/image_03012025_20_52_02_983895_0001.jpg
/home/pi/Desktop/images/03012025/20/52/image_03012025_20_52_02_983895_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326013871","1326013873","1326013957","1326013879"],"photo_ids_order":["1326013871","1326013873","1326013879","1326013957"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a08edd58c6bc6b5daf8d12e864b8fe5c.jpg","text":"TemporaryFile(/tmp/multipartBody4032994673536880266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735934011780,"filename":"image_03012025_20_51_02_797416_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/bea54ac0b346e25024c09fc547b02ca7.jpg","text":"TemporaryFile(/tmp/multipartBody1711272109354044764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735934011780,"filename":"image_03012025_20_52_02_983895_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/61a445b857212bc2625d501d33e2cd23.jpg","text":"TemporaryFile(/tmp/multipartBody87430498723823132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735934011780,"filename":"image_03012025_20_52_02_983895_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f5330bc4ccad7da748c1c274faf5a22e.jpg","text":"TemporaryFile(/tmp/multipartBody6276993233742156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735934011780,"filename":"image_03012025_20_52_02_983895_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326013879","file1":"1326013873","file0":"1326013871","file3":"1326013957"},"map_files_photo_id_array":[{"photo_id":"1326013879","filename":"file2"},{"photo_id":"1326013873","filename":"file1"},{"photo_id":"1326013871","filename":"file0"},{"photo_id":"1326013957","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326013871":["hashtag1","hashtag2"]},{"1326013873":["hashtag1","hashtag2"]},{"1326013957":["hashtag1","hashtag2"]},{"1326013879":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326013871, 1326013873, 1326013957, 1326013879)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.50931978225708 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 20:53:02.518443
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 20:53:21.990077
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/20/52/image_03012025_20_52_02_983895_0003.jpg', '/home/pi/Desktop/images/03012025/20/53/image_03012025_20_53_02_230113_0000.jpg', '/home/pi/Desktop/images/03012025/20/53/image_03012025_20_53_02_230113_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/20/52/image_03012025_20_52_02_983895_0003.jpg
/home/pi/Desktop/images/03012025/20/53/image_03012025_20_53_02_230113_0000.jpg
/home/pi/Desktop/images/03012025/20/53/image_03012025_20_53_02_230113_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":["1326014063","1326013972","1326013969"],"photo_ids_order":["1326013969","1326013972","1326014063"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f90f6224cac12ba0f68c2319f3d0355a.jpg","text":"TemporaryFile(/tmp/multipartBody2191847289540706218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735934069590,"filename":"image_03012025_20_53_02_230113_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b0b381f5c31ebc755317eddb7ecdbdf1.jpg","text":"TemporaryFile(/tmp/multipartBody4631044897802255877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735934069590,"filename":"image_03012025_20_53_02_230113_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d2afe40561e79082910d92000b9eee79.jpg","text":"TemporaryFile(/tmp/multipartBody6091568931485710719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735934069590,"filename":"image_03012025_20_52_02_983895_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326014063","file1":"1326013972","file0":"1326013969"},"map_files_photo_id_array":[{"photo_id":"1326014063","filename":"file2"},{"photo_id":"1326013972","filename":"file1"},{"photo_id":"1326013969","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326014063":["hashtag1","hashtag2"]},{"1326013972":["hashtag1","hashtag2"]},{"1326013969":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326014063, 1326013972, 1326013969)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.03989601135254 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 20:54:02.612990
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 20:54:22.193515
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/20/53/image_03012025_20_53_02_230113_0002.jpg', '/home/pi/Desktop/images/03012025/20/54/image_03012025_20_54_02_350413_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/20/53/image_03012025_20_53_02_230113_0002.jpg
/home/pi/Desktop/images/03012025/20/54/image_03012025_20_54_02_350413_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":["1326014458","1326014439"],"photo_ids_order":["1326014439","1326014458"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9d5ca34cb35f3ae77a1986a022ac75cd.jpg","text":"TemporaryFile(/tmp/multipartBody6548387483101422459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735934127493,"filename":"image_03012025_20_54_02_350413_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f902c3809c8d636234426011fe276b56.jpg","text":"TemporaryFile(/tmp/multipartBody6915169323765589482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735934127493,"filename":"image_03012025_20_53_02_230113_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1326014458","file0":"1326014439"},"map_files_photo_id_array":[{"photo_id":"1326014458","filename":"file1"},{"photo_id":"1326014439","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326014458":["hashtag1","hashtag2"]},{"1326014439":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326014458, 1326014439)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.804287433624268 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-03 20:54:52.092431
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 20:55:02.792293
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 20:55:22.406261
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/20/54/image_03012025_20_54_02_350413_0003.jpg', '/home/pi/Desktop/images/03012025/20/55/image_03012025_20_55_02_483486_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/20/54/image_03012025_20_54_02_350413_0003.jpg
/home/pi/Desktop/images/03012025/20/55/image_03012025_20_55_02_483486_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":["1326014732","1326014728"],"photo_ids_order":["1326014728","1326014732"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c26c7e8012a6a8c2b937d448152fe025.jpg","text":"TemporaryFile(/tmp/multipartBody6349531462193862790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735934187708,"filename":"image_03012025_20_55_02_483486_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5742e8e08c318f11ca9d4314ee1f9ef9.jpg","text":"TemporaryFile(/tmp/multipartBody2422235154855875237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735934187708,"filename":"image_03012025_20_54_02_350413_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1326014732","file0":"1326014728"},"map_files_photo_id_array":[{"photo_id":"1326014732","filename":"file1"},{"photo_id":"1326014728","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326014732":["hashtag1","hashtag2"]},{"1326014728":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326014732, 1326014728)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 25.24219250679016 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-03 20:55:52.295878
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 20:56:02.874266
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 20:56:22.521330
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/20/55/image_03012025_20_55_02_483486_0003.jpg', '/home/pi/Desktop/images/03012025/20/56/image_03012025_20_56_02_709195_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/20/55/image_03012025_20_55_02_483486_0003.jpg
/home/pi/Desktop/images/03012025/20/56/image_03012025_20_56_02_709195_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":["1326015019","1326014949"],"photo_ids_order":["1326014949","1326015019"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/466c898fe02d40dde6a13d10a3a7eb20.jpg","text":"TemporaryFile(/tmp/multipartBody2146476514961130185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735934247803,"filename":"image_03012025_20_56_02_709195_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/25a0b3fab4948e8f926af196edee3126.jpg","text":"TemporaryFile(/tmp/multipartBody220722307528336970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735934247803,"filename":"image_03012025_20_55_02_483486_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1326015019","file0":"1326014949"},"map_files_photo_id_array":[{"photo_id":"1326015019","filename":"file1"},{"photo_id":"1326014949","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326015019":["hashtag1","hashtag2"]},{"1326014949":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326015019, 1326014949)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 24.5424165725708 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-03 20:56:52.476605
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 20:57:03.191198
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 20:57:22.763864
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/20/56/image_03012025_20_56_02_709195_0001.jpg', '/home/pi/Desktop/images/03012025/20/57/image_03012025_20_57_02_895908_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/20/56/image_03012025_20_56_02_709195_0001.jpg
/home/pi/Desktop/images/03012025/20/57/image_03012025_20_57_02_895908_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":["1326015763","1326015766"],"photo_ids_order":["1326015763","1326015766"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0f18254743cf2b20fb7051d9620b8e6e.jpg","text":"TemporaryFile(/tmp/multipartBody2521547999120869056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735934308043,"filename":"image_03012025_20_56_02_709195_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5e9d83fef5c50d86cc55b125028cdb33.jpg","text":"TemporaryFile(/tmp/multipartBody1506595003850037254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735934308043,"filename":"image_03012025_20_57_02_895908_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1326015766","file0":"1326015763"},"map_files_photo_id_array":[{"photo_id":"1326015766","filename":"file1"},{"photo_id":"1326015763","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326015763":["hashtag1","hashtag2"]},{"1326015766":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326015763, 1326015766)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.92862844467163 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-03 20:57:52.668964
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 20:59:02.717554
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/20/57/image_03012025_20_57_02_895908_0002.jpg', '/home/pi/Desktop/images/03012025/20/58/image_03012025_20_58_03_079025_0000.jpg', '/home/pi/Desktop/images/03012025/20/58/image_03012025_20_58_03_079025_0001.jpg', '/home/pi/Desktop/images/03012025/20/58/image_03012025_20_58_03_079025_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/20/57/image_03012025_20_57_02_895908_0002.jpg
/home/pi/Desktop/images/03012025/20/58/image_03012025_20_58_03_079025_0000.jpg
/home/pi/Desktop/images/03012025/20/58/image_03012025_20_58_03_079025_0001.jpg
/home/pi/Desktop/images/03012025/20/58/image_03012025_20_58_03_079025_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326017227","1326017172","1326017027","1326016913"],"photo_ids_order":["1326016913","1326017027","1326017172","1326017227"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4ce56a195e11102fc0ac52045c48fd94.jpg","text":"TemporaryFile(/tmp/multipartBody6522747054511875865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735934412697,"filename":"image_03012025_20_58_03_079025_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c2ae490501ba4f92c52db5410d33a0b9.jpg","text":"TemporaryFile(/tmp/multipartBody2970515795286982939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735934412697,"filename":"image_03012025_20_58_03_079025_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/67834aebe1e25fde817045d1a1812fd3.jpg","text":"TemporaryFile(/tmp/multipartBody8876618836026747116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735934412697,"filename":"image_03012025_20_58_03_079025_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ced22058473dc06aabce56f674c3df93.jpg","text":"TemporaryFile(/tmp/multipartBody3636350151499361643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735934412697,"filename":"image_03012025_20_57_02_895908_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326017172","file1":"1326017027","file0":"1326016913","file3":"1326017227"},"map_files_photo_id_array":[{"photo_id":"1326017172","filename":"file2"},{"photo_id":"1326017027","filename":"file1"},{"photo_id":"1326016913","filename":"file0"},{"photo_id":"1326017227","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326017227":["hashtag1","hashtag2"]},{"1326017172":["hashtag1","hashtag2"]},{"1326017027":["hashtag1","hashtag2"]},{"1326016913":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326017227, 1326017172, 1326017027, 1326016913)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.66143822669983 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-03 20:59:52.073192
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/20/58/image_03012025_20_58_03_079025_0003.jpg', '/home/pi/Desktop/images/03012025/20/59/image_03012025_20_59_02_310349_0000.jpg', '/home/pi/Desktop/images/03012025/20/59/image_03012025_20_59_02_310349_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/20/58/image_03012025_20_58_03_079025_0003.jpg
/home/pi/Desktop/images/03012025/20/59/image_03012025_20_59_02_310349_0000.jpg
/home/pi/Desktop/images/03012025/20/59/image_03012025_20_59_02_310349_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":["1326017447","1326017441","1326017444"],"photo_ids_order":["1326017441","1326017444","1326017447"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ca3af299fe085121035ce7ef60fc4571.jpg","text":"TemporaryFile(/tmp/multipartBody1659118263516374882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735934459658,"filename":"image_03012025_20_59_02_310349_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e782d9138aaceeac1748da158124c0df.jpg","text":"TemporaryFile(/tmp/multipartBody3365909929175379642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735934459658,"filename":"image_03012025_20_58_03_079025_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ed8e5b6626c2921029088673f9b064b6.jpg","text":"TemporaryFile(/tmp/multipartBody9036279304521678825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735934459658,"filename":"image_03012025_20_59_02_310349_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326017447","file1":"1326017444","file0":"1326017441"},"map_files_photo_id_array":[{"photo_id":"1326017447","filename":"file2"},{"photo_id":"1326017444","filename":"file1"},{"photo_id":"1326017441","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326017447":["hashtag1","hashtag2"]},{"1326017441":["hashtag1","hashtag2"]},{"1326017444":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326017447, 1326017441, 1326017444)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.96276068687439 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-03 21:00:32.307067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/20/59/image_03012025_20_59_02_310349_0002.jpg', '/home/pi/Desktop/images/03012025/21/00/image_03012025_21_00_02_485809_0000.jpg', '/home/pi/Desktop/images/03012025/21/00/image_03012025_21_00_02_485809_0001.jpg', '/home/pi/Desktop/images/03012025/21/00/image_03012025_21_00_02_485809_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/20/59/image_03012025_20_59_02_310349_0002.jpg
/home/pi/Desktop/images/03012025/21/00/image_03012025_21_00_02_485809_0000.jpg
/home/pi/Desktop/images/03012025/21/00/image_03012025_21_00_02_485809_0001.jpg
/home/pi/Desktop/images/03012025/21/00/image_03012025_21_00_02_485809_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326017470","1326017472","1326017471","1326017468"],"photo_ids_order":["1326017468","1326017470","1326017471","1326017472"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/df300eef1574ad0a93b9d10f82d67959.jpg","text":"TemporaryFile(/tmp/multipartBody4241252046014992237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735934502223,"filename":"image_03012025_21_00_02_485809_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/de579915475a858e9a7770cdc71fbb27.jpg","text":"TemporaryFile(/tmp/multipartBody3486876914250505314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735934502223,"filename":"image_03012025_21_00_02_485809_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/60d03a72b3ed9cd4dd63c11586103caa.jpg","text":"TemporaryFile(/tmp/multipartBody2564912440280346725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735934502223,"filename":"image_03012025_21_00_02_485809_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9f0780b5ecb371d887faba4396a28f89.jpg","text":"TemporaryFile(/tmp/multipartBody3999582198850372171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735934502223,"filename":"image_03012025_20_59_02_310349_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326017471","file1":"1326017470","file0":"1326017468","file3":"1326017472"},"map_files_photo_id_array":[{"photo_id":"1326017471","filename":"file2"},{"photo_id":"1326017470","filename":"file1"},{"photo_id":"1326017468","filename":"file0"},{"photo_id":"1326017472","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326017470":["hashtag1","hashtag2"]},{"1326017472":["hashtag1","hashtag2"]},{"1326017471":["hashtag1","hashtag2"]},{"1326017468":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326017470, 1326017472, 1326017471, 1326017468)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.58659625053406 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 21:01:22.570169
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/21/00/image_03012025_21_00_02_485809_0003.jpg', '/home/pi/Desktop/images/03012025/21/01/image_03012025_21_01_02_616172_0000.jpg', '/home/pi/Desktop/images/03012025/21/01/image_03012025_21_01_02_616172_0001.jpg', '/home/pi/Desktop/images/03012025/21/01/image_03012025_21_01_02_616172_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/21/00/image_03012025_21_00_02_485809_0003.jpg
/home/pi/Desktop/images/03012025/21/01/image_03012025_21_01_02_616172_0000.jpg
/home/pi/Desktop/images/03012025/21/01/image_03012025_21_01_02_616172_0001.jpg
/home/pi/Desktop/images/03012025/21/01/image_03012025_21_01_02_616172_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326017988","1326017489","1326017918","1326017627"],"photo_ids_order":["1326017489","1326017627","1326017918","1326017988"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e1547b87ae8784606d7f6bc4a4134b08.jpg","text":"TemporaryFile(/tmp/multipartBody6957484817316304492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735934552565,"filename":"image_03012025_21_01_02_616172_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a00b870e607e6b221ab7df83f280646e.jpg","text":"TemporaryFile(/tmp/multipartBody8560177803856092022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735934552565,"filename":"image_03012025_21_00_02_485809_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ae1f10221d23272ac4b203025bce56e3.jpg","text":"TemporaryFile(/tmp/multipartBody7545656954219360720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735934552565,"filename":"image_03012025_21_01_02_616172_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/178aa7f921f5bfabf5dba901ce5e020c.jpg","text":"TemporaryFile(/tmp/multipartBody7362429957819237120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735934552565,"filename":"image_03012025_21_01_02_616172_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326017918","file1":"1326017627","file0":"1326017489","file3":"1326017988"},"map_files_photo_id_array":[{"photo_id":"1326017918","filename":"file2"},{"photo_id":"1326017627","filename":"file1"},{"photo_id":"1326017489","filename":"file0"},{"photo_id":"1326017988","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326017988":["hashtag1","hashtag2"]},{"1326017489":["hashtag1","hashtag2"]},{"1326017918":["hashtag1","hashtag2"]},{"1326017627":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326017988, 1326017489, 1326017918, 1326017627)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.78053641319275 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 21:02:22.708416
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/21/01/image_03012025_21_01_02_616172_0003.jpg', '/home/pi/Desktop/images/03012025/21/02/image_03012025_21_02_02_920137_0000.jpg', '/home/pi/Desktop/images/03012025/21/02/image_03012025_21_02_02_920137_0001.jpg', '/home/pi/Desktop/images/03012025/21/02/image_03012025_21_02_02_920137_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/21/01/image_03012025_21_01_02_616172_0003.jpg
/home/pi/Desktop/images/03012025/21/02/image_03012025_21_02_02_920137_0000.jpg
/home/pi/Desktop/images/03012025/21/02/image_03012025_21_02_02_920137_0001.jpg
/home/pi/Desktop/images/03012025/21/02/image_03012025_21_02_02_920137_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326018450","1326018448","1326018451","1326018445"],"photo_ids_order":["1326018445","1326018448","1326018450","1326018451"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b053740fd7c3cb89afde38b9c1045e89.jpg","text":"TemporaryFile(/tmp/multipartBody4943116675233964982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735934612991,"filename":"image_03012025_21_02_02_920137_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/15b6c8a20e7d426d37e69f95004cb7d6.jpg","text":"TemporaryFile(/tmp/multipartBody3653105974622072862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735934612991,"filename":"image_03012025_21_02_02_920137_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/30ba91489b785f6fa96f8f19a26058ff.jpg","text":"TemporaryFile(/tmp/multipartBody1523002925110507945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735934612991,"filename":"image_03012025_21_02_02_920137_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/722d5ebd1567115cdf5c49a13fce71b1.jpg","text":"TemporaryFile(/tmp/multipartBody441040219297913233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735934612991,"filename":"image_03012025_21_01_02_616172_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326018450","file1":"1326018448","file0":"1326018445","file3":"1326018451"},"map_files_photo_id_array":[{"photo_id":"1326018450","filename":"file2"},{"photo_id":"1326018448","filename":"file1"},{"photo_id":"1326018445","filename":"file0"},{"photo_id":"1326018451","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326018450":["hashtag1","hashtag2"]},{"1326018448":["hashtag1","hashtag2"]},{"1326018451":["hashtag1","hashtag2"]},{"1326018445":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326018450, 1326018448, 1326018451, 1326018445)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.10334515571594 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 21:03:21.905182
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/21/02/image_03012025_21_02_02_920137_0003.jpg', '/home/pi/Desktop/images/03012025/21/03/image_03012025_21_03_03_057103_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/21/02/image_03012025_21_02_02_920137_0003.jpg
/home/pi/Desktop/images/03012025/21/03/image_03012025_21_03_03_057103_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":["1326018785","1326018775"],"photo_ids_order":["1326018775","1326018785"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f97aa3cbe59ff42d68ff27dc71d98bfc.jpg","text":"TemporaryFile(/tmp/multipartBody3501795563240005603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735934667233,"filename":"image_03012025_21_03_03_057103_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8c602a136c6a70f7634b1f92c5247eba.jpg","text":"TemporaryFile(/tmp/multipartBody2923937984240643085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735934667233,"filename":"image_03012025_21_02_02_920137_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1326018785","file0":"1326018775"},"map_files_photo_id_array":[{"photo_id":"1326018785","filename":"file1"},{"photo_id":"1326018775","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326018785":["hashtag1","hashtag2"]},{"1326018775":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326018785, 1326018775)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.471977472305298 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-03 21:03:51.823053
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 21:04:02.421172
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 21:04:22.087685
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/21/03/image_03012025_21_03_03_057103_0001.jpg', '/home/pi/Desktop/images/03012025/21/04/image_03012025_21_04_02_212309_0000.jpg', '/home/pi/Desktop/images/03012025/21/04/image_03012025_21_04_02_212309_0001.jpg', '/home/pi/Desktop/images/03012025/21/04/image_03012025_21_04_02_212309_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/21/03/image_03012025_21_03_03_057103_0001.jpg
/home/pi/Desktop/images/03012025/21/04/image_03012025_21_04_02_212309_0000.jpg
/home/pi/Desktop/images/03012025/21/04/image_03012025_21_04_02_212309_0001.jpg
/home/pi/Desktop/images/03012025/21/04/image_03012025_21_04_02_212309_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.531846523284912 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-03 21:04:42.024626
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/21/03/image_03012025_21_03_03_057103_0001.jpg', '/home/pi/Desktop/images/03012025/21/04/image_03012025_21_04_02_212309_0000.jpg', '/home/pi/Desktop/images/03012025/21/04/image_03012025_21_04_02_212309_0001.jpg', '/home/pi/Desktop/images/03012025/21/04/image_03012025_21_04_02_212309_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/21/03/image_03012025_21_03_03_057103_0001.jpg
/home/pi/Desktop/images/03012025/21/04/image_03012025_21_04_02_212309_0000.jpg
/home/pi/Desktop/images/03012025/21/04/image_03012025_21_04_02_212309_0001.jpg
/home/pi/Desktop/images/03012025/21/04/image_03012025_21_04_02_212309_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326019255","1326019240","1326019141","1326019257"],"photo_ids_order":["1326019141","1326019240","1326019255","1326019257"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/eda5ec48c236465ba7de43525843753a.jpg","text":"TemporaryFile(/tmp/multipartBody3212955102853266856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735934751934,"filename":"image_03012025_21_04_02_212309_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4338c16ee0f066557d98e2504db5f683.jpg","text":"TemporaryFile(/tmp/multipartBody8883384971346344796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735934751934,"filename":"image_03012025_21_04_02_212309_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/411bd9b6f5f7771d6c7650aa65a638fc.jpg","text":"TemporaryFile(/tmp/multipartBody5090000798268604848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735934751934,"filename":"image_03012025_21_03_03_057103_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0cbe9ff29339bbe69292cbd09832e5f2.jpg","text":"TemporaryFile(/tmp/multipartBody5646073095833294452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735934751934,"filename":"image_03012025_21_04_02_212309_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326019255","file1":"1326019240","file0":"1326019141","file3":"1326019257"},"map_files_photo_id_array":[{"photo_id":"1326019255","filename":"file2"},{"photo_id":"1326019240","filename":"file1"},{"photo_id":"1326019141","filename":"file0"},{"photo_id":"1326019257","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326019255":["hashtag1","hashtag2"]},{"1326019240":["hashtag1","hashtag2"]},{"1326019141":["hashtag1","hashtag2"]},{"1326019257":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326019255, 1326019240, 1326019141, 1326019257)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.160778760910034 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-03 21:05:32.179208
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/21/04/image_03012025_21_04_02_212309_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/21/04/image_03012025_21_04_02_212309_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326019490"],"photo_id":"1326019490","photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/969b710f0dea303d6761392aad66b9f9.jpg","text":"TemporaryFile(/tmp/multipartBody5601626863095188743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735934795243,"filename":"image_03012025_21_04_02_212309_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file0":"1326019490"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1326019490"}],"hashtags":[],"portfolio_id":"19381866","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.09919285774231 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-03 21:05:52.164251
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 21:06:02.862978
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 21:06:22.340633
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/21/05/image_03012025_21_05_02_399524_0003.jpg', '/home/pi/Desktop/images/03012025/21/06/image_03012025_21_06_02_544227_0000.jpg', '/home/pi/Desktop/images/03012025/21/06/image_03012025_21_06_02_544227_0001.jpg', '/home/pi/Desktop/images/03012025/21/06/image_03012025_21_06_02_544227_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/21/05/image_03012025_21_05_02_399524_0003.jpg
/home/pi/Desktop/images/03012025/21/06/image_03012025_21_06_02_544227_0000.jpg
/home/pi/Desktop/images/03012025/21/06/image_03012025_21_06_02_544227_0001.jpg
/home/pi/Desktop/images/03012025/21/06/image_03012025_21_06_02_544227_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326020196","1326019908","1326020004","1326020114"],"photo_ids_order":["1326019908","1326020004","1326020114","1326020196"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7f3c996f640862dc7ca603095d4a67b3.jpg","text":"TemporaryFile(/tmp/multipartBody8212329880489170166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735934852511,"filename":"image_03012025_21_06_02_544227_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/db4da7dedc23014495313e23a4dcecba.jpg","text":"TemporaryFile(/tmp/multipartBody8613192945655660806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735934852511,"filename":"image_03012025_21_05_02_399524_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/460c53b8b4a6cf1d354c24c92bb033aa.jpg","text":"TemporaryFile(/tmp/multipartBody7744694184959404353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735934852511,"filename":"image_03012025_21_06_02_544227_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4036eb19289e83a23a91f836826dd65b.jpg","text":"TemporaryFile(/tmp/multipartBody6097590116724779999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735934852511,"filename":"image_03012025_21_06_02_544227_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326020114","file1":"1326020004","file0":"1326019908","file3":"1326020196"},"map_files_photo_id_array":[{"photo_id":"1326020114","filename":"file2"},{"photo_id":"1326020004","filename":"file1"},{"photo_id":"1326019908","filename":"file0"},{"photo_id":"1326020196","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326020196":["hashtag1","hashtag2"]},{"1326019908":["hashtag1","hashtag2"]},{"1326020004":["hashtag1","hashtag2"]},{"1326020114":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326020196, 1326019908, 1326020004, 1326020114)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.82954454421997 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 21:07:22.653095
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/21/06/image_03012025_21_06_02_544227_0003.jpg', '/home/pi/Desktop/images/03012025/21/07/image_03012025_21_07_02_781565_0000.jpg', '/home/pi/Desktop/images/03012025/21/07/image_03012025_21_07_02_781565_0001.jpg', '/home/pi/Desktop/images/03012025/21/07/image_03012025_21_07_02_781565_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/21/06/image_03012025_21_06_02_544227_0003.jpg
/home/pi/Desktop/images/03012025/21/07/image_03012025_21_07_02_781565_0000.jpg
/home/pi/Desktop/images/03012025/21/07/image_03012025_21_07_02_781565_0001.jpg
/home/pi/Desktop/images/03012025/21/07/image_03012025_21_07_02_781565_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326020499","1326020493","1326020496","1326020491"],"photo_ids_order":["1326020491","1326020493","1326020496","1326020499"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8c4c6da8fc5704ac56faef2e159d6f97.jpg","text":"TemporaryFile(/tmp/multipartBody2831688975121691087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735934913123,"filename":"image_03012025_21_07_02_781565_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/401a3c30226952d6e0ef6a1054631da2.jpg","text":"TemporaryFile(/tmp/multipartBody3280984775644138118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735934913123,"filename":"image_03012025_21_07_02_781565_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5aab33213a00514ef6ce373aa8a15984.jpg","text":"TemporaryFile(/tmp/multipartBody5368047482331444462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735934913123,"filename":"image_03012025_21_07_02_781565_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/95d34f7ea04bf18f629f27d19cc34ecf.jpg","text":"TemporaryFile(/tmp/multipartBody4672080025328464344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735934913123,"filename":"image_03012025_21_06_02_544227_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326020496","file1":"1326020493","file0":"1326020491","file3":"1326020499"},"map_files_photo_id_array":[{"photo_id":"1326020496","filename":"file2"},{"photo_id":"1326020493","filename":"file1"},{"photo_id":"1326020491","filename":"file0"},{"photo_id":"1326020499","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326020499":["hashtag1","hashtag2"]},{"1326020493":["hashtag1","hashtag2"]},{"1326020496":["hashtag1","hashtag2"]},{"1326020491":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326020499, 1326020493, 1326020496, 1326020491)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 51.54861640930176 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 21:08:21.840752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/21/07/image_03012025_21_07_02_781565_0003.jpg', '/home/pi/Desktop/images/03012025/21/08/image_03012025_21_08_03_019946_0000.jpg', '/home/pi/Desktop/images/03012025/21/08/image_03012025_21_08_03_019946_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/21/07/image_03012025_21_07_02_781565_0003.jpg
/home/pi/Desktop/images/03012025/21/08/image_03012025_21_08_03_019946_0000.jpg
/home/pi/Desktop/images/03012025/21/08/image_03012025_21_08_03_019946_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":["1326020706","1326020741","1326020737"],"photo_ids_order":["1326020706","1326020737","1326020741"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5b9a6a6b1043178270e6b6f4d3ba4be9.jpg","text":"TemporaryFile(/tmp/multipartBody927415131008895742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735934970270,"filename":"image_03012025_21_07_02_781565_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7f29f7fcc9218d41472a759da96219ae.jpg","text":"TemporaryFile(/tmp/multipartBody2204262905663351913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735934970270,"filename":"image_03012025_21_08_03_019946_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b44c1cd73b0c40e5293d37ef818d2193.jpg","text":"TemporaryFile(/tmp/multipartBody7049755224169990408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735934970270,"filename":"image_03012025_21_08_03_019946_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326020741","file1":"1326020737","file0":"1326020706"},"map_files_photo_id_array":[{"photo_id":"1326020741","filename":"file2"},{"photo_id":"1326020737","filename":"file1"},{"photo_id":"1326020706","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326020706":["hashtag1","hashtag2"]},{"1326020741":["hashtag1","hashtag2"]},{"1326020737":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326020706, 1326020741, 1326020737)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 36.92923307418823 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 21:09:02.546956
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 21:09:21.942801
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/21/08/image_03012025_21_08_03_019946_0003.jpg', '/home/pi/Desktop/images/03012025/21/09/image_03012025_21_09_02_135551_0000.jpg', '/home/pi/Desktop/images/03012025/21/09/image_03012025_21_09_02_135551_0001.jpg', '/home/pi/Desktop/images/03012025/21/09/image_03012025_21_09_02_135551_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/21/08/image_03012025_21_08_03_019946_0003.jpg
/home/pi/Desktop/images/03012025/21/09/image_03012025_21_09_02_135551_0000.jpg
/home/pi/Desktop/images/03012025/21/09/image_03012025_21_09_02_135551_0001.jpg
/home/pi/Desktop/images/03012025/21/09/image_03012025_21_09_02_135551_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.687952518463135 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-03 21:09:42.012934
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/21/08/image_03012025_21_08_03_019946_0003.jpg', '/home/pi/Desktop/images/03012025/21/09/image_03012025_21_09_02_135551_0000.jpg', '/home/pi/Desktop/images/03012025/21/09/image_03012025_21_09_02_135551_0001.jpg', '/home/pi/Desktop/images/03012025/21/09/image_03012025_21_09_02_135551_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/21/08/image_03012025_21_08_03_019946_0003.jpg
/home/pi/Desktop/images/03012025/21/09/image_03012025_21_09_02_135551_0000.jpg
/home/pi/Desktop/images/03012025/21/09/image_03012025_21_09_02_135551_0001.jpg
/home/pi/Desktop/images/03012025/21/09/image_03012025_21_09_02_135551_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326021051","1326021098","1326021158","1326021096"],"photo_ids_order":["1326021051","1326021096","1326021098","1326021158"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b3954bfa6e169134739ded2ce19f4547.jpg","text":"TemporaryFile(/tmp/multipartBody5964699683966200628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735935052508,"filename":"image_03012025_21_08_03_019946_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/329f08c1fb5636b0c904c040429882d8.jpg","text":"TemporaryFile(/tmp/multipartBody2349430415062184297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735935052508,"filename":"image_03012025_21_09_02_135551_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f5018d8407b4c9bcc80b61118be19bd3.jpg","text":"TemporaryFile(/tmp/multipartBody3690920799829531605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735935052508,"filename":"image_03012025_21_09_02_135551_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/eedd482bb0a5e5f9da0c0eb36a547c4b.jpg","text":"TemporaryFile(/tmp/multipartBody7573285277414379576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735935052508,"filename":"image_03012025_21_09_02_135551_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326021098","file1":"1326021096","file0":"1326021051","file3":"1326021158"},"map_files_photo_id_array":[{"photo_id":"1326021098","filename":"file2"},{"photo_id":"1326021096","filename":"file1"},{"photo_id":"1326021051","filename":"file0"},{"photo_id":"1326021158","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326021051":["hashtag1","hashtag2"]},{"1326021098":["hashtag1","hashtag2"]},{"1326021158":["hashtag1","hashtag2"]},{"1326021096":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326021051, 1326021098, 1326021158, 1326021096)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 48.49600839614868 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-03 21:10:32.153116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/21/09/image_03012025_21_09_02_135551_0003.jpg', '/home/pi/Desktop/images/03012025/21/10/image_03012025_21_10_02_360654_0000.jpg', '/home/pi/Desktop/images/03012025/21/10/image_03012025_21_10_02_360654_0001.jpg', '/home/pi/Desktop/images/03012025/21/10/image_03012025_21_10_02_360654_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/21/09/image_03012025_21_09_02_135551_0003.jpg
/home/pi/Desktop/images/03012025/21/10/image_03012025_21_10_02_360654_0000.jpg
/home/pi/Desktop/images/03012025/21/10/image_03012025_21_10_02_360654_0001.jpg
/home/pi/Desktop/images/03012025/21/10/image_03012025_21_10_02_360654_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326021468","1326021524","1326021431","1326021466"],"photo_ids_order":["1326021431","1326021466","1326021468","1326021524"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ae9d73e4ab90b47f679d6936426a67e9.jpg","text":"TemporaryFile(/tmp/multipartBody5359476047952791546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735935103283,"filename":"image_03012025_21_10_02_360654_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4843de644fd482ab14252374f659286a.jpg","text":"TemporaryFile(/tmp/multipartBody6697945657864495297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735935103283,"filename":"image_03012025_21_10_02_360654_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7d31cae2346f635090893114971fb925.jpg","text":"TemporaryFile(/tmp/multipartBody3191170413553929399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735935103283,"filename":"image_03012025_21_09_02_135551_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/07dc6c985dbb9efb8c3ae0fdc2302b69.jpg","text":"TemporaryFile(/tmp/multipartBody5431555230402086765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735935103283,"filename":"image_03012025_21_10_02_360654_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326021468","file1":"1326021466","file0":"1326021431","file3":"1326021524"},"map_files_photo_id_array":[{"photo_id":"1326021468","filename":"file2"},{"photo_id":"1326021466","filename":"file1"},{"photo_id":"1326021431","filename":"file0"},{"photo_id":"1326021524","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326021468":["hashtag1","hashtag2"]},{"1326021524":["hashtag1","hashtag2"]},{"1326021431":["hashtag1","hashtag2"]},{"1326021466":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326021468, 1326021524, 1326021431, 1326021466)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 48.088058948516846 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 21:11:22.544469
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/21/10/image_03012025_21_10_02_360654_0003.jpg', '/home/pi/Desktop/images/03012025/21/11/image_03012025_21_11_02_554539_0000.jpg', '/home/pi/Desktop/images/03012025/21/11/image_03012025_21_11_02_554539_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/21/10/image_03012025_21_10_02_360654_0003.jpg
/home/pi/Desktop/images/03012025/21/11/image_03012025_21_11_02_554539_0000.jpg
/home/pi/Desktop/images/03012025/21/11/image_03012025_21_11_02_554539_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":["1326021668","1326021919","1326021663"],"photo_ids_order":["1326021663","1326021668","1326021919"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/08ac17f5cf53ceb2c5743477b3f3e3c9.jpg","text":"TemporaryFile(/tmp/multipartBody3767484811270994713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735935150801,"filename":"image_03012025_21_11_02_554539_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/448dfa8bbe72b4280e0fca3307219cc7.jpg","text":"TemporaryFile(/tmp/multipartBody7980895641333000698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735935150801,"filename":"image_03012025_21_11_02_554539_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f95a008ee6b2a0d77247523e7bef4c27.jpg","text":"TemporaryFile(/tmp/multipartBody6490577063298589562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735935150801,"filename":"image_03012025_21_10_02_360654_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326021919","file1":"1326021668","file0":"1326021663"},"map_files_photo_id_array":[{"photo_id":"1326021919","filename":"file2"},{"photo_id":"1326021668","filename":"file1"},{"photo_id":"1326021663","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326021668":["hashtag1","hashtag2"]},{"1326021919":["hashtag1","hashtag2"]},{"1326021663":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326021668, 1326021919, 1326021663)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 42.5231556892395 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 21:12:22.728527
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/21/11/image_03012025_21_11_02_554539_0002.jpg', '/home/pi/Desktop/images/03012025/21/12/image_03012025_21_12_02_788236_0000.jpg', '/home/pi/Desktop/images/03012025/21/12/image_03012025_21_12_02_788236_0001.jpg', '/home/pi/Desktop/images/03012025/21/12/image_03012025_21_12_02_788236_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/21/11/image_03012025_21_11_02_554539_0002.jpg
/home/pi/Desktop/images/03012025/21/12/image_03012025_21_12_02_788236_0000.jpg
/home/pi/Desktop/images/03012025/21/12/image_03012025_21_12_02_788236_0001.jpg
/home/pi/Desktop/images/03012025/21/12/image_03012025_21_12_02_788236_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326022030","1326022027","1326022266","1326022269"],"photo_ids_order":["1326022027","1326022030","1326022266","1326022269"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/114fb3de0c3642144c5acab753c94786.jpg","text":"TemporaryFile(/tmp/multipartBody8480632871350551614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735935212725,"filename":"image_03012025_21_12_02_788236_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e8069b88aeff9229d13a3034a82114ab.jpg","text":"TemporaryFile(/tmp/multipartBody5207185815644920364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735935212725,"filename":"image_03012025_21_11_02_554539_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b2fb7ff04f86ef0f2d41ce91b12b61cf.jpg","text":"TemporaryFile(/tmp/multipartBody3169351463826907785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735935212725,"filename":"image_03012025_21_12_02_788236_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/419467f45f58f739032b6a445330a058.jpg","text":"TemporaryFile(/tmp/multipartBody3213562424254172549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735935212725,"filename":"image_03012025_21_12_02_788236_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326022266","file1":"1326022030","file0":"1326022027","file3":"1326022269"},"map_files_photo_id_array":[{"photo_id":"1326022266","filename":"file2"},{"photo_id":"1326022030","filename":"file1"},{"photo_id":"1326022027","filename":"file0"},{"photo_id":"1326022269","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326022030":["hashtag1","hashtag2"]},{"1326022027":["hashtag1","hashtag2"]},{"1326022266":["hashtag1","hashtag2"]},{"1326022269":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326022030, 1326022027, 1326022266, 1326022269)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 50.09914040565491 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 21:13:21.762641
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/21/12/image_03012025_21_12_02_788236_0003.jpg', '/home/pi/Desktop/images/03012025/21/13/image_03012025_21_13_02_982134_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/21/12/image_03012025_21_12_02_788236_0003.jpg
/home/pi/Desktop/images/03012025/21/13/image_03012025_21_13_02_982134_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":["1326022390","1326022387"],"photo_ids_order":["1326022387","1326022390"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b2f66be9ee346c4c5af6ab83d211e72d.jpg","text":"TemporaryFile(/tmp/multipartBody3611519945610915917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735935267702,"filename":"image_03012025_21_13_02_982134_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/fa0c610d269aff3c82a8f1d20b8ec11e.jpg","text":"TemporaryFile(/tmp/multipartBody6859786432648228625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735935267702,"filename":"image_03012025_21_12_02_788236_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1326022390","file0":"1326022387"},"map_files_photo_id_array":[{"photo_id":"1326022390","filename":"file1"},{"photo_id":"1326022387","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326022390":["hashtag1","hashtag2"]},{"1326022387":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326022390, 1326022387)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 28.823791980743408 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-03 21:13:51.741323
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 21:14:02.388026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 21:14:21.968747
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/21/13/image_03012025_21_13_02_982134_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/21/13/image_03012025_21_13_02_982134_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5855801105499268 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-03 21:14:31.895653
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/21/13/image_03012025_21_13_02_982134_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/21/13/image_03012025_21_13_02_982134_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326022891"],"photo_id":"1326022891","photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7b51d920904e4bcd3c52facccef42a1b.jpg","text":"TemporaryFile(/tmp/multipartBody1021428305755171940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735935335456,"filename":"image_03012025_21_13_02_982134_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file0":"1326022891"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1326022891"}],"hashtags":[],"portfolio_id":"19381866","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.18055748939514 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-03 21:14:51.881662
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 21:15:02.678764
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 21:15:22.102632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/21/14/image_03012025_21_14_02_232000_0000.jpg', '/home/pi/Desktop/images/03012025/21/15/image_03012025_21_15_02_322628_0000.jpg', '/home/pi/Desktop/images/03012025/21/15/image_03012025_21_15_02_322628_0001.jpg', '/home/pi/Desktop/images/03012025/21/15/image_03012025_21_15_02_322628_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/21/14/image_03012025_21_14_02_232000_0000.jpg
/home/pi/Desktop/images/03012025/21/15/image_03012025_21_15_02_322628_0000.jpg
/home/pi/Desktop/images/03012025/21/15/image_03012025_21_15_02_322628_0001.jpg
/home/pi/Desktop/images/03012025/21/15/image_03012025_21_15_02_322628_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326023290","1326023292","1326023295","1326023294"],"photo_ids_order":["1326023290","1326023292","1326023294","1326023295"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6f4ad641d8e82fb7f4ba03425f8b8a62.jpg","text":"TemporaryFile(/tmp/multipartBody7546404328337124025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735935392602,"filename":"image_03012025_21_14_02_232000_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/71bd902f15a5ce487631889765d0d41b.jpg","text":"TemporaryFile(/tmp/multipartBody4364948087287684125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735935392602,"filename":"image_03012025_21_15_02_322628_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e78f015b0415294e7c7649c7b9885fc2.jpg","text":"TemporaryFile(/tmp/multipartBody1108312957536778280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735935392602,"filename":"image_03012025_21_15_02_322628_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/47ebdc3cc7df2c878cfc6fadd14303b3.jpg","text":"TemporaryFile(/tmp/multipartBody7447762330088304308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735935392602,"filename":"image_03012025_21_15_02_322628_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326023294","file1":"1326023292","file0":"1326023290","file3":"1326023295"},"map_files_photo_id_array":[{"photo_id":"1326023294","filename":"file2"},{"photo_id":"1326023292","filename":"file1"},{"photo_id":"1326023290","filename":"file0"},{"photo_id":"1326023295","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326023290":["hashtag1","hashtag2"]},{"1326023292":["hashtag1","hashtag2"]},{"1326023295":["hashtag1","hashtag2"]},{"1326023294":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326023290, 1326023292, 1326023295, 1326023294)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 52.791950941085815 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 21:16:22.258129
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/21/15/image_03012025_21_15_02_322628_0003.jpg', '/home/pi/Desktop/images/03012025/21/16/image_03012025_21_16_02_480656_0000.jpg', '/home/pi/Desktop/images/03012025/21/16/image_03012025_21_16_02_480656_0001.jpg', '/home/pi/Desktop/images/03012025/21/16/image_03012025_21_16_02_480656_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/21/15/image_03012025_21_15_02_322628_0003.jpg
/home/pi/Desktop/images/03012025/21/16/image_03012025_21_16_02_480656_0000.jpg
/home/pi/Desktop/images/03012025/21/16/image_03012025_21_16_02_480656_0001.jpg
/home/pi/Desktop/images/03012025/21/16/image_03012025_21_16_02_480656_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326023536","1326023577","1326023500","1326023576"],"photo_ids_order":["1326023500","1326023536","1326023576","1326023577"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2061017e046a26cfa135a637c65c7a00.jpg","text":"TemporaryFile(/tmp/multipartBody771629378553285547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735935453038,"filename":"image_03012025_21_16_02_480656_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1e3beb06558c93dd16c6c8d0b47e0938.jpg","text":"TemporaryFile(/tmp/multipartBody3043098353482720736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735935453038,"filename":"image_03012025_21_16_02_480656_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2fb195e2678e3fbbd122ce7536d1cf89.jpg","text":"TemporaryFile(/tmp/multipartBody4310041894696832151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735935453038,"filename":"image_03012025_21_15_02_322628_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/de3ba06c551e5ae9f3c035b1d80bac4a.jpg","text":"TemporaryFile(/tmp/multipartBody1681107831610349123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735935453038,"filename":"image_03012025_21_16_02_480656_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326023576","file1":"1326023536","file0":"1326023500","file3":"1326023577"},"map_files_photo_id_array":[{"photo_id":"1326023576","filename":"file2"},{"photo_id":"1326023536","filename":"file1"},{"photo_id":"1326023500","filename":"file0"},{"photo_id":"1326023577","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326023536":["hashtag1","hashtag2"]},{"1326023577":["hashtag1","hashtag2"]},{"1326023500":["hashtag1","hashtag2"]},{"1326023576":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326023536, 1326023577, 1326023500, 1326023576)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 54.51699376106262 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 21:17:22.342104
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/21/16/image_03012025_21_16_02_480656_0003.jpg', '/home/pi/Desktop/images/03012025/21/17/image_03012025_21_17_02_608536_0000.jpg', '/home/pi/Desktop/images/03012025/21/17/image_03012025_21_17_02_608536_0001.jpg', '/home/pi/Desktop/images/03012025/21/17/image_03012025_21_17_02_608536_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/21/16/image_03012025_21_16_02_480656_0003.jpg
/home/pi/Desktop/images/03012025/21/17/image_03012025_21_17_02_608536_0000.jpg
/home/pi/Desktop/images/03012025/21/17/image_03012025_21_17_02_608536_0001.jpg
/home/pi/Desktop/images/03012025/21/17/image_03012025_21_17_02_608536_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326024370","1326024378","1326024081","1326023876"],"photo_ids_order":["1326023876","1326024081","1326024370","1326024378"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/84def1e100329deba83c454a286f2372.jpg","text":"TemporaryFile(/tmp/multipartBody2518694829316121720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735935514837,"filename":"image_03012025_21_17_02_608536_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8617367e5dcfcbf63341d488f5761f12.jpg","text":"TemporaryFile(/tmp/multipartBody4942689826114793779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735935514837,"filename":"image_03012025_21_17_02_608536_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/afac95e56daffcfa2626f1a07b301c68.jpg","text":"TemporaryFile(/tmp/multipartBody3419240409383766676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735935514837,"filename":"image_03012025_21_17_02_608536_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7da19dee51bac1059fa3f6d229589830.jpg","text":"TemporaryFile(/tmp/multipartBody7914073989867122296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735935514837,"filename":"image_03012025_21_16_02_480656_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326024370","file1":"1326024081","file0":"1326023876","file3":"1326024378"},"map_files_photo_id_array":[{"photo_id":"1326024370","filename":"file2"},{"photo_id":"1326024081","filename":"file1"},{"photo_id":"1326023876","filename":"file0"},{"photo_id":"1326024378","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326024370":["hashtag1","hashtag2"]},{"1326024378":["hashtag1","hashtag2"]},{"1326024081":["hashtag1","hashtag2"]},{"1326023876":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326024370, 1326024378, 1326024081, 1326023876)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 57.91106557846069 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 21:18:22.673238
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/21/17/image_03012025_21_17_02_608536_0003.jpg', '/home/pi/Desktop/images/03012025/21/18/image_03012025_21_18_02_764519_0000.jpg', '/home/pi/Desktop/images/03012025/21/18/image_03012025_21_18_02_764519_0001.jpg', '/home/pi/Desktop/images/03012025/21/18/image_03012025_21_18_02_764519_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/21/17/image_03012025_21_17_02_608536_0003.jpg
/home/pi/Desktop/images/03012025/21/18/image_03012025_21_18_02_764519_0000.jpg
/home/pi/Desktop/images/03012025/21/18/image_03012025_21_18_02_764519_0001.jpg
/home/pi/Desktop/images/03012025/21/18/image_03012025_21_18_02_764519_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326024681","1326024729","1326025067","1326024668"],"photo_ids_order":["1326024668","1326024681","1326024729","1326025067"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c3e14e9bbb0be6e2037aa1e3b08e9c51.jpg","text":"TemporaryFile(/tmp/multipartBody825031531550110361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735935578989,"filename":"image_03012025_21_18_02_764519_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5198a5d6fc2a6504423bd3f78b3131f4.jpg","text":"TemporaryFile(/tmp/multipartBody5049752185407281133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735935578989,"filename":"image_03012025_21_18_02_764519_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/cfd9f5407a7a3e379045b520ea9382aa.jpg","text":"TemporaryFile(/tmp/multipartBody8315683572988423966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735935578989,"filename":"image_03012025_21_18_02_764519_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/aef0c7514ad7446820f8e0ad8617556d.jpg","text":"TemporaryFile(/tmp/multipartBody7881112960934118186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735935578989,"filename":"image_03012025_21_17_02_608536_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326024729","file1":"1326024681","file0":"1326024668","file3":"1326025067"},"map_files_photo_id_array":[{"photo_id":"1326024729","filename":"file2"},{"photo_id":"1326024681","filename":"file1"},{"photo_id":"1326024668","filename":"file0"},{"photo_id":"1326025067","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326024681":["hashtag1","hashtag2"]},{"1326024729":["hashtag1","hashtag2"]},{"1326025067":["hashtag1","hashtag2"]},{"1326024668":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326024681, 1326024729, 1326025067, 1326024668)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 63.511693239212036 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-03 21:19:32.700792
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/21/18/image_03012025_21_18_02_764519_0003.jpg', '/home/pi/Desktop/images/03012025/21/19/image_03012025_21_19_02_923783_0000.jpg', '/home/pi/Desktop/images/03012025/21/19/image_03012025_21_19_02_923783_0001.jpg', '/home/pi/Desktop/images/03012025/21/19/image_03012025_21_19_02_923783_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/21/18/image_03012025_21_18_02_764519_0003.jpg
/home/pi/Desktop/images/03012025/21/19/image_03012025_21_19_02_923783_0000.jpg
/home/pi/Desktop/images/03012025/21/19/image_03012025_21_19_02_923783_0001.jpg
/home/pi/Desktop/images/03012025/21/19/image_03012025_21_19_02_923783_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326025455","1326025478","1326025472","1326025463"],"photo_ids_order":["1326025455","1326025463","1326025472","1326025478"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/cf869d54d3ce5d07b8dc61a339fcc23b.jpg","text":"TemporaryFile(/tmp/multipartBody9118379497084176508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735935643785,"filename":"image_03012025_21_18_02_764519_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4578641ab6d83f47c6de3e13e844f30d.jpg","text":"TemporaryFile(/tmp/multipartBody1287450298244256798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735935643785,"filename":"image_03012025_21_19_02_923783_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/96ee6e301a6a754447166e8d554c1e26.jpg","text":"TemporaryFile(/tmp/multipartBody6034860229527715278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735935643785,"filename":"image_03012025_21_19_02_923783_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3e5a05112ab916018cf52e596503489b.jpg","text":"TemporaryFile(/tmp/multipartBody3578635679060106943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735935643785,"filename":"image_03012025_21_19_02_923783_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326025472","file1":"1326025463","file0":"1326025455","file3":"1326025478"},"map_files_photo_id_array":[{"photo_id":"1326025472","filename":"file2"},{"photo_id":"1326025463","filename":"file1"},{"photo_id":"1326025455","filename":"file0"},{"photo_id":"1326025478","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326025455":["hashtag1","hashtag2"]},{"1326025478":["hashtag1","hashtag2"]},{"1326025472":["hashtag1","hashtag2"]},{"1326025463":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326025455, 1326025478, 1326025472, 1326025463)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 54.15344047546387 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-03 21:20:31.860055
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/21/19/image_03012025_21_19_02_923783_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/21/19/image_03012025_21_19_02_923783_0003.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.60487961769104 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-03 21:20:41.906095
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/21/19/image_03012025_21_19_02_923783_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/21/19/image_03012025_21_19_02_923783_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":["1326025982"],"photo_id":"1326025982","photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7418a339c962cfd3ca0e22a1f6866bcf.jpg","text":"TemporaryFile(/tmp/multipartBody153541642278651201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735935705951,"filename":"image_03012025_21_19_02_923783_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file0":"1326025982"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1326025982"}],"hashtags":[],"portfolio_id":"19381866","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 22.041352033615112 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 21:21:22.089202
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/21/20/image_03012025_21_20_03_095386_0001.jpg', '/home/pi/Desktop/images/03012025/21/21/image_03012025_21_21_02_272535_0000.jpg', '/home/pi/Desktop/images/03012025/21/21/image_03012025_21_21_02_272535_0001.jpg', '/home/pi/Desktop/images/03012025/21/21/image_03012025_21_21_02_272535_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/21/20/image_03012025_21_20_03_095386_0001.jpg
/home/pi/Desktop/images/03012025/21/21/image_03012025_21_21_02_272535_0000.jpg
/home/pi/Desktop/images/03012025/21/21/image_03012025_21_21_02_272535_0001.jpg
/home/pi/Desktop/images/03012025/21/21/image_03012025_21_21_02_272535_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326026094","1326026090","1326026093","1326026095"],"photo_ids_order":["1326026090","1326026093","1326026094","1326026095"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a0937e85261ea64ba4d210f61845782e.jpg","text":"TemporaryFile(/tmp/multipartBody5690648553543359558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735935754266,"filename":"image_03012025_21_21_02_272535_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/bca67351c298a0e77ca79ca256bdf681.jpg","text":"TemporaryFile(/tmp/multipartBody4265291961075461149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735935754266,"filename":"image_03012025_21_20_03_095386_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ee16216548711adb3d19512f9af31a44.jpg","text":"TemporaryFile(/tmp/multipartBody7365494388761432502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735935754266,"filename":"image_03012025_21_21_02_272535_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e51e3146c1129398e776c175a2d95051.jpg","text":"TemporaryFile(/tmp/multipartBody8920001135349845709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735935754266,"filename":"image_03012025_21_21_02_272535_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326026094","file1":"1326026093","file0":"1326026090","file3":"1326026095"},"map_files_photo_id_array":[{"photo_id":"1326026094","filename":"file2"},{"photo_id":"1326026093","filename":"file1"},{"photo_id":"1326026090","filename":"file0"},{"photo_id":"1326026095","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326026094":["hashtag1","hashtag2"]},{"1326026090":["hashtag1","hashtag2"]},{"1326026093":["hashtag1","hashtag2"]},{"1326026095":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326026094, 1326026090, 1326026093, 1326026095)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 56.57317852973938 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 21:22:22.323220
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/21/21/image_03012025_21_21_02_272535_0003.jpg', '/home/pi/Desktop/images/03012025/21/22/image_03012025_21_22_02_450674_0000.jpg', '/home/pi/Desktop/images/03012025/21/22/image_03012025_21_22_02_450674_0001.jpg', '/home/pi/Desktop/images/03012025/21/22/image_03012025_21_22_02_450674_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/21/21/image_03012025_21_21_02_272535_0003.jpg
/home/pi/Desktop/images/03012025/21/22/image_03012025_21_22_02_450674_0000.jpg
/home/pi/Desktop/images/03012025/21/22/image_03012025_21_22_02_450674_0001.jpg
/home/pi/Desktop/images/03012025/21/22/image_03012025_21_22_02_450674_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326026416","1326026373","1326026522","1326026413"],"photo_ids_order":["1326026373","1326026413","1326026416","1326026522"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a3ed606e9c51381b0ceefa542c466e14.jpg","text":"TemporaryFile(/tmp/multipartBody5538112442731287000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735935813005,"filename":"image_03012025_21_22_02_450674_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d0bdf512bc1a12c9edb37c2a0843ed8e.jpg","text":"TemporaryFile(/tmp/multipartBody6345795506737344974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735935813005,"filename":"image_03012025_21_21_02_272535_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8a8977409094b29e8b7cc00d0e92724d.jpg","text":"TemporaryFile(/tmp/multipartBody5186419606033797234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735935813005,"filename":"image_03012025_21_22_02_450674_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/15c2ac80b79a38a00f570c7c256e6809.jpg","text":"TemporaryFile(/tmp/multipartBody6744628173711018451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735935813005,"filename":"image_03012025_21_22_02_450674_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326026416","file1":"1326026413","file0":"1326026373","file3":"1326026522"},"map_files_photo_id_array":[{"photo_id":"1326026416","filename":"file2"},{"photo_id":"1326026413","filename":"file1"},{"photo_id":"1326026373","filename":"file0"},{"photo_id":"1326026522","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326026416":["hashtag1","hashtag2"]},{"1326026373":["hashtag1","hashtag2"]},{"1326026522":["hashtag1","hashtag2"]},{"1326026413":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326026416, 1326026373, 1326026522, 1326026413)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 53.656460762023926 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 21:23:22.494689
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/21/22/image_03012025_21_22_02_450674_0003.jpg', '/home/pi/Desktop/images/03012025/21/23/image_03012025_21_23_02_617542_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/21/22/image_03012025_21_22_02_450674_0003.jpg
/home/pi/Desktop/images/03012025/21/23/image_03012025_21_23_02_617542_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":["1326026987","1326026991"],"photo_ids_order":["1326026987","1326026991"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3c799dcc3d1e00c400f28d3cae4d54b8.jpg","text":"TemporaryFile(/tmp/multipartBody5193434987560024420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735935868822,"filename":"image_03012025_21_22_02_450674_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8817dc6d2a4db8dcadc6125f3aba3ccd.jpg","text":"TemporaryFile(/tmp/multipartBody4899073634002300687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735935868822,"filename":"image_03012025_21_23_02_617542_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1326026991","file0":"1326026987"},"map_files_photo_id_array":[{"photo_id":"1326026991","filename":"file1"},{"photo_id":"1326026987","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326026987":["hashtag1","hashtag2"]},{"1326026991":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326026987, 1326026991)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 30.192725896835327 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 21:24:02.984316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 21:24:22.595737
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/21/23/image_03012025_21_23_02_617542_0003.jpg', '/home/pi/Desktop/images/03012025/21/24/image_03012025_21_24_02_876323_0000.jpg', '/home/pi/Desktop/images/03012025/21/24/image_03012025_21_24_02_876323_0001.jpg', '/home/pi/Desktop/images/03012025/21/24/image_03012025_21_24_02_876323_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/21/23/image_03012025_21_23_02_617542_0003.jpg
/home/pi/Desktop/images/03012025/21/24/image_03012025_21_24_02_876323_0000.jpg
/home/pi/Desktop/images/03012025/21/24/image_03012025_21_24_02_876323_0001.jpg
/home/pi/Desktop/images/03012025/21/24/image_03012025_21_24_02_876323_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326027596","1326027609","1326027589","1326027598"],"photo_ids_order":["1326027589","1326027596","1326027598","1326027609"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c9eb8963162b232413eebfef4d2efa41.jpg","text":"TemporaryFile(/tmp/multipartBody4486405495032362307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735935933486,"filename":"image_03012025_21_24_02_876323_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8b6e96e5c3ea407500f00e85cdb17fdb.jpg","text":"TemporaryFile(/tmp/multipartBody4968286971388784678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735935933486,"filename":"image_03012025_21_24_02_876323_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7c48f2e29dbcc1745df2f8f1fabe7f1f.jpg","text":"TemporaryFile(/tmp/multipartBody4199167472102105993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735935933486,"filename":"image_03012025_21_23_02_617542_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4346edf1b305a4603b0814342a3f8a06.jpg","text":"TemporaryFile(/tmp/multipartBody4098660391869155770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735935933486,"filename":"image_03012025_21_24_02_876323_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326027598","file1":"1326027596","file0":"1326027589","file3":"1326027609"},"map_files_photo_id_array":[{"photo_id":"1326027598","filename":"file2"},{"photo_id":"1326027596","filename":"file1"},{"photo_id":"1326027589","filename":"file0"},{"photo_id":"1326027609","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326027596":["hashtag1","hashtag2"]},{"1326027609":["hashtag1","hashtag2"]},{"1326027589":["hashtag1","hashtag2"]},{"1326027598":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326027596, 1326027609, 1326027589, 1326027598)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 52.66026425361633 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 21:25:22.761709
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/21/24/image_03012025_21_24_02_876323_0003.jpg', '/home/pi/Desktop/images/03012025/21/25/image_03012025_21_25_02_971654_0000.jpg', '/home/pi/Desktop/images/03012025/21/25/image_03012025_21_25_02_971654_0001.jpg', '/home/pi/Desktop/images/03012025/21/25/image_03012025_21_25_02_971654_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/21/24/image_03012025_21_24_02_876323_0003.jpg
/home/pi/Desktop/images/03012025/21/25/image_03012025_21_25_02_971654_0000.jpg
/home/pi/Desktop/images/03012025/21/25/image_03012025_21_25_02_971654_0001.jpg
/home/pi/Desktop/images/03012025/21/25/image_03012025_21_25_02_971654_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326028089","1326028062","1326028008","1326028091"],"photo_ids_order":["1326028008","1326028062","1326028089","1326028091"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ad3cf6f40aad1241c8f322eeac7972ca.jpg","text":"TemporaryFile(/tmp/multipartBody1124801829759002318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735935995767,"filename":"image_03012025_21_25_02_971654_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d2e84aaddb97bc22d320fd8ad6fe9fe6.jpg","text":"TemporaryFile(/tmp/multipartBody6471994068354770241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735935995767,"filename":"image_03012025_21_25_02_971654_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/13f050f7cc8c23e7a1f142b681d13105.jpg","text":"TemporaryFile(/tmp/multipartBody4636039362083698525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735935995767,"filename":"image_03012025_21_24_02_876323_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6a3a2473cc2d36addf1583adfb502895.jpg","text":"TemporaryFile(/tmp/multipartBody3490059967855861212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735935995767,"filename":"image_03012025_21_25_02_971654_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326028089","file1":"1326028062","file0":"1326028008","file3":"1326028091"},"map_files_photo_id_array":[{"photo_id":"1326028089","filename":"file2"},{"photo_id":"1326028062","filename":"file1"},{"photo_id":"1326028008","filename":"file0"},{"photo_id":"1326028091","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326028089":["hashtag1","hashtag2"]},{"1326028062":["hashtag1","hashtag2"]},{"1326028008":["hashtag1","hashtag2"]},{"1326028091":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326028089, 1326028062, 1326028008, 1326028091)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 62.60198998451233 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-03 21:26:31.956055
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/21/25/image_03012025_21_25_02_971654_0003.jpg', '/home/pi/Desktop/images/03012025/21/26/image_03012025_21_26_03_118894_0000.jpg', '/home/pi/Desktop/images/03012025/21/26/image_03012025_21_26_03_118894_0001.jpg', '/home/pi/Desktop/images/03012025/21/26/image_03012025_21_26_03_118894_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/21/25/image_03012025_21_25_02_971654_0003.jpg
/home/pi/Desktop/images/03012025/21/26/image_03012025_21_26_03_118894_0000.jpg
/home/pi/Desktop/images/03012025/21/26/image_03012025_21_26_03_118894_0001.jpg
/home/pi/Desktop/images/03012025/21/26/image_03012025_21_26_03_118894_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.175384998321533 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-03 21:26:51.946416
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/21/25/image_03012025_21_25_02_971654_0003.jpg', '/home/pi/Desktop/images/03012025/21/26/image_03012025_21_26_03_118894_0000.jpg', '/home/pi/Desktop/images/03012025/21/26/image_03012025_21_26_03_118894_0001.jpg', '/home/pi/Desktop/images/03012025/21/26/image_03012025_21_26_03_118894_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/21/25/image_03012025_21_25_02_971654_0003.jpg
/home/pi/Desktop/images/03012025/21/26/image_03012025_21_26_03_118894_0000.jpg
/home/pi/Desktop/images/03012025/21/26/image_03012025_21_26_03_118894_0001.jpg
/home/pi/Desktop/images/03012025/21/26/image_03012025_21_26_03_118894_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326028795","1326028843","1326028848","1326028527"],"photo_ids_order":["1326028527","1326028795","1326028843","1326028848"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/70b7b75867160b2e14192d691dca1dc6.jpg","text":"TemporaryFile(/tmp/multipartBody478299863795609100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735936083373,"filename":"image_03012025_21_26_03_118894_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2c7fc8261e3a64d52f525129847f178f.jpg","text":"TemporaryFile(/tmp/multipartBody6456791442635505758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735936083373,"filename":"image_03012025_21_26_03_118894_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b127d78f9cae8435e7c6bd305794cf68.jpg","text":"TemporaryFile(/tmp/multipartBody2886596451964608520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735936083373,"filename":"image_03012025_21_26_03_118894_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/577e3c77d02cfa29d7567e15ac41fbb2.jpg","text":"TemporaryFile(/tmp/multipartBody6209447565543871922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735936083373,"filename":"image_03012025_21_25_02_971654_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326028843","file1":"1326028795","file0":"1326028527","file3":"1326028848"},"map_files_photo_id_array":[{"photo_id":"1326028843","filename":"file2"},{"photo_id":"1326028795","filename":"file1"},{"photo_id":"1326028527","filename":"file0"},{"photo_id":"1326028848","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326028795":["hashtag1","hashtag2"]},{"1326028843":["hashtag1","hashtag2"]},{"1326028848":["hashtag1","hashtag2"]},{"1326028527":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326028795, 1326028843, 1326028848, 1326028527)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 59.46488118171692 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-03 21:28:02.713185
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/21/26/image_03012025_21_26_03_118894_0003.jpg', '/home/pi/Desktop/images/03012025/21/27/image_03012025_21_27_02_361630_0000.jpg', '/home/pi/Desktop/images/03012025/21/27/image_03012025_21_27_02_361630_0001.jpg', '/home/pi/Desktop/images/03012025/21/27/image_03012025_21_27_02_361630_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/21/26/image_03012025_21_26_03_118894_0003.jpg
/home/pi/Desktop/images/03012025/21/27/image_03012025_21_27_02_361630_0000.jpg
/home/pi/Desktop/images/03012025/21/27/image_03012025_21_27_02_361630_0001.jpg
/home/pi/Desktop/images/03012025/21/27/image_03012025_21_27_02_361630_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.846269369125366 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 21:28:22.331791
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/21/26/image_03012025_21_26_03_118894_0003.jpg', '/home/pi/Desktop/images/03012025/21/27/image_03012025_21_27_02_361630_0000.jpg', '/home/pi/Desktop/images/03012025/21/27/image_03012025_21_27_02_361630_0001.jpg', '/home/pi/Desktop/images/03012025/21/27/image_03012025_21_27_02_361630_0002.jpg', '/home/pi/Desktop/images/03012025/21/27/image_03012025_21_27_02_361630_0003.jpg', '/home/pi/Desktop/images/03012025/21/28/image_03012025_21_28_02_622918_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/21/26/image_03012025_21_26_03_118894_0003.jpg
/home/pi/Desktop/images/03012025/21/27/image_03012025_21_27_02_361630_0000.jpg
/home/pi/Desktop/images/03012025/21/27/image_03012025_21_27_02_361630_0001.jpg
/home/pi/Desktop/images/03012025/21/27/image_03012025_21_27_02_361630_0002.jpg
/home/pi/Desktop/images/03012025/21/27/image_03012025_21_27_02_361630_0003.jpg
/home/pi/Desktop/images/03012025/21/28/image_03012025_21_28_02_622918_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326030170","1326030113","1326030061","1326030163","1326029925","1326029966"],"photo_ids_order":["1326029925","1326029966","1326030061","1326030113","1326030163","1326030170"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/831b65fb943668ad5127e7bea6e60008.jpg","text":"TemporaryFile(/tmp/multipartBody4496594556427148925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735936177864,"filename":"image_03012025_21_28_02_622918_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/68152f64d6d65fd4c77461475687b9b1.jpg","text":"TemporaryFile(/tmp/multipartBody3222196084848702039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735936177864,"filename":"image_03012025_21_27_02_361630_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f9c74269b9f6430cdc8fc49c13b7fd35.jpg","text":"TemporaryFile(/tmp/multipartBody1282068768373379724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735936177864,"filename":"image_03012025_21_27_02_361630_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7b3753abf8021f243a55f496a91b0bcd.jpg","text":"TemporaryFile(/tmp/multipartBody4978172659949311547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735936177864,"filename":"image_03012025_21_27_02_361630_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/347750e92948d43c3fe4ee0bf5a7ee22.jpg","text":"TemporaryFile(/tmp/multipartBody9191100839964880868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735936177864,"filename":"image_03012025_21_26_03_118894_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/34a8b15934939859031f5ce68727a6ba.jpg","text":"TemporaryFile(/tmp/multipartBody6849361434689115704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735936177864,"filename":"image_03012025_21_27_02_361630_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326030061","file1":"1326029966","file0":"1326029925","file4":"1326030163","file5":"1326030170","file3":"1326030113"},"map_files_photo_id_array":[{"photo_id":"1326030170","filename":"file5"},{"photo_id":"1326030061","filename":"file2"},{"photo_id":"1326030163","filename":"file4"},{"photo_id":"1326029966","filename":"file1"},{"photo_id":"1326029925","filename":"file0"},{"photo_id":"1326030113","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326030170":["hashtag1","hashtag2"]},{"1326030113":["hashtag1","hashtag2"]},{"1326030061":["hashtag1","hashtag2"]},{"1326030163":["hashtag1","hashtag2"]},{"1326029925":["hashtag1","hashtag2"]},{"1326029966":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326030170, 1326030113, 1326030061, 1326030163, 1326029925, 1326029966)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 76.2575466632843 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-03 21:29:42.496033
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/21/28/image_03012025_21_28_02_622918_0001.jpg', '/home/pi/Desktop/images/03012025/21/28/image_03012025_21_28_02_622918_0002.jpg', '/home/pi/Desktop/images/03012025/21/28/image_03012025_21_28_02_622918_0003.jpg', '/home/pi/Desktop/images/03012025/21/29/image_03012025_21_29_02_716582_0000.jpg', '/home/pi/Desktop/images/03012025/21/29/image_03012025_21_29_02_716582_0001.jpg', '/home/pi/Desktop/images/03012025/21/29/image_03012025_21_29_02_716582_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/21/28/image_03012025_21_28_02_622918_0001.jpg
/home/pi/Desktop/images/03012025/21/28/image_03012025_21_28_02_622918_0002.jpg
/home/pi/Desktop/images/03012025/21/28/image_03012025_21_28_02_622918_0003.jpg
/home/pi/Desktop/images/03012025/21/29/image_03012025_21_29_02_716582_0000.jpg
/home/pi/Desktop/images/03012025/21/29/image_03012025_21_29_02_716582_0001.jpg
/home/pi/Desktop/images/03012025/21/29/image_03012025_21_29_02_716582_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326030839","1326030761","1326030704","1326030775","1326030841","1326030804"],"photo_ids_order":["1326030704","1326030761","1326030775","1326030804","1326030839","1326030841"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9ceb0eeae41f511ec0decd69b76485b3.jpg","text":"TemporaryFile(/tmp/multipartBody1120504256136034007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735936258450,"filename":"image_03012025_21_29_02_716582_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2f85db54b753400240f608935e705b49.jpg","text":"TemporaryFile(/tmp/multipartBody5731002034474187951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735936258450,"filename":"image_03012025_21_28_02_622918_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c749d201c935bba3d2d02edbf5d1f291.jpg","text":"TemporaryFile(/tmp/multipartBody3424662767051244778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735936258450,"filename":"image_03012025_21_28_02_622918_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b13af3e9cbe5d9550a3baf569b0ee1d8.jpg","text":"TemporaryFile(/tmp/multipartBody8162576441256322978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735936258450,"filename":"image_03012025_21_28_02_622918_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/551a2f33ca9080ca6ddec22e4d0cc753.jpg","text":"TemporaryFile(/tmp/multipartBody4336119471966421041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735936258450,"filename":"image_03012025_21_29_02_716582_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3fbbc94bfdbf4bd9547bd91914ffc92d.jpg","text":"TemporaryFile(/tmp/multipartBody3160158707028688334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735936258450,"filename":"image_03012025_21_29_02_716582_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326030775","file1":"1326030761","file0":"1326030704","file4":"1326030839","file5":"1326030841","file3":"1326030804"},"map_files_photo_id_array":[{"photo_id":"1326030841","filename":"file5"},{"photo_id":"1326030775","filename":"file2"},{"photo_id":"1326030839","filename":"file4"},{"photo_id":"1326030761","filename":"file1"},{"photo_id":"1326030704","filename":"file0"},{"photo_id":"1326030804","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326030839":["hashtag1","hashtag2"]},{"1326030761":["hashtag1","hashtag2"]},{"1326030704":["hashtag1","hashtag2"]},{"1326030775":["hashtag1","hashtag2"]},{"1326030841":["hashtag1","hashtag2"]},{"1326030804":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326030839, 1326030761, 1326030704, 1326030775, 1326030841, 1326030804)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 75.7331051826477 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 21:31:02.501658
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/21/29/image_03012025_21_29_02_716582_0003.jpg', '/home/pi/Desktop/images/03012025/21/30/image_03012025_21_30_02_822127_0000.jpg', '/home/pi/Desktop/images/03012025/21/30/image_03012025_21_30_02_822127_0001.jpg', '/home/pi/Desktop/images/03012025/21/30/image_03012025_21_30_02_822127_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/21/29/image_03012025_21_29_02_716582_0003.jpg
/home/pi/Desktop/images/03012025/21/30/image_03012025_21_30_02_822127_0000.jpg
/home/pi/Desktop/images/03012025/21/30/image_03012025_21_30_02_822127_0001.jpg
/home/pi/Desktop/images/03012025/21/30/image_03012025_21_30_02_822127_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 13.703701972961426 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 21:31:21.940682
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/21/29/image_03012025_21_29_02_716582_0003.jpg', '/home/pi/Desktop/images/03012025/21/30/image_03012025_21_30_02_822127_0000.jpg', '/home/pi/Desktop/images/03012025/21/30/image_03012025_21_30_02_822127_0001.jpg', '/home/pi/Desktop/images/03012025/21/30/image_03012025_21_30_02_822127_0002.jpg', '/home/pi/Desktop/images/03012025/21/30/image_03012025_21_30_02_822127_0003.jpg', '/home/pi/Desktop/images/03012025/21/31/image_03012025_21_31_03_023771_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/21/29/image_03012025_21_29_02_716582_0003.jpg
/home/pi/Desktop/images/03012025/21/30/image_03012025_21_30_02_822127_0000.jpg
/home/pi/Desktop/images/03012025/21/30/image_03012025_21_30_02_822127_0001.jpg
/home/pi/Desktop/images/03012025/21/30/image_03012025_21_30_02_822127_0002.jpg
/home/pi/Desktop/images/03012025/21/30/image_03012025_21_30_02_822127_0003.jpg
/home/pi/Desktop/images/03012025/21/31/image_03012025_21_31_03_023771_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326031375","1326031100","1326031633","1326031107","1326031760","1326031104"],"photo_ids_order":["1326031100","1326031104","1326031107","1326031375","1326031633","1326031760"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e8cc689259fe3dc985606ab1680b4fc9.jpg","text":"TemporaryFile(/tmp/multipartBody7426805761511854805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735936361321,"filename":"image_03012025_21_30_02_822127_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b849486d2fac951291e742ab470d45a6.jpg","text":"TemporaryFile(/tmp/multipartBody5354775137891537495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735936361321,"filename":"image_03012025_21_29_02_716582_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c422b5b802a94592c65bb3ce9f7a5327.jpg","text":"TemporaryFile(/tmp/multipartBody6314420423552959015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735936361321,"filename":"image_03012025_21_30_02_822127_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2e552680169b383e8eeff3bb55697d8b.jpg","text":"TemporaryFile(/tmp/multipartBody6270677065035050289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735936361321,"filename":"image_03012025_21_30_02_822127_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1bd6fc06ed659e14f669c6bd1e865254.jpg","text":"TemporaryFile(/tmp/multipartBody8209265143453973707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735936361321,"filename":"image_03012025_21_31_03_023771_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b69889b7efbbdb00bc814c3b19fcef6e.jpg","text":"TemporaryFile(/tmp/multipartBody407043916873287330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735936361321,"filename":"image_03012025_21_30_02_822127_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326031107","file1":"1326031104","file0":"1326031100","file4":"1326031633","file5":"1326031760","file3":"1326031375"},"map_files_photo_id_array":[{"photo_id":"1326031760","filename":"file5"},{"photo_id":"1326031107","filename":"file2"},{"photo_id":"1326031633","filename":"file4"},{"photo_id":"1326031104","filename":"file1"},{"photo_id":"1326031100","filename":"file0"},{"photo_id":"1326031375","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326031375":["hashtag1","hashtag2"]},{"1326031100":["hashtag1","hashtag2"]},{"1326031633":["hashtag1","hashtag2"]},{"1326031107":["hashtag1","hashtag2"]},{"1326031760":["hashtag1","hashtag2"]},{"1326031104":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326031375, 1326031100, 1326031633, 1326031107, 1326031760, 1326031104)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 90.29880332946777 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 21:33:02.954966
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/21/31/image_03012025_21_31_03_023771_0001.jpg', '/home/pi/Desktop/images/03012025/21/31/image_03012025_21_31_03_023771_0002.jpg', '/home/pi/Desktop/images/03012025/21/31/image_03012025_21_31_03_023771_0003.jpg', '/home/pi/Desktop/images/03012025/21/32/image_03012025_21_32_02_230254_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/21/31/image_03012025_21_31_03_023771_0001.jpg
/home/pi/Desktop/images/03012025/21/31/image_03012025_21_31_03_023771_0002.jpg
/home/pi/Desktop/images/03012025/21/31/image_03012025_21_31_03_023771_0003.jpg
/home/pi/Desktop/images/03012025/21/32/image_03012025_21_32_02_230254_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: 10.06079912185669 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 21:33:22.206171
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/21/31/image_03012025_21_31_03_023771_0001.jpg', '/home/pi/Desktop/images/03012025/21/31/image_03012025_21_31_03_023771_0002.jpg', '/home/pi/Desktop/images/03012025/21/31/image_03012025_21_31_03_023771_0003.jpg', '/home/pi/Desktop/images/03012025/21/32/image_03012025_21_32_02_230254_0000.jpg', '/home/pi/Desktop/images/03012025/21/32/image_03012025_21_32_02_230254_0001.jpg', '/home/pi/Desktop/images/03012025/21/33/image_03012025_21_33_02_482999_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/21/31/image_03012025_21_31_03_023771_0001.jpg
/home/pi/Desktop/images/03012025/21/31/image_03012025_21_31_03_023771_0002.jpg
/home/pi/Desktop/images/03012025/21/31/image_03012025_21_31_03_023771_0003.jpg
/home/pi/Desktop/images/03012025/21/32/image_03012025_21_32_02_230254_0000.jpg
/home/pi/Desktop/images/03012025/21/32/image_03012025_21_32_02_230254_0001.jpg
/home/pi/Desktop/images/03012025/21/33/image_03012025_21_33_02_482999_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326032314","1326032116","1326032489","1326032072","1326032318","1326032111"],"photo_ids_order":["1326032072","1326032111","1326032116","1326032314","1326032318","1326032489"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7fba1fda9e013c24cbf8b945f776eec6.jpg","text":"TemporaryFile(/tmp/multipartBody3586272872952461554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735936478658,"filename":"image_03012025_21_32_02_230254_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e876210355e8fc1bce3994cbf906e821.jpg","text":"TemporaryFile(/tmp/multipartBody4322490978903346637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735936478658,"filename":"image_03012025_21_31_03_023771_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/58f9f724e8c531ae88dc892f55faaca4.jpg","text":"TemporaryFile(/tmp/multipartBody952437542354186225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735936478658,"filename":"image_03012025_21_33_02_482999_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f642c19aa572381d29ae0191fbe17cb3.jpg","text":"TemporaryFile(/tmp/multipartBody165207414206192040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735936478658,"filename":"image_03012025_21_31_03_023771_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/cc703f26b59c5908cf309a4e78eeb839.jpg","text":"TemporaryFile(/tmp/multipartBody1549855692574560289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735936478658,"filename":"image_03012025_21_32_02_230254_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/84f8ab1c1ab0b3f0c8dcfa700e71b87c.jpg","text":"TemporaryFile(/tmp/multipartBody5946181500127953565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735936478658,"filename":"image_03012025_21_31_03_023771_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326032116","file1":"1326032111","file0":"1326032072","file4":"1326032318","file5":"1326032489","file3":"1326032314"},"map_files_photo_id_array":[{"photo_id":"1326032489","filename":"file5"},{"photo_id":"1326032116","filename":"file2"},{"photo_id":"1326032318","filename":"file4"},{"photo_id":"1326032111","filename":"file1"},{"photo_id":"1326032072","filename":"file0"},{"photo_id":"1326032314","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326032314":["hashtag1","hashtag2"]},{"1326032116":["hashtag1","hashtag2"]},{"1326032489":["hashtag1","hashtag2"]},{"1326032072":["hashtag1","hashtag2"]},{"1326032318":["hashtag1","hashtag2"]},{"1326032111":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326032314, 1326032116, 1326032489, 1326032072, 1326032318, 1326032111)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 90.94640159606934 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 21:35:03.231248
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/21/33/image_03012025_21_33_02_482999_0002.jpg', '/home/pi/Desktop/images/03012025/21/33/image_03012025_21_33_02_482999_0003.jpg', '/home/pi/Desktop/images/03012025/21/34/image_03012025_21_34_02_697858_0000.jpg', '/home/pi/Desktop/images/03012025/21/34/image_03012025_21_34_02_697858_0001.jpg', '/home/pi/Desktop/images/03012025/21/34/image_03012025_21_34_02_697858_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/21/33/image_03012025_21_33_02_482999_0002.jpg
/home/pi/Desktop/images/03012025/21/33/image_03012025_21_33_02_482999_0003.jpg
/home/pi/Desktop/images/03012025/21/34/image_03012025_21_34_02_697858_0000.jpg
/home/pi/Desktop/images/03012025/21/34/image_03012025_21_34_02_697858_0001.jpg
/home/pi/Desktop/images/03012025/21/34/image_03012025_21_34_02_697858_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326032743","1326032733","1326032741","1326032744","1326032738"],"photo_ids_order":["1326032733","1326032738","1326032741","1326032743","1326032744"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0586cb4ee2358453769958f196328d4f.jpg","text":"TemporaryFile(/tmp/multipartBody3651662020564007052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735936577097,"filename":"image_03012025_21_34_02_697858_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/83cb533423e379e2b064dd8ab76943cb.jpg","text":"TemporaryFile(/tmp/multipartBody7951691277405605111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735936577097,"filename":"image_03012025_21_33_02_482999_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/cb8179ad3812956e93b42cc87fb52078.jpg","text":"TemporaryFile(/tmp/multipartBody4053100805042193193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735936577097,"filename":"image_03012025_21_34_02_697858_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5aa83a84c469bb6814d0a5caa019be3c.jpg","text":"TemporaryFile(/tmp/multipartBody5196722063775411977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735936577097,"filename":"image_03012025_21_34_02_697858_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/bb006299f31acb7bc53471010d5adf3c.jpg","text":"TemporaryFile(/tmp/multipartBody4764204475040781327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735936577097,"filename":"image_03012025_21_33_02_482999_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326032741","file1":"1326032738","file0":"1326032733","file4":"1326032744","file3":"1326032743"},"map_files_photo_id_array":[{"photo_id":"1326032741","filename":"file2"},{"photo_id":"1326032744","filename":"file4"},{"photo_id":"1326032738","filename":"file1"},{"photo_id":"1326032733","filename":"file0"},{"photo_id":"1326032743","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326032743":["hashtag1","hashtag2"]},{"1326032733":["hashtag1","hashtag2"]},{"1326032741":["hashtag1","hashtag2"]},{"1326032744":["hashtag1","hashtag2"]},{"1326032738":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326032743, 1326032733, 1326032741, 1326032744, 1326032738)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 79.529061794281 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-03 21:36:32.755842
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/21/34/image_03012025_21_34_02_697858_0003.jpg', '/home/pi/Desktop/images/03012025/21/35/image_03012025_21_35_02_745650_0000.jpg', '/home/pi/Desktop/images/03012025/21/35/image_03012025_21_35_02_745650_0001.jpg', '/home/pi/Desktop/images/03012025/21/35/image_03012025_21_35_02_745650_0002.jpg', '/home/pi/Desktop/images/03012025/21/35/image_03012025_21_35_02_745650_0003.jpg', '/home/pi/Desktop/images/03012025/21/36/image_03012025_21_36_02_965921_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/21/34/image_03012025_21_34_02_697858_0003.jpg
/home/pi/Desktop/images/03012025/21/35/image_03012025_21_35_02_745650_0000.jpg
/home/pi/Desktop/images/03012025/21/35/image_03012025_21_35_02_745650_0001.jpg
/home/pi/Desktop/images/03012025/21/35/image_03012025_21_35_02_745650_0002.jpg
/home/pi/Desktop/images/03012025/21/35/image_03012025_21_35_02_745650_0003.jpg
/home/pi/Desktop/images/03012025/21/36/image_03012025_21_36_02_965921_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 14.606995105743408 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-03 21:36:52.729695
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/21/34/image_03012025_21_34_02_697858_0003.jpg', '/home/pi/Desktop/images/03012025/21/35/image_03012025_21_35_02_745650_0000.jpg', '/home/pi/Desktop/images/03012025/21/35/image_03012025_21_35_02_745650_0001.jpg', '/home/pi/Desktop/images/03012025/21/35/image_03012025_21_35_02_745650_0002.jpg', '/home/pi/Desktop/images/03012025/21/35/image_03012025_21_35_02_745650_0003.jpg', '/home/pi/Desktop/images/03012025/21/36/image_03012025_21_36_02_965921_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/21/34/image_03012025_21_34_02_697858_0003.jpg
/home/pi/Desktop/images/03012025/21/35/image_03012025_21_35_02_745650_0000.jpg
/home/pi/Desktop/images/03012025/21/35/image_03012025_21_35_02_745650_0001.jpg
/home/pi/Desktop/images/03012025/21/35/image_03012025_21_35_02_745650_0002.jpg
/home/pi/Desktop/images/03012025/21/35/image_03012025_21_35_02_745650_0003.jpg
/home/pi/Desktop/images/03012025/21/36/image_03012025_21_36_02_965921_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326033188","1326033059","1326033254","1326033233","1326032960","1326033235"],"photo_ids_order":["1326032960","1326033059","1326033188","1326033233","1326033235","1326033254"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/28a2d44f76400a370ed75544775d2f6f.jpg","text":"TemporaryFile(/tmp/multipartBody4392540952313543383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735936689250,"filename":"image_03012025_21_35_02_745650_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/37d460c513b0139b1942130f9865f93f.jpg","text":"TemporaryFile(/tmp/multipartBody4625770708399346882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735936689250,"filename":"image_03012025_21_35_02_745650_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e9d1b7d8d66ed1b6643d9f42ebffca2d.jpg","text":"TemporaryFile(/tmp/multipartBody2241877591323919603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735936689250,"filename":"image_03012025_21_36_02_965921_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8ba8628e5390035056f1df77035e8b3b.jpg","text":"TemporaryFile(/tmp/multipartBody3758511645096789158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735936689250,"filename":"image_03012025_21_35_02_745650_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0ae48b4ed7436120f8a0cf5084be4f97.jpg","text":"TemporaryFile(/tmp/multipartBody168405838657507963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735936689250,"filename":"image_03012025_21_34_02_697858_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0502db538fba4e4065676385424869e0.jpg","text":"TemporaryFile(/tmp/multipartBody5106656692960940732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735936689250,"filename":"image_03012025_21_35_02_745650_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326033188","file1":"1326033059","file0":"1326032960","file4":"1326033235","file5":"1326033254","file3":"1326033233"},"map_files_photo_id_array":[{"photo_id":"1326033254","filename":"file5"},{"photo_id":"1326033188","filename":"file2"},{"photo_id":"1326033235","filename":"file4"},{"photo_id":"1326033059","filename":"file1"},{"photo_id":"1326032960","filename":"file0"},{"photo_id":"1326033233","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326033188":["hashtag1","hashtag2"]},{"1326033059":["hashtag1","hashtag2"]},{"1326033254":["hashtag1","hashtag2"]},{"1326033233":["hashtag1","hashtag2"]},{"1326032960":["hashtag1","hashtag2"]},{"1326033235":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326033188, 1326033059, 1326033254, 1326033233, 1326032960, 1326033235)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 88.4151566028595 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 21:38:22.050116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/21/36/image_03012025_21_36_02_965921_0001.jpg', '/home/pi/Desktop/images/03012025/21/36/image_03012025_21_36_02_965921_0002.jpg', '/home/pi/Desktop/images/03012025/21/36/image_03012025_21_36_02_965921_0003.jpg', '/home/pi/Desktop/images/03012025/21/37/image_03012025_21_37_03_077035_0000.jpg', '/home/pi/Desktop/images/03012025/21/37/image_03012025_21_37_03_077035_0001.jpg', '/home/pi/Desktop/images/03012025/21/37/image_03012025_21_37_03_077035_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/21/36/image_03012025_21_36_02_965921_0001.jpg
/home/pi/Desktop/images/03012025/21/36/image_03012025_21_36_02_965921_0002.jpg
/home/pi/Desktop/images/03012025/21/36/image_03012025_21_36_02_965921_0003.jpg
/home/pi/Desktop/images/03012025/21/37/image_03012025_21_37_03_077035_0000.jpg
/home/pi/Desktop/images/03012025/21/37/image_03012025_21_37_03_077035_0001.jpg
/home/pi/Desktop/images/03012025/21/37/image_03012025_21_37_03_077035_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326033771","1326033546","1326033749","1326033545","1326033838","1326033547"],"photo_ids_order":["1326033545","1326033546","1326033547","1326033749","1326033771","1326033838"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c1930121f166b78f4e2e918dea8470d0.jpg","text":"TemporaryFile(/tmp/multipartBody1678841170496796336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735936778932,"filename":"image_03012025_21_37_03_077035_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0eeb5dfdb0409198afbb803a0354932c.jpg","text":"TemporaryFile(/tmp/multipartBody6037482159846755399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735936778932,"filename":"image_03012025_21_36_02_965921_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/592af6b6f2d1d063e0ac371c7c5183ae.jpg","text":"TemporaryFile(/tmp/multipartBody7148507187799391909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735936778932,"filename":"image_03012025_21_37_03_077035_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2a493d7e9552adb0a20bc26935ee5905.jpg","text":"TemporaryFile(/tmp/multipartBody5195304357425278536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735936778932,"filename":"image_03012025_21_36_02_965921_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/dc839e3b63e55c05ddcb78bd11a256cf.jpg","text":"TemporaryFile(/tmp/multipartBody7570569981732480785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735936778932,"filename":"image_03012025_21_37_03_077035_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/00b83e4316ac54e9c5ab7d82384420b3.jpg","text":"TemporaryFile(/tmp/multipartBody2434934222068440571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735936778932,"filename":"image_03012025_21_36_02_965921_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326033547","file1":"1326033546","file0":"1326033545","file4":"1326033771","file5":"1326033838","file3":"1326033749"},"map_files_photo_id_array":[{"photo_id":"1326033838","filename":"file5"},{"photo_id":"1326033547","filename":"file2"},{"photo_id":"1326033771","filename":"file4"},{"photo_id":"1326033546","filename":"file1"},{"photo_id":"1326033545","filename":"file0"},{"photo_id":"1326033749","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326033771":["hashtag1","hashtag2"]},{"1326033546":["hashtag1","hashtag2"]},{"1326033749":["hashtag1","hashtag2"]},{"1326033545":["hashtag1","hashtag2"]},{"1326033838":["hashtag1","hashtag2"]},{"1326033547":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326033771, 1326033546, 1326033749, 1326033545, 1326033838, 1326033547)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 92.5112578868866 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 21:40:02.929854
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/21/37/image_03012025_21_37_03_077035_0003.jpg', '/home/pi/Desktop/images/03012025/21/38/image_03012025_21_38_02_305186_0000.jpg', '/home/pi/Desktop/images/03012025/21/38/image_03012025_21_38_02_305186_0001.jpg', '/home/pi/Desktop/images/03012025/21/38/image_03012025_21_38_02_305186_0002.jpg', '/home/pi/Desktop/images/03012025/21/38/image_03012025_21_38_02_305186_0003.jpg', '/home/pi/Desktop/images/03012025/21/39/image_03012025_21_39_02_479085_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/21/37/image_03012025_21_37_03_077035_0003.jpg
/home/pi/Desktop/images/03012025/21/38/image_03012025_21_38_02_305186_0000.jpg
/home/pi/Desktop/images/03012025/21/38/image_03012025_21_38_02_305186_0001.jpg
/home/pi/Desktop/images/03012025/21/38/image_03012025_21_38_02_305186_0002.jpg
/home/pi/Desktop/images/03012025/21/38/image_03012025_21_38_02_305186_0003.jpg
/home/pi/Desktop/images/03012025/21/39/image_03012025_21_39_02_479085_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326034368","1326034125","1326034091","1326034372","1326034345","1326034144"],"photo_ids_order":["1326034091","1326034125","1326034144","1326034345","1326034368","1326034372"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f0ff97b21b454da134eae4cf4431e49c.jpg","text":"TemporaryFile(/tmp/multipartBody2625745036070677457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735936879236,"filename":"image_03012025_21_38_02_305186_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e9a1f6a89bd0b853ed7c1025a00ffaba.jpg","text":"TemporaryFile(/tmp/multipartBody1789182347492854147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735936879236,"filename":"image_03012025_21_38_02_305186_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a2a00d67bc9d7af76bfeb09b6ca802dd.jpg","text":"TemporaryFile(/tmp/multipartBody5162735963216727051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735936879236,"filename":"image_03012025_21_37_03_077035_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f76d610c170921e6ae8396af5c5e5013.jpg","text":"TemporaryFile(/tmp/multipartBody9130891313812384648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735936879236,"filename":"image_03012025_21_39_02_479085_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/79ca5564dcd974b116e45de837aede4a.jpg","text":"TemporaryFile(/tmp/multipartBody8617068298559075800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735936879236,"filename":"image_03012025_21_38_02_305186_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b4a10d010bf77245534294dd77a3a7b8.jpg","text":"TemporaryFile(/tmp/multipartBody5653793398328508908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735936879236,"filename":"image_03012025_21_38_02_305186_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326034144","file1":"1326034125","file0":"1326034091","file4":"1326034368","file5":"1326034372","file3":"1326034345"},"map_files_photo_id_array":[{"photo_id":"1326034372","filename":"file5"},{"photo_id":"1326034144","filename":"file2"},{"photo_id":"1326034368","filename":"file4"},{"photo_id":"1326034125","filename":"file1"},{"photo_id":"1326034091","filename":"file0"},{"photo_id":"1326034345","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326034368":["hashtag1","hashtag2"]},{"1326034125":["hashtag1","hashtag2"]},{"1326034091":["hashtag1","hashtag2"]},{"1326034372":["hashtag1","hashtag2"]},{"1326034345":["hashtag1","hashtag2"]},{"1326034144":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326034368, 1326034125, 1326034091, 1326034372, 1326034345, 1326034144)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 87.04090452194214 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-03 21:41:32.719217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/21/39/image_03012025_21_39_02_479085_0001.jpg', '/home/pi/Desktop/images/03012025/21/39/image_03012025_21_39_02_479085_0002.jpg', '/home/pi/Desktop/images/03012025/21/39/image_03012025_21_39_02_479085_0003.jpg', '/home/pi/Desktop/images/03012025/21/40/image_03012025_21_40_02_733242_0001.jpg', '/home/pi/Desktop/images/03012025/21/40/image_03012025_21_40_02_733242_0002.jpg', '/home/pi/Desktop/images/03012025/21/40/image_03012025_21_40_02_733242_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/21/39/image_03012025_21_39_02_479085_0001.jpg
/home/pi/Desktop/images/03012025/21/39/image_03012025_21_39_02_479085_0002.jpg
/home/pi/Desktop/images/03012025/21/39/image_03012025_21_39_02_479085_0003.jpg
/home/pi/Desktop/images/03012025/21/40/image_03012025_21_40_02_733242_0001.jpg
/home/pi/Desktop/images/03012025/21/40/image_03012025_21_40_02_733242_0002.jpg
/home/pi/Desktop/images/03012025/21/40/image_03012025_21_40_02_733242_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326034380","1326035050","1326034829","1326034576","1326035011","1326034633"],"photo_ids_order":["1326034380","1326034576","1326034633","1326034829","1326035011","1326035050"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d98bc6df109ed8038618fb46079e7372.jpg","text":"TemporaryFile(/tmp/multipartBody5676756004878746913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735936969399,"filename":"image_03012025_21_39_02_479085_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6773a0ba3121611c752c0b018c2672e0.jpg","text":"TemporaryFile(/tmp/multipartBody6493807888698243307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735936969399,"filename":"image_03012025_21_40_02_733242_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f884961df6b152ad24e85d4f13485db4.jpg","text":"TemporaryFile(/tmp/multipartBody9065732709660154746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735936969399,"filename":"image_03012025_21_40_02_733242_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a47857b515dd3fc910a1ba21d6878b98.jpg","text":"TemporaryFile(/tmp/multipartBody4127265976515168614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735936969399,"filename":"image_03012025_21_39_02_479085_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1ad53d494f2f3e121eaa4eb69b54915a.jpg","text":"TemporaryFile(/tmp/multipartBody3182431371310489312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735936969399,"filename":"image_03012025_21_40_02_733242_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7127ba59d23c04c003409a98baec5a9e.jpg","text":"TemporaryFile(/tmp/multipartBody5662489129212550810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735936969399,"filename":"image_03012025_21_39_02_479085_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326034633","file1":"1326034576","file0":"1326034380","file4":"1326035011","file5":"1326035050","file3":"1326034829"},"map_files_photo_id_array":[{"photo_id":"1326035050","filename":"file5"},{"photo_id":"1326034633","filename":"file2"},{"photo_id":"1326035011","filename":"file4"},{"photo_id":"1326034576","filename":"file1"},{"photo_id":"1326034380","filename":"file0"},{"photo_id":"1326034829","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326034380":["hashtag1","hashtag2"]},{"1326035050":["hashtag1","hashtag2"]},{"1326034829":["hashtag1","hashtag2"]},{"1326034576":["hashtag1","hashtag2"]},{"1326035011":["hashtag1","hashtag2"]},{"1326034633":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326034380, 1326035050, 1326034829, 1326034576, 1326035011, 1326034633)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 93.49211049079895 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 21:43:22.058247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/21/41/image_03012025_21_41_02_862784_0000.jpg', '/home/pi/Desktop/images/03012025/21/41/image_03012025_21_41_02_862784_0001.jpg', '/home/pi/Desktop/images/03012025/21/41/image_03012025_21_41_02_862784_0002.jpg', '/home/pi/Desktop/images/03012025/21/41/image_03012025_21_41_02_862784_0003.jpg', '/home/pi/Desktop/images/03012025/21/42/image_03012025_21_42_03_109429_0000.jpg', '/home/pi/Desktop/images/03012025/21/42/image_03012025_21_42_03_109429_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/21/41/image_03012025_21_41_02_862784_0000.jpg
/home/pi/Desktop/images/03012025/21/41/image_03012025_21_41_02_862784_0001.jpg
/home/pi/Desktop/images/03012025/21/41/image_03012025_21_41_02_862784_0002.jpg
/home/pi/Desktop/images/03012025/21/41/image_03012025_21_41_02_862784_0003.jpg
/home/pi/Desktop/images/03012025/21/42/image_03012025_21_42_03_109429_0000.jpg
/home/pi/Desktop/images/03012025/21/42/image_03012025_21_42_03_109429_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326035483","1326035432","1326035434","1326035481","1326035475","1326035466"],"photo_ids_order":["1326035432","1326035434","1326035466","1326035475","1326035481","1326035483"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3e95189ef9f136298e24732bbd05e6f1.jpg","text":"TemporaryFile(/tmp/multipartBody1959608330529400295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735937081126,"filename":"image_03012025_21_42_03_109429_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3f2a1c19cea35d0484803e7d1ea1d6d2.jpg","text":"TemporaryFile(/tmp/multipartBody5940771675205165613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735937081126,"filename":"image_03012025_21_41_02_862784_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a1dd74d0603dc1b9b36a222c6db28ee3.jpg","text":"TemporaryFile(/tmp/multipartBody9051719029966617965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735937081126,"filename":"image_03012025_21_41_02_862784_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/345a68cff6c07963ed041bd2277c4041.jpg","text":"TemporaryFile(/tmp/multipartBody4590993775424297610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735937081126,"filename":"image_03012025_21_42_03_109429_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8bffa9b8e8d161bca642932cc63a7ed0.jpg","text":"TemporaryFile(/tmp/multipartBody1542470964068538953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735937081126,"filename":"image_03012025_21_41_02_862784_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/285a88889a3ca813f74ff32ddd4e40ab.jpg","text":"TemporaryFile(/tmp/multipartBody5894626310180640403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735937081126,"filename":"image_03012025_21_41_02_862784_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326035466","file1":"1326035434","file0":"1326035432","file4":"1326035481","file5":"1326035483","file3":"1326035475"},"map_files_photo_id_array":[{"photo_id":"1326035483","filename":"file5"},{"photo_id":"1326035466","filename":"file2"},{"photo_id":"1326035481","filename":"file4"},{"photo_id":"1326035434","filename":"file1"},{"photo_id":"1326035432","filename":"file0"},{"photo_id":"1326035475","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326035483":["hashtag1","hashtag2"]},{"1326035432":["hashtag1","hashtag2"]},{"1326035434":["hashtag1","hashtag2"]},{"1326035481":["hashtag1","hashtag2"]},{"1326035475":["hashtag1","hashtag2"]},{"1326035466":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326035483, 1326035432, 1326035434, 1326035481, 1326035475, 1326035466)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 103.57609820365906 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 21:45:22.578099
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/21/42/image_03012025_21_42_03_109429_0002.jpg', '/home/pi/Desktop/images/03012025/21/42/image_03012025_21_42_03_109429_0003.jpg', '/home/pi/Desktop/images/03012025/21/43/image_03012025_21_43_02_271063_0000.jpg', '/home/pi/Desktop/images/03012025/21/43/image_03012025_21_43_02_271063_0001.jpg', '/home/pi/Desktop/images/03012025/21/43/image_03012025_21_43_02_271063_0003.jpg', '/home/pi/Desktop/images/03012025/21/44/image_03012025_21_44_02_483797_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/21/42/image_03012025_21_42_03_109429_0002.jpg
/home/pi/Desktop/images/03012025/21/42/image_03012025_21_42_03_109429_0003.jpg
/home/pi/Desktop/images/03012025/21/43/image_03012025_21_43_02_271063_0000.jpg
/home/pi/Desktop/images/03012025/21/43/image_03012025_21_43_02_271063_0001.jpg
/home/pi/Desktop/images/03012025/21/43/image_03012025_21_43_02_271063_0003.jpg
/home/pi/Desktop/images/03012025/21/44/image_03012025_21_44_02_483797_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326035798","1326036122","1326035813","1326035797","1326035833","1326035796"],"photo_ids_order":["1326035796","1326035797","1326035798","1326035813","1326035833","1326036122"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/af642b098c681c544582ea1a7f5ff4d1.jpg","text":"TemporaryFile(/tmp/multipartBody5158470876182893798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735937199419,"filename":"image_03012025_21_43_02_271063_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/53ee267e2f31cb155bd8e6b87ea6d143.jpg","text":"TemporaryFile(/tmp/multipartBody3667722740134763956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735937199419,"filename":"image_03012025_21_44_02_483797_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/299c23ab4bb873545c91ba1354f9ffc5.jpg","text":"TemporaryFile(/tmp/multipartBody2247300181978278579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735937199419,"filename":"image_03012025_21_43_02_271063_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/29d94927d8e2112e43cd6aad3d415f83.jpg","text":"TemporaryFile(/tmp/multipartBody5274304026642248601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735937199419,"filename":"image_03012025_21_42_03_109429_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b752ba4d45e32c2c393d7f65d9b05859.jpg","text":"TemporaryFile(/tmp/multipartBody4154048916036483939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735937199419,"filename":"image_03012025_21_43_02_271063_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/57c64a990d979de74ec3488939f5e9ad.jpg","text":"TemporaryFile(/tmp/multipartBody3244026104735158974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735937199419,"filename":"image_03012025_21_42_03_109429_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326035798","file1":"1326035797","file0":"1326035796","file4":"1326035833","file5":"1326036122","file3":"1326035813"},"map_files_photo_id_array":[{"photo_id":"1326036122","filename":"file5"},{"photo_id":"1326035798","filename":"file2"},{"photo_id":"1326035833","filename":"file4"},{"photo_id":"1326035797","filename":"file1"},{"photo_id":"1326035796","filename":"file0"},{"photo_id":"1326035813","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326035798":["hashtag1","hashtag2"]},{"1326036122":["hashtag1","hashtag2"]},{"1326035813":["hashtag1","hashtag2"]},{"1326035797":["hashtag1","hashtag2"]},{"1326035833":["hashtag1","hashtag2"]},{"1326035796":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326035798, 1326036122, 1326035813, 1326035797, 1326035833, 1326035796)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 93.64668536186218 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 21:47:02.517884
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/21/44/image_03012025_21_44_02_483797_0001.jpg', '/home/pi/Desktop/images/03012025/21/44/image_03012025_21_44_02_483797_0002.jpg', '/home/pi/Desktop/images/03012025/21/44/image_03012025_21_44_02_483797_0003.jpg', '/home/pi/Desktop/images/03012025/21/45/image_03012025_21_45_02_710436_0000.jpg', '/home/pi/Desktop/images/03012025/21/45/image_03012025_21_45_02_710436_0001.jpg', '/home/pi/Desktop/images/03012025/21/45/image_03012025_21_45_02_710436_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/21/44/image_03012025_21_44_02_483797_0001.jpg
/home/pi/Desktop/images/03012025/21/44/image_03012025_21_44_02_483797_0002.jpg
/home/pi/Desktop/images/03012025/21/44/image_03012025_21_44_02_483797_0003.jpg
/home/pi/Desktop/images/03012025/21/45/image_03012025_21_45_02_710436_0000.jpg
/home/pi/Desktop/images/03012025/21/45/image_03012025_21_45_02_710436_0001.jpg
/home/pi/Desktop/images/03012025/21/45/image_03012025_21_45_02_710436_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326036767","1326036476","1326036461","1326036493","1326037018","1326037020"],"photo_ids_order":["1326036461","1326036476","1326036493","1326036767","1326037018","1326037020"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c9b09a1d1b8826979d0a30718431a09a.jpg","text":"TemporaryFile(/tmp/multipartBody1723430620486548157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735937299106,"filename":"image_03012025_21_45_02_710436_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/16693a0ab67151e8ffa3c0ee11d697ed.jpg","text":"TemporaryFile(/tmp/multipartBody6122188498356321519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735937299106,"filename":"image_03012025_21_44_02_483797_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2e51af20a42d51e0b352935ec33c6a69.jpg","text":"TemporaryFile(/tmp/multipartBody1454368100872549286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735937299106,"filename":"image_03012025_21_44_02_483797_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a776ab7a09240a1e830f4b3ee998c32b.jpg","text":"TemporaryFile(/tmp/multipartBody7503159269282958339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735937299106,"filename":"image_03012025_21_44_02_483797_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d552c7e9b8e87632cf12d49afd5d4294.jpg","text":"TemporaryFile(/tmp/multipartBody5544004942615599608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735937299106,"filename":"image_03012025_21_45_02_710436_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3c8ea8810bab7340879e9ebeea6ca9c7.jpg","text":"TemporaryFile(/tmp/multipartBody3781144602740235249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735937299106,"filename":"image_03012025_21_45_02_710436_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326036493","file1":"1326036476","file0":"1326036461","file4":"1326037018","file5":"1326037020","file3":"1326036767"},"map_files_photo_id_array":[{"photo_id":"1326037020","filename":"file5"},{"photo_id":"1326036493","filename":"file2"},{"photo_id":"1326037018","filename":"file4"},{"photo_id":"1326036476","filename":"file1"},{"photo_id":"1326036461","filename":"file0"},{"photo_id":"1326036767","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326036767":["hashtag1","hashtag2"]},{"1326036476":["hashtag1","hashtag2"]},{"1326036461":["hashtag1","hashtag2"]},{"1326036493":["hashtag1","hashtag2"]},{"1326037018":["hashtag1","hashtag2"]},{"1326037020":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326036767, 1326036476, 1326036461, 1326036493, 1326037018, 1326037020)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 94.03306007385254 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-03 21:48:42.188534
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/21/45/image_03012025_21_45_02_710436_0003.jpg', '/home/pi/Desktop/images/03012025/21/46/image_03012025_21_46_02_925583_0000.jpg', '/home/pi/Desktop/images/03012025/21/46/image_03012025_21_46_02_925583_0001.jpg', '/home/pi/Desktop/images/03012025/21/46/image_03012025_21_46_02_925583_0002.jpg', '/home/pi/Desktop/images/03012025/21/46/image_03012025_21_46_02_925583_0003.jpg', '/home/pi/Desktop/images/03012025/21/47/image_03012025_21_47_03_142291_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/21/45/image_03012025_21_45_02_710436_0003.jpg
/home/pi/Desktop/images/03012025/21/46/image_03012025_21_46_02_925583_0000.jpg
/home/pi/Desktop/images/03012025/21/46/image_03012025_21_46_02_925583_0001.jpg
/home/pi/Desktop/images/03012025/21/46/image_03012025_21_46_02_925583_0002.jpg
/home/pi/Desktop/images/03012025/21/46/image_03012025_21_46_02_925583_0003.jpg
/home/pi/Desktop/images/03012025/21/47/image_03012025_21_47_03_142291_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326037613","1326037616","1326037621","1326037956","1326037611","1326037619"],"photo_ids_order":["1326037611","1326037613","1326037616","1326037619","1326037621","1326037956"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e48b7df508047f67021319dc40583ee7.jpg","text":"TemporaryFile(/tmp/multipartBody7499128147625963303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735937411166,"filename":"image_03012025_21_46_02_925583_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d99d20cd92f958559920c7010f639a0b.jpg","text":"TemporaryFile(/tmp/multipartBody8634424601812557881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735937411166,"filename":"image_03012025_21_46_02_925583_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/936fff4720e4686ba765978f96c48b2f.jpg","text":"TemporaryFile(/tmp/multipartBody3755770578640867738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735937411166,"filename":"image_03012025_21_46_02_925583_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/10c3f021d42099cb8f80ded230db8f99.jpg","text":"TemporaryFile(/tmp/multipartBody8116283932783923912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735937411166,"filename":"image_03012025_21_47_03_142291_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/68de3661f9c401e3303c5b2c733b941a.jpg","text":"TemporaryFile(/tmp/multipartBody6249596696552691237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735937411166,"filename":"image_03012025_21_45_02_710436_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f77faf29bd5bb0e89914a83ac98379b7.jpg","text":"TemporaryFile(/tmp/multipartBody390965905871653119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735937411166,"filename":"image_03012025_21_46_02_925583_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326037616","file1":"1326037613","file0":"1326037611","file4":"1326037621","file5":"1326037956","file3":"1326037619"},"map_files_photo_id_array":[{"photo_id":"1326037956","filename":"file5"},{"photo_id":"1326037616","filename":"file2"},{"photo_id":"1326037621","filename":"file4"},{"photo_id":"1326037613","filename":"file1"},{"photo_id":"1326037611","filename":"file0"},{"photo_id":"1326037619","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326037613":["hashtag1","hashtag2"]},{"1326037616":["hashtag1","hashtag2"]},{"1326037621":["hashtag1","hashtag2"]},{"1326037956":["hashtag1","hashtag2"]},{"1326037611":["hashtag1","hashtag2"]},{"1326037619":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326037613, 1326037616, 1326037621, 1326037956, 1326037611, 1326037619)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 96.81076860427856 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 21:50:22.582428
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/21/47/image_03012025_21_47_03_142291_0001.jpg', '/home/pi/Desktop/images/03012025/21/47/image_03012025_21_47_03_142291_0002.jpg', '/home/pi/Desktop/images/03012025/21/47/image_03012025_21_47_03_142291_0003.jpg', '/home/pi/Desktop/images/03012025/21/48/image_03012025_21_48_02_259642_0000.jpg', '/home/pi/Desktop/images/03012025/21/48/image_03012025_21_48_02_259642_0001.jpg', '/home/pi/Desktop/images/03012025/21/48/image_03012025_21_48_02_259642_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/21/47/image_03012025_21_47_03_142291_0001.jpg
/home/pi/Desktop/images/03012025/21/47/image_03012025_21_47_03_142291_0002.jpg
/home/pi/Desktop/images/03012025/21/47/image_03012025_21_47_03_142291_0003.jpg
/home/pi/Desktop/images/03012025/21/48/image_03012025_21_48_02_259642_0000.jpg
/home/pi/Desktop/images/03012025/21/48/image_03012025_21_48_02_259642_0001.jpg
/home/pi/Desktop/images/03012025/21/48/image_03012025_21_48_02_259642_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.160009384155273 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-03 21:50:42.493173
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/21/47/image_03012025_21_47_03_142291_0001.jpg', '/home/pi/Desktop/images/03012025/21/47/image_03012025_21_47_03_142291_0002.jpg', '/home/pi/Desktop/images/03012025/21/47/image_03012025_21_47_03_142291_0003.jpg', '/home/pi/Desktop/images/03012025/21/48/image_03012025_21_48_02_259642_0000.jpg', '/home/pi/Desktop/images/03012025/21/48/image_03012025_21_48_02_259642_0001.jpg', '/home/pi/Desktop/images/03012025/21/48/image_03012025_21_48_02_259642_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/21/47/image_03012025_21_47_03_142291_0001.jpg
/home/pi/Desktop/images/03012025/21/47/image_03012025_21_47_03_142291_0002.jpg
/home/pi/Desktop/images/03012025/21/47/image_03012025_21_47_03_142291_0003.jpg
/home/pi/Desktop/images/03012025/21/48/image_03012025_21_48_02_259642_0000.jpg
/home/pi/Desktop/images/03012025/21/48/image_03012025_21_48_02_259642_0001.jpg
/home/pi/Desktop/images/03012025/21/48/image_03012025_21_48_02_259642_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326038770","1326038691","1326038772","1326038750","1326038450","1326038507"],"photo_ids_order":["1326038450","1326038507","1326038691","1326038750","1326038770","1326038772"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7888345e01f585def0e5a3419f0b5bb8.jpg","text":"TemporaryFile(/tmp/multipartBody1755873687101276533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735937518907,"filename":"image_03012025_21_48_02_259642_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1ed9380510afe0ecfc36c4a78cd47952.jpg","text":"TemporaryFile(/tmp/multipartBody127532308617696184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735937518907,"filename":"image_03012025_21_47_03_142291_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c876748f32be4f735cc48d3b113bd582.jpg","text":"TemporaryFile(/tmp/multipartBody2549479300928750050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735937518907,"filename":"image_03012025_21_48_02_259642_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2f27a2a170cbb263ec0051303ab14c07.jpg","text":"TemporaryFile(/tmp/multipartBody9223095631613850487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735937518907,"filename":"image_03012025_21_48_02_259642_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0ed8112811e19f725027f9c772be7b2c.jpg","text":"TemporaryFile(/tmp/multipartBody4627975209990258333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735937518907,"filename":"image_03012025_21_47_03_142291_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5bd38faf34c3748eef13463c2628e30c.jpg","text":"TemporaryFile(/tmp/multipartBody4133570841274909724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735937518907,"filename":"image_03012025_21_47_03_142291_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326038691","file1":"1326038507","file0":"1326038450","file4":"1326038770","file5":"1326038772","file3":"1326038750"},"map_files_photo_id_array":[{"photo_id":"1326038772","filename":"file5"},{"photo_id":"1326038691","filename":"file2"},{"photo_id":"1326038770","filename":"file4"},{"photo_id":"1326038507","filename":"file1"},{"photo_id":"1326038450","filename":"file0"},{"photo_id":"1326038750","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326038770":["hashtag1","hashtag2"]},{"1326038691":["hashtag1","hashtag2"]},{"1326038772":["hashtag1","hashtag2"]},{"1326038750":["hashtag1","hashtag2"]},{"1326038450":["hashtag1","hashtag2"]},{"1326038507":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326038770, 1326038691, 1326038772, 1326038750, 1326038450, 1326038507)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 92.83674097061157 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 21:52:21.867007
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/21/48/image_03012025_21_48_02_259642_0003.jpg', '/home/pi/Desktop/images/03012025/21/49/image_03012025_21_49_02_507706_0000.jpg', '/home/pi/Desktop/images/03012025/21/49/image_03012025_21_49_02_507706_0001.jpg', '/home/pi/Desktop/images/03012025/21/49/image_03012025_21_49_02_507706_0002.jpg', '/home/pi/Desktop/images/03012025/21/49/image_03012025_21_49_02_507706_0003.jpg', '/home/pi/Desktop/images/03012025/21/50/image_03012025_21_50_02_739051_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/21/48/image_03012025_21_48_02_259642_0003.jpg
/home/pi/Desktop/images/03012025/21/49/image_03012025_21_49_02_507706_0000.jpg
/home/pi/Desktop/images/03012025/21/49/image_03012025_21_49_02_507706_0001.jpg
/home/pi/Desktop/images/03012025/21/49/image_03012025_21_49_02_507706_0002.jpg
/home/pi/Desktop/images/03012025/21/49/image_03012025_21_49_02_507706_0003.jpg
/home/pi/Desktop/images/03012025/21/50/image_03012025_21_50_02_739051_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326039291","1326039594","1326039144","1326039257","1326040019","1326039331"],"photo_ids_order":["1326039144","1326039257","1326039291","1326039331","1326039594","1326040019"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/73ace222007b08025097970dace66193.jpg","text":"TemporaryFile(/tmp/multipartBody316566897711517619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735937618740,"filename":"image_03012025_21_49_02_507706_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1eca3365a2dce531d2f6c0262238059d.jpg","text":"TemporaryFile(/tmp/multipartBody6066264729105512613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735937618740,"filename":"image_03012025_21_49_02_507706_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/772b9595467df55b85d224a300738939.jpg","text":"TemporaryFile(/tmp/multipartBody4114525528935647734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735937618740,"filename":"image_03012025_21_48_02_259642_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/164b9d99adf1404a8739faef7b6fda14.jpg","text":"TemporaryFile(/tmp/multipartBody1468647498029583907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735937618740,"filename":"image_03012025_21_49_02_507706_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8dc266da2f43479c4eb3778fb83e9993.jpg","text":"TemporaryFile(/tmp/multipartBody990353196032869508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735937618740,"filename":"image_03012025_21_50_02_739051_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1f62109f6261e848614157c413ede230.jpg","text":"TemporaryFile(/tmp/multipartBody794148474665083635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735937618740,"filename":"image_03012025_21_49_02_507706_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326039291","file1":"1326039257","file0":"1326039144","file4":"1326039594","file5":"1326040019","file3":"1326039331"},"map_files_photo_id_array":[{"photo_id":"1326040019","filename":"file5"},{"photo_id":"1326039291","filename":"file2"},{"photo_id":"1326039594","filename":"file4"},{"photo_id":"1326039257","filename":"file1"},{"photo_id":"1326039144","filename":"file0"},{"photo_id":"1326039331","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326039291":["hashtag1","hashtag2"]},{"1326039594":["hashtag1","hashtag2"]},{"1326039144":["hashtag1","hashtag2"]},{"1326039257":["hashtag1","hashtag2"]},{"1326040019":["hashtag1","hashtag2"]},{"1326039331":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326039291, 1326039594, 1326039144, 1326039257, 1326040019, 1326039331)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 85.85165572166443 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-03 21:53:52.036640
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/21/50/image_03012025_21_50_02_739051_0001.jpg', '/home/pi/Desktop/images/03012025/21/50/image_03012025_21_50_02_739051_0002.jpg', '/home/pi/Desktop/images/03012025/21/50/image_03012025_21_50_02_739051_0003.jpg', '/home/pi/Desktop/images/03012025/21/51/image_03012025_21_51_02_856440_0000.jpg', '/home/pi/Desktop/images/03012025/21/51/image_03012025_21_51_02_856440_0001.jpg', '/home/pi/Desktop/images/03012025/21/51/image_03012025_21_51_02_856440_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/21/50/image_03012025_21_50_02_739051_0001.jpg
/home/pi/Desktop/images/03012025/21/50/image_03012025_21_50_02_739051_0002.jpg
/home/pi/Desktop/images/03012025/21/50/image_03012025_21_50_02_739051_0003.jpg
/home/pi/Desktop/images/03012025/21/51/image_03012025_21_51_02_856440_0000.jpg
/home/pi/Desktop/images/03012025/21/51/image_03012025_21_51_02_856440_0001.jpg
/home/pi/Desktop/images/03012025/21/51/image_03012025_21_51_02_856440_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326040207","1326040507","1326040210","1326040512","1326040565","1326040214"],"photo_ids_order":["1326040207","1326040210","1326040214","1326040507","1326040512","1326040565"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/cb97a7d06aba505f228571e8fa54f2ab.jpg","text":"TemporaryFile(/tmp/multipartBody5753515172563732093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735937708484,"filename":"image_03012025_21_50_02_739051_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e411f4a1d4a03974b4f69fe8e5d8b9f0.jpg","text":"TemporaryFile(/tmp/multipartBody8241157876402952154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735937708484,"filename":"image_03012025_21_51_02_856440_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4a7d6ef85a2ef6ecca13f2bf28bbef89.jpg","text":"TemporaryFile(/tmp/multipartBody7095775188610526989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735937708484,"filename":"image_03012025_21_50_02_739051_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/94ca027e3209bb387647b6b7e11735de.jpg","text":"TemporaryFile(/tmp/multipartBody3861064160512740570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735937708484,"filename":"image_03012025_21_51_02_856440_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/55212619c146bbea22e689ad1f0d76f5.jpg","text":"TemporaryFile(/tmp/multipartBody7713388579587229565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735937708484,"filename":"image_03012025_21_51_02_856440_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b892dd2be9381e77444b11c75e9eb691.jpg","text":"TemporaryFile(/tmp/multipartBody8773843151531106923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735937708484,"filename":"image_03012025_21_50_02_739051_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326040214","file1":"1326040210","file0":"1326040207","file4":"1326040512","file5":"1326040565","file3":"1326040507"},"map_files_photo_id_array":[{"photo_id":"1326040565","filename":"file5"},{"photo_id":"1326040214","filename":"file2"},{"photo_id":"1326040512","filename":"file4"},{"photo_id":"1326040210","filename":"file1"},{"photo_id":"1326040207","filename":"file0"},{"photo_id":"1326040507","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326040207":["hashtag1","hashtag2"]},{"1326040507":["hashtag1","hashtag2"]},{"1326040210":["hashtag1","hashtag2"]},{"1326040512":["hashtag1","hashtag2"]},{"1326040565":["hashtag1","hashtag2"]},{"1326040214":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326040207, 1326040507, 1326040210, 1326040512, 1326040565, 1326040214)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 88.16432905197144 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 21:55:22.387658
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/21/51/image_03012025_21_51_02_856440_0003.jpg', '/home/pi/Desktop/images/03012025/21/52/image_03012025_21_52_03_015932_0000.jpg', '/home/pi/Desktop/images/03012025/21/52/image_03012025_21_52_03_015932_0001.jpg', '/home/pi/Desktop/images/03012025/21/52/image_03012025_21_52_03_015932_0002.jpg', '/home/pi/Desktop/images/03012025/21/52/image_03012025_21_52_03_015932_0003.jpg', '/home/pi/Desktop/images/03012025/21/53/image_03012025_21_53_02_211881_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/21/51/image_03012025_21_51_02_856440_0003.jpg
/home/pi/Desktop/images/03012025/21/52/image_03012025_21_52_03_015932_0000.jpg
/home/pi/Desktop/images/03012025/21/52/image_03012025_21_52_03_015932_0001.jpg
/home/pi/Desktop/images/03012025/21/52/image_03012025_21_52_03_015932_0002.jpg
/home/pi/Desktop/images/03012025/21/52/image_03012025_21_52_03_015932_0003.jpg
/home/pi/Desktop/images/03012025/21/53/image_03012025_21_53_02_211881_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326041320","1326040627","1326041163","1326040623","1326041065","1326041251"],"photo_ids_order":["1326040623","1326040627","1326041065","1326041163","1326041251","1326041320"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/705fcbc260a7ebfc76cb128e1990c34a.jpg","text":"TemporaryFile(/tmp/multipartBody3852909909639951170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735937800503,"filename":"image_03012025_21_53_02_211881_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9234f639255ead764c55c61de87dc4d3.jpg","text":"TemporaryFile(/tmp/multipartBody5318945700632245763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735937800503,"filename":"image_03012025_21_52_03_015932_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c2ed59dd5949f973b4aca0e520b6233a.jpg","text":"TemporaryFile(/tmp/multipartBody653176533651152193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735937800503,"filename":"image_03012025_21_52_03_015932_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9da81636ab2738183814e9f62240b30f.jpg","text":"TemporaryFile(/tmp/multipartBody5116343039499150816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735937800503,"filename":"image_03012025_21_51_02_856440_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a22f02dd5d87782c68ea3303da1bb22c.jpg","text":"TemporaryFile(/tmp/multipartBody3014940687020458472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735937800503,"filename":"image_03012025_21_52_03_015932_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3bc4a34a85b3736d64d512f367f0f13b.jpg","text":"TemporaryFile(/tmp/multipartBody8427665181347068422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735937800503,"filename":"image_03012025_21_52_03_015932_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326041065","file1":"1326040627","file0":"1326040623","file4":"1326041251","file5":"1326041320","file3":"1326041163"},"map_files_photo_id_array":[{"photo_id":"1326041320","filename":"file5"},{"photo_id":"1326041065","filename":"file2"},{"photo_id":"1326041251","filename":"file4"},{"photo_id":"1326040627","filename":"file1"},{"photo_id":"1326040623","filename":"file0"},{"photo_id":"1326041163","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326041320":["hashtag1","hashtag2"]},{"1326040627":["hashtag1","hashtag2"]},{"1326041163":["hashtag1","hashtag2"]},{"1326040623":["hashtag1","hashtag2"]},{"1326041065":["hashtag1","hashtag2"]},{"1326041251":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326041320, 1326040627, 1326041163, 1326040623, 1326041065, 1326041251)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 95.62613534927368 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 21:57:03.434228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/21/53/image_03012025_21_53_02_211881_0001.jpg', '/home/pi/Desktop/images/03012025/21/53/image_03012025_21_53_02_211881_0002.jpg', '/home/pi/Desktop/images/03012025/21/53/image_03012025_21_53_02_211881_0003.jpg', '/home/pi/Desktop/images/03012025/21/54/image_03012025_21_54_02_402764_0000.jpg', '/home/pi/Desktop/images/03012025/21/54/image_03012025_21_54_02_402764_0001.jpg', '/home/pi/Desktop/images/03012025/21/54/image_03012025_21_54_02_402764_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/21/53/image_03012025_21_53_02_211881_0001.jpg
/home/pi/Desktop/images/03012025/21/53/image_03012025_21_53_02_211881_0002.jpg
/home/pi/Desktop/images/03012025/21/53/image_03012025_21_53_02_211881_0003.jpg
/home/pi/Desktop/images/03012025/21/54/image_03012025_21_54_02_402764_0000.jpg
/home/pi/Desktop/images/03012025/21/54/image_03012025_21_54_02_402764_0001.jpg
/home/pi/Desktop/images/03012025/21/54/image_03012025_21_54_02_402764_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 21:59:02.599974
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/21/53/image_03012025_21_53_02_211881_0001.jpg', '/home/pi/Desktop/images/03012025/21/53/image_03012025_21_53_02_211881_0002.jpg', '/home/pi/Desktop/images/03012025/21/53/image_03012025_21_53_02_211881_0003.jpg', '/home/pi/Desktop/images/03012025/21/54/image_03012025_21_54_02_402764_0000.jpg', '/home/pi/Desktop/images/03012025/21/54/image_03012025_21_54_02_402764_0001.jpg', '/home/pi/Desktop/images/03012025/21/54/image_03012025_21_54_02_402764_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/21/53/image_03012025_21_53_02_211881_0001.jpg
/home/pi/Desktop/images/03012025/21/53/image_03012025_21_53_02_211881_0002.jpg
/home/pi/Desktop/images/03012025/21/53/image_03012025_21_53_02_211881_0003.jpg
/home/pi/Desktop/images/03012025/21/54/image_03012025_21_54_02_402764_0000.jpg
/home/pi/Desktop/images/03012025/21/54/image_03012025_21_54_02_402764_0001.jpg
/home/pi/Desktop/images/03012025/21/54/image_03012025_21_54_02_402764_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326043023","1326043412","1326043027","1326043411","1326043408","1326043032"],"photo_ids_order":["1326043023","1326043027","1326043032","1326043408","1326043411","1326043412"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f73aed479147b7f90e1f192a50ee1044.jpg","text":"TemporaryFile(/tmp/multipartBody4011476769102092168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735938028640,"filename":"image_03012025_21_53_02_211881_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2d14d47464b0f719a41ff70d06ead0f6.jpg","text":"TemporaryFile(/tmp/multipartBody2045574306864921975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735938028640,"filename":"image_03012025_21_54_02_402764_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/95b066558f97cd629bd684994c20ab39.jpg","text":"TemporaryFile(/tmp/multipartBody3700559749026593284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735938028640,"filename":"image_03012025_21_53_02_211881_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0b59ba61cc513a0d8442a1f0d146028c.jpg","text":"TemporaryFile(/tmp/multipartBody7552974549721481364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735938028640,"filename":"image_03012025_21_54_02_402764_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/93209354c1cae0c4eab981ffe88abce2.jpg","text":"TemporaryFile(/tmp/multipartBody634299112409896730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735938028640,"filename":"image_03012025_21_54_02_402764_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/048fc580c776eee9268a9772be37fe08.jpg","text":"TemporaryFile(/tmp/multipartBody3044178936555002203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735938028640,"filename":"image_03012025_21_53_02_211881_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326043032","file1":"1326043027","file0":"1326043023","file4":"1326043411","file5":"1326043412","file3":"1326043408"},"map_files_photo_id_array":[{"photo_id":"1326043412","filename":"file5"},{"photo_id":"1326043032","filename":"file2"},{"photo_id":"1326043411","filename":"file4"},{"photo_id":"1326043027","filename":"file1"},{"photo_id":"1326043023","filename":"file0"},{"photo_id":"1326043408","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326043023":["hashtag1","hashtag2"]},{"1326043412":["hashtag1","hashtag2"]},{"1326043027":["hashtag1","hashtag2"]},{"1326043411":["hashtag1","hashtag2"]},{"1326043408":["hashtag1","hashtag2"]},{"1326043032":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326043023, 1326043412, 1326043027, 1326043411, 1326043408, 1326043032)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 95.90384912490845 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-03 22:00:42.192695
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/21/54/image_03012025_21_54_02_402764_0003.jpg', '/home/pi/Desktop/images/03012025/21/55/image_03012025_21_55_02_572579_0000.jpg', '/home/pi/Desktop/images/03012025/21/55/image_03012025_21_55_02_572579_0001.jpg', '/home/pi/Desktop/images/03012025/21/55/image_03012025_21_55_02_572579_0002.jpg', '/home/pi/Desktop/images/03012025/21/56/image_03012025_21_56_02_752795_0000.jpg', '/home/pi/Desktop/images/03012025/21/56/image_03012025_21_56_02_752795_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/21/54/image_03012025_21_54_02_402764_0003.jpg
/home/pi/Desktop/images/03012025/21/55/image_03012025_21_55_02_572579_0000.jpg
/home/pi/Desktop/images/03012025/21/55/image_03012025_21_55_02_572579_0001.jpg
/home/pi/Desktop/images/03012025/21/55/image_03012025_21_55_02_572579_0002.jpg
/home/pi/Desktop/images/03012025/21/56/image_03012025_21_56_02_752795_0000.jpg
/home/pi/Desktop/images/03012025/21/56/image_03012025_21_56_02_752795_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326043613","1326044071","1326043999","1326044020","1326044064","1326043626"],"photo_ids_order":["1326043613","1326043626","1326043999","1326044020","1326044064","1326044071"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/fe2b0f49f4fa4593b72ff5245e5f3df5.jpg","text":"TemporaryFile(/tmp/multipartBody231821571140097204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735938117801,"filename":"image_03012025_21_54_02_402764_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/fcf0d4c24108dd818f23ff18da2b659e.jpg","text":"TemporaryFile(/tmp/multipartBody7998426698536806628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735938117801,"filename":"image_03012025_21_56_02_752795_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ede57648b0c5f41aafc4f09ebe9ecd37.jpg","text":"TemporaryFile(/tmp/multipartBody4007541918566878027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735938117801,"filename":"image_03012025_21_55_02_572579_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d4d5bf56c052d975901f9b4489a09ec5.jpg","text":"TemporaryFile(/tmp/multipartBody3173099943809127424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735938117801,"filename":"image_03012025_21_55_02_572579_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2d49a12f6b0f2f3789479e27daa4c78f.jpg","text":"TemporaryFile(/tmp/multipartBody799063518384758793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735938117801,"filename":"image_03012025_21_56_02_752795_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5bc4e2f831a076ea4b92ea31947b3464.jpg","text":"TemporaryFile(/tmp/multipartBody2636868754476841665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735938117801,"filename":"image_03012025_21_55_02_572579_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326043999","file1":"1326043626","file0":"1326043613","file4":"1326044064","file5":"1326044071","file3":"1326044020"},"map_files_photo_id_array":[{"photo_id":"1326044071","filename":"file5"},{"photo_id":"1326043999","filename":"file2"},{"photo_id":"1326044064","filename":"file4"},{"photo_id":"1326043626","filename":"file1"},{"photo_id":"1326043613","filename":"file0"},{"photo_id":"1326044020","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326043613":["hashtag1","hashtag2"]},{"1326044071":["hashtag1","hashtag2"]},{"1326043999":["hashtag1","hashtag2"]},{"1326044020":["hashtag1","hashtag2"]},{"1326044064":["hashtag1","hashtag2"]},{"1326043626":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326043613, 1326044071, 1326043999, 1326044020, 1326044064, 1326043626)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 79.82975697517395 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 22:02:03.229950
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/21/56/image_03012025_21_56_02_752795_0002.jpg', '/home/pi/Desktop/images/03012025/21/56/image_03012025_21_56_02_752795_0003.jpg', '/home/pi/Desktop/images/03012025/21/57/image_03012025_21_57_02_894950_0000.jpg', '/home/pi/Desktop/images/03012025/21/57/image_03012025_21_57_02_894950_0001.jpg', '/home/pi/Desktop/images/03012025/21/57/image_03012025_21_57_02_894950_0002.jpg', '/home/pi/Desktop/images/03012025/21/57/image_03012025_21_57_02_894950_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/21/56/image_03012025_21_56_02_752795_0002.jpg
/home/pi/Desktop/images/03012025/21/56/image_03012025_21_56_02_752795_0003.jpg
/home/pi/Desktop/images/03012025/21/57/image_03012025_21_57_02_894950_0000.jpg
/home/pi/Desktop/images/03012025/21/57/image_03012025_21_57_02_894950_0001.jpg
/home/pi/Desktop/images/03012025/21/57/image_03012025_21_57_02_894950_0002.jpg
/home/pi/Desktop/images/03012025/21/57/image_03012025_21_57_02_894950_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":["1326044686","1326044697","1326044694","1326044605","1326044652","1326044690"],"photo_ids_order":["1326044605","1326044652","1326044686","1326044690","1326044694","1326044697"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/fbc05ab895c76300caf651b693853f4f.jpg","text":"TemporaryFile(/tmp/multipartBody3044059711110689963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735938199088,"filename":"image_03012025_21_57_02_894950_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ae491c26a02374eadaab6f990b5400eb.jpg","text":"TemporaryFile(/tmp/multipartBody2232177904225123242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735938199088,"filename":"image_03012025_21_57_02_894950_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c9a44a9e4f8f8c9dc44017df948bb267.jpg","text":"TemporaryFile(/tmp/multipartBody7513769240345334433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735938199088,"filename":"image_03012025_21_57_02_894950_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1d0a339e0b515d4aed699c83383ca6e9.jpg","text":"TemporaryFile(/tmp/multipartBody2477139874782374601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735938199088,"filename":"image_03012025_21_56_02_752795_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/bdaca74781e448be5c650b5c68c385bb.jpg","text":"TemporaryFile(/tmp/multipartBody2192763791761808635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735938199088,"filename":"image_03012025_21_56_02_752795_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c1509839dbd7a09ee170f110c736285d.jpg","text":"TemporaryFile(/tmp/multipartBody487249683662145574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735938199088,"filename":"image_03012025_21_57_02_894950_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326044686","file1":"1326044652","file0":"1326044605","file4":"1326044694","file5":"1326044697","file3":"1326044690"},"map_files_photo_id_array":[{"photo_id":"1326044697","filename":"file5"},{"photo_id":"1326044686","filename":"file2"},{"photo_id":"1326044694","filename":"file4"},{"photo_id":"1326044652","filename":"file1"},{"photo_id":"1326044605","filename":"file0"},{"photo_id":"1326044690","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326044686":["hashtag1","hashtag2"]},{"1326044697":["hashtag1","hashtag2"]},{"1326044694":["hashtag1","hashtag2"]},{"1326044605":["hashtag1","hashtag2"]},{"1326044652":["hashtag1","hashtag2"]},{"1326044690":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326044686, 1326044697, 1326044694, 1326044605, 1326044652, 1326044690)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 78.06638169288635 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-03 22:03:31.897355
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/21/58/image_03012025_21_58_03_154362_0000.jpg', '/home/pi/Desktop/images/03012025/21/58/image_03012025_21_58_03_154362_0001.jpg', '/home/pi/Desktop/images/03012025/21/58/image_03012025_21_58_03_154362_0002.jpg', '/home/pi/Desktop/images/03012025/21/58/image_03012025_21_58_03_154362_0003.jpg', '/home/pi/Desktop/images/03012025/21/59/image_03012025_21_59_02_240301_0000.jpg', '/home/pi/Desktop/images/03012025/21/59/image_03012025_21_59_02_240301_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/21/58/image_03012025_21_58_03_154362_0000.jpg
/home/pi/Desktop/images/03012025/21/58/image_03012025_21_58_03_154362_0001.jpg
/home/pi/Desktop/images/03012025/21/58/image_03012025_21_58_03_154362_0002.jpg
/home/pi/Desktop/images/03012025/21/58/image_03012025_21_58_03_154362_0003.jpg
/home/pi/Desktop/images/03012025/21/59/image_03012025_21_59_02_240301_0000.jpg
/home/pi/Desktop/images/03012025/21/59/image_03012025_21_59_02_240301_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326045993","1326045514","1326045735","1326045516","1326045632","1326045629"],"photo_ids_order":["1326045514","1326045516","1326045629","1326045632","1326045735","1326045993"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0e3349cfd483463b036fd38393c3082f.jpg","text":"TemporaryFile(/tmp/multipartBody5252839347271369787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735938288498,"filename":"image_03012025_21_59_02_240301_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ab8f79b40fe789ecd3b77853771c3742.jpg","text":"TemporaryFile(/tmp/multipartBody4466963048949015895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735938288498,"filename":"image_03012025_21_58_03_154362_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ca74eb2461fe3bd5b6daf454963625e8.jpg","text":"TemporaryFile(/tmp/multipartBody777661084056818359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735938288498,"filename":"image_03012025_21_59_02_240301_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/71a4755a7b67aa2c0889ea7c743a390f.jpg","text":"TemporaryFile(/tmp/multipartBody866264713482438329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735938288498,"filename":"image_03012025_21_58_03_154362_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a55c8d8fe746828d2a72187963d4ae3c.jpg","text":"TemporaryFile(/tmp/multipartBody356199228231271809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735938288498,"filename":"image_03012025_21_58_03_154362_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a40eca7f8d16a58756fa243a20de55c0.jpg","text":"TemporaryFile(/tmp/multipartBody3848180819190216211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735938288498,"filename":"image_03012025_21_58_03_154362_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326045629","file1":"1326045516","file0":"1326045514","file4":"1326045735","file5":"1326045993","file3":"1326045632"},"map_files_photo_id_array":[{"photo_id":"1326045993","filename":"file5"},{"photo_id":"1326045629","filename":"file2"},{"photo_id":"1326045735","filename":"file4"},{"photo_id":"1326045516","filename":"file1"},{"photo_id":"1326045514","filename":"file0"},{"photo_id":"1326045632","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326045993":["hashtag1","hashtag2"]},{"1326045514":["hashtag1","hashtag2"]},{"1326045735":["hashtag1","hashtag2"]},{"1326045516":["hashtag1","hashtag2"]},{"1326045632":["hashtag1","hashtag2"]},{"1326045629":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326045993, 1326045514, 1326045735, 1326045516, 1326045632, 1326045629)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 86.69872760772705 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 22:05:02.721797
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/21/59/image_03012025_21_59_02_240301_0002.jpg', '/home/pi/Desktop/images/03012025/21/59/image_03012025_21_59_02_240301_0003.jpg', '/home/pi/Desktop/images/03012025/22/00/image_03012025_22_00_02_410562_0000.jpg', '/home/pi/Desktop/images/03012025/22/00/image_03012025_22_00_02_410562_0001.jpg', '/home/pi/Desktop/images/03012025/22/00/image_03012025_22_00_02_410562_0002.jpg', '/home/pi/Desktop/images/03012025/22/00/image_03012025_22_00_02_410562_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/21/59/image_03012025_21_59_02_240301_0002.jpg
/home/pi/Desktop/images/03012025/21/59/image_03012025_21_59_02_240301_0003.jpg
/home/pi/Desktop/images/03012025/22/00/image_03012025_22_00_02_410562_0000.jpg
/home/pi/Desktop/images/03012025/22/00/image_03012025_22_00_02_410562_0001.jpg
/home/pi/Desktop/images/03012025/22/00/image_03012025_22_00_02_410562_0002.jpg
/home/pi/Desktop/images/03012025/22/00/image_03012025_22_00_02_410562_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326046741","1326046848","1326047025","1326046652","1326046733","1326047512"],"photo_ids_order":["1326046652","1326046733","1326046741","1326046848","1326047025","1326047512"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/70733e8311a53f140b441179a68c9e78.jpg","text":"TemporaryFile(/tmp/multipartBody77110001098314356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735938383836,"filename":"image_03012025_22_00_02_410562_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e70abd19e6a4d43fbff8daca0ee8ce44.jpg","text":"TemporaryFile(/tmp/multipartBody948893952802005454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735938383836,"filename":"image_03012025_22_00_02_410562_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/faeba473075fd4131773e171e44dcd1b.jpg","text":"TemporaryFile(/tmp/multipartBody5849642496329541592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735938383836,"filename":"image_03012025_22_00_02_410562_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/cf84474cd5f332eb869ba8eb849cb0b6.jpg","text":"TemporaryFile(/tmp/multipartBody7453199257393188906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735938383836,"filename":"image_03012025_21_59_02_240301_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/bcb846e9bfb1f38e2761c5fe04b79c79.jpg","text":"TemporaryFile(/tmp/multipartBody5912551687250286631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735938383836,"filename":"image_03012025_21_59_02_240301_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4f02b49b9df50fe9def2661f73bf28b8.jpg","text":"TemporaryFile(/tmp/multipartBody3603963987705500704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735938383836,"filename":"image_03012025_22_00_02_410562_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326046741","file1":"1326046733","file0":"1326046652","file4":"1326047025","file5":"1326047512","file3":"1326046848"},"map_files_photo_id_array":[{"photo_id":"1326047512","filename":"file5"},{"photo_id":"1326046741","filename":"file2"},{"photo_id":"1326047025","filename":"file4"},{"photo_id":"1326046733","filename":"file1"},{"photo_id":"1326046652","filename":"file0"},{"photo_id":"1326046848","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326046741":["hashtag1","hashtag2"]},{"1326046848":["hashtag1","hashtag2"]},{"1326047025":["hashtag1","hashtag2"]},{"1326046652":["hashtag1","hashtag2"]},{"1326046733":["hashtag1","hashtag2"]},{"1326047512":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326046741, 1326046848, 1326047025, 1326046652, 1326046733, 1326047512)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 92.16840386390686 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-03 22:06:42.428774
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/22/01/image_03012025_22_01_02_549655_0000.jpg', '/home/pi/Desktop/images/03012025/22/01/image_03012025_22_01_02_549655_0001.jpg', '/home/pi/Desktop/images/03012025/22/01/image_03012025_22_01_02_549655_0002.jpg', '/home/pi/Desktop/images/03012025/22/01/image_03012025_22_01_02_549655_0003.jpg', '/home/pi/Desktop/images/03012025/22/02/image_03012025_22_02_02_856328_0000.jpg', '/home/pi/Desktop/images/03012025/22/02/image_03012025_22_02_02_856328_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/22/01/image_03012025_22_01_02_549655_0000.jpg
/home/pi/Desktop/images/03012025/22/01/image_03012025_22_01_02_549655_0001.jpg
/home/pi/Desktop/images/03012025/22/01/image_03012025_22_01_02_549655_0002.jpg
/home/pi/Desktop/images/03012025/22/01/image_03012025_22_01_02_549655_0003.jpg
/home/pi/Desktop/images/03012025/22/02/image_03012025_22_02_02_856328_0000.jpg
/home/pi/Desktop/images/03012025/22/02/image_03012025_22_02_02_856328_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326048243","1326048382","1326047791","1326047788","1326047758","1326047796"],"photo_ids_order":["1326047758","1326047788","1326047791","1326047796","1326048243","1326048382"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/10e5a0174f1f88e32bd22970c1c5ac56.jpg","text":"TemporaryFile(/tmp/multipartBody5465558921866050932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735938483576,"filename":"image_03012025_22_02_02_856328_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9e2ad6dedaf5e422547dfe753c1a9997.jpg","text":"TemporaryFile(/tmp/multipartBody424847349208141403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735938483576,"filename":"image_03012025_22_02_02_856328_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1d6267c7cb03016223a32eded63993b0.jpg","text":"TemporaryFile(/tmp/multipartBody5346076353467995558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735938483576,"filename":"image_03012025_22_01_02_549655_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/cf3457edef77c3e524c7f1831a139c91.jpg","text":"TemporaryFile(/tmp/multipartBody6134961773555161223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735938483576,"filename":"image_03012025_22_01_02_549655_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b7e70b58037307d84529315b77c5bcc5.jpg","text":"TemporaryFile(/tmp/multipartBody2221502717412557718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735938483576,"filename":"image_03012025_22_01_02_549655_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/99f2b973e8b5691e1a95d3637ddf5b89.jpg","text":"TemporaryFile(/tmp/multipartBody4915231910747485516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735938483576,"filename":"image_03012025_22_01_02_549655_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326047791","file1":"1326047788","file0":"1326047758","file4":"1326048243","file5":"1326048382","file3":"1326047796"},"map_files_photo_id_array":[{"photo_id":"1326048382","filename":"file5"},{"photo_id":"1326047791","filename":"file2"},{"photo_id":"1326048243","filename":"file4"},{"photo_id":"1326047788","filename":"file1"},{"photo_id":"1326047758","filename":"file0"},{"photo_id":"1326047796","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326048243":["hashtag1","hashtag2"]},{"1326048382":["hashtag1","hashtag2"]},{"1326047791":["hashtag1","hashtag2"]},{"1326047788":["hashtag1","hashtag2"]},{"1326047758":["hashtag1","hashtag2"]},{"1326047796":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326048243, 1326048382, 1326047791, 1326047788, 1326047758, 1326047796)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 88.1708037853241 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 22:08:21.842353
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/22/02/image_03012025_22_02_02_856328_0002.jpg', '/home/pi/Desktop/images/03012025/22/02/image_03012025_22_02_02_856328_0003.jpg', '/home/pi/Desktop/images/03012025/22/03/image_03012025_22_03_03_113013_0000.jpg', '/home/pi/Desktop/images/03012025/22/03/image_03012025_22_03_03_113013_0001.jpg', '/home/pi/Desktop/images/03012025/22/03/image_03012025_22_03_03_113013_0002.jpg', '/home/pi/Desktop/images/03012025/22/03/image_03012025_22_03_03_113013_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/22/02/image_03012025_22_02_02_856328_0002.jpg
/home/pi/Desktop/images/03012025/22/02/image_03012025_22_02_02_856328_0003.jpg
/home/pi/Desktop/images/03012025/22/03/image_03012025_22_03_03_113013_0000.jpg
/home/pi/Desktop/images/03012025/22/03/image_03012025_22_03_03_113013_0001.jpg
/home/pi/Desktop/images/03012025/22/03/image_03012025_22_03_03_113013_0002.jpg
/home/pi/Desktop/images/03012025/22/03/image_03012025_22_03_03_113013_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326048561","1326049067","1326049025","1326049177","1326049024","1326049036"],"photo_ids_order":["1326048561","1326049024","1326049025","1326049036","1326049067","1326049177"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/747acd7724d4e73df9d1e53b02f4a293.jpg","text":"TemporaryFile(/tmp/multipartBody378175957730162373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735938580766,"filename":"image_03012025_22_02_02_856328_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/13e74891eedd03ba4fe60b1d169e953c.jpg","text":"TemporaryFile(/tmp/multipartBody564517099416336041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735938580766,"filename":"image_03012025_22_03_03_113013_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/cfdfb907e233892412273fa7d293c8af.jpg","text":"TemporaryFile(/tmp/multipartBody358383709734271244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735938580766,"filename":"image_03012025_22_03_03_113013_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/105f480f3971a1059db3fd6b2b5b3cb5.jpg","text":"TemporaryFile(/tmp/multipartBody3247296465105224793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735938580766,"filename":"image_03012025_22_03_03_113013_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d405cd907a26c5726daba650fe99612f.jpg","text":"TemporaryFile(/tmp/multipartBody4214375246841050328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735938580766,"filename":"image_03012025_22_02_02_856328_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e7c6d56358809fc789a03058c4894b01.jpg","text":"TemporaryFile(/tmp/multipartBody4198860915549661289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735938580766,"filename":"image_03012025_22_03_03_113013_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326049025","file1":"1326049024","file0":"1326048561","file4":"1326049067","file5":"1326049177","file3":"1326049036"},"map_files_photo_id_array":[{"photo_id":"1326049177","filename":"file5"},{"photo_id":"1326049025","filename":"file2"},{"photo_id":"1326049067","filename":"file4"},{"photo_id":"1326049024","filename":"file1"},{"photo_id":"1326048561","filename":"file0"},{"photo_id":"1326049036","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326048561":["hashtag1","hashtag2"]},{"1326049067":["hashtag1","hashtag2"]},{"1326049025":["hashtag1","hashtag2"]},{"1326049177":["hashtag1","hashtag2"]},{"1326049024":["hashtag1","hashtag2"]},{"1326049036":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326048561, 1326049067, 1326049025, 1326049177, 1326049024, 1326049036)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 81.71721243858337 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-03 22:09:52.055825
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/22/04/image_03012025_22_04_02_335536_0000.jpg', '/home/pi/Desktop/images/03012025/22/04/image_03012025_22_04_02_335536_0001.jpg', '/home/pi/Desktop/images/03012025/22/04/image_03012025_22_04_02_335536_0002.jpg', '/home/pi/Desktop/images/03012025/22/04/image_03012025_22_04_02_335536_0003.jpg', '/home/pi/Desktop/images/03012025/22/05/image_03012025_22_05_02_463492_0000.jpg', '/home/pi/Desktop/images/03012025/22/05/image_03012025_22_05_02_463492_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/22/04/image_03012025_22_04_02_335536_0000.jpg
/home/pi/Desktop/images/03012025/22/04/image_03012025_22_04_02_335536_0001.jpg
/home/pi/Desktop/images/03012025/22/04/image_03012025_22_04_02_335536_0002.jpg
/home/pi/Desktop/images/03012025/22/04/image_03012025_22_04_02_335536_0003.jpg
/home/pi/Desktop/images/03012025/22/05/image_03012025_22_05_02_463492_0000.jpg
/home/pi/Desktop/images/03012025/22/05/image_03012025_22_05_02_463492_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326050928","1326050399","1326050654","1326050188","1326049813","1326050308"],"photo_ids_order":["1326049813","1326050188","1326050308","1326050399","1326050654","1326050928"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/644e1d9b33c4627a6079be7949a10fe7.jpg","text":"TemporaryFile(/tmp/multipartBody5996047304099026159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735938668037,"filename":"image_03012025_22_05_02_463492_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/90cd26747620c8cf87783f2663baf4e0.jpg","text":"TemporaryFile(/tmp/multipartBody3816740289222524609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735938668037,"filename":"image_03012025_22_04_02_335536_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b3ee9f00bad1fe720aea94c4a061a587.jpg","text":"TemporaryFile(/tmp/multipartBody1736922486034979387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735938668037,"filename":"image_03012025_22_05_02_463492_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b8e26b64c65214bef14bdde6c471a18c.jpg","text":"TemporaryFile(/tmp/multipartBody108398689782122810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735938668037,"filename":"image_03012025_22_04_02_335536_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b29ffb4200bec00903311d30dc4192ae.jpg","text":"TemporaryFile(/tmp/multipartBody309686062725534902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735938668037,"filename":"image_03012025_22_04_02_335536_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c2d0f2f9530fc48c65732d3a2b18e69e.jpg","text":"TemporaryFile(/tmp/multipartBody4563453069862887353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735938668037,"filename":"image_03012025_22_04_02_335536_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326050308","file1":"1326050188","file0":"1326049813","file4":"1326050654","file5":"1326050928","file3":"1326050399"},"map_files_photo_id_array":[{"photo_id":"1326050928","filename":"file5"},{"photo_id":"1326050308","filename":"file2"},{"photo_id":"1326050654","filename":"file4"},{"photo_id":"1326050188","filename":"file1"},{"photo_id":"1326049813","filename":"file0"},{"photo_id":"1326050399","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326050928":["hashtag1","hashtag2"]},{"1326050399":["hashtag1","hashtag2"]},{"1326050654":["hashtag1","hashtag2"]},{"1326050188":["hashtag1","hashtag2"]},{"1326049813":["hashtag1","hashtag2"]},{"1326050308":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326050928, 1326050399, 1326050654, 1326050188, 1326049813, 1326050308)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 88.79481053352356 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 22:11:22.574079
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/22/05/image_03012025_22_05_02_463492_0002.jpg', '/home/pi/Desktop/images/03012025/22/05/image_03012025_22_05_02_463492_0003.jpg', '/home/pi/Desktop/images/03012025/22/06/image_03012025_22_06_02_674983_0000.jpg', '/home/pi/Desktop/images/03012025/22/06/image_03012025_22_06_02_674983_0001.jpg', '/home/pi/Desktop/images/03012025/22/06/image_03012025_22_06_02_674983_0002.jpg', '/home/pi/Desktop/images/03012025/22/06/image_03012025_22_06_02_674983_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/22/05/image_03012025_22_05_02_463492_0002.jpg
/home/pi/Desktop/images/03012025/22/05/image_03012025_22_05_02_463492_0003.jpg
/home/pi/Desktop/images/03012025/22/06/image_03012025_22_06_02_674983_0000.jpg
/home/pi/Desktop/images/03012025/22/06/image_03012025_22_06_02_674983_0001.jpg
/home/pi/Desktop/images/03012025/22/06/image_03012025_22_06_02_674983_0002.jpg
/home/pi/Desktop/images/03012025/22/06/image_03012025_22_06_02_674983_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326051161","1326051077","1326051996","1326051078","1326051785","1326051525"],"photo_ids_order":["1326051077","1326051078","1326051161","1326051525","1326051785","1326051996"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/88c594120916e6440c4b4c1ec7657e7c.jpg","text":"TemporaryFile(/tmp/multipartBody511521209996131564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735938758856,"filename":"image_03012025_22_06_02_674983_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/119a161db4e7bd0538aa26889275e55a.jpg","text":"TemporaryFile(/tmp/multipartBody7221042308907765698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735938758856,"filename":"image_03012025_22_05_02_463492_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ec46b25f31fe8da9127776843fea4762.jpg","text":"TemporaryFile(/tmp/multipartBody3202341589062995394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735938758856,"filename":"image_03012025_22_06_02_674983_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f4357cca3eddf634229bda250b462dbc.jpg","text":"TemporaryFile(/tmp/multipartBody8024691267720340569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735938758856,"filename":"image_03012025_22_05_02_463492_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6f791e12d3285e4bfe9c48085ee4d45d.jpg","text":"TemporaryFile(/tmp/multipartBody4902767397139352506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735938758856,"filename":"image_03012025_22_06_02_674983_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/249f14228ba47a086b8eef15f63d56a5.jpg","text":"TemporaryFile(/tmp/multipartBody7009045691577494728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735938758856,"filename":"image_03012025_22_06_02_674983_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326051161","file1":"1326051078","file0":"1326051077","file4":"1326051785","file5":"1326051996","file3":"1326051525"},"map_files_photo_id_array":[{"photo_id":"1326051996","filename":"file5"},{"photo_id":"1326051161","filename":"file2"},{"photo_id":"1326051785","filename":"file4"},{"photo_id":"1326051078","filename":"file1"},{"photo_id":"1326051077","filename":"file0"},{"photo_id":"1326051525","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326051161":["hashtag1","hashtag2"]},{"1326051077":["hashtag1","hashtag2"]},{"1326051996":["hashtag1","hashtag2"]},{"1326051078":["hashtag1","hashtag2"]},{"1326051785":["hashtag1","hashtag2"]},{"1326051525":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326051161, 1326051077, 1326051996, 1326051078, 1326051785, 1326051525)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 84.22375106811523 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-03 22:12:52.602724
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/22/07/image_03012025_22_07_02_788730_0000.jpg', '/home/pi/Desktop/images/03012025/22/07/image_03012025_22_07_02_788730_0001.jpg', '/home/pi/Desktop/images/03012025/22/07/image_03012025_22_07_02_788730_0002.jpg', '/home/pi/Desktop/images/03012025/22/07/image_03012025_22_07_02_788730_0003.jpg', '/home/pi/Desktop/images/03012025/22/08/image_03012025_22_08_03_039475_0000.jpg', '/home/pi/Desktop/images/03012025/22/08/image_03012025_22_08_03_039475_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/22/07/image_03012025_22_07_02_788730_0000.jpg
/home/pi/Desktop/images/03012025/22/07/image_03012025_22_07_02_788730_0001.jpg
/home/pi/Desktop/images/03012025/22/07/image_03012025_22_07_02_788730_0002.jpg
/home/pi/Desktop/images/03012025/22/07/image_03012025_22_07_02_788730_0003.jpg
/home/pi/Desktop/images/03012025/22/08/image_03012025_22_08_03_039475_0000.jpg
/home/pi/Desktop/images/03012025/22/08/image_03012025_22_08_03_039475_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326052736","1326052700","1326052765","1326053099","1326052908","1326052763"],"photo_ids_order":["1326052700","1326052736","1326052763","1326052765","1326052908","1326053099"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3a19eace7f8a086d473842912703e9c4.jpg","text":"TemporaryFile(/tmp/multipartBody4809057861865456364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735938848329,"filename":"image_03012025_22_07_02_788730_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d76e75a6751e3b41385235bb15b0c5e0.jpg","text":"TemporaryFile(/tmp/multipartBody7309999882298149835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735938848329,"filename":"image_03012025_22_07_02_788730_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1ccaaedf47069631f2f87b8d5d492548.jpg","text":"TemporaryFile(/tmp/multipartBody336564377844710920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735938848329,"filename":"image_03012025_22_07_02_788730_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7581ea5d94bd95de01f9766d06928104.jpg","text":"TemporaryFile(/tmp/multipartBody5425904095848673328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735938848329,"filename":"image_03012025_22_08_03_039475_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/050c7ac9d6f0bb43833fb336e91b5932.jpg","text":"TemporaryFile(/tmp/multipartBody8402193121152930169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735938848329,"filename":"image_03012025_22_08_03_039475_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/28b41c168baeb4cc41d14a9bbfda6846.jpg","text":"TemporaryFile(/tmp/multipartBody5382580098433384107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735938848329,"filename":"image_03012025_22_07_02_788730_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326052763","file1":"1326052736","file0":"1326052700","file4":"1326052908","file5":"1326053099","file3":"1326052765"},"map_files_photo_id_array":[{"photo_id":"1326053099","filename":"file5"},{"photo_id":"1326052763","filename":"file2"},{"photo_id":"1326052908","filename":"file4"},{"photo_id":"1326052736","filename":"file1"},{"photo_id":"1326052700","filename":"file0"},{"photo_id":"1326052765","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326052736":["hashtag1","hashtag2"]},{"1326052700":["hashtag1","hashtag2"]},{"1326052765":["hashtag1","hashtag2"]},{"1326053099":["hashtag1","hashtag2"]},{"1326052908":["hashtag1","hashtag2"]},{"1326052763":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326052736, 1326052700, 1326052765, 1326053099, 1326052908, 1326052763)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 83.62414169311523 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 22:14:21.979309
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/22/08/image_03012025_22_08_03_039475_0002.jpg', '/home/pi/Desktop/images/03012025/22/08/image_03012025_22_08_03_039475_0003.jpg', '/home/pi/Desktop/images/03012025/22/09/image_03012025_22_09_02_196653_0000.jpg', '/home/pi/Desktop/images/03012025/22/09/image_03012025_22_09_02_196653_0001.jpg', '/home/pi/Desktop/images/03012025/22/09/image_03012025_22_09_02_196653_0002.jpg', '/home/pi/Desktop/images/03012025/22/09/image_03012025_22_09_02_196653_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/22/08/image_03012025_22_08_03_039475_0002.jpg
/home/pi/Desktop/images/03012025/22/08/image_03012025_22_08_03_039475_0003.jpg
/home/pi/Desktop/images/03012025/22/09/image_03012025_22_09_02_196653_0000.jpg
/home/pi/Desktop/images/03012025/22/09/image_03012025_22_09_02_196653_0001.jpg
/home/pi/Desktop/images/03012025/22/09/image_03012025_22_09_02_196653_0002.jpg
/home/pi/Desktop/images/03012025/22/09/image_03012025_22_09_02_196653_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326053254","1326053778","1326053667","1326053492","1326053672","1326053252"],"photo_ids_order":["1326053252","1326053254","1326053492","1326053667","1326053672","1326053778"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/74f2d6959e6cd92d2f5455ac593d88a9.jpg","text":"TemporaryFile(/tmp/multipartBody4915692762603173206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735938938331,"filename":"image_03012025_22_08_03_039475_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5bffec3485c41ca6ae42396fda7a6410.jpg","text":"TemporaryFile(/tmp/multipartBody2452827289846442026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735938938331,"filename":"image_03012025_22_09_02_196653_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8d028f8d06fa86c09a651233b93ed573.jpg","text":"TemporaryFile(/tmp/multipartBody2986653859796638894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735938938331,"filename":"image_03012025_22_09_02_196653_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0cc8e0502174f6f783a67f44d0118e78.jpg","text":"TemporaryFile(/tmp/multipartBody8298476196437360067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735938938331,"filename":"image_03012025_22_09_02_196653_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f21c2412b8d0e1a55485e58dc80711e5.jpg","text":"TemporaryFile(/tmp/multipartBody287873170089187715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735938938331,"filename":"image_03012025_22_09_02_196653_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/74a7e236c64fbb76a5e2526cad938b40.jpg","text":"TemporaryFile(/tmp/multipartBody1310485294777610129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735938938331,"filename":"image_03012025_22_08_03_039475_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326053492","file1":"1326053254","file0":"1326053252","file4":"1326053672","file5":"1326053778","file3":"1326053667"},"map_files_photo_id_array":[{"photo_id":"1326053778","filename":"file5"},{"photo_id":"1326053492","filename":"file2"},{"photo_id":"1326053672","filename":"file4"},{"photo_id":"1326053254","filename":"file1"},{"photo_id":"1326053252","filename":"file0"},{"photo_id":"1326053667","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326053254":["hashtag1","hashtag2"]},{"1326053778":["hashtag1","hashtag2"]},{"1326053667":["hashtag1","hashtag2"]},{"1326053492":["hashtag1","hashtag2"]},{"1326053672":["hashtag1","hashtag2"]},{"1326053252":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326053254, 1326053778, 1326053667, 1326053492, 1326053672, 1326053252)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 89.42956686019897 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-03 22:15:52.158161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/22/10/image_03012025_22_10_02_353195_0000.jpg', '/home/pi/Desktop/images/03012025/22/10/image_03012025_22_10_02_353195_0001.jpg', '/home/pi/Desktop/images/03012025/22/10/image_03012025_22_10_02_353195_0002.jpg', '/home/pi/Desktop/images/03012025/22/10/image_03012025_22_10_02_353195_0003.jpg', '/home/pi/Desktop/images/03012025/22/11/image_03012025_22_11_02_665832_0000.jpg', '/home/pi/Desktop/images/03012025/22/11/image_03012025_22_11_02_665832_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/22/10/image_03012025_22_10_02_353195_0000.jpg
/home/pi/Desktop/images/03012025/22/10/image_03012025_22_10_02_353195_0001.jpg
/home/pi/Desktop/images/03012025/22/10/image_03012025_22_10_02_353195_0002.jpg
/home/pi/Desktop/images/03012025/22/10/image_03012025_22_10_02_353195_0003.jpg
/home/pi/Desktop/images/03012025/22/11/image_03012025_22_11_02_665832_0000.jpg
/home/pi/Desktop/images/03012025/22/11/image_03012025_22_11_02_665832_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326054334","1326054372","1326054468","1326054300","1326054470","1326054469"],"photo_ids_order":["1326054300","1326054334","1326054372","1326054468","1326054469","1326054470"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/12fba0018e1c2d34c91bbe1c675d3990.jpg","text":"TemporaryFile(/tmp/multipartBody6444637365174586236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735939028341,"filename":"image_03012025_22_10_02_353195_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ce7910e16723d3ae0b72ac19ad4bc675.jpg","text":"TemporaryFile(/tmp/multipartBody5957176621936039456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735939028341,"filename":"image_03012025_22_10_02_353195_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f7c2fafcba628673d47cceb8ae31c117.jpg","text":"TemporaryFile(/tmp/multipartBody7650493536495278545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735939028341,"filename":"image_03012025_22_10_02_353195_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a19163939e49e35fb266011e6cc5d0b7.jpg","text":"TemporaryFile(/tmp/multipartBody134908051976571587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735939028341,"filename":"image_03012025_22_10_02_353195_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/189bd8ab522eb4a9ee5b48d17e9e5ddf.jpg","text":"TemporaryFile(/tmp/multipartBody170271681132481747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735939028341,"filename":"image_03012025_22_11_02_665832_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/cd0a5f0bb8d73e3faf8fe06937c7d75b.jpg","text":"TemporaryFile(/tmp/multipartBody8070237032561025037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735939028341,"filename":"image_03012025_22_11_02_665832_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326054372","file1":"1326054334","file0":"1326054300","file4":"1326054469","file5":"1326054470","file3":"1326054468"},"map_files_photo_id_array":[{"photo_id":"1326054470","filename":"file5"},{"photo_id":"1326054372","filename":"file2"},{"photo_id":"1326054469","filename":"file4"},{"photo_id":"1326054334","filename":"file1"},{"photo_id":"1326054300","filename":"file0"},{"photo_id":"1326054468","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326054334":["hashtag1","hashtag2"]},{"1326054372":["hashtag1","hashtag2"]},{"1326054468":["hashtag1","hashtag2"]},{"1326054300":["hashtag1","hashtag2"]},{"1326054470":["hashtag1","hashtag2"]},{"1326054469":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326054334, 1326054372, 1326054468, 1326054300, 1326054470, 1326054469)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 86.39263033866882 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 22:17:22.659879
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/22/11/image_03012025_22_11_02_665832_0002.jpg', '/home/pi/Desktop/images/03012025/22/11/image_03012025_22_11_02_665832_0003.jpg', '/home/pi/Desktop/images/03012025/22/12/image_03012025_22_12_02_859918_0000.jpg', '/home/pi/Desktop/images/03012025/22/12/image_03012025_22_12_02_859918_0001.jpg', '/home/pi/Desktop/images/03012025/22/12/image_03012025_22_12_02_859918_0002.jpg', '/home/pi/Desktop/images/03012025/22/12/image_03012025_22_12_02_859918_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/22/11/image_03012025_22_11_02_665832_0002.jpg
/home/pi/Desktop/images/03012025/22/11/image_03012025_22_11_02_665832_0003.jpg
/home/pi/Desktop/images/03012025/22/12/image_03012025_22_12_02_859918_0000.jpg
/home/pi/Desktop/images/03012025/22/12/image_03012025_22_12_02_859918_0001.jpg
/home/pi/Desktop/images/03012025/22/12/image_03012025_22_12_02_859918_0002.jpg
/home/pi/Desktop/images/03012025/22/12/image_03012025_22_12_02_859918_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326055344","1326055473","1326055608","1326055212","1326055435","1326055417"],"photo_ids_order":["1326055212","1326055344","1326055417","1326055435","1326055473","1326055608"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/33eafaab85217ab8a9ee6f302e526ee0.jpg","text":"TemporaryFile(/tmp/multipartBody7635152551762304470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735939123554,"filename":"image_03012025_22_11_02_665832_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/448c2a7fe3c9dc0fc6fb04252c03717e.jpg","text":"TemporaryFile(/tmp/multipartBody3330214700874035268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735939123554,"filename":"image_03012025_22_12_02_859918_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0983cc58f926bb7f72cba140583a3ae3.jpg","text":"TemporaryFile(/tmp/multipartBody2036316055010714301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735939123554,"filename":"image_03012025_22_12_02_859918_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c311e1b4ebb224c104887400932375c9.jpg","text":"TemporaryFile(/tmp/multipartBody7390987957559598878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735939123554,"filename":"image_03012025_22_11_02_665832_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b9a270bd692c05a874e2b93e613497a3.jpg","text":"TemporaryFile(/tmp/multipartBody6053672874341870222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735939123554,"filename":"image_03012025_22_12_02_859918_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/137df6766bda1e2ef48a57fe99c58a56.jpg","text":"TemporaryFile(/tmp/multipartBody3750384966146572438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735939123554,"filename":"image_03012025_22_12_02_859918_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326055417","file1":"1326055344","file0":"1326055212","file4":"1326055473","file5":"1326055608","file3":"1326055435"},"map_files_photo_id_array":[{"photo_id":"1326055608","filename":"file5"},{"photo_id":"1326055417","filename":"file2"},{"photo_id":"1326055473","filename":"file4"},{"photo_id":"1326055344","filename":"file1"},{"photo_id":"1326055212","filename":"file0"},{"photo_id":"1326055435","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326055344":["hashtag1","hashtag2"]},{"1326055473":["hashtag1","hashtag2"]},{"1326055608":["hashtag1","hashtag2"]},{"1326055212":["hashtag1","hashtag2"]},{"1326055435":["hashtag1","hashtag2"]},{"1326055417":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326055344, 1326055473, 1326055608, 1326055212, 1326055435, 1326055417)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 85.69671702384949 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-03 22:18:51.774552
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/22/13/image_03012025_22_13_02_988299_0000.jpg', '/home/pi/Desktop/images/03012025/22/13/image_03012025_22_13_02_988299_0001.jpg', '/home/pi/Desktop/images/03012025/22/13/image_03012025_22_13_02_988299_0002.jpg', '/home/pi/Desktop/images/03012025/22/13/image_03012025_22_13_02_988299_0003.jpg', '/home/pi/Desktop/images/03012025/22/14/image_03012025_22_14_02_135665_0000.jpg', '/home/pi/Desktop/images/03012025/22/14/image_03012025_22_14_02_135665_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/22/13/image_03012025_22_13_02_988299_0000.jpg
/home/pi/Desktop/images/03012025/22/13/image_03012025_22_13_02_988299_0001.jpg
/home/pi/Desktop/images/03012025/22/13/image_03012025_22_13_02_988299_0002.jpg
/home/pi/Desktop/images/03012025/22/13/image_03012025_22_13_02_988299_0003.jpg
/home/pi/Desktop/images/03012025/22/14/image_03012025_22_14_02_135665_0000.jpg
/home/pi/Desktop/images/03012025/22/14/image_03012025_22_14_02_135665_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326056795","1326056882","1326056683","1326056677","1326056857","1326056868"],"photo_ids_order":["1326056677","1326056683","1326056795","1326056857","1326056868","1326056882"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/654562a820b86e647e3322ddb584d9ca.jpg","text":"TemporaryFile(/tmp/multipartBody4726249711193543625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735939219966,"filename":"image_03012025_22_13_02_988299_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5879d6fcd29c1f84d97ed80d10da8555.jpg","text":"TemporaryFile(/tmp/multipartBody2406717029430403518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735939219966,"filename":"image_03012025_22_14_02_135665_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1cf7fe05df4392f24aaca122d7e98a61.jpg","text":"TemporaryFile(/tmp/multipartBody5162791844070221040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735939219966,"filename":"image_03012025_22_13_02_988299_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0c6c4419d007f7a853f5799c96872f53.jpg","text":"TemporaryFile(/tmp/multipartBody5342797535516850531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735939219966,"filename":"image_03012025_22_13_02_988299_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b1b9ef351a360f1e66ee56365402f927.jpg","text":"TemporaryFile(/tmp/multipartBody1966045388818757498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735939219966,"filename":"image_03012025_22_13_02_988299_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b47e626d546623d552979f081eb8bcb2.jpg","text":"TemporaryFile(/tmp/multipartBody5363453063095525297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735939219966,"filename":"image_03012025_22_14_02_135665_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326056795","file1":"1326056683","file0":"1326056677","file4":"1326056868","file5":"1326056882","file3":"1326056857"},"map_files_photo_id_array":[{"photo_id":"1326056882","filename":"file5"},{"photo_id":"1326056795","filename":"file2"},{"photo_id":"1326056868","filename":"file4"},{"photo_id":"1326056683","filename":"file1"},{"photo_id":"1326056677","filename":"file0"},{"photo_id":"1326056857","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326056795":["hashtag1","hashtag2"]},{"1326056882":["hashtag1","hashtag2"]},{"1326056683":["hashtag1","hashtag2"]},{"1326056677":["hashtag1","hashtag2"]},{"1326056857":["hashtag1","hashtag2"]},{"1326056868":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326056795, 1326056882, 1326056683, 1326056677, 1326056857, 1326056868)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 106.2988691329956 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-03 22:20:42.193708
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/22/14/image_03012025_22_14_02_135665_0002.jpg', '/home/pi/Desktop/images/03012025/22/14/image_03012025_22_14_02_135665_0003.jpg', '/home/pi/Desktop/images/03012025/22/15/image_03012025_22_15_02_317185_0000.jpg', '/home/pi/Desktop/images/03012025/22/15/image_03012025_22_15_02_317185_0001.jpg', '/home/pi/Desktop/images/03012025/22/15/image_03012025_22_15_02_317185_0002.jpg', '/home/pi/Desktop/images/03012025/22/15/image_03012025_22_15_02_317185_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/22/14/image_03012025_22_14_02_135665_0002.jpg
/home/pi/Desktop/images/03012025/22/14/image_03012025_22_14_02_135665_0003.jpg
/home/pi/Desktop/images/03012025/22/15/image_03012025_22_15_02_317185_0000.jpg
/home/pi/Desktop/images/03012025/22/15/image_03012025_22_15_02_317185_0001.jpg
/home/pi/Desktop/images/03012025/22/15/image_03012025_22_15_02_317185_0002.jpg
/home/pi/Desktop/images/03012025/22/15/image_03012025_22_15_02_317185_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326058165","1326058024","1326058068","1326057840","1326057783","1326057942"],"photo_ids_order":["1326057783","1326057840","1326057942","1326058024","1326058068","1326058165"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/69676fb866317fb6ffbf3c2ab217c961.jpg","text":"TemporaryFile(/tmp/multipartBody1485061537939736593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735939318107,"filename":"image_03012025_22_15_02_317185_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3cefa2c4332f066d5bc580392a1a9311.jpg","text":"TemporaryFile(/tmp/multipartBody8911563454391518593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735939318107,"filename":"image_03012025_22_15_02_317185_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7b4b32ee9c68a7c36411a2e5b766da68.jpg","text":"TemporaryFile(/tmp/multipartBody3248547054773194251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735939318107,"filename":"image_03012025_22_15_02_317185_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d138d0aa81109f3c2541b444514618ea.jpg","text":"TemporaryFile(/tmp/multipartBody2654122550898497586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735939318107,"filename":"image_03012025_22_14_02_135665_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/180a26a17c7aae369399da99ccae083e.jpg","text":"TemporaryFile(/tmp/multipartBody155267110020771542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735939318107,"filename":"image_03012025_22_14_02_135665_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f143f771fc46c87991f0504eb22c527f.jpg","text":"TemporaryFile(/tmp/multipartBody8291792639201321170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735939318107,"filename":"image_03012025_22_15_02_317185_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326057942","file1":"1326057840","file0":"1326057783","file4":"1326058068","file5":"1326058165","file3":"1326058024"},"map_files_photo_id_array":[{"photo_id":"1326058165","filename":"file5"},{"photo_id":"1326057942","filename":"file2"},{"photo_id":"1326058068","filename":"file4"},{"photo_id":"1326057840","filename":"file1"},{"photo_id":"1326057783","filename":"file0"},{"photo_id":"1326058024","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326058165":["hashtag1","hashtag2"]},{"1326058024":["hashtag1","hashtag2"]},{"1326058068":["hashtag1","hashtag2"]},{"1326057840":["hashtag1","hashtag2"]},{"1326057783":["hashtag1","hashtag2"]},{"1326057942":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326058165, 1326058024, 1326058068, 1326057840, 1326057783, 1326057942)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 84.07656574249268 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 22:22:22.561442
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/22/16/image_03012025_22_16_02_532651_0000.jpg', '/home/pi/Desktop/images/03012025/22/16/image_03012025_22_16_02_532651_0001.jpg', '/home/pi/Desktop/images/03012025/22/16/image_03012025_22_16_02_532651_0002.jpg', '/home/pi/Desktop/images/03012025/22/16/image_03012025_22_16_02_532651_0003.jpg', '/home/pi/Desktop/images/03012025/22/17/image_03012025_22_17_02_751138_0000.jpg', '/home/pi/Desktop/images/03012025/22/17/image_03012025_22_17_02_751138_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/22/16/image_03012025_22_16_02_532651_0000.jpg
/home/pi/Desktop/images/03012025/22/16/image_03012025_22_16_02_532651_0001.jpg
/home/pi/Desktop/images/03012025/22/16/image_03012025_22_16_02_532651_0002.jpg
/home/pi/Desktop/images/03012025/22/16/image_03012025_22_16_02_532651_0003.jpg
/home/pi/Desktop/images/03012025/22/17/image_03012025_22_17_02_751138_0000.jpg
/home/pi/Desktop/images/03012025/22/17/image_03012025_22_17_02_751138_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326059201","1326059041","1326059295","1326059688","1326059163","1326059043"],"photo_ids_order":["1326059041","1326059043","1326059163","1326059201","1326059295","1326059688"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/011fcf8551d46ea1bb12e5e0ac33cfa4.jpg","text":"TemporaryFile(/tmp/multipartBody281825652641187310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735939418405,"filename":"image_03012025_22_16_02_532651_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ce4cbb9afaf08f25f48a3efc8828a999.jpg","text":"TemporaryFile(/tmp/multipartBody8461796058839039936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735939418405,"filename":"image_03012025_22_16_02_532651_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7c22c823bb434c8e6e16a98195e45528.jpg","text":"TemporaryFile(/tmp/multipartBody6490197039093993287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735939418405,"filename":"image_03012025_22_17_02_751138_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/71d5cf019f696dde87107ab5e9491302.jpg","text":"TemporaryFile(/tmp/multipartBody5436016192011585978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735939418405,"filename":"image_03012025_22_17_02_751138_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9cb122193ae452bfc6b16ca5ff19e8ce.jpg","text":"TemporaryFile(/tmp/multipartBody4689956126790770970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735939418405,"filename":"image_03012025_22_16_02_532651_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/df38a9c15430c1fdc28d411ef932a209.jpg","text":"TemporaryFile(/tmp/multipartBody406096543694990379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735939418405,"filename":"image_03012025_22_16_02_532651_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326059163","file1":"1326059043","file0":"1326059041","file4":"1326059295","file5":"1326059688","file3":"1326059201"},"map_files_photo_id_array":[{"photo_id":"1326059688","filename":"file5"},{"photo_id":"1326059163","filename":"file2"},{"photo_id":"1326059295","filename":"file4"},{"photo_id":"1326059043","filename":"file1"},{"photo_id":"1326059041","filename":"file0"},{"photo_id":"1326059201","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326059201":["hashtag1","hashtag2"]},{"1326059041":["hashtag1","hashtag2"]},{"1326059295":["hashtag1","hashtag2"]},{"1326059688":["hashtag1","hashtag2"]},{"1326059163":["hashtag1","hashtag2"]},{"1326059043":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326059201, 1326059041, 1326059295, 1326059688, 1326059163, 1326059043)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 80.63891959190369 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-03 22:23:52.708370
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/22/17/image_03012025_22_17_02_751138_0002.jpg', '/home/pi/Desktop/images/03012025/22/17/image_03012025_22_17_02_751138_0003.jpg', '/home/pi/Desktop/images/03012025/22/18/image_03012025_22_18_02_990088_0000.jpg', '/home/pi/Desktop/images/03012025/22/18/image_03012025_22_18_02_990088_0001.jpg', '/home/pi/Desktop/images/03012025/22/18/image_03012025_22_18_02_990088_0002.jpg', '/home/pi/Desktop/images/03012025/22/18/image_03012025_22_18_02_990088_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/22/17/image_03012025_22_17_02_751138_0002.jpg
/home/pi/Desktop/images/03012025/22/17/image_03012025_22_17_02_751138_0003.jpg
/home/pi/Desktop/images/03012025/22/18/image_03012025_22_18_02_990088_0000.jpg
/home/pi/Desktop/images/03012025/22/18/image_03012025_22_18_02_990088_0001.jpg
/home/pi/Desktop/images/03012025/22/18/image_03012025_22_18_02_990088_0002.jpg
/home/pi/Desktop/images/03012025/22/18/image_03012025_22_18_02_990088_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326059854","1326060313","1326059850","1326059844","1326059969","1326059846"],"photo_ids_order":["1326059844","1326059846","1326059850","1326059854","1326059969","1326060313"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9d890fa532838e8f58060ae8f6fa0275.jpg","text":"TemporaryFile(/tmp/multipartBody3204017726251359822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735939509118,"filename":"image_03012025_22_18_02_990088_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8685cffed5797fe7d664b9270e16c989.jpg","text":"TemporaryFile(/tmp/multipartBody6414740177773448938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735939509118,"filename":"image_03012025_22_18_02_990088_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9005d5a42e150faa0b609d3261ca3dd4.jpg","text":"TemporaryFile(/tmp/multipartBody5490488413557642634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735939509118,"filename":"image_03012025_22_18_02_990088_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/66e9095358f363de6c7fb1808c1ce34d.jpg","text":"TemporaryFile(/tmp/multipartBody3908761610207324912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735939509118,"filename":"image_03012025_22_17_02_751138_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9496e73eed2aa55ded407d2a19c08f18.jpg","text":"TemporaryFile(/tmp/multipartBody1659473386745217541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735939509118,"filename":"image_03012025_22_18_02_990088_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/81276e7ef63910341cacb590c9c1f900.jpg","text":"TemporaryFile(/tmp/multipartBody2840695197159336992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735939509118,"filename":"image_03012025_22_17_02_751138_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326059850","file1":"1326059846","file0":"1326059844","file4":"1326059969","file5":"1326060313","file3":"1326059854"},"map_files_photo_id_array":[{"photo_id":"1326060313","filename":"file5"},{"photo_id":"1326059850","filename":"file2"},{"photo_id":"1326059969","filename":"file4"},{"photo_id":"1326059846","filename":"file1"},{"photo_id":"1326059844","filename":"file0"},{"photo_id":"1326059854","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326059854":["hashtag1","hashtag2"]},{"1326060313":["hashtag1","hashtag2"]},{"1326059850":["hashtag1","hashtag2"]},{"1326059844":["hashtag1","hashtag2"]},{"1326059969":["hashtag1","hashtag2"]},{"1326059846":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326059854, 1326060313, 1326059850, 1326059844, 1326059969, 1326059846)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 77.36095428466797 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 22:25:22.022540
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/22/19/image_03012025_22_19_02_186818_0000.jpg', '/home/pi/Desktop/images/03012025/22/19/image_03012025_22_19_02_186818_0001.jpg', '/home/pi/Desktop/images/03012025/22/19/image_03012025_22_19_02_186818_0002.jpg', '/home/pi/Desktop/images/03012025/22/19/image_03012025_22_19_02_186818_0003.jpg', '/home/pi/Desktop/images/03012025/22/20/image_03012025_22_20_02_306046_0000.jpg', '/home/pi/Desktop/images/03012025/22/20/image_03012025_22_20_02_306046_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/22/19/image_03012025_22_19_02_186818_0000.jpg
/home/pi/Desktop/images/03012025/22/19/image_03012025_22_19_02_186818_0001.jpg
/home/pi/Desktop/images/03012025/22/19/image_03012025_22_19_02_186818_0002.jpg
/home/pi/Desktop/images/03012025/22/19/image_03012025_22_19_02_186818_0003.jpg
/home/pi/Desktop/images/03012025/22/20/image_03012025_22_20_02_306046_0000.jpg
/home/pi/Desktop/images/03012025/22/20/image_03012025_22_20_02_306046_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326061147","1326061251","1326060993","1326061215","1326061017","1326061142"],"photo_ids_order":["1326060993","1326061017","1326061142","1326061147","1326061215","1326061251"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/49033ac02c29daae9fc97d02696c156f.jpg","text":"TemporaryFile(/tmp/multipartBody5553126164058659066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735939598200,"filename":"image_03012025_22_19_02_186818_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d6609428a74db072f12907fa56123573.jpg","text":"TemporaryFile(/tmp/multipartBody8121132103608047393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735939598200,"filename":"image_03012025_22_20_02_306046_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7e9b2c0e4ffbb4ada8b8bb178174aed4.jpg","text":"TemporaryFile(/tmp/multipartBody2113226880434532958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735939598200,"filename":"image_03012025_22_19_02_186818_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2128f4741d3f10863b74ffb3e6f1a54e.jpg","text":"TemporaryFile(/tmp/multipartBody5419511996119999788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735939598200,"filename":"image_03012025_22_20_02_306046_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2a731572f08f1200d2f81e8c28d54abf.jpg","text":"TemporaryFile(/tmp/multipartBody8348575122358494773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735939598200,"filename":"image_03012025_22_19_02_186818_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7a3e8aa023bf7e82957a49bc84c0fad6.jpg","text":"TemporaryFile(/tmp/multipartBody3204547546340215640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735939598200,"filename":"image_03012025_22_19_02_186818_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326061142","file1":"1326061017","file0":"1326060993","file4":"1326061215","file5":"1326061251","file3":"1326061147"},"map_files_photo_id_array":[{"photo_id":"1326061251","filename":"file5"},{"photo_id":"1326061142","filename":"file2"},{"photo_id":"1326061215","filename":"file4"},{"photo_id":"1326061017","filename":"file1"},{"photo_id":"1326060993","filename":"file0"},{"photo_id":"1326061147","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326061147":["hashtag1","hashtag2"]},{"1326061251":["hashtag1","hashtag2"]},{"1326060993":["hashtag1","hashtag2"]},{"1326061215":["hashtag1","hashtag2"]},{"1326061017":["hashtag1","hashtag2"]},{"1326061142":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326061147, 1326061251, 1326060993, 1326061215, 1326061017, 1326061142)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 88.6383228302002 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-03 22:26:52.248678
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/22/20/image_03012025_22_20_02_306046_0002.jpg', '/home/pi/Desktop/images/03012025/22/20/image_03012025_22_20_02_306046_0003.jpg', '/home/pi/Desktop/images/03012025/22/21/image_03012025_22_21_02_494017_0000.jpg', '/home/pi/Desktop/images/03012025/22/21/image_03012025_22_21_02_494017_0001.jpg', '/home/pi/Desktop/images/03012025/22/21/image_03012025_22_21_02_494017_0002.jpg', '/home/pi/Desktop/images/03012025/22/21/image_03012025_22_21_02_494017_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/22/20/image_03012025_22_20_02_306046_0002.jpg
/home/pi/Desktop/images/03012025/22/20/image_03012025_22_20_02_306046_0003.jpg
/home/pi/Desktop/images/03012025/22/21/image_03012025_22_21_02_494017_0000.jpg
/home/pi/Desktop/images/03012025/22/21/image_03012025_22_21_02_494017_0001.jpg
/home/pi/Desktop/images/03012025/22/21/image_03012025_22_21_02_494017_0002.jpg
/home/pi/Desktop/images/03012025/22/21/image_03012025_22_21_02_494017_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326062778","1326062487","1326062145","1326062013","1326062771","1326062633"],"photo_ids_order":["1326062013","1326062145","1326062487","1326062633","1326062771","1326062778"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/dd4cbec0adc9a2847525d749b131e773.jpg","text":"TemporaryFile(/tmp/multipartBody2317931330756816470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735939690122,"filename":"image_03012025_22_21_02_494017_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/33f8570763b7c4818a8080f0fbaf1023.jpg","text":"TemporaryFile(/tmp/multipartBody1453775673063267010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735939690122,"filename":"image_03012025_22_21_02_494017_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e36036f9aa090d35bdfbb7bbfc99c1e0.jpg","text":"TemporaryFile(/tmp/multipartBody2510515232777195309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735939690122,"filename":"image_03012025_22_20_02_306046_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/cc984c54c9f4cce9493e322efc8d030a.jpg","text":"TemporaryFile(/tmp/multipartBody865992394952236313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735939690122,"filename":"image_03012025_22_20_02_306046_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9fb2bd4c27d127955107feeba77a3ba1.jpg","text":"TemporaryFile(/tmp/multipartBody5304131818346564490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735939690122,"filename":"image_03012025_22_21_02_494017_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4d54d55d59277df7b2c6b14784eaf7c3.jpg","text":"TemporaryFile(/tmp/multipartBody4243192392106832779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735939690122,"filename":"image_03012025_22_21_02_494017_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326062487","file1":"1326062145","file0":"1326062013","file4":"1326062771","file5":"1326062778","file3":"1326062633"},"map_files_photo_id_array":[{"photo_id":"1326062778","filename":"file5"},{"photo_id":"1326062487","filename":"file2"},{"photo_id":"1326062771","filename":"file4"},{"photo_id":"1326062145","filename":"file1"},{"photo_id":"1326062013","filename":"file0"},{"photo_id":"1326062633","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326062778":["hashtag1","hashtag2"]},{"1326062487":["hashtag1","hashtag2"]},{"1326062145":["hashtag1","hashtag2"]},{"1326062013":["hashtag1","hashtag2"]},{"1326062771":["hashtag1","hashtag2"]},{"1326062633":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326062778, 1326062487, 1326062145, 1326062013, 1326062771, 1326062633)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 79.34657144546509 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 22:28:22.702496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/22/22/image_03012025_22_22_02_735394_0000.jpg', '/home/pi/Desktop/images/03012025/22/22/image_03012025_22_22_02_735394_0001.jpg', '/home/pi/Desktop/images/03012025/22/22/image_03012025_22_22_02_735394_0002.jpg', '/home/pi/Desktop/images/03012025/22/22/image_03012025_22_22_02_735394_0003.jpg', '/home/pi/Desktop/images/03012025/22/23/image_03012025_22_23_02_939644_0000.jpg', '/home/pi/Desktop/images/03012025/22/23/image_03012025_22_23_02_939644_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/22/22/image_03012025_22_22_02_735394_0000.jpg
/home/pi/Desktop/images/03012025/22/22/image_03012025_22_22_02_735394_0001.jpg
/home/pi/Desktop/images/03012025/22/22/image_03012025_22_22_02_735394_0002.jpg
/home/pi/Desktop/images/03012025/22/22/image_03012025_22_22_02_735394_0003.jpg
/home/pi/Desktop/images/03012025/22/23/image_03012025_22_23_02_939644_0000.jpg
/home/pi/Desktop/images/03012025/22/23/image_03012025_22_23_02_939644_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326063246","1326063915","1326063874","1326063919","1326064062","1326063087"],"photo_ids_order":["1326063087","1326063246","1326063874","1326063915","1326063919","1326064062"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e5dfc9dbbeb5c6490d85d38a07de4fcb.jpg","text":"TemporaryFile(/tmp/multipartBody5001505840954834176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735939778239,"filename":"image_03012025_22_22_02_735394_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/78503f5ed27f04d20f54438c5b4a3e5e.jpg","text":"TemporaryFile(/tmp/multipartBody3303597973859591536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735939778239,"filename":"image_03012025_22_22_02_735394_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/87e22210c916cdfcbe1fae02f0d96a99.jpg","text":"TemporaryFile(/tmp/multipartBody6660377451617462346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735939778239,"filename":"image_03012025_22_22_02_735394_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a83d344d95a01ee08e154fe0ec36596b.jpg","text":"TemporaryFile(/tmp/multipartBody2207567026358124458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735939778239,"filename":"image_03012025_22_23_02_939644_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f63b442687a9ee218cef48e887e3698e.jpg","text":"TemporaryFile(/tmp/multipartBody1096196375861559491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735939778239,"filename":"image_03012025_22_23_02_939644_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/390b29f66b940868dcd224e1023819ab.jpg","text":"TemporaryFile(/tmp/multipartBody5964577843070910993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735939778239,"filename":"image_03012025_22_22_02_735394_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326063874","file1":"1326063246","file0":"1326063087","file4":"1326063919","file5":"1326064062","file3":"1326063915"},"map_files_photo_id_array":[{"photo_id":"1326064062","filename":"file5"},{"photo_id":"1326063874","filename":"file2"},{"photo_id":"1326063919","filename":"file4"},{"photo_id":"1326063246","filename":"file1"},{"photo_id":"1326063087","filename":"file0"},{"photo_id":"1326063915","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326063246":["hashtag1","hashtag2"]},{"1326063915":["hashtag1","hashtag2"]},{"1326063874":["hashtag1","hashtag2"]},{"1326063919":["hashtag1","hashtag2"]},{"1326064062":["hashtag1","hashtag2"]},{"1326063087":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326063246, 1326063915, 1326063874, 1326063919, 1326064062, 1326063087)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 83.3105366230011 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-03 22:29:51.798320
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/22/23/image_03012025_22_23_02_939644_0002.jpg', '/home/pi/Desktop/images/03012025/22/23/image_03012025_22_23_02_939644_0003.jpg', '/home/pi/Desktop/images/03012025/22/24/image_03012025_22_24_03_105316_0000.jpg', '/home/pi/Desktop/images/03012025/22/24/image_03012025_22_24_03_105316_0001.jpg', '/home/pi/Desktop/images/03012025/22/24/image_03012025_22_24_03_105316_0002.jpg', '/home/pi/Desktop/images/03012025/22/24/image_03012025_22_24_03_105316_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/22/23/image_03012025_22_23_02_939644_0002.jpg
/home/pi/Desktop/images/03012025/22/23/image_03012025_22_23_02_939644_0003.jpg
/home/pi/Desktop/images/03012025/22/24/image_03012025_22_24_03_105316_0000.jpg
/home/pi/Desktop/images/03012025/22/24/image_03012025_22_24_03_105316_0001.jpg
/home/pi/Desktop/images/03012025/22/24/image_03012025_22_24_03_105316_0002.jpg
/home/pi/Desktop/images/03012025/22/24/image_03012025_22_24_03_105316_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326064694","1326064717","1326064705","1326064584","1326064702","1326064524"],"photo_ids_order":["1326064524","1326064584","1326064694","1326064702","1326064705","1326064717"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4e1ed65256bca8fae9d6dbc3646db784.jpg","text":"TemporaryFile(/tmp/multipartBody5014331993505529971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735939868516,"filename":"image_03012025_22_24_03_105316_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/35400e48d53a5ffd6354d48b919e7f17.jpg","text":"TemporaryFile(/tmp/multipartBody4350162570190702967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735939868516,"filename":"image_03012025_22_24_03_105316_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e9097bcfa1009e12b593a547a4acf40b.jpg","text":"TemporaryFile(/tmp/multipartBody698452125129953092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735939868516,"filename":"image_03012025_22_24_03_105316_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6caf9f1c8530d809acd6f32703542499.jpg","text":"TemporaryFile(/tmp/multipartBody2931832189001948172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735939868516,"filename":"image_03012025_22_23_02_939644_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/440231295782a80fdaedf3758ac36f3e.jpg","text":"TemporaryFile(/tmp/multipartBody5022761157194580019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735939868516,"filename":"image_03012025_22_24_03_105316_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/dd4e84cf6749abe16acdede5d7d4bac2.jpg","text":"TemporaryFile(/tmp/multipartBody2170222144948278853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735939868516,"filename":"image_03012025_22_23_02_939644_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326064694","file1":"1326064584","file0":"1326064524","file4":"1326064705","file5":"1326064717","file3":"1326064702"},"map_files_photo_id_array":[{"photo_id":"1326064717","filename":"file5"},{"photo_id":"1326064694","filename":"file2"},{"photo_id":"1326064705","filename":"file4"},{"photo_id":"1326064584","filename":"file1"},{"photo_id":"1326064524","filename":"file0"},{"photo_id":"1326064702","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326064694":["hashtag1","hashtag2"]},{"1326064717":["hashtag1","hashtag2"]},{"1326064705":["hashtag1","hashtag2"]},{"1326064584":["hashtag1","hashtag2"]},{"1326064702":["hashtag1","hashtag2"]},{"1326064524":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326064694, 1326064717, 1326064705, 1326064584, 1326064702, 1326064524)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 78.47198390960693 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 22:31:22.214394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/22/25/image_03012025_22_25_02_244777_0000.jpg', '/home/pi/Desktop/images/03012025/22/25/image_03012025_22_25_02_244777_0001.jpg', '/home/pi/Desktop/images/03012025/22/25/image_03012025_22_25_02_244777_0002.jpg', '/home/pi/Desktop/images/03012025/22/25/image_03012025_22_25_02_244777_0003.jpg', '/home/pi/Desktop/images/03012025/22/26/image_03012025_22_26_02_458905_0000.jpg', '/home/pi/Desktop/images/03012025/22/26/image_03012025_22_26_02_458905_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/22/25/image_03012025_22_25_02_244777_0000.jpg
/home/pi/Desktop/images/03012025/22/25/image_03012025_22_25_02_244777_0001.jpg
/home/pi/Desktop/images/03012025/22/25/image_03012025_22_25_02_244777_0002.jpg
/home/pi/Desktop/images/03012025/22/25/image_03012025_22_25_02_244777_0003.jpg
/home/pi/Desktop/images/03012025/22/26/image_03012025_22_26_02_458905_0000.jpg
/home/pi/Desktop/images/03012025/22/26/image_03012025_22_26_02_458905_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326065686","1326065548","1326065620","1326065859","1326065616","1326065619"],"photo_ids_order":["1326065548","1326065616","1326065619","1326065620","1326065686","1326065859"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8e963b0e4b97a00fa2d0f2c7ce0b1fd4.jpg","text":"TemporaryFile(/tmp/multipartBody3321504539336731640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735939957899,"filename":"image_03012025_22_26_02_458905_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b04ffba167e28080ff11a51ff252824c.jpg","text":"TemporaryFile(/tmp/multipartBody6327918467851230832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735939957899,"filename":"image_03012025_22_25_02_244777_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/497255f4ab19088b9e5b694c59919385.jpg","text":"TemporaryFile(/tmp/multipartBody3928146479974892044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735939957899,"filename":"image_03012025_22_25_02_244777_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/23a0d276ab318d3e2dfc6da746c7b860.jpg","text":"TemporaryFile(/tmp/multipartBody3296711738446937193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735939957899,"filename":"image_03012025_22_26_02_458905_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c3764fc7e5f460855ca1a4da96c9a6f4.jpg","text":"TemporaryFile(/tmp/multipartBody2528779075318945327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735939957899,"filename":"image_03012025_22_25_02_244777_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/bb0c323285d7f96cb883c5b04241088a.jpg","text":"TemporaryFile(/tmp/multipartBody7303078781324041064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735939957899,"filename":"image_03012025_22_25_02_244777_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326065619","file1":"1326065616","file0":"1326065548","file4":"1326065686","file5":"1326065859","file3":"1326065620"},"map_files_photo_id_array":[{"photo_id":"1326065859","filename":"file5"},{"photo_id":"1326065619","filename":"file2"},{"photo_id":"1326065686","filename":"file4"},{"photo_id":"1326065616","filename":"file1"},{"photo_id":"1326065548","filename":"file0"},{"photo_id":"1326065620","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326065686":["hashtag1","hashtag2"]},{"1326065548":["hashtag1","hashtag2"]},{"1326065620":["hashtag1","hashtag2"]},{"1326065859":["hashtag1","hashtag2"]},{"1326065616":["hashtag1","hashtag2"]},{"1326065619":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326065686, 1326065548, 1326065620, 1326065859, 1326065616, 1326065619)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 73.44106650352478 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-03 22:32:42.375499
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/22/26/image_03012025_22_26_02_458905_0002.jpg', '/home/pi/Desktop/images/03012025/22/26/image_03012025_22_26_02_458905_0003.jpg', '/home/pi/Desktop/images/03012025/22/27/image_03012025_22_27_02_607249_0000.jpg', '/home/pi/Desktop/images/03012025/22/27/image_03012025_22_27_02_607249_0001.jpg', '/home/pi/Desktop/images/03012025/22/27/image_03012025_22_27_02_607249_0002.jpg', '/home/pi/Desktop/images/03012025/22/27/image_03012025_22_27_02_607249_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/22/26/image_03012025_22_26_02_458905_0002.jpg
/home/pi/Desktop/images/03012025/22/26/image_03012025_22_26_02_458905_0003.jpg
/home/pi/Desktop/images/03012025/22/27/image_03012025_22_27_02_607249_0000.jpg
/home/pi/Desktop/images/03012025/22/27/image_03012025_22_27_02_607249_0001.jpg
/home/pi/Desktop/images/03012025/22/27/image_03012025_22_27_02_607249_0002.jpg
/home/pi/Desktop/images/03012025/22/27/image_03012025_22_27_02_607249_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326066658","1326066634","1326066660","1326066552","1326066566","1326066653"],"photo_ids_order":["1326066552","1326066566","1326066634","1326066653","1326066658","1326066660"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f21270d6534ebc910eba62b8de190eb1.jpg","text":"TemporaryFile(/tmp/multipartBody1101419249358899961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735940038938,"filename":"image_03012025_22_27_02_607249_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/72770d40d37037a81e9b4fa972e6227a.jpg","text":"TemporaryFile(/tmp/multipartBody7104346614929150919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735940038938,"filename":"image_03012025_22_27_02_607249_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/eaf74e32f68dfbd421f3cddd2fced29a.jpg","text":"TemporaryFile(/tmp/multipartBody4575711565855580050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735940038938,"filename":"image_03012025_22_27_02_607249_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/78f930e6de406691e207c2288c7fc9f1.jpg","text":"TemporaryFile(/tmp/multipartBody857248285462652287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735940038938,"filename":"image_03012025_22_26_02_458905_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/852209f574aaf92e2e82819c282bd9e6.jpg","text":"TemporaryFile(/tmp/multipartBody1059148175768218134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735940038938,"filename":"image_03012025_22_26_02_458905_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f4f8922a2a48e291065d63c2583dad68.jpg","text":"TemporaryFile(/tmp/multipartBody4127235804862604321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735940038938,"filename":"image_03012025_22_27_02_607249_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326066634","file1":"1326066566","file0":"1326066552","file4":"1326066658","file5":"1326066660","file3":"1326066653"},"map_files_photo_id_array":[{"photo_id":"1326066660","filename":"file5"},{"photo_id":"1326066634","filename":"file2"},{"photo_id":"1326066658","filename":"file4"},{"photo_id":"1326066566","filename":"file1"},{"photo_id":"1326066552","filename":"file0"},{"photo_id":"1326066653","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326066658":["hashtag1","hashtag2"]},{"1326066634":["hashtag1","hashtag2"]},{"1326066660":["hashtag1","hashtag2"]},{"1326066552":["hashtag1","hashtag2"]},{"1326066566":["hashtag1","hashtag2"]},{"1326066653":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326066658, 1326066634, 1326066660, 1326066552, 1326066566, 1326066653)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 84.25288105010986 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 22:34:22.863017
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/22/28/image_03012025_22_28_02_790061_0000.jpg', '/home/pi/Desktop/images/03012025/22/28/image_03012025_22_28_02_790061_0001.jpg', '/home/pi/Desktop/images/03012025/22/28/image_03012025_22_28_02_790061_0002.jpg', '/home/pi/Desktop/images/03012025/22/28/image_03012025_22_28_02_790061_0003.jpg', '/home/pi/Desktop/images/03012025/22/29/image_03012025_22_29_03_002605_0000.jpg', '/home/pi/Desktop/images/03012025/22/29/image_03012025_22_29_03_002605_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/22/28/image_03012025_22_28_02_790061_0000.jpg
/home/pi/Desktop/images/03012025/22/28/image_03012025_22_28_02_790061_0001.jpg
/home/pi/Desktop/images/03012025/22/28/image_03012025_22_28_02_790061_0002.jpg
/home/pi/Desktop/images/03012025/22/28/image_03012025_22_28_02_790061_0003.jpg
/home/pi/Desktop/images/03012025/22/29/image_03012025_22_29_03_002605_0000.jpg
/home/pi/Desktop/images/03012025/22/29/image_03012025_22_29_03_002605_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326068038","1326067969","1326067837","1326067686","1326068049","1326068242"],"photo_ids_order":["1326067686","1326067837","1326067969","1326068038","1326068049","1326068242"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a0a5826394bc166b2d9b490a7087d3a2.jpg","text":"TemporaryFile(/tmp/multipartBody2428621815223777224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735940140646,"filename":"image_03012025_22_28_02_790061_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/537e8b1a3689507d7a51143de859935e.jpg","text":"TemporaryFile(/tmp/multipartBody7308089652901540357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735940140646,"filename":"image_03012025_22_28_02_790061_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/85a6fd9b92a3f46c427a4762f56e5e72.jpg","text":"TemporaryFile(/tmp/multipartBody1084004880870809641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735940140646,"filename":"image_03012025_22_28_02_790061_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4ca9b97e3731023b1201de8179954652.jpg","text":"TemporaryFile(/tmp/multipartBody8305100877530584858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735940140646,"filename":"image_03012025_22_28_02_790061_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3d951aeab8af9455de92c0e720ce6af4.jpg","text":"TemporaryFile(/tmp/multipartBody3283147253980973557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735940140646,"filename":"image_03012025_22_29_03_002605_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/19e3e8380ee930a5f7f51455fa9a4903.jpg","text":"TemporaryFile(/tmp/multipartBody8778174663369207022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735940140646,"filename":"image_03012025_22_29_03_002605_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326067969","file1":"1326067837","file0":"1326067686","file4":"1326068049","file5":"1326068242","file3":"1326068038"},"map_files_photo_id_array":[{"photo_id":"1326068242","filename":"file5"},{"photo_id":"1326067969","filename":"file2"},{"photo_id":"1326068049","filename":"file4"},{"photo_id":"1326067837","filename":"file1"},{"photo_id":"1326067686","filename":"file0"},{"photo_id":"1326068038","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326068038":["hashtag1","hashtag2"]},{"1326067969":["hashtag1","hashtag2"]},{"1326067837":["hashtag1","hashtag2"]},{"1326067686":["hashtag1","hashtag2"]},{"1326068049":["hashtag1","hashtag2"]},{"1326068242":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326068038, 1326067969, 1326067837, 1326067686, 1326068049, 1326068242)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 86.04389262199402 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-03 22:35:51.835800
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/22/29/image_03012025_22_29_03_002605_0002.jpg', '/home/pi/Desktop/images/03012025/22/29/image_03012025_22_29_03_002605_0003.jpg', '/home/pi/Desktop/images/03012025/22/30/image_03012025_22_30_02_149987_0000.jpg', '/home/pi/Desktop/images/03012025/22/30/image_03012025_22_30_02_149987_0001.jpg', '/home/pi/Desktop/images/03012025/22/30/image_03012025_22_30_02_149987_0002.jpg', '/home/pi/Desktop/images/03012025/22/30/image_03012025_22_30_02_149987_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/22/29/image_03012025_22_29_03_002605_0002.jpg
/home/pi/Desktop/images/03012025/22/29/image_03012025_22_29_03_002605_0003.jpg
/home/pi/Desktop/images/03012025/22/30/image_03012025_22_30_02_149987_0000.jpg
/home/pi/Desktop/images/03012025/22/30/image_03012025_22_30_02_149987_0001.jpg
/home/pi/Desktop/images/03012025/22/30/image_03012025_22_30_02_149987_0002.jpg
/home/pi/Desktop/images/03012025/22/30/image_03012025_22_30_02_149987_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326068664","1326068493","1326068487","1326068724","1326068699","1326068489"],"photo_ids_order":["1326068487","1326068489","1326068493","1326068664","1326068699","1326068724"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3ea000be5231d023023d1fda852d291f.jpg","text":"TemporaryFile(/tmp/multipartBody8560020808428029706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735940227999,"filename":"image_03012025_22_30_02_149987_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f6ff9e3b4a037019f9db4837d71bc3fe.jpg","text":"TemporaryFile(/tmp/multipartBody6188020951589188738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735940227999,"filename":"image_03012025_22_30_02_149987_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b0a9abebadd0af6fec6854361eaa4786.jpg","text":"TemporaryFile(/tmp/multipartBody1880033570046836855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735940227999,"filename":"image_03012025_22_29_03_002605_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9248394c1a94c779e066b2fcdafaa325.jpg","text":"TemporaryFile(/tmp/multipartBody7866317686051818236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735940227999,"filename":"image_03012025_22_30_02_149987_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6f48895589a09d7a2a268aa622158f48.jpg","text":"TemporaryFile(/tmp/multipartBody9024568766411724626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735940227999,"filename":"image_03012025_22_30_02_149987_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/92ffd0a11e23fa790a85b77ab313e651.jpg","text":"TemporaryFile(/tmp/multipartBody295430056482713150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735940227999,"filename":"image_03012025_22_29_03_002605_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326068493","file1":"1326068489","file0":"1326068487","file4":"1326068699","file5":"1326068724","file3":"1326068664"},"map_files_photo_id_array":[{"photo_id":"1326068724","filename":"file5"},{"photo_id":"1326068493","filename":"file2"},{"photo_id":"1326068699","filename":"file4"},{"photo_id":"1326068489","filename":"file1"},{"photo_id":"1326068487","filename":"file0"},{"photo_id":"1326068664","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326068664":["hashtag1","hashtag2"]},{"1326068493":["hashtag1","hashtag2"]},{"1326068487":["hashtag1","hashtag2"]},{"1326068724":["hashtag1","hashtag2"]},{"1326068699":["hashtag1","hashtag2"]},{"1326068489":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326068664, 1326068493, 1326068487, 1326068724, 1326068699, 1326068489)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 75.22007846832275 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 22:37:22.325340
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/22/31/image_03012025_22_31_02_390142_0000.jpg', '/home/pi/Desktop/images/03012025/22/31/image_03012025_22_31_02_390142_0001.jpg', '/home/pi/Desktop/images/03012025/22/31/image_03012025_22_31_02_390142_0002.jpg', '/home/pi/Desktop/images/03012025/22/31/image_03012025_22_31_02_390142_0003.jpg', '/home/pi/Desktop/images/03012025/22/32/image_03012025_22_32_02_585225_0000.jpg', '/home/pi/Desktop/images/03012025/22/32/image_03012025_22_32_02_585225_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/22/31/image_03012025_22_31_02_390142_0000.jpg
/home/pi/Desktop/images/03012025/22/31/image_03012025_22_31_02_390142_0001.jpg
/home/pi/Desktop/images/03012025/22/31/image_03012025_22_31_02_390142_0002.jpg
/home/pi/Desktop/images/03012025/22/31/image_03012025_22_31_02_390142_0003.jpg
/home/pi/Desktop/images/03012025/22/32/image_03012025_22_32_02_585225_0000.jpg
/home/pi/Desktop/images/03012025/22/32/image_03012025_22_32_02_585225_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326069441","1326069470","1326069293","1326069365","1326069364","1326069297"],"photo_ids_order":["1326069293","1326069297","1326069364","1326069365","1326069441","1326069470"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9656f84683b7d02589dea9b159dff9ef.jpg","text":"TemporaryFile(/tmp/multipartBody1932509812672128884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735940318059,"filename":"image_03012025_22_32_02_585225_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/482b68c7325071d47ad03df57f4a3846.jpg","text":"TemporaryFile(/tmp/multipartBody8295487853396892299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735940318059,"filename":"image_03012025_22_32_02_585225_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/928e7629d79b48196ba5aee2f639c3df.jpg","text":"TemporaryFile(/tmp/multipartBody1866280628104047030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735940318059,"filename":"image_03012025_22_31_02_390142_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3bf69254b9be7dc820a9623881365a5f.jpg","text":"TemporaryFile(/tmp/multipartBody7910601980227244383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735940318059,"filename":"image_03012025_22_31_02_390142_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e5afe0a53688122cf42f0892288d91c7.jpg","text":"TemporaryFile(/tmp/multipartBody4516571247726070160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735940318059,"filename":"image_03012025_22_31_02_390142_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/04858749c01385f147c2588082a8c5d5.jpg","text":"TemporaryFile(/tmp/multipartBody1824293995821335174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735940318059,"filename":"image_03012025_22_31_02_390142_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326069364","file1":"1326069297","file0":"1326069293","file4":"1326069441","file5":"1326069470","file3":"1326069365"},"map_files_photo_id_array":[{"photo_id":"1326069470","filename":"file5"},{"photo_id":"1326069364","filename":"file2"},{"photo_id":"1326069441","filename":"file4"},{"photo_id":"1326069297","filename":"file1"},{"photo_id":"1326069293","filename":"file0"},{"photo_id":"1326069365","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326069441":["hashtag1","hashtag2"]},{"1326069470":["hashtag1","hashtag2"]},{"1326069293":["hashtag1","hashtag2"]},{"1326069365":["hashtag1","hashtag2"]},{"1326069364":["hashtag1","hashtag2"]},{"1326069297":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326069441, 1326069470, 1326069293, 1326069365, 1326069364, 1326069297)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 69.67201709747314 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-03 22:38:42.476494
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/22/32/image_03012025_22_32_02_585225_0002.jpg', '/home/pi/Desktop/images/03012025/22/32/image_03012025_22_32_02_585225_0003.jpg', '/home/pi/Desktop/images/03012025/22/33/image_03012025_22_33_02_724477_0000.jpg', '/home/pi/Desktop/images/03012025/22/33/image_03012025_22_33_02_724477_0001.jpg', '/home/pi/Desktop/images/03012025/22/33/image_03012025_22_33_02_724477_0002.jpg', '/home/pi/Desktop/images/03012025/22/33/image_03012025_22_33_02_724477_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/22/32/image_03012025_22_32_02_585225_0002.jpg
/home/pi/Desktop/images/03012025/22/32/image_03012025_22_32_02_585225_0003.jpg
/home/pi/Desktop/images/03012025/22/33/image_03012025_22_33_02_724477_0000.jpg
/home/pi/Desktop/images/03012025/22/33/image_03012025_22_33_02_724477_0001.jpg
/home/pi/Desktop/images/03012025/22/33/image_03012025_22_33_02_724477_0002.jpg
/home/pi/Desktop/images/03012025/22/33/image_03012025_22_33_02_724477_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326069695","1326069692","1326069704","1326069688","1326069685","1326069699"],"photo_ids_order":["1326069685","1326069688","1326069692","1326069695","1326069699","1326069704"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/55633137ff8460b4860cf0ec8ba91ded.jpg","text":"TemporaryFile(/tmp/multipartBody9095492880105145618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735940398198,"filename":"image_03012025_22_33_02_724477_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/897fbc12366a418c6da6cec4dd50a124.jpg","text":"TemporaryFile(/tmp/multipartBody1093570739758732210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735940398198,"filename":"image_03012025_22_33_02_724477_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9669938ffd9922aa1f3e4d96fc8f39b5.jpg","text":"TemporaryFile(/tmp/multipartBody4744330454059538730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735940398198,"filename":"image_03012025_22_33_02_724477_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/acfcc3f171b6b9741e0fb59f17100164.jpg","text":"TemporaryFile(/tmp/multipartBody5882572988422752113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735940398198,"filename":"image_03012025_22_32_02_585225_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/cc87fa1d69593c23c85fc01461175829.jpg","text":"TemporaryFile(/tmp/multipartBody5787566316829055761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735940398198,"filename":"image_03012025_22_32_02_585225_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c3730706ae434d8439f692ccfa5a504c.jpg","text":"TemporaryFile(/tmp/multipartBody978362490572290364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735940398198,"filename":"image_03012025_22_33_02_724477_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326069692","file1":"1326069688","file0":"1326069685","file4":"1326069699","file5":"1326069704","file3":"1326069695"},"map_files_photo_id_array":[{"photo_id":"1326069704","filename":"file5"},{"photo_id":"1326069692","filename":"file2"},{"photo_id":"1326069699","filename":"file4"},{"photo_id":"1326069688","filename":"file1"},{"photo_id":"1326069685","filename":"file0"},{"photo_id":"1326069695","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326069695":["hashtag1","hashtag2"]},{"1326069692":["hashtag1","hashtag2"]},{"1326069704":["hashtag1","hashtag2"]},{"1326069688":["hashtag1","hashtag2"]},{"1326069685":["hashtag1","hashtag2"]},{"1326069699":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326069695, 1326069692, 1326069704, 1326069688, 1326069685, 1326069699)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 72.9320604801178 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 22:40:03.080000
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/22/34/image_03012025_22_34_02_937868_0000.jpg', '/home/pi/Desktop/images/03012025/22/34/image_03012025_22_34_02_937868_0001.jpg', '/home/pi/Desktop/images/03012025/22/34/image_03012025_22_34_02_937868_0002.jpg', '/home/pi/Desktop/images/03012025/22/34/image_03012025_22_34_02_937868_0003.jpg', '/home/pi/Desktop/images/03012025/22/35/image_03012025_22_35_03_069270_0000.jpg', '/home/pi/Desktop/images/03012025/22/35/image_03012025_22_35_03_069270_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/22/34/image_03012025_22_34_02_937868_0000.jpg
/home/pi/Desktop/images/03012025/22/34/image_03012025_22_34_02_937868_0001.jpg
/home/pi/Desktop/images/03012025/22/34/image_03012025_22_34_02_937868_0002.jpg
/home/pi/Desktop/images/03012025/22/34/image_03012025_22_34_02_937868_0003.jpg
/home/pi/Desktop/images/03012025/22/35/image_03012025_22_35_03_069270_0000.jpg
/home/pi/Desktop/images/03012025/22/35/image_03012025_22_35_03_069270_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.624234437942505 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 22:40:22.787168
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/22/34/image_03012025_22_34_02_937868_0000.jpg', '/home/pi/Desktop/images/03012025/22/34/image_03012025_22_34_02_937868_0001.jpg', '/home/pi/Desktop/images/03012025/22/34/image_03012025_22_34_02_937868_0002.jpg', '/home/pi/Desktop/images/03012025/22/34/image_03012025_22_34_02_937868_0003.jpg', '/home/pi/Desktop/images/03012025/22/35/image_03012025_22_35_03_069270_0000.jpg', '/home/pi/Desktop/images/03012025/22/35/image_03012025_22_35_03_069270_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/22/34/image_03012025_22_34_02_937868_0000.jpg
/home/pi/Desktop/images/03012025/22/34/image_03012025_22_34_02_937868_0001.jpg
/home/pi/Desktop/images/03012025/22/34/image_03012025_22_34_02_937868_0002.jpg
/home/pi/Desktop/images/03012025/22/34/image_03012025_22_34_02_937868_0003.jpg
/home/pi/Desktop/images/03012025/22/35/image_03012025_22_35_03_069270_0000.jpg
/home/pi/Desktop/images/03012025/22/35/image_03012025_22_35_03_069270_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":["1326070324","1326070194","1326070405","1326070203","1326070192","1326070189"],"photo_ids_order":["1326070189","1326070192","1326070194","1326070203","1326070324","1326070405"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ff32ef5853710b157323c49ca8e58291.jpg","text":"TemporaryFile(/tmp/multipartBody2419731008554975670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735940497953,"filename":"image_03012025_22_35_03_069270_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/97e282f427aa832a4948239f8ffc1cb6.jpg","text":"TemporaryFile(/tmp/multipartBody1964062716466834655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735940497953,"filename":"image_03012025_22_34_02_937868_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c824ce676226ed870f9c246df9d91d85.jpg","text":"TemporaryFile(/tmp/multipartBody8911158607319422513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735940497953,"filename":"image_03012025_22_35_03_069270_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8fff2580d676364232915dac8ba05506.jpg","text":"TemporaryFile(/tmp/multipartBody1356229566874955035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735940497953,"filename":"image_03012025_22_34_02_937868_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9b82b038c9e2aed10b299288c3c375a9.jpg","text":"TemporaryFile(/tmp/multipartBody6605180988535536443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735940497953,"filename":"image_03012025_22_34_02_937868_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/61c0e122f526ba0053d480261d9018ee.jpg","text":"TemporaryFile(/tmp/multipartBody5355845579017469976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735940497953,"filename":"image_03012025_22_34_02_937868_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326070194","file1":"1326070192","file0":"1326070189","file4":"1326070324","file5":"1326070405","file3":"1326070203"},"map_files_photo_id_array":[{"photo_id":"1326070405","filename":"file5"},{"photo_id":"1326070194","filename":"file2"},{"photo_id":"1326070324","filename":"file4"},{"photo_id":"1326070192","filename":"file1"},{"photo_id":"1326070189","filename":"file0"},{"photo_id":"1326070203","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326070324":["hashtag1","hashtag2"]},{"1326070194":["hashtag1","hashtag2"]},{"1326070405":["hashtag1","hashtag2"]},{"1326070203":["hashtag1","hashtag2"]},{"1326070192":["hashtag1","hashtag2"]},{"1326070189":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326070324, 1326070194, 1326070405, 1326070203, 1326070192, 1326070189)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.163474559783936 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-03 22:41:31.971248
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/22/35/image_03012025_22_35_03_069270_0002.jpg', '/home/pi/Desktop/images/03012025/22/35/image_03012025_22_35_03_069270_0003.jpg', '/home/pi/Desktop/images/03012025/22/36/image_03012025_22_36_02_267827_0000.jpg', '/home/pi/Desktop/images/03012025/22/36/image_03012025_22_36_02_267827_0001.jpg', '/home/pi/Desktop/images/03012025/22/36/image_03012025_22_36_02_267827_0002.jpg', '/home/pi/Desktop/images/03012025/22/36/image_03012025_22_36_02_267827_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/22/35/image_03012025_22_35_03_069270_0002.jpg
/home/pi/Desktop/images/03012025/22/35/image_03012025_22_35_03_069270_0003.jpg
/home/pi/Desktop/images/03012025/22/36/image_03012025_22_36_02_267827_0000.jpg
/home/pi/Desktop/images/03012025/22/36/image_03012025_22_36_02_267827_0001.jpg
/home/pi/Desktop/images/03012025/22/36/image_03012025_22_36_02_267827_0002.jpg
/home/pi/Desktop/images/03012025/22/36/image_03012025_22_36_02_267827_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":["1326070467","1326070466","1326070727","1326070774","1326070729","1326070468"],"photo_ids_order":["1326070466","1326070467","1326070468","1326070727","1326070729","1326070774"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/24cc9429bab8d2f33325b6f7af248e7c.jpg","text":"TemporaryFile(/tmp/multipartBody2775065925223121831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735940567185,"filename":"image_03012025_22_35_03_069270_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5dbe9b385a7837bd6812d19192b97e50.jpg","text":"TemporaryFile(/tmp/multipartBody2736228573181348009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735940567185,"filename":"image_03012025_22_35_03_069270_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/879ebd98539fbf0bf7d4477bc5ad2dc6.jpg","text":"TemporaryFile(/tmp/multipartBody8513971931239581369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735940567185,"filename":"image_03012025_22_36_02_267827_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/46a85559eef73fda1db5de2761328195.jpg","text":"TemporaryFile(/tmp/multipartBody1223818358045855759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735940567185,"filename":"image_03012025_22_36_02_267827_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a150b61542c0c153668e996fca8101ce.jpg","text":"TemporaryFile(/tmp/multipartBody6469814779246819651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735940567185,"filename":"image_03012025_22_36_02_267827_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/dba778cecfb72b9c21c20507506e4e6f.jpg","text":"TemporaryFile(/tmp/multipartBody8579273677746731876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735940567185,"filename":"image_03012025_22_36_02_267827_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326070468","file1":"1326070467","file0":"1326070466","file4":"1326070729","file5":"1326070774","file3":"1326070727"},"map_files_photo_id_array":[{"photo_id":"1326070774","filename":"file5"},{"photo_id":"1326070468","filename":"file2"},{"photo_id":"1326070729","filename":"file4"},{"photo_id":"1326070467","filename":"file1"},{"photo_id":"1326070466","filename":"file0"},{"photo_id":"1326070727","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326070467":["hashtag1","hashtag2"]},{"1326070466":["hashtag1","hashtag2"]},{"1326070727":["hashtag1","hashtag2"]},{"1326070774":["hashtag1","hashtag2"]},{"1326070729":["hashtag1","hashtag2"]},{"1326070468":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326070467, 1326070466, 1326070727, 1326070774, 1326070729, 1326070468)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.05950212478638 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-03 22:42:42.157309
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/22/37/image_03012025_22_37_02_425199_0000.jpg', '/home/pi/Desktop/images/03012025/22/37/image_03012025_22_37_02_425199_0001.jpg', '/home/pi/Desktop/images/03012025/22/37/image_03012025_22_37_02_425199_0002.jpg', '/home/pi/Desktop/images/03012025/22/37/image_03012025_22_37_02_425199_0003.jpg', '/home/pi/Desktop/images/03012025/22/38/image_03012025_22_38_02_612796_0000.jpg', '/home/pi/Desktop/images/03012025/22/38/image_03012025_22_38_02_612796_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/22/37/image_03012025_22_37_02_425199_0000.jpg
/home/pi/Desktop/images/03012025/22/37/image_03012025_22_37_02_425199_0001.jpg
/home/pi/Desktop/images/03012025/22/37/image_03012025_22_37_02_425199_0002.jpg
/home/pi/Desktop/images/03012025/22/37/image_03012025_22_37_02_425199_0003.jpg
/home/pi/Desktop/images/03012025/22/38/image_03012025_22_38_02_612796_0000.jpg
/home/pi/Desktop/images/03012025/22/38/image_03012025_22_38_02_612796_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":["1326070890","1326070878","1326070920","1326070880","1326070883","1326070916"],"photo_ids_order":["1326070878","1326070880","1326070883","1326070890","1326070916","1326070920"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/80ad5508276565d0267b3965b9eca11e.jpg","text":"TemporaryFile(/tmp/multipartBody5965236592789090229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735940637288,"filename":"image_03012025_22_37_02_425199_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2e6204c0b0f5e46c5f836034a17f8e50.jpg","text":"TemporaryFile(/tmp/multipartBody3093190440422767779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735940637288,"filename":"image_03012025_22_37_02_425199_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2b93238da6404a23104878d3bc0be0f7.jpg","text":"TemporaryFile(/tmp/multipartBody7437109579459011764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735940637288,"filename":"image_03012025_22_38_02_612796_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c22e943a976725785cc7e40f4517a2b2.jpg","text":"TemporaryFile(/tmp/multipartBody2276576927048247059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735940637288,"filename":"image_03012025_22_37_02_425199_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/df9e358f26a09b96d3d62493091d5e87.jpg","text":"TemporaryFile(/tmp/multipartBody375960847701068474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735940637288,"filename":"image_03012025_22_37_02_425199_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c3059e329a65dc399acbb84fbfed2e21.jpg","text":"TemporaryFile(/tmp/multipartBody2446093236260254311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735940637288,"filename":"image_03012025_22_38_02_612796_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326070883","file1":"1326070880","file0":"1326070878","file4":"1326070916","file5":"1326070920","file3":"1326070890"},"map_files_photo_id_array":[{"photo_id":"1326070920","filename":"file5"},{"photo_id":"1326070883","filename":"file2"},{"photo_id":"1326070916","filename":"file4"},{"photo_id":"1326070880","filename":"file1"},{"photo_id":"1326070878","filename":"file0"},{"photo_id":"1326070890","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326070890":["hashtag1","hashtag2"]},{"1326070878":["hashtag1","hashtag2"]},{"1326070920":["hashtag1","hashtag2"]},{"1326070880":["hashtag1","hashtag2"]},{"1326070883":["hashtag1","hashtag2"]},{"1326070916":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326070890, 1326070878, 1326070920, 1326070880, 1326070883, 1326070916)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.79717493057251 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-03 22:43:52.311907
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/22/38/image_03012025_22_38_02_612796_0002.jpg', '/home/pi/Desktop/images/03012025/22/38/image_03012025_22_38_02_612796_0003.jpg', '/home/pi/Desktop/images/03012025/22/39/image_03012025_22_39_02_756283_0000.jpg', '/home/pi/Desktop/images/03012025/22/39/image_03012025_22_39_02_756283_0001.jpg', '/home/pi/Desktop/images/03012025/22/39/image_03012025_22_39_02_756283_0002.jpg', '/home/pi/Desktop/images/03012025/22/39/image_03012025_22_39_02_756283_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/22/38/image_03012025_22_38_02_612796_0002.jpg
/home/pi/Desktop/images/03012025/22/38/image_03012025_22_38_02_612796_0003.jpg
/home/pi/Desktop/images/03012025/22/39/image_03012025_22_39_02_756283_0000.jpg
/home/pi/Desktop/images/03012025/22/39/image_03012025_22_39_02_756283_0001.jpg
/home/pi/Desktop/images/03012025/22/39/image_03012025_22_39_02_756283_0002.jpg
/home/pi/Desktop/images/03012025/22/39/image_03012025_22_39_02_756283_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":["1326071709","1326071699","1326071789","1326071561","1326071555","1326071705"],"photo_ids_order":["1326071555","1326071561","1326071699","1326071705","1326071709","1326071789"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f5a974e2a4e29ccf864103c8b46573a2.jpg","text":"TemporaryFile(/tmp/multipartBody8244698324296842833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735940707623,"filename":"image_03012025_22_39_02_756283_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5618f2e9e6c029699fc1eb81a823665d.jpg","text":"TemporaryFile(/tmp/multipartBody5147413400413415886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735940707623,"filename":"image_03012025_22_39_02_756283_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5bef6b364611ef3cfee9864a451641b2.jpg","text":"TemporaryFile(/tmp/multipartBody8322356324778821028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735940707623,"filename":"image_03012025_22_39_02_756283_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/729b12e8a97bbca7a8960e53d170654c.jpg","text":"TemporaryFile(/tmp/multipartBody8358888072146665503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735940707623,"filename":"image_03012025_22_38_02_612796_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c99ee073fad14010734e870c655cc238.jpg","text":"TemporaryFile(/tmp/multipartBody480019339583483736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735940707623,"filename":"image_03012025_22_38_02_612796_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5427fbd31db00ec710c16737fc934849.jpg","text":"TemporaryFile(/tmp/multipartBody2441158551727139432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735940707623,"filename":"image_03012025_22_39_02_756283_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326071699","file1":"1326071561","file0":"1326071555","file4":"1326071709","file5":"1326071789","file3":"1326071705"},"map_files_photo_id_array":[{"photo_id":"1326071789","filename":"file5"},{"photo_id":"1326071699","filename":"file2"},{"photo_id":"1326071709","filename":"file4"},{"photo_id":"1326071561","filename":"file1"},{"photo_id":"1326071555","filename":"file0"},{"photo_id":"1326071705","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326071709":["hashtag1","hashtag2"]},{"1326071699":["hashtag1","hashtag2"]},{"1326071789":["hashtag1","hashtag2"]},{"1326071561":["hashtag1","hashtag2"]},{"1326071555":["hashtag1","hashtag2"]},{"1326071705":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326071709, 1326071699, 1326071789, 1326071561, 1326071555, 1326071705)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.11255860328674 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 22:45:03.506394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/22/40/image_03012025_22_40_03_079425_0000.jpg', '/home/pi/Desktop/images/03012025/22/40/image_03012025_22_40_03_079425_0001.jpg', '/home/pi/Desktop/images/03012025/22/40/image_03012025_22_40_03_079425_0002.jpg', '/home/pi/Desktop/images/03012025/22/40/image_03012025_22_40_03_079425_0003.jpg', '/home/pi/Desktop/images/03012025/22/41/image_03012025_22_41_03_127577_0000.jpg', '/home/pi/Desktop/images/03012025/22/41/image_03012025_22_41_03_127577_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/22/40/image_03012025_22_40_03_079425_0000.jpg
/home/pi/Desktop/images/03012025/22/40/image_03012025_22_40_03_079425_0001.jpg
/home/pi/Desktop/images/03012025/22/40/image_03012025_22_40_03_079425_0002.jpg
/home/pi/Desktop/images/03012025/22/40/image_03012025_22_40_03_079425_0003.jpg
/home/pi/Desktop/images/03012025/22/41/image_03012025_22_41_03_127577_0000.jpg
/home/pi/Desktop/images/03012025/22/41/image_03012025_22_41_03_127577_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":["1326072257","1326072265","1326072262","1326072145","1326072195","1326072198"],"photo_ids_order":["1326072145","1326072195","1326072198","1326072257","1326072262","1326072265"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/11fa197ff8578bd352c5f38495846890.jpg","text":"TemporaryFile(/tmp/multipartBody4876604440169649477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735940779235,"filename":"image_03012025_22_40_03_079425_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a73e69d3dedbd978cfc9d84ce2665b8e.jpg","text":"TemporaryFile(/tmp/multipartBody5432570662987816865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735940779235,"filename":"image_03012025_22_41_03_127577_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/73dac281dbee51a639ce519e25342fef.jpg","text":"TemporaryFile(/tmp/multipartBody4511612372449636113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735940779235,"filename":"image_03012025_22_41_03_127577_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9672adc5d72c5ab591f54b9803d4990b.jpg","text":"TemporaryFile(/tmp/multipartBody4157231168741258575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735940779235,"filename":"image_03012025_22_40_03_079425_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8abfe181446365a260bb193da3607799.jpg","text":"TemporaryFile(/tmp/multipartBody2536869751020591742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735940779235,"filename":"image_03012025_22_40_03_079425_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/be6ba0e69ed5abf3e047ae0463c756ef.jpg","text":"TemporaryFile(/tmp/multipartBody7345798173069565846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735940779235,"filename":"image_03012025_22_40_03_079425_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326072198","file1":"1326072195","file0":"1326072145","file4":"1326072262","file5":"1326072265","file3":"1326072257"},"map_files_photo_id_array":[{"photo_id":"1326072265","filename":"file5"},{"photo_id":"1326072198","filename":"file2"},{"photo_id":"1326072262","filename":"file4"},{"photo_id":"1326072195","filename":"file1"},{"photo_id":"1326072145","filename":"file0"},{"photo_id":"1326072257","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326072257":["hashtag1","hashtag2"]},{"1326072265":["hashtag1","hashtag2"]},{"1326072262":["hashtag1","hashtag2"]},{"1326072145":["hashtag1","hashtag2"]},{"1326072195":["hashtag1","hashtag2"]},{"1326072198":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326072257, 1326072265, 1326072262, 1326072145, 1326072195, 1326072198)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.77056264877319 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 22:46:21.934338
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/22/41/image_03012025_22_41_03_127577_0002.jpg', '/home/pi/Desktop/images/03012025/22/41/image_03012025_22_41_03_127577_0003.jpg', '/home/pi/Desktop/images/03012025/22/42/image_03012025_22_42_02_391432_0000.jpg', '/home/pi/Desktop/images/03012025/22/42/image_03012025_22_42_02_391432_0001.jpg', '/home/pi/Desktop/images/03012025/22/42/image_03012025_22_42_02_391432_0002.jpg', '/home/pi/Desktop/images/03012025/22/42/image_03012025_22_42_02_391432_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/22/41/image_03012025_22_41_03_127577_0002.jpg
/home/pi/Desktop/images/03012025/22/41/image_03012025_22_41_03_127577_0003.jpg
/home/pi/Desktop/images/03012025/22/42/image_03012025_22_42_02_391432_0000.jpg
/home/pi/Desktop/images/03012025/22/42/image_03012025_22_42_02_391432_0001.jpg
/home/pi/Desktop/images/03012025/22/42/image_03012025_22_42_02_391432_0002.jpg
/home/pi/Desktop/images/03012025/22/42/image_03012025_22_42_02_391432_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326072929","1326073204","1326072931","1326073230","1326072840","1326073049"],"photo_ids_order":["1326072840","1326072929","1326072931","1326073049","1326073204","1326073230"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5ae6beaf5327fcd427795b86c0affd74.jpg","text":"TemporaryFile(/tmp/multipartBody3092946173166237920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735940857035,"filename":"image_03012025_22_41_03_127577_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8af09694330cd2e9f4a1df43759a97c2.jpg","text":"TemporaryFile(/tmp/multipartBody1179206200363866949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735940857035,"filename":"image_03012025_22_42_02_391432_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b3fdd3c5bd1ea45b55987090fc1bb218.jpg","text":"TemporaryFile(/tmp/multipartBody8641829208332282565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735940857035,"filename":"image_03012025_22_42_02_391432_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3c88373f59d8b195f3f8ad45985cb67d.jpg","text":"TemporaryFile(/tmp/multipartBody5984754084823355986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735940857035,"filename":"image_03012025_22_42_02_391432_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b953861d10fd1b66b61e71049d7dcff1.jpg","text":"TemporaryFile(/tmp/multipartBody1245183862473086889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735940857035,"filename":"image_03012025_22_41_03_127577_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b5f93f2f0ab0c405aad9ab56ead1b187.jpg","text":"TemporaryFile(/tmp/multipartBody2671732548079471249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735940857035,"filename":"image_03012025_22_42_02_391432_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326072931","file1":"1326072929","file0":"1326072840","file4":"1326073204","file5":"1326073230","file3":"1326073049"},"map_files_photo_id_array":[{"photo_id":"1326073230","filename":"file5"},{"photo_id":"1326072931","filename":"file2"},{"photo_id":"1326073204","filename":"file4"},{"photo_id":"1326072929","filename":"file1"},{"photo_id":"1326072840","filename":"file0"},{"photo_id":"1326073049","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326072929":["hashtag1","hashtag2"]},{"1326073204":["hashtag1","hashtag2"]},{"1326072931":["hashtag1","hashtag2"]},{"1326073230":["hashtag1","hashtag2"]},{"1326072840":["hashtag1","hashtag2"]},{"1326073049":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326072929, 1326073204, 1326072931, 1326073230, 1326072840, 1326073049)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.19159150123596 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 22:47:22.114073
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/22/43/image_03012025_22_43_02_546539_0000.jpg', '/home/pi/Desktop/images/03012025/22/43/image_03012025_22_43_02_546539_0001.jpg', '/home/pi/Desktop/images/03012025/22/43/image_03012025_22_43_02_546539_0002.jpg', '/home/pi/Desktop/images/03012025/22/43/image_03012025_22_43_02_546539_0003.jpg', '/home/pi/Desktop/images/03012025/22/44/image_03012025_22_44_02_727076_0000.jpg', '/home/pi/Desktop/images/03012025/22/44/image_03012025_22_44_02_727076_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/22/43/image_03012025_22_43_02_546539_0000.jpg
/home/pi/Desktop/images/03012025/22/43/image_03012025_22_43_02_546539_0001.jpg
/home/pi/Desktop/images/03012025/22/43/image_03012025_22_43_02_546539_0002.jpg
/home/pi/Desktop/images/03012025/22/43/image_03012025_22_43_02_546539_0003.jpg
/home/pi/Desktop/images/03012025/22/44/image_03012025_22_44_02_727076_0000.jpg
/home/pi/Desktop/images/03012025/22/44/image_03012025_22_44_02_727076_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326073427","1326073424","1326073351","1326073345","1326073348","1326073350"],"photo_ids_order":["1326073345","1326073348","1326073350","1326073351","1326073424","1326073427"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3d5cc44c1bfd399299a9033be44bee8c.jpg","text":"TemporaryFile(/tmp/multipartBody5833256546532351246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735940917444,"filename":"image_03012025_22_44_02_727076_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ba61300dd6cb9b27b0e06aeea9160c55.jpg","text":"TemporaryFile(/tmp/multipartBody5773241839212530545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735940917444,"filename":"image_03012025_22_44_02_727076_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/419859be743c542a397815a9cea19984.jpg","text":"TemporaryFile(/tmp/multipartBody5785012483852557313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735940917444,"filename":"image_03012025_22_43_02_546539_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e82db12808e1c9ef236848d8a724ccdd.jpg","text":"TemporaryFile(/tmp/multipartBody3104144548719647968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735940917444,"filename":"image_03012025_22_43_02_546539_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a530deaa2e1f37f458d2b4efc67bf6de.jpg","text":"TemporaryFile(/tmp/multipartBody1352138990240375138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735940917444,"filename":"image_03012025_22_43_02_546539_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f6a91024c307add37ed2287b1ac6d854.jpg","text":"TemporaryFile(/tmp/multipartBody2753814007013744708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735940917444,"filename":"image_03012025_22_43_02_546539_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326073350","file1":"1326073348","file0":"1326073345","file4":"1326073424","file5":"1326073427","file3":"1326073351"},"map_files_photo_id_array":[{"photo_id":"1326073427","filename":"file5"},{"photo_id":"1326073350","filename":"file2"},{"photo_id":"1326073424","filename":"file4"},{"photo_id":"1326073348","filename":"file1"},{"photo_id":"1326073345","filename":"file0"},{"photo_id":"1326073351","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326073427":["hashtag1","hashtag2"]},{"1326073424":["hashtag1","hashtag2"]},{"1326073351":["hashtag1","hashtag2"]},{"1326073345":["hashtag1","hashtag2"]},{"1326073348":["hashtag1","hashtag2"]},{"1326073350":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326073427, 1326073424, 1326073351, 1326073345, 1326073348, 1326073350)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 73.67639589309692 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-03 22:48:42.399850
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/22/44/image_03012025_22_44_02_727076_0002.jpg', '/home/pi/Desktop/images/03012025/22/44/image_03012025_22_44_02_727076_0003.jpg', '/home/pi/Desktop/images/03012025/22/45/image_03012025_22_45_02_944558_0000.jpg', '/home/pi/Desktop/images/03012025/22/45/image_03012025_22_45_02_944558_0001.jpg', '/home/pi/Desktop/images/03012025/22/45/image_03012025_22_45_02_944558_0002.jpg', '/home/pi/Desktop/images/03012025/22/45/image_03012025_22_45_02_944558_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/22/44/image_03012025_22_44_02_727076_0002.jpg
/home/pi/Desktop/images/03012025/22/44/image_03012025_22_44_02_727076_0003.jpg
/home/pi/Desktop/images/03012025/22/45/image_03012025_22_45_02_944558_0000.jpg
/home/pi/Desktop/images/03012025/22/45/image_03012025_22_45_02_944558_0001.jpg
/home/pi/Desktop/images/03012025/22/45/image_03012025_22_45_02_944558_0002.jpg
/home/pi/Desktop/images/03012025/22/45/image_03012025_22_45_02_944558_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":["1326073990","1326073984","1326073992","1326073986","1326073988","1326073934"],"photo_ids_order":["1326073934","1326073984","1326073986","1326073988","1326073990","1326073992"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/cfd811c0e5737d94737c96bb5e8772f2.jpg","text":"TemporaryFile(/tmp/multipartBody2646067371726213664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735940997559,"filename":"image_03012025_22_45_02_944558_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7c6946a21ba62513ed19beab288fdad6.jpg","text":"TemporaryFile(/tmp/multipartBody5539507356613885259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735940997559,"filename":"image_03012025_22_44_02_727076_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4a3c3c4d2dd951ca60676ff6750eb695.jpg","text":"TemporaryFile(/tmp/multipartBody2013362024511921431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735940997559,"filename":"image_03012025_22_45_02_944558_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d744c9383feda2d493c3da4c9d10e188.jpg","text":"TemporaryFile(/tmp/multipartBody7207102801917595557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735940997559,"filename":"image_03012025_22_45_02_944558_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/18fa77c96e363f6f2341b8f8e1a75ce4.jpg","text":"TemporaryFile(/tmp/multipartBody1487828021924809702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735940997559,"filename":"image_03012025_22_45_02_944558_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6f11ef8fcca5bc737e877f9aed9cdaa6.jpg","text":"TemporaryFile(/tmp/multipartBody5093526097937513393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735940997559,"filename":"image_03012025_22_44_02_727076_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326073986","file1":"1326073984","file0":"1326073934","file4":"1326073990","file5":"1326073992","file3":"1326073988"},"map_files_photo_id_array":[{"photo_id":"1326073992","filename":"file5"},{"photo_id":"1326073986","filename":"file2"},{"photo_id":"1326073990","filename":"file4"},{"photo_id":"1326073984","filename":"file1"},{"photo_id":"1326073934","filename":"file0"},{"photo_id":"1326073988","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326073990":["hashtag1","hashtag2"]},{"1326073984":["hashtag1","hashtag2"]},{"1326073992":["hashtag1","hashtag2"]},{"1326073986":["hashtag1","hashtag2"]},{"1326073988":["hashtag1","hashtag2"]},{"1326073934":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326073990, 1326073984, 1326073992, 1326073986, 1326073988, 1326073934)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.10087013244629 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-03 22:49:52.529985
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/22/46/image_03012025_22_46_03_069622_0000.jpg', '/home/pi/Desktop/images/03012025/22/46/image_03012025_22_46_03_069622_0001.jpg', '/home/pi/Desktop/images/03012025/22/46/image_03012025_22_46_03_069622_0002.jpg', '/home/pi/Desktop/images/03012025/22/46/image_03012025_22_46_03_069622_0003.jpg', '/home/pi/Desktop/images/03012025/22/47/image_03012025_22_47_02_253986_0000.jpg', '/home/pi/Desktop/images/03012025/22/47/image_03012025_22_47_02_253986_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/22/46/image_03012025_22_46_03_069622_0000.jpg
/home/pi/Desktop/images/03012025/22/46/image_03012025_22_46_03_069622_0001.jpg
/home/pi/Desktop/images/03012025/22/46/image_03012025_22_46_03_069622_0002.jpg
/home/pi/Desktop/images/03012025/22/46/image_03012025_22_46_03_069622_0003.jpg
/home/pi/Desktop/images/03012025/22/47/image_03012025_22_47_02_253986_0000.jpg
/home/pi/Desktop/images/03012025/22/47/image_03012025_22_47_02_253986_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":["1326074341","1326074278","1326074167","1326074361","1326074313","1326074363"],"photo_ids_order":["1326074167","1326074278","1326074313","1326074341","1326074361","1326074363"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/936d149c834f0bf90e8f4e7dd7bde5fe.jpg","text":"TemporaryFile(/tmp/multipartBody3979025731200985571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735941067664,"filename":"image_03012025_22_46_03_069622_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6b79501eaab804f83e041bfdf5315da7.jpg","text":"TemporaryFile(/tmp/multipartBody2400916501154315376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735941067664,"filename":"image_03012025_22_46_03_069622_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ea83c88a31a6fd701b72cece47f9a4b2.jpg","text":"TemporaryFile(/tmp/multipartBody5532535142659095996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735941067664,"filename":"image_03012025_22_46_03_069622_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/eac60082c039b13b3b0878593675f749.jpg","text":"TemporaryFile(/tmp/multipartBody2155307189040190968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735941067664,"filename":"image_03012025_22_47_02_253986_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7d962192373b6e0174acb8c9b177b8d5.jpg","text":"TemporaryFile(/tmp/multipartBody1215088280240403759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735941067664,"filename":"image_03012025_22_46_03_069622_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f5ce7eb2f2cc3284ba16d0fa07491114.jpg","text":"TemporaryFile(/tmp/multipartBody9163547984032837623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735941067664,"filename":"image_03012025_22_47_02_253986_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326074313","file1":"1326074278","file0":"1326074167","file4":"1326074361","file5":"1326074363","file3":"1326074341"},"map_files_photo_id_array":[{"photo_id":"1326074363","filename":"file5"},{"photo_id":"1326074313","filename":"file2"},{"photo_id":"1326074361","filename":"file4"},{"photo_id":"1326074278","filename":"file1"},{"photo_id":"1326074167","filename":"file0"},{"photo_id":"1326074341","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326074341":["hashtag1","hashtag2"]},{"1326074278":["hashtag1","hashtag2"]},{"1326074167":["hashtag1","hashtag2"]},{"1326074361":["hashtag1","hashtag2"]},{"1326074313":["hashtag1","hashtag2"]},{"1326074363":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326074341, 1326074278, 1326074167, 1326074361, 1326074313, 1326074363)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.38596796989441 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-03 22:50:52.707842
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/22/47/image_03012025_22_47_02_253986_0002.jpg', '/home/pi/Desktop/images/03012025/22/47/image_03012025_22_47_02_253986_0003.jpg', '/home/pi/Desktop/images/03012025/22/48/image_03012025_22_48_02_552611_0000.jpg', '/home/pi/Desktop/images/03012025/22/48/image_03012025_22_48_02_552611_0001.jpg', '/home/pi/Desktop/images/03012025/22/48/image_03012025_22_48_02_552611_0002.jpg', '/home/pi/Desktop/images/03012025/22/48/image_03012025_22_48_02_552611_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/22/47/image_03012025_22_47_02_253986_0002.jpg
/home/pi/Desktop/images/03012025/22/47/image_03012025_22_47_02_253986_0003.jpg
/home/pi/Desktop/images/03012025/22/48/image_03012025_22_48_02_552611_0000.jpg
/home/pi/Desktop/images/03012025/22/48/image_03012025_22_48_02_552611_0001.jpg
/home/pi/Desktop/images/03012025/22/48/image_03012025_22_48_02_552611_0002.jpg
/home/pi/Desktop/images/03012025/22/48/image_03012025_22_48_02_552611_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.729800701141357 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 22:51:21.932386
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/22/47/image_03012025_22_47_02_253986_0002.jpg', '/home/pi/Desktop/images/03012025/22/47/image_03012025_22_47_02_253986_0003.jpg', '/home/pi/Desktop/images/03012025/22/48/image_03012025_22_48_02_552611_0000.jpg', '/home/pi/Desktop/images/03012025/22/48/image_03012025_22_48_02_552611_0001.jpg', '/home/pi/Desktop/images/03012025/22/48/image_03012025_22_48_02_552611_0002.jpg', '/home/pi/Desktop/images/03012025/22/48/image_03012025_22_48_02_552611_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/22/47/image_03012025_22_47_02_253986_0002.jpg
/home/pi/Desktop/images/03012025/22/47/image_03012025_22_47_02_253986_0003.jpg
/home/pi/Desktop/images/03012025/22/48/image_03012025_22_48_02_552611_0000.jpg
/home/pi/Desktop/images/03012025/22/48/image_03012025_22_48_02_552611_0001.jpg
/home/pi/Desktop/images/03012025/22/48/image_03012025_22_48_02_552611_0002.jpg
/home/pi/Desktop/images/03012025/22/48/image_03012025_22_48_02_552611_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326075436","1326074991","1326074835","1326075095","1326074549","1326075302"],"photo_ids_order":["1326074549","1326074835","1326074991","1326075095","1326075302","1326075436"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8b6640c0cdf2c4d1ebf5a620094da21e.jpg","text":"TemporaryFile(/tmp/multipartBody5916538456126315096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735941157088,"filename":"image_03012025_22_48_02_552611_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a76722489048b774a2868c03c739c316.jpg","text":"TemporaryFile(/tmp/multipartBody421765910820857850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735941157088,"filename":"image_03012025_22_48_02_552611_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/aa3fc990771cfbc7575cd8d6749e3c88.jpg","text":"TemporaryFile(/tmp/multipartBody6211130939962502983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735941157088,"filename":"image_03012025_22_47_02_253986_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5e60d51835cb6d83b55294adff9e5c82.jpg","text":"TemporaryFile(/tmp/multipartBody993152441066434277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735941157088,"filename":"image_03012025_22_48_02_552611_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/42e11984d38bf8bcf46e5110206a6fbd.jpg","text":"TemporaryFile(/tmp/multipartBody4384712781829064971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735941157088,"filename":"image_03012025_22_47_02_253986_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d059cc79810d08f273ee50ac6414bb8f.jpg","text":"TemporaryFile(/tmp/multipartBody4087693617867699491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735941157088,"filename":"image_03012025_22_48_02_552611_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326074991","file1":"1326074835","file0":"1326074549","file4":"1326075302","file5":"1326075436","file3":"1326075095"},"map_files_photo_id_array":[{"photo_id":"1326075436","filename":"file5"},{"photo_id":"1326074991","filename":"file2"},{"photo_id":"1326075302","filename":"file4"},{"photo_id":"1326074835","filename":"file1"},{"photo_id":"1326074549","filename":"file0"},{"photo_id":"1326075095","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326075436":["hashtag1","hashtag2"]},{"1326074991":["hashtag1","hashtag2"]},{"1326074835":["hashtag1","hashtag2"]},{"1326075095":["hashtag1","hashtag2"]},{"1326074549":["hashtag1","hashtag2"]},{"1326075302":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326075436, 1326074991, 1326074835, 1326075095, 1326074549, 1326075302)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.3999719619751 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 22:52:22.102616
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/22/49/image_03012025_22_49_02_666218_0000.jpg', '/home/pi/Desktop/images/03012025/22/49/image_03012025_22_49_02_666218_0001.jpg', '/home/pi/Desktop/images/03012025/22/49/image_03012025_22_49_02_666218_0002.jpg', '/home/pi/Desktop/images/03012025/22/49/image_03012025_22_49_02_666218_0003.jpg', '/home/pi/Desktop/images/03012025/22/50/image_03012025_22_50_02_944880_0000.jpg', '/home/pi/Desktop/images/03012025/22/50/image_03012025_22_50_02_944880_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/22/49/image_03012025_22_49_02_666218_0000.jpg
/home/pi/Desktop/images/03012025/22/49/image_03012025_22_49_02_666218_0001.jpg
/home/pi/Desktop/images/03012025/22/49/image_03012025_22_49_02_666218_0002.jpg
/home/pi/Desktop/images/03012025/22/49/image_03012025_22_49_02_666218_0003.jpg
/home/pi/Desktop/images/03012025/22/50/image_03012025_22_50_02_944880_0000.jpg
/home/pi/Desktop/images/03012025/22/50/image_03012025_22_50_02_944880_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.65297245979309 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-03 22:52:42.036783
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/22/49/image_03012025_22_49_02_666218_0000.jpg', '/home/pi/Desktop/images/03012025/22/49/image_03012025_22_49_02_666218_0001.jpg', '/home/pi/Desktop/images/03012025/22/49/image_03012025_22_49_02_666218_0002.jpg', '/home/pi/Desktop/images/03012025/22/49/image_03012025_22_49_02_666218_0003.jpg', '/home/pi/Desktop/images/03012025/22/50/image_03012025_22_50_02_944880_0000.jpg', '/home/pi/Desktop/images/03012025/22/50/image_03012025_22_50_02_944880_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/22/49/image_03012025_22_49_02_666218_0000.jpg
/home/pi/Desktop/images/03012025/22/49/image_03012025_22_49_02_666218_0001.jpg
/home/pi/Desktop/images/03012025/22/49/image_03012025_22_49_02_666218_0002.jpg
/home/pi/Desktop/images/03012025/22/49/image_03012025_22_49_02_666218_0003.jpg
/home/pi/Desktop/images/03012025/22/50/image_03012025_22_50_02_944880_0000.jpg
/home/pi/Desktop/images/03012025/22/50/image_03012025_22_50_02_944880_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":["1326075916","1326075913","1326075911","1326075905","1326075914","1326075908"],"photo_ids_order":["1326075905","1326075908","1326075911","1326075913","1326075914","1326075916"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0bf5dbfd7f18d7e87aacabe53885bc0f.jpg","text":"TemporaryFile(/tmp/multipartBody6996858544327999236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735941237230,"filename":"image_03012025_22_50_02_944880_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/03f5c1a340ce81c62387514092d44040.jpg","text":"TemporaryFile(/tmp/multipartBody5282375545773968994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735941237230,"filename":"image_03012025_22_49_02_666218_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7be20d25c9e1eded0fb45f5b9fe5fd12.jpg","text":"TemporaryFile(/tmp/multipartBody3407796353514129445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735941237230,"filename":"image_03012025_22_49_02_666218_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9d26da95d0522ff840d50302ffa9dcab.jpg","text":"TemporaryFile(/tmp/multipartBody7864535355998678149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735941237230,"filename":"image_03012025_22_49_02_666218_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/62672bead6b065a48bd4bb41da6fcf6a.jpg","text":"TemporaryFile(/tmp/multipartBody6455667239098494826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735941237230,"filename":"image_03012025_22_50_02_944880_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d3b9d0df34d5a7f8639f92405a49c192.jpg","text":"TemporaryFile(/tmp/multipartBody507910649034548369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735941237230,"filename":"image_03012025_22_49_02_666218_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326075911","file1":"1326075908","file0":"1326075905","file4":"1326075914","file5":"1326075916","file3":"1326075913"},"map_files_photo_id_array":[{"photo_id":"1326075916","filename":"file5"},{"photo_id":"1326075911","filename":"file2"},{"photo_id":"1326075914","filename":"file4"},{"photo_id":"1326075908","filename":"file1"},{"photo_id":"1326075905","filename":"file0"},{"photo_id":"1326075913","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326075916":["hashtag1","hashtag2"]},{"1326075913":["hashtag1","hashtag2"]},{"1326075911":["hashtag1","hashtag2"]},{"1326075905":["hashtag1","hashtag2"]},{"1326075914":["hashtag1","hashtag2"]},{"1326075908":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326075916, 1326075913, 1326075911, 1326075905, 1326075914, 1326075908)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.517555713653564 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-03 22:53:42.320358
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/22/50/image_03012025_22_50_02_944880_0002.jpg', '/home/pi/Desktop/images/03012025/22/50/image_03012025_22_50_02_944880_0003.jpg', '/home/pi/Desktop/images/03012025/22/51/image_03012025_22_51_03_088162_0000.jpg', '/home/pi/Desktop/images/03012025/22/51/image_03012025_22_51_03_088162_0001.jpg', '/home/pi/Desktop/images/03012025/22/51/image_03012025_22_51_03_088162_0002.jpg', '/home/pi/Desktop/images/03012025/22/51/image_03012025_22_51_03_088162_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/22/50/image_03012025_22_50_02_944880_0002.jpg
/home/pi/Desktop/images/03012025/22/50/image_03012025_22_50_02_944880_0003.jpg
/home/pi/Desktop/images/03012025/22/51/image_03012025_22_51_03_088162_0000.jpg
/home/pi/Desktop/images/03012025/22/51/image_03012025_22_51_03_088162_0001.jpg
/home/pi/Desktop/images/03012025/22/51/image_03012025_22_51_03_088162_0002.jpg
/home/pi/Desktop/images/03012025/22/51/image_03012025_22_51_03_088162_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326076221","1326076271","1326076067","1326076223","1326076261","1326076191"],"photo_ids_order":["1326076067","1326076191","1326076221","1326076223","1326076261","1326076271"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e56c0bba67b8af40347c34f99f2c5fa6.jpg","text":"TemporaryFile(/tmp/multipartBody2819462696902912310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735941297420,"filename":"image_03012025_22_51_03_088162_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2eecf93149ac1958db08b212b8e512ba.jpg","text":"TemporaryFile(/tmp/multipartBody8455417638801617119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735941297420,"filename":"image_03012025_22_51_03_088162_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b5778e788bcf5b3b172f9a02041e4a5a.jpg","text":"TemporaryFile(/tmp/multipartBody6104137535079071523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735941297420,"filename":"image_03012025_22_50_02_944880_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/56d91d3a1e80a51ac096903dfebba220.jpg","text":"TemporaryFile(/tmp/multipartBody6610489965777123712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735941297420,"filename":"image_03012025_22_51_03_088162_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6c5ed472cfa269a7612165c5ab85b880.jpg","text":"TemporaryFile(/tmp/multipartBody4466231698673788512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735941297420,"filename":"image_03012025_22_51_03_088162_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b1d1540f189053369d2d258062e999c4.jpg","text":"TemporaryFile(/tmp/multipartBody4752620564322763173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735941297420,"filename":"image_03012025_22_50_02_944880_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326076221","file1":"1326076191","file0":"1326076067","file4":"1326076261","file5":"1326076271","file3":"1326076223"},"map_files_photo_id_array":[{"photo_id":"1326076271","filename":"file5"},{"photo_id":"1326076221","filename":"file2"},{"photo_id":"1326076261","filename":"file4"},{"photo_id":"1326076191","filename":"file1"},{"photo_id":"1326076067","filename":"file0"},{"photo_id":"1326076223","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326076221":["hashtag1","hashtag2"]},{"1326076271":["hashtag1","hashtag2"]},{"1326076067":["hashtag1","hashtag2"]},{"1326076223":["hashtag1","hashtag2"]},{"1326076261":["hashtag1","hashtag2"]},{"1326076191":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326076221, 1326076271, 1326076067, 1326076223, 1326076261, 1326076191)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.88554382324219 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-03 22:54:42.474770
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/22/52/image_03012025_22_52_02_307765_0000.jpg', '/home/pi/Desktop/images/03012025/22/52/image_03012025_22_52_02_307765_0001.jpg', '/home/pi/Desktop/images/03012025/22/52/image_03012025_22_52_02_307765_0002.jpg', '/home/pi/Desktop/images/03012025/22/52/image_03012025_22_52_02_307765_0003.jpg', '/home/pi/Desktop/images/03012025/22/53/image_03012025_22_53_02_419720_0000.jpg', '/home/pi/Desktop/images/03012025/22/53/image_03012025_22_53_02_419720_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/22/52/image_03012025_22_52_02_307765_0000.jpg
/home/pi/Desktop/images/03012025/22/52/image_03012025_22_52_02_307765_0001.jpg
/home/pi/Desktop/images/03012025/22/52/image_03012025_22_52_02_307765_0002.jpg
/home/pi/Desktop/images/03012025/22/52/image_03012025_22_52_02_307765_0003.jpg
/home/pi/Desktop/images/03012025/22/53/image_03012025_22_53_02_419720_0000.jpg
/home/pi/Desktop/images/03012025/22/53/image_03012025_22_53_02_419720_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":["1326076280","1326076334","1326076297","1326076291","1326076279","1326076299"],"photo_ids_order":["1326076279","1326076280","1326076291","1326076297","1326076299","1326076334"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8dd70f7d85d5b5ae55965f77492838c4.jpg","text":"TemporaryFile(/tmp/multipartBody2803742141729962529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735941357344,"filename":"image_03012025_22_52_02_307765_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/19370aba36201a92e23e7aee41d24031.jpg","text":"TemporaryFile(/tmp/multipartBody7412043582485630861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735941357344,"filename":"image_03012025_22_53_02_419720_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a7f23ee818cefce1de480f2d33d2fe3c.jpg","text":"TemporaryFile(/tmp/multipartBody4150963800669234228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735941357344,"filename":"image_03012025_22_52_02_307765_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5529a55738a724a1ce72f30556ff26e0.jpg","text":"TemporaryFile(/tmp/multipartBody2105146043376946108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735941357344,"filename":"image_03012025_22_52_02_307765_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1cd087d9c5ad6de5fc4dc70055c32201.jpg","text":"TemporaryFile(/tmp/multipartBody3394923560582172397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735941357344,"filename":"image_03012025_22_52_02_307765_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/94aa9150f4d84bd7395713704cdd33e8.jpg","text":"TemporaryFile(/tmp/multipartBody3713465823972511305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735941357344,"filename":"image_03012025_22_53_02_419720_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326076291","file1":"1326076280","file0":"1326076279","file4":"1326076299","file5":"1326076334","file3":"1326076297"},"map_files_photo_id_array":[{"photo_id":"1326076334","filename":"file5"},{"photo_id":"1326076291","filename":"file2"},{"photo_id":"1326076299","filename":"file4"},{"photo_id":"1326076280","filename":"file1"},{"photo_id":"1326076279","filename":"file0"},{"photo_id":"1326076297","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326076280":["hashtag1","hashtag2"]},{"1326076334":["hashtag1","hashtag2"]},{"1326076297":["hashtag1","hashtag2"]},{"1326076291":["hashtag1","hashtag2"]},{"1326076279":["hashtag1","hashtag2"]},{"1326076299":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326076280, 1326076334, 1326076297, 1326076291, 1326076279, 1326076299)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.37516903877258 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-03 22:55:42.676107
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/22/53/image_03012025_22_53_02_419720_0002.jpg', '/home/pi/Desktop/images/03012025/22/53/image_03012025_22_53_02_419720_0003.jpg', '/home/pi/Desktop/images/03012025/22/54/image_03012025_22_54_02_630252_0000.jpg', '/home/pi/Desktop/images/03012025/22/54/image_03012025_22_54_02_630252_0001.jpg', '/home/pi/Desktop/images/03012025/22/54/image_03012025_22_54_02_630252_0002.jpg', '/home/pi/Desktop/images/03012025/22/54/image_03012025_22_54_02_630252_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/22/53/image_03012025_22_53_02_419720_0002.jpg
/home/pi/Desktop/images/03012025/22/53/image_03012025_22_53_02_419720_0003.jpg
/home/pi/Desktop/images/03012025/22/54/image_03012025_22_54_02_630252_0000.jpg
/home/pi/Desktop/images/03012025/22/54/image_03012025_22_54_02_630252_0001.jpg
/home/pi/Desktop/images/03012025/22/54/image_03012025_22_54_02_630252_0002.jpg
/home/pi/Desktop/images/03012025/22/54/image_03012025_22_54_02_630252_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326076764","1326076758","1326076760","1326076757","1326076768","1326076762"],"photo_ids_order":["1326076757","1326076758","1326076760","1326076762","1326076764","1326076768"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2a6fab8f54cb4b4105483106801774fb.jpg","text":"TemporaryFile(/tmp/multipartBody285972110938741371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735941417635,"filename":"image_03012025_22_54_02_630252_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e587dbd804d6dda35c84243b490405f0.jpg","text":"TemporaryFile(/tmp/multipartBody8860159689658587222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735941417635,"filename":"image_03012025_22_53_02_419720_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/82da776a76e43584e4ad9abaf3691c37.jpg","text":"TemporaryFile(/tmp/multipartBody700931378306423738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735941417635,"filename":"image_03012025_22_54_02_630252_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/583e3a11f2f4b280f4f04a9ea54548b7.jpg","text":"TemporaryFile(/tmp/multipartBody8541622827289139835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735941417635,"filename":"image_03012025_22_53_02_419720_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/24a1280f5c2e9180397cd4844ce3ac73.jpg","text":"TemporaryFile(/tmp/multipartBody3064949808877388454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735941417635,"filename":"image_03012025_22_54_02_630252_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/91b29dc5b23e90e1b3f40ae6b0ef6988.jpg","text":"TemporaryFile(/tmp/multipartBody5355211518557383958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735941417635,"filename":"image_03012025_22_54_02_630252_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326076760","file1":"1326076758","file0":"1326076757","file4":"1326076764","file5":"1326076768","file3":"1326076762"},"map_files_photo_id_array":[{"photo_id":"1326076768","filename":"file5"},{"photo_id":"1326076760","filename":"file2"},{"photo_id":"1326076764","filename":"file4"},{"photo_id":"1326076758","filename":"file1"},{"photo_id":"1326076757","filename":"file0"},{"photo_id":"1326076762","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326076764":["hashtag1","hashtag2"]},{"1326076758":["hashtag1","hashtag2"]},{"1326076760":["hashtag1","hashtag2"]},{"1326076757":["hashtag1","hashtag2"]},{"1326076768":["hashtag1","hashtag2"]},{"1326076762":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326076764, 1326076758, 1326076760, 1326076757, 1326076768, 1326076762)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.81039595603943 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-03 22:56:41.816353
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/22/55/image_03012025_22_55_02_848037_0000.jpg', '/home/pi/Desktop/images/03012025/22/55/image_03012025_22_55_02_848037_0001.jpg', '/home/pi/Desktop/images/03012025/22/55/image_03012025_22_55_02_848037_0002.jpg', '/home/pi/Desktop/images/03012025/22/55/image_03012025_22_55_02_848037_0003.jpg', '/home/pi/Desktop/images/03012025/22/56/image_03012025_22_56_03_056396_0000.jpg', '/home/pi/Desktop/images/03012025/22/56/image_03012025_22_56_03_056396_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/22/55/image_03012025_22_55_02_848037_0000.jpg
/home/pi/Desktop/images/03012025/22/55/image_03012025_22_55_02_848037_0001.jpg
/home/pi/Desktop/images/03012025/22/55/image_03012025_22_55_02_848037_0002.jpg
/home/pi/Desktop/images/03012025/22/55/image_03012025_22_55_02_848037_0003.jpg
/home/pi/Desktop/images/03012025/22/56/image_03012025_22_56_03_056396_0000.jpg
/home/pi/Desktop/images/03012025/22/56/image_03012025_22_56_03_056396_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.497983455657959 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 22:57:02.625276
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/22/55/image_03012025_22_55_02_848037_0000.jpg', '/home/pi/Desktop/images/03012025/22/55/image_03012025_22_55_02_848037_0001.jpg', '/home/pi/Desktop/images/03012025/22/55/image_03012025_22_55_02_848037_0002.jpg', '/home/pi/Desktop/images/03012025/22/55/image_03012025_22_55_02_848037_0003.jpg', '/home/pi/Desktop/images/03012025/22/56/image_03012025_22_56_03_056396_0000.jpg', '/home/pi/Desktop/images/03012025/22/56/image_03012025_22_56_03_056396_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/22/55/image_03012025_22_55_02_848037_0000.jpg
/home/pi/Desktop/images/03012025/22/55/image_03012025_22_55_02_848037_0001.jpg
/home/pi/Desktop/images/03012025/22/55/image_03012025_22_55_02_848037_0002.jpg
/home/pi/Desktop/images/03012025/22/55/image_03012025_22_55_02_848037_0003.jpg
/home/pi/Desktop/images/03012025/22/56/image_03012025_22_56_03_056396_0000.jpg
/home/pi/Desktop/images/03012025/22/56/image_03012025_22_56_03_056396_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":["1326077645","1326078082","1326077707","1326077716","1326077562","1326077664"],"photo_ids_order":["1326077562","1326077645","1326077664","1326077707","1326077716","1326078082"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/90ea5fc5be13d8ddbb9a72585419a961.jpg","text":"TemporaryFile(/tmp/multipartBody1159418853642730298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735941497630,"filename":"image_03012025_22_55_02_848037_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f6cc7af37a8d98a334a0f1a9fa9f0aba.jpg","text":"TemporaryFile(/tmp/multipartBody8850546507715629382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735941497630,"filename":"image_03012025_22_56_03_056396_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7d140364a8cfee8223d181364e40aed0.jpg","text":"TemporaryFile(/tmp/multipartBody3792233563237565390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735941497630,"filename":"image_03012025_22_55_02_848037_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f262b3c1d6b2e6ba008d6934dfdd55bc.jpg","text":"TemporaryFile(/tmp/multipartBody4427635634734881307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735941497630,"filename":"image_03012025_22_56_03_056396_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c6079e821893ac754442b91e182d9bf6.jpg","text":"TemporaryFile(/tmp/multipartBody1894870248243122420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735941497630,"filename":"image_03012025_22_55_02_848037_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/023032498f36f08b813f5027f60f4297.jpg","text":"TemporaryFile(/tmp/multipartBody3384992659245566375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735941497630,"filename":"image_03012025_22_55_02_848037_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326077664","file1":"1326077645","file0":"1326077562","file4":"1326077716","file5":"1326078082","file3":"1326077707"},"map_files_photo_id_array":[{"photo_id":"1326078082","filename":"file5"},{"photo_id":"1326077664","filename":"file2"},{"photo_id":"1326077716","filename":"file4"},{"photo_id":"1326077645","filename":"file1"},{"photo_id":"1326077562","filename":"file0"},{"photo_id":"1326077707","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326077645":["hashtag1","hashtag2"]},{"1326078082":["hashtag1","hashtag2"]},{"1326077707":["hashtag1","hashtag2"]},{"1326077716":["hashtag1","hashtag2"]},{"1326077562":["hashtag1","hashtag2"]},{"1326077664":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326077645, 1326078082, 1326077707, 1326077716, 1326077562, 1326077664)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.67835760116577 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 22:59:02.919668
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/22/56/image_03012025_22_56_03_056396_0002.jpg', '/home/pi/Desktop/images/03012025/22/56/image_03012025_22_56_03_056396_0003.jpg', '/home/pi/Desktop/images/03012025/22/57/image_03012025_22_57_02_172927_0000.jpg', '/home/pi/Desktop/images/03012025/22/57/image_03012025_22_57_02_172927_0001.jpg', '/home/pi/Desktop/images/03012025/22/57/image_03012025_22_57_02_172927_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/22/56/image_03012025_22_56_03_056396_0002.jpg
/home/pi/Desktop/images/03012025/22/56/image_03012025_22_56_03_056396_0003.jpg
/home/pi/Desktop/images/03012025/22/57/image_03012025_22_57_02_172927_0000.jpg
/home/pi/Desktop/images/03012025/22/57/image_03012025_22_57_02_172927_0001.jpg
/home/pi/Desktop/images/03012025/22/57/image_03012025_22_57_02_172927_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 12.291860103607178 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 22:59:22.273257
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/22/56/image_03012025_22_56_03_056396_0002.jpg', '/home/pi/Desktop/images/03012025/22/56/image_03012025_22_56_03_056396_0003.jpg', '/home/pi/Desktop/images/03012025/22/57/image_03012025_22_57_02_172927_0000.jpg', '/home/pi/Desktop/images/03012025/22/57/image_03012025_22_57_02_172927_0001.jpg', '/home/pi/Desktop/images/03012025/22/57/image_03012025_22_57_02_172927_0002.jpg', '/home/pi/Desktop/images/03012025/22/57/image_03012025_22_57_02_172927_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/22/56/image_03012025_22_56_03_056396_0002.jpg
/home/pi/Desktop/images/03012025/22/56/image_03012025_22_56_03_056396_0003.jpg
/home/pi/Desktop/images/03012025/22/57/image_03012025_22_57_02_172927_0000.jpg
/home/pi/Desktop/images/03012025/22/57/image_03012025_22_57_02_172927_0001.jpg
/home/pi/Desktop/images/03012025/22/57/image_03012025_22_57_02_172927_0002.jpg
/home/pi/Desktop/images/03012025/22/57/image_03012025_22_57_02_172927_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326079438","1326079581","1326079545","1326079254","1326079668","1326079257"],"photo_ids_order":["1326079254","1326079257","1326079438","1326079545","1326079581","1326079668"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8a98845ab494137cff6bb707b0a786b9.jpg","text":"TemporaryFile(/tmp/multipartBody4214252538569921622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735941637300,"filename":"image_03012025_22_57_02_172927_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/33a2f446f39297286d431a7b2e7c7dc3.jpg","text":"TemporaryFile(/tmp/multipartBody7148868789146112362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735941637300,"filename":"image_03012025_22_57_02_172927_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e7192cee11657b5150c0df45a4d794c9.jpg","text":"TemporaryFile(/tmp/multipartBody5571032568321205668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735941637300,"filename":"image_03012025_22_57_02_172927_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5ce3bad6ae5ccf3bddde9e503d4a0f97.jpg","text":"TemporaryFile(/tmp/multipartBody7532622387958053965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735941637300,"filename":"image_03012025_22_56_03_056396_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8c1323893f143380986e4ef5cb6bfebe.jpg","text":"TemporaryFile(/tmp/multipartBody8704610469966969728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735941637300,"filename":"image_03012025_22_57_02_172927_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8d693d38479987d1fcbb0a30daffedf9.jpg","text":"TemporaryFile(/tmp/multipartBody7860676682529015085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735941637300,"filename":"image_03012025_22_56_03_056396_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326079438","file1":"1326079257","file0":"1326079254","file4":"1326079581","file5":"1326079668","file3":"1326079545"},"map_files_photo_id_array":[{"photo_id":"1326079668","filename":"file5"},{"photo_id":"1326079438","filename":"file2"},{"photo_id":"1326079581","filename":"file4"},{"photo_id":"1326079257","filename":"file1"},{"photo_id":"1326079254","filename":"file0"},{"photo_id":"1326079545","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326079438":["hashtag1","hashtag2"]},{"1326079581":["hashtag1","hashtag2"]},{"1326079545":["hashtag1","hashtag2"]},{"1326079254":["hashtag1","hashtag2"]},{"1326079668":["hashtag1","hashtag2"]},{"1326079257":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326079438, 1326079581, 1326079545, 1326079254, 1326079668, 1326079257)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.106985569000244 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 23:00:22.520352
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/22/58/image_03012025_22_58_02_387877_0000.jpg', '/home/pi/Desktop/images/03012025/22/58/image_03012025_22_58_02_387877_0001.jpg', '/home/pi/Desktop/images/03012025/22/58/image_03012025_22_58_02_387877_0002.jpg', '/home/pi/Desktop/images/03012025/22/58/image_03012025_22_58_02_387877_0003.jpg', '/home/pi/Desktop/images/03012025/22/59/image_03012025_22_59_02_537610_0000.jpg', '/home/pi/Desktop/images/03012025/22/59/image_03012025_22_59_02_537610_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/22/58/image_03012025_22_58_02_387877_0000.jpg
/home/pi/Desktop/images/03012025/22/58/image_03012025_22_58_02_387877_0001.jpg
/home/pi/Desktop/images/03012025/22/58/image_03012025_22_58_02_387877_0002.jpg
/home/pi/Desktop/images/03012025/22/58/image_03012025_22_58_02_387877_0003.jpg
/home/pi/Desktop/images/03012025/22/59/image_03012025_22_59_02_537610_0000.jpg
/home/pi/Desktop/images/03012025/22/59/image_03012025_22_59_02_537610_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":["1326079795","1326079808","1326079801","1326079791","1326079799","1326079793"],"photo_ids_order":["1326079791","1326079793","1326079795","1326079799","1326079801","1326079808"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/953def9f83116bd87909f9189f5d5804.jpg","text":"TemporaryFile(/tmp/multipartBody7222927427341213016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735941697656,"filename":"image_03012025_22_58_02_387877_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1635390ffa5d8bc926d4fb1626532a10.jpg","text":"TemporaryFile(/tmp/multipartBody164305983275257566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735941697656,"filename":"image_03012025_22_59_02_537610_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4f7336aa38f2be71d054610f52f3f18d.jpg","text":"TemporaryFile(/tmp/multipartBody4119446026779519960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735941697656,"filename":"image_03012025_22_59_02_537610_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5c8cc65c71674410ad15b4b3d436e1d9.jpg","text":"TemporaryFile(/tmp/multipartBody8766912602357034975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735941697656,"filename":"image_03012025_22_58_02_387877_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/50bfe9399ce68611daac19070c3f93d9.jpg","text":"TemporaryFile(/tmp/multipartBody3995244004801679912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735941697656,"filename":"image_03012025_22_58_02_387877_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f81dc058ec09a5d039a25e81feab8a72.jpg","text":"TemporaryFile(/tmp/multipartBody731341872227348732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735941697656,"filename":"image_03012025_22_58_02_387877_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326079795","file1":"1326079793","file0":"1326079791","file4":"1326079801","file5":"1326079808","file3":"1326079799"},"map_files_photo_id_array":[{"photo_id":"1326079808","filename":"file5"},{"photo_id":"1326079795","filename":"file2"},{"photo_id":"1326079801","filename":"file4"},{"photo_id":"1326079793","filename":"file1"},{"photo_id":"1326079791","filename":"file0"},{"photo_id":"1326079799","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326079795":["hashtag1","hashtag2"]},{"1326079808":["hashtag1","hashtag2"]},{"1326079801":["hashtag1","hashtag2"]},{"1326079791":["hashtag1","hashtag2"]},{"1326079799":["hashtag1","hashtag2"]},{"1326079793":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326079795, 1326079808, 1326079801, 1326079791, 1326079799, 1326079793)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.212950229644775 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 23:01:22.667059
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/22/59/image_03012025_22_59_02_537610_0002.jpg', '/home/pi/Desktop/images/03012025/22/59/image_03012025_22_59_02_537610_0003.jpg', '/home/pi/Desktop/images/03012025/23/00/image_03012025_23_00_02_699816_0000.jpg', '/home/pi/Desktop/images/03012025/23/00/image_03012025_23_00_02_699816_0001.jpg', '/home/pi/Desktop/images/03012025/23/00/image_03012025_23_00_02_699816_0002.jpg', '/home/pi/Desktop/images/03012025/23/00/image_03012025_23_00_02_699816_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/22/59/image_03012025_22_59_02_537610_0002.jpg
/home/pi/Desktop/images/03012025/22/59/image_03012025_22_59_02_537610_0003.jpg
/home/pi/Desktop/images/03012025/23/00/image_03012025_23_00_02_699816_0000.jpg
/home/pi/Desktop/images/03012025/23/00/image_03012025_23_00_02_699816_0001.jpg
/home/pi/Desktop/images/03012025/23/00/image_03012025_23_00_02_699816_0002.jpg
/home/pi/Desktop/images/03012025/23/00/image_03012025_23_00_02_699816_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326079843","1326079846","1326079849","1326079836","1326079839","1326079841"],"photo_ids_order":["1326079836","1326079839","1326079841","1326079843","1326079846","1326079849"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1437b451587274719863b155f6898bce.jpg","text":"TemporaryFile(/tmp/multipartBody2464711657630476275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735941757865,"filename":"image_03012025_23_00_02_699816_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5abfda579665efe78e1a8e440bfd91c5.jpg","text":"TemporaryFile(/tmp/multipartBody6436691975396876283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735941757865,"filename":"image_03012025_23_00_02_699816_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e3873b3455369dbb8d96e56751b71e7c.jpg","text":"TemporaryFile(/tmp/multipartBody521287658766326094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735941757865,"filename":"image_03012025_23_00_02_699816_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/688bbfca7fde73b9e8bf28dd7371c4d6.jpg","text":"TemporaryFile(/tmp/multipartBody3801042607870583787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735941757865,"filename":"image_03012025_22_59_02_537610_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ca0a2460bef0c8cd2465f0812e3689e6.jpg","text":"TemporaryFile(/tmp/multipartBody8130764043886114634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735941757865,"filename":"image_03012025_22_59_02_537610_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/860a7e1771ffda3e7a6d2eb36561c746.jpg","text":"TemporaryFile(/tmp/multipartBody3643746011055779849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735941757865,"filename":"image_03012025_23_00_02_699816_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326079841","file1":"1326079839","file0":"1326079836","file4":"1326079846","file5":"1326079849","file3":"1326079843"},"map_files_photo_id_array":[{"photo_id":"1326079849","filename":"file5"},{"photo_id":"1326079841","filename":"file2"},{"photo_id":"1326079846","filename":"file4"},{"photo_id":"1326079839","filename":"file1"},{"photo_id":"1326079836","filename":"file0"},{"photo_id":"1326079843","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326079843":["hashtag1","hashtag2"]},{"1326079846":["hashtag1","hashtag2"]},{"1326079849":["hashtag1","hashtag2"]},{"1326079836":["hashtag1","hashtag2"]},{"1326079839":["hashtag1","hashtag2"]},{"1326079841":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326079843, 1326079846, 1326079849, 1326079836, 1326079839, 1326079841)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.898932695388794 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 23:02:21.889007
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/23/01/image_03012025_23_01_02_829191_0000.jpg', '/home/pi/Desktop/images/03012025/23/01/image_03012025_23_01_02_829191_0001.jpg', '/home/pi/Desktop/images/03012025/23/01/image_03012025_23_01_02_829191_0002.jpg', '/home/pi/Desktop/images/03012025/23/01/image_03012025_23_01_02_829191_0003.jpg', '/home/pi/Desktop/images/03012025/23/02/image_03012025_23_02_03_066155_0000.jpg', '/home/pi/Desktop/images/03012025/23/02/image_03012025_23_02_03_066155_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/23/01/image_03012025_23_01_02_829191_0000.jpg
/home/pi/Desktop/images/03012025/23/01/image_03012025_23_01_02_829191_0001.jpg
/home/pi/Desktop/images/03012025/23/01/image_03012025_23_01_02_829191_0002.jpg
/home/pi/Desktop/images/03012025/23/01/image_03012025_23_01_02_829191_0003.jpg
/home/pi/Desktop/images/03012025/23/02/image_03012025_23_02_03_066155_0000.jpg
/home/pi/Desktop/images/03012025/23/02/image_03012025_23_02_03_066155_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":["1326081121","1326080776","1326080683","1326080362","1326080685","1326081123"],"photo_ids_order":["1326080362","1326080683","1326080685","1326080776","1326081121","1326081123"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1df6bbfd89f2667bae207ddaf884a420.jpg","text":"TemporaryFile(/tmp/multipartBody4101680393348332022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735941817049,"filename":"image_03012025_23_02_03_066155_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/391fa73b569f4646c7f8c52739171eb2.jpg","text":"TemporaryFile(/tmp/multipartBody4746634572398077467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735941817049,"filename":"image_03012025_23_01_02_829191_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0bb282e91584918521c9ea0611dbdbf1.jpg","text":"TemporaryFile(/tmp/multipartBody28332585910184957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735941817049,"filename":"image_03012025_23_01_02_829191_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c6e53084df537eaeeb8f6c9dc6caea65.jpg","text":"TemporaryFile(/tmp/multipartBody2344978237494968350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735941817049,"filename":"image_03012025_23_01_02_829191_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c7fef5023cd4b85ebabfa9d08e8de599.jpg","text":"TemporaryFile(/tmp/multipartBody154901173466979777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735941817049,"filename":"image_03012025_23_01_02_829191_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/72f10dcb08337bde7deae57a0229f494.jpg","text":"TemporaryFile(/tmp/multipartBody562850811866455619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735941817049,"filename":"image_03012025_23_02_03_066155_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326080685","file1":"1326080683","file0":"1326080362","file4":"1326081121","file5":"1326081123","file3":"1326080776"},"map_files_photo_id_array":[{"photo_id":"1326081123","filename":"file5"},{"photo_id":"1326080685","filename":"file2"},{"photo_id":"1326081121","filename":"file4"},{"photo_id":"1326080683","filename":"file1"},{"photo_id":"1326080362","filename":"file0"},{"photo_id":"1326080776","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326081121":["hashtag1","hashtag2"]},{"1326080776":["hashtag1","hashtag2"]},{"1326080683":["hashtag1","hashtag2"]},{"1326080362":["hashtag1","hashtag2"]},{"1326080685":["hashtag1","hashtag2"]},{"1326081123":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326081121, 1326080776, 1326080683, 1326080362, 1326080685, 1326081123)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.239389419555664 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 23:03:22.046706
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/23/02/image_03012025_23_02_03_066155_0002.jpg', '/home/pi/Desktop/images/03012025/23/02/image_03012025_23_02_03_066155_0003.jpg', '/home/pi/Desktop/images/03012025/23/03/image_03012025_23_03_02_230666_0000.jpg', '/home/pi/Desktop/images/03012025/23/03/image_03012025_23_03_02_230666_0001.jpg', '/home/pi/Desktop/images/03012025/23/03/image_03012025_23_03_02_230666_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/23/02/image_03012025_23_02_03_066155_0002.jpg
/home/pi/Desktop/images/03012025/23/02/image_03012025_23_02_03_066155_0003.jpg
/home/pi/Desktop/images/03012025/23/03/image_03012025_23_03_02_230666_0000.jpg
/home/pi/Desktop/images/03012025/23/03/image_03012025_23_03_02_230666_0001.jpg
/home/pi/Desktop/images/03012025/23/03/image_03012025_23_03_02_230666_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326081367","1326081372","1326081366","1326081402","1326081374"],"photo_ids_order":["1326081366","1326081367","1326081372","1326081374","1326081402"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7a74e130103402468be5c8f8b4dd4418.jpg","text":"TemporaryFile(/tmp/multipartBody3850075247863495846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735941874912,"filename":"image_03012025_23_02_03_066155_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a1e9c87fff6d463b0eb2f351985cef9b.jpg","text":"TemporaryFile(/tmp/multipartBody2131088227533046400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735941874912,"filename":"image_03012025_23_03_02_230666_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b48b3275f5ec7efd70f1514c9822313e.jpg","text":"TemporaryFile(/tmp/multipartBody7816495010389736875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735941874912,"filename":"image_03012025_23_02_03_066155_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/50171cda6d12fc78cc07922188df21ef.jpg","text":"TemporaryFile(/tmp/multipartBody3512471758515280796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735941874912,"filename":"image_03012025_23_03_02_230666_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/33a1d010f731750c4956e642c9e02e83.jpg","text":"TemporaryFile(/tmp/multipartBody7573784460589693559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735941874912,"filename":"image_03012025_23_03_02_230666_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326081372","file1":"1326081367","file0":"1326081366","file4":"1326081402","file3":"1326081374"},"map_files_photo_id_array":[{"photo_id":"1326081372","filename":"file2"},{"photo_id":"1326081402","filename":"file4"},{"photo_id":"1326081367","filename":"file1"},{"photo_id":"1326081366","filename":"file0"},{"photo_id":"1326081374","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326081367":["hashtag1","hashtag2"]},{"1326081372":["hashtag1","hashtag2"]},{"1326081366":["hashtag1","hashtag2"]},{"1326081402":["hashtag1","hashtag2"]},{"1326081374":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326081367, 1326081372, 1326081366, 1326081402, 1326081374)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 48.58692479133606 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 23:04:22.248944
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/23/03/image_03012025_23_03_02_230666_0003.jpg', '/home/pi/Desktop/images/03012025/23/04/image_03012025_23_04_02_530709_0001.jpg', '/home/pi/Desktop/images/03012025/23/04/image_03012025_23_04_02_530709_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/23/03/image_03012025_23_03_02_230666_0003.jpg
/home/pi/Desktop/images/03012025/23/04/image_03012025_23_04_02_530709_0001.jpg
/home/pi/Desktop/images/03012025/23/04/image_03012025_23_04_02_530709_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326081802","1326081795","1326081761"],"photo_ids_order":["1326081761","1326081795","1326081802"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/bdb5a5efdd20145a6b632c1e3512c6c9.jpg","text":"TemporaryFile(/tmp/multipartBody542813179783366073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735941930115,"filename":"image_03012025_23_04_02_530709_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/12c88544fefb9b4b8beafd51ea823225.jpg","text":"TemporaryFile(/tmp/multipartBody103242265586787912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735941930115,"filename":"image_03012025_23_04_02_530709_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ec19c087aaca50611e38466e846717f3.jpg","text":"TemporaryFile(/tmp/multipartBody8573278725184613986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735941930115,"filename":"image_03012025_23_03_02_230666_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326081802","file1":"1326081795","file0":"1326081761"},"map_files_photo_id_array":[{"photo_id":"1326081802","filename":"file2"},{"photo_id":"1326081795","filename":"file1"},{"photo_id":"1326081761","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326081802":["hashtag1","hashtag2"]},{"1326081795":["hashtag1","hashtag2"]},{"1326081761":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326081802, 1326081795, 1326081761)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.0365252494812 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 23:05:03.025168
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 23:05:22.470982
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/23/04/image_03012025_23_04_02_530709_0003.jpg', '/home/pi/Desktop/images/03012025/23/05/image_03012025_23_05_02_679448_0000.jpg', '/home/pi/Desktop/images/03012025/23/05/image_03012025_23_05_02_679448_0001.jpg', '/home/pi/Desktop/images/03012025/23/05/image_03012025_23_05_02_679448_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/23/04/image_03012025_23_04_02_530709_0003.jpg
/home/pi/Desktop/images/03012025/23/05/image_03012025_23_05_02_679448_0000.jpg
/home/pi/Desktop/images/03012025/23/05/image_03012025_23_05_02_679448_0001.jpg
/home/pi/Desktop/images/03012025/23/05/image_03012025_23_05_02_679448_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326082411","1326082575","1326082574","1326082532"],"photo_ids_order":["1326082411","1326082532","1326082574","1326082575"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/07b7c2299f1b4e617a96a57a0a8ad3dd.jpg","text":"TemporaryFile(/tmp/multipartBody3667864472998069214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735941992922,"filename":"image_03012025_23_04_02_530709_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e05a0b5ee497bb7069f1549d63575e9d.jpg","text":"TemporaryFile(/tmp/multipartBody1234544787411306089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735941992922,"filename":"image_03012025_23_05_02_679448_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/dec7976a4c2786666d919294f160babd.jpg","text":"TemporaryFile(/tmp/multipartBody6964376642446193184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735941992922,"filename":"image_03012025_23_05_02_679448_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7dedf2bfb1a156573cdd58c463945f07.jpg","text":"TemporaryFile(/tmp/multipartBody8621811953168780844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735941992922,"filename":"image_03012025_23_05_02_679448_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326082574","file1":"1326082532","file0":"1326082411","file3":"1326082575"},"map_files_photo_id_array":[{"photo_id":"1326082574","filename":"file2"},{"photo_id":"1326082532","filename":"file1"},{"photo_id":"1326082411","filename":"file0"},{"photo_id":"1326082575","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326082411":["hashtag1","hashtag2"]},{"1326082575":["hashtag1","hashtag2"]},{"1326082574":["hashtag1","hashtag2"]},{"1326082532":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326082411, 1326082575, 1326082574, 1326082532)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.670775413513184 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-03 23:06:22.813636
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/23/05/image_03012025_23_05_02_679448_0003.jpg', '/home/pi/Desktop/images/03012025/23/06/image_03012025_23_06_02_842562_0000.jpg', '/home/pi/Desktop/images/03012025/23/06/image_03012025_23_06_02_842562_0001.jpg', '/home/pi/Desktop/images/03012025/23/06/image_03012025_23_06_02_842562_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/23/05/image_03012025_23_05_02_679448_0003.jpg
/home/pi/Desktop/images/03012025/23/06/image_03012025_23_06_02_842562_0000.jpg
/home/pi/Desktop/images/03012025/23/06/image_03012025_23_06_02_842562_0001.jpg
/home/pi/Desktop/images/03012025/23/06/image_03012025_23_06_02_842562_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326082765","1326082955","1326082835","1326083077"],"photo_ids_order":["1326082765","1326082835","1326082955","1326083077"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b05f4115b524bb1c7c36125711ba478d.jpg","text":"TemporaryFile(/tmp/multipartBody7109071825861863016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735942053142,"filename":"image_03012025_23_05_02_679448_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/eefdb56c742d38824088ecd1ce6cf10e.jpg","text":"TemporaryFile(/tmp/multipartBody8437953289632151119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735942053142,"filename":"image_03012025_23_06_02_842562_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/615819d80ba3d8c080614f36b876fe65.jpg","text":"TemporaryFile(/tmp/multipartBody3384622830722201535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735942053142,"filename":"image_03012025_23_06_02_842562_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ac26f8f4017f9512dc0842a31e02c279.jpg","text":"TemporaryFile(/tmp/multipartBody2391566293808901010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735942053142,"filename":"image_03012025_23_06_02_842562_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326082955","file1":"1326082835","file0":"1326082765","file3":"1326083077"},"map_files_photo_id_array":[{"photo_id":"1326082955","filename":"file2"},{"photo_id":"1326082835","filename":"file1"},{"photo_id":"1326082765","filename":"file0"},{"photo_id":"1326083077","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326082765":["hashtag1","hashtag2"]},{"1326082955":["hashtag1","hashtag2"]},{"1326082835":["hashtag1","hashtag2"]},{"1326083077":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326082765, 1326082955, 1326082835, 1326083077)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.3966863155365 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 23:07:21.880609
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/23/06/image_03012025_23_06_02_842562_0003.jpg', '/home/pi/Desktop/images/03012025/23/07/image_03012025_23_07_03_047384_0000.jpg', '/home/pi/Desktop/images/03012025/23/07/image_03012025_23_07_03_047384_0001.jpg', '/home/pi/Desktop/images/03012025/23/07/image_03012025_23_07_03_047384_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/23/06/image_03012025_23_06_02_842562_0003.jpg
/home/pi/Desktop/images/03012025/23/07/image_03012025_23_07_03_047384_0000.jpg
/home/pi/Desktop/images/03012025/23/07/image_03012025_23_07_03_047384_0001.jpg
/home/pi/Desktop/images/03012025/23/07/image_03012025_23_07_03_047384_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326083181","1326083180","1326083276","1326083389"],"photo_ids_order":["1326083180","1326083181","1326083276","1326083389"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/925f0a1824294bfe2cad3e9f5aa29a2d.jpg","text":"TemporaryFile(/tmp/multipartBody8403271208071751602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735942112285,"filename":"image_03012025_23_07_03_047384_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/bbbc0663ff07f5c1730e9c533a86a27a.jpg","text":"TemporaryFile(/tmp/multipartBody2346832603364116726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735942112285,"filename":"image_03012025_23_06_02_842562_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/04c1df070234d90d703f307b2b6401ca.jpg","text":"TemporaryFile(/tmp/multipartBody4851753445254207980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735942112285,"filename":"image_03012025_23_07_03_047384_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b66a14a7051ee6f08cd5ffbb0c3d059b.jpg","text":"TemporaryFile(/tmp/multipartBody6037918198460241862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735942112285,"filename":"image_03012025_23_07_03_047384_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326083276","file1":"1326083181","file0":"1326083180","file3":"1326083389"},"map_files_photo_id_array":[{"photo_id":"1326083276","filename":"file2"},{"photo_id":"1326083181","filename":"file1"},{"photo_id":"1326083180","filename":"file0"},{"photo_id":"1326083389","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326083181":["hashtag1","hashtag2"]},{"1326083180":["hashtag1","hashtag2"]},{"1326083276":["hashtag1","hashtag2"]},{"1326083389":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326083181, 1326083180, 1326083276, 1326083389)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.833256244659424 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 23:08:02.383251
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 23:08:21.968718
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/23/07/image_03012025_23_07_03_047384_0003.jpg', '/home/pi/Desktop/images/03012025/23/08/image_03012025_23_08_02_232325_0000.jpg', '/home/pi/Desktop/images/03012025/23/08/image_03012025_23_08_02_232325_0001.jpg', '/home/pi/Desktop/images/03012025/23/08/image_03012025_23_08_02_232325_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/23/07/image_03012025_23_07_03_047384_0003.jpg
/home/pi/Desktop/images/03012025/23/08/image_03012025_23_08_02_232325_0000.jpg
/home/pi/Desktop/images/03012025/23/08/image_03012025_23_08_02_232325_0001.jpg
/home/pi/Desktop/images/03012025/23/08/image_03012025_23_08_02_232325_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326083586","1326083585","1326083588","1326083584"],"photo_ids_order":["1326083584","1326083585","1326083586","1326083588"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b96103d3e63361114b8d521d50e893bc.jpg","text":"TemporaryFile(/tmp/multipartBody1989226882433093373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735942172331,"filename":"image_03012025_23_08_02_232325_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/70e926c506f0ba45fec45d1ecc7d3012.jpg","text":"TemporaryFile(/tmp/multipartBody4872426436381277252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735942172331,"filename":"image_03012025_23_08_02_232325_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7377aff0e7f406fc50a7800c251b340c.jpg","text":"TemporaryFile(/tmp/multipartBody9073325768735116229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735942172331,"filename":"image_03012025_23_08_02_232325_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/62e22fa6a3d1bdf764ffac5e6fdbd949.jpg","text":"TemporaryFile(/tmp/multipartBody5142101499348754424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735942172331,"filename":"image_03012025_23_07_03_047384_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326083586","file1":"1326083585","file0":"1326083584","file3":"1326083588"},"map_files_photo_id_array":[{"photo_id":"1326083586","filename":"file2"},{"photo_id":"1326083585","filename":"file1"},{"photo_id":"1326083584","filename":"file0"},{"photo_id":"1326083588","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326083586":["hashtag1","hashtag2"]},{"1326083585":["hashtag1","hashtag2"]},{"1326083588":["hashtag1","hashtag2"]},{"1326083584":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326083586, 1326083585, 1326083588, 1326083584)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.724493741989136 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 23:09:02.755539
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 23:09:22.140361
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/23/08/image_03012025_23_08_02_232325_0003.jpg', '/home/pi/Desktop/images/03012025/23/09/image_03012025_23_09_02_266623_0000.jpg', '/home/pi/Desktop/images/03012025/23/09/image_03012025_23_09_02_266623_0001.jpg', '/home/pi/Desktop/images/03012025/23/09/image_03012025_23_09_02_266623_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/23/08/image_03012025_23_08_02_232325_0003.jpg
/home/pi/Desktop/images/03012025/23/09/image_03012025_23_09_02_266623_0000.jpg
/home/pi/Desktop/images/03012025/23/09/image_03012025_23_09_02_266623_0001.jpg
/home/pi/Desktop/images/03012025/23/09/image_03012025_23_09_02_266623_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326083604","1326083607","1326083601","1326083606"],"photo_ids_order":["1326083601","1326083604","1326083606","1326083607"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ceb0948153dc83aa3acd666f059ce272.jpg","text":"TemporaryFile(/tmp/multipartBody8309701629004425777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735942232531,"filename":"image_03012025_23_09_02_266623_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e97c45a867bab30b904937f1cef06921.jpg","text":"TemporaryFile(/tmp/multipartBody2164403643720688734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735942232531,"filename":"image_03012025_23_09_02_266623_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9d089bf7ee906c2946f2895386b4713f.jpg","text":"TemporaryFile(/tmp/multipartBody2321559389547721867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735942232531,"filename":"image_03012025_23_08_02_232325_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/52a949f7f12d785b024ab7144fcc7a52.jpg","text":"TemporaryFile(/tmp/multipartBody7897045183477539760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735942232531,"filename":"image_03012025_23_09_02_266623_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326083606","file1":"1326083604","file0":"1326083601","file3":"1326083607"},"map_files_photo_id_array":[{"photo_id":"1326083606","filename":"file2"},{"photo_id":"1326083604","filename":"file1"},{"photo_id":"1326083601","filename":"file0"},{"photo_id":"1326083607","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326083604":["hashtag1","hashtag2"]},{"1326083607":["hashtag1","hashtag2"]},{"1326083601":["hashtag1","hashtag2"]},{"1326083606":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326083604, 1326083607, 1326083601, 1326083606)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 39.82589554786682 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 23:10:22.323316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/23/09/image_03012025_23_09_02_266623_0003.jpg', '/home/pi/Desktop/images/03012025/23/10/image_03012025_23_10_02_439668_0000.jpg', '/home/pi/Desktop/images/03012025/23/10/image_03012025_23_10_02_439668_0001.jpg', '/home/pi/Desktop/images/03012025/23/10/image_03012025_23_10_02_439668_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/23/09/image_03012025_23_09_02_266623_0003.jpg
/home/pi/Desktop/images/03012025/23/10/image_03012025_23_10_02_439668_0000.jpg
/home/pi/Desktop/images/03012025/23/10/image_03012025_23_10_02_439668_0001.jpg
/home/pi/Desktop/images/03012025/23/10/image_03012025_23_10_02_439668_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.086725950241089 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-03 23:10:42.341487
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/23/09/image_03012025_23_09_02_266623_0003.jpg', '/home/pi/Desktop/images/03012025/23/10/image_03012025_23_10_02_439668_0000.jpg', '/home/pi/Desktop/images/03012025/23/10/image_03012025_23_10_02_439668_0001.jpg', '/home/pi/Desktop/images/03012025/23/10/image_03012025_23_10_02_439668_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/23/09/image_03012025_23_09_02_266623_0003.jpg
/home/pi/Desktop/images/03012025/23/10/image_03012025_23_10_02_439668_0000.jpg
/home/pi/Desktop/images/03012025/23/10/image_03012025_23_10_02_439668_0001.jpg
/home/pi/Desktop/images/03012025/23/10/image_03012025_23_10_02_439668_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326083889","1326083703","1326083936","1326083702"],"photo_ids_order":["1326083702","1326083703","1326083889","1326083936"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/acc48585cd0720185abf1f791348e151.jpg","text":"TemporaryFile(/tmp/multipartBody3677205408851366827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735942312839,"filename":"image_03012025_23_10_02_439668_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/eae7125eb571556db9a1bb1c820fb9e9.jpg","text":"TemporaryFile(/tmp/multipartBody4337172988854651263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735942312839,"filename":"image_03012025_23_10_02_439668_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7f4d2e93609e5bef47e55ef5acda06ac.jpg","text":"TemporaryFile(/tmp/multipartBody4208908007715312901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735942312839,"filename":"image_03012025_23_10_02_439668_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7f49b4f5a529ba65cdf877177575f919.jpg","text":"TemporaryFile(/tmp/multipartBody346969022235000333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735942312839,"filename":"image_03012025_23_09_02_266623_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326083889","file1":"1326083703","file0":"1326083702","file3":"1326083936"},"map_files_photo_id_array":[{"photo_id":"1326083889","filename":"file2"},{"photo_id":"1326083703","filename":"file1"},{"photo_id":"1326083702","filename":"file0"},{"photo_id":"1326083936","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326083889":["hashtag1","hashtag2"]},{"1326083703":["hashtag1","hashtag2"]},{"1326083936":["hashtag1","hashtag2"]},{"1326083702":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326083889, 1326083703, 1326083936, 1326083702)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.51356244087219 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-03 23:11:32.539549
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/23/10/image_03012025_23_10_02_439668_0003.jpg', '/home/pi/Desktop/images/03012025/23/11/image_03012025_23_11_02_675012_0000.jpg', '/home/pi/Desktop/images/03012025/23/11/image_03012025_23_11_02_675012_0001.jpg', '/home/pi/Desktop/images/03012025/23/11/image_03012025_23_11_02_675012_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/23/10/image_03012025_23_10_02_439668_0003.jpg
/home/pi/Desktop/images/03012025/23/11/image_03012025_23_11_02_675012_0000.jpg
/home/pi/Desktop/images/03012025/23/11/image_03012025_23_11_02_675012_0001.jpg
/home/pi/Desktop/images/03012025/23/11/image_03012025_23_11_02_675012_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326084276","1326084021","1326084289","1326084253"],"photo_ids_order":["1326084021","1326084253","1326084276","1326084289"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ace2b6b913c828910cff49e1cd9168ab.jpg","text":"TemporaryFile(/tmp/multipartBody4684014183300196550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735942363108,"filename":"image_03012025_23_11_02_675012_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e5e146a79544ec569a4d4d805a51427a.jpg","text":"TemporaryFile(/tmp/multipartBody3655987819772477834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735942363108,"filename":"image_03012025_23_10_02_439668_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/dfd646e1dcdb28e6dc67158f430ae560.jpg","text":"TemporaryFile(/tmp/multipartBody6176030007382983840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735942363108,"filename":"image_03012025_23_11_02_675012_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b7541351efb26c31f705b77553dd38a6.jpg","text":"TemporaryFile(/tmp/multipartBody8739291973822497490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735942363108,"filename":"image_03012025_23_11_02_675012_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326084276","file1":"1326084253","file0":"1326084021","file3":"1326084289"},"map_files_photo_id_array":[{"photo_id":"1326084276","filename":"file2"},{"photo_id":"1326084253","filename":"file1"},{"photo_id":"1326084021","filename":"file0"},{"photo_id":"1326084289","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326084276":["hashtag1","hashtag2"]},{"1326084021":["hashtag1","hashtag2"]},{"1326084289":["hashtag1","hashtag2"]},{"1326084253":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326084276, 1326084021, 1326084289, 1326084253)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.6269109249115 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 23:12:22.776509
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/23/11/image_03012025_23_11_02_675012_0003.jpg', '/home/pi/Desktop/images/03012025/23/12/image_03012025_23_12_02_928871_0000.jpg', '/home/pi/Desktop/images/03012025/23/12/image_03012025_23_12_02_928871_0001.jpg', '/home/pi/Desktop/images/03012025/23/12/image_03012025_23_12_02_928871_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/23/11/image_03012025_23_11_02_675012_0003.jpg
/home/pi/Desktop/images/03012025/23/12/image_03012025_23_12_02_928871_0000.jpg
/home/pi/Desktop/images/03012025/23/12/image_03012025_23_12_02_928871_0001.jpg
/home/pi/Desktop/images/03012025/23/12/image_03012025_23_12_02_928871_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326084741","1326084708","1326084743","1326084699"],"photo_ids_order":["1326084699","1326084708","1326084741","1326084743"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/10207b3e9f90c1088a87d5ee473cc96e.jpg","text":"TemporaryFile(/tmp/multipartBody5318883166177538050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735942413210,"filename":"image_03012025_23_12_02_928871_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/38b5465d3946ae3e6f284e27aaad2be5.jpg","text":"TemporaryFile(/tmp/multipartBody5916879786460063386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735942413210,"filename":"image_03012025_23_12_02_928871_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/77f9fb1cff6a186bbe28c6bbfc18e9f8.jpg","text":"TemporaryFile(/tmp/multipartBody3171598210469688581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735942413210,"filename":"image_03012025_23_12_02_928871_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b261b73844d31ed2399a8483f4f3987f.jpg","text":"TemporaryFile(/tmp/multipartBody3249710692039349089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735942413210,"filename":"image_03012025_23_11_02_675012_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326084741","file1":"1326084708","file0":"1326084699","file3":"1326084743"},"map_files_photo_id_array":[{"photo_id":"1326084741","filename":"file2"},{"photo_id":"1326084708","filename":"file1"},{"photo_id":"1326084699","filename":"file0"},{"photo_id":"1326084743","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326084741":["hashtag1","hashtag2"]},{"1326084708":["hashtag1","hashtag2"]},{"1326084743":["hashtag1","hashtag2"]},{"1326084699":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326084741, 1326084708, 1326084743, 1326084699)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.745970010757446 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 23:13:21.903888
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/23/12/image_03012025_23_12_02_928871_0003.jpg', '/home/pi/Desktop/images/03012025/23/13/image_03012025_23_13_03_056127_0000.jpg', '/home/pi/Desktop/images/03012025/23/13/image_03012025_23_13_03_056127_0001.jpg', '/home/pi/Desktop/images/03012025/23/13/image_03012025_23_13_03_056127_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/23/12/image_03012025_23_12_02_928871_0003.jpg
/home/pi/Desktop/images/03012025/23/13/image_03012025_23_13_03_056127_0000.jpg
/home/pi/Desktop/images/03012025/23/13/image_03012025_23_13_03_056127_0001.jpg
/home/pi/Desktop/images/03012025/23/13/image_03012025_23_13_03_056127_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326084884","1326085238","1326084874","1326085242"],"photo_ids_order":["1326084874","1326084884","1326085238","1326085242"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a1bf03de3208ca3392ad5b47e7cc430d.jpg","text":"TemporaryFile(/tmp/multipartBody8596608908994159627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735942472341,"filename":"image_03012025_23_13_03_056127_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/04112d592ac6e71b92d32f8cdbbc93f7.jpg","text":"TemporaryFile(/tmp/multipartBody3739533703854205611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735942472341,"filename":"image_03012025_23_13_03_056127_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a0eb20125aa4c7101a6a55ff22131382.jpg","text":"TemporaryFile(/tmp/multipartBody4742312530747076252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735942472341,"filename":"image_03012025_23_12_02_928871_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6ceec7fec635addc0dbce70345918c04.jpg","text":"TemporaryFile(/tmp/multipartBody8822151479013177849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735942472341,"filename":"image_03012025_23_13_03_056127_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326085238","file1":"1326084884","file0":"1326084874","file3":"1326085242"},"map_files_photo_id_array":[{"photo_id":"1326085238","filename":"file2"},{"photo_id":"1326084884","filename":"file1"},{"photo_id":"1326084874","filename":"file0"},{"photo_id":"1326085242","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326084884":["hashtag1","hashtag2"]},{"1326085238":["hashtag1","hashtag2"]},{"1326084874":["hashtag1","hashtag2"]},{"1326085242":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326084884, 1326085238, 1326084874, 1326085242)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.35273003578186 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 23:14:02.493170
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 23:14:22.029048
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/23/13/image_03012025_23_13_03_056127_0003.jpg', '/home/pi/Desktop/images/03012025/23/14/image_03012025_23_14_02_285239_0000.jpg', '/home/pi/Desktop/images/03012025/23/14/image_03012025_23_14_02_285239_0001.jpg', '/home/pi/Desktop/images/03012025/23/14/image_03012025_23_14_02_285239_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/23/13/image_03012025_23_13_03_056127_0003.jpg
/home/pi/Desktop/images/03012025/23/14/image_03012025_23_14_02_285239_0000.jpg
/home/pi/Desktop/images/03012025/23/14/image_03012025_23_14_02_285239_0001.jpg
/home/pi/Desktop/images/03012025/23/14/image_03012025_23_14_02_285239_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326085911","1326085921","1326085737","1326085644"],"photo_ids_order":["1326085644","1326085737","1326085911","1326085921"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c26977d297fc1e632bacd55378c2025c.jpg","text":"TemporaryFile(/tmp/multipartBody8722620091195234307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735942532460,"filename":"image_03012025_23_14_02_285239_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2bb7f9b4926053551778168e3e7d3242.jpg","text":"TemporaryFile(/tmp/multipartBody6101365346877421255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735942532460,"filename":"image_03012025_23_14_02_285239_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ce42b78b696561f354058b7f942a7018.jpg","text":"TemporaryFile(/tmp/multipartBody73163284009902278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735942532460,"filename":"image_03012025_23_14_02_285239_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/bc9a7773e7e75a534b4573fb4c401345.jpg","text":"TemporaryFile(/tmp/multipartBody1174773917249525734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735942532460,"filename":"image_03012025_23_13_03_056127_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326085911","file1":"1326085737","file0":"1326085644","file3":"1326085921"},"map_files_photo_id_array":[{"photo_id":"1326085911","filename":"file2"},{"photo_id":"1326085737","filename":"file1"},{"photo_id":"1326085644","filename":"file0"},{"photo_id":"1326085921","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326085911":["hashtag1","hashtag2"]},{"1326085921":["hashtag1","hashtag2"]},{"1326085737":["hashtag1","hashtag2"]},{"1326085644":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326085911, 1326085921, 1326085737, 1326085644)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.29839110374451 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 23:15:22.263805
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/23/14/image_03012025_23_14_02_285239_0003.jpg', '/home/pi/Desktop/images/03012025/23/15/image_03012025_23_15_02_349523_0000.jpg', '/home/pi/Desktop/images/03012025/23/15/image_03012025_23_15_02_349523_0001.jpg', '/home/pi/Desktop/images/03012025/23/15/image_03012025_23_15_02_349523_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/23/14/image_03012025_23_14_02_285239_0003.jpg
/home/pi/Desktop/images/03012025/23/15/image_03012025_23_15_02_349523_0000.jpg
/home/pi/Desktop/images/03012025/23/15/image_03012025_23_15_02_349523_0001.jpg
/home/pi/Desktop/images/03012025/23/15/image_03012025_23_15_02_349523_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326086003","1326086196","1326086020","1326086001"],"photo_ids_order":["1326086001","1326086003","1326086020","1326086196"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/52273342044d260ae99cbbe2ce9edab5.jpg","text":"TemporaryFile(/tmp/multipartBody4003569633597517521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735942592719,"filename":"image_03012025_23_15_02_349523_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c22a33453409f9e9b5a38dc489150e36.jpg","text":"TemporaryFile(/tmp/multipartBody1534806097898106192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735942592719,"filename":"image_03012025_23_15_02_349523_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/26b17a104b18995a6721ec5db4e6de57.jpg","text":"TemporaryFile(/tmp/multipartBody6528650712205744585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735942592719,"filename":"image_03012025_23_15_02_349523_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e32a76c23ba9e8a8edd2009bbf0a4ad3.jpg","text":"TemporaryFile(/tmp/multipartBody2662942088739940547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735942592719,"filename":"image_03012025_23_14_02_285239_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326086020","file1":"1326086003","file0":"1326086001","file3":"1326086196"},"map_files_photo_id_array":[{"photo_id":"1326086020","filename":"file2"},{"photo_id":"1326086003","filename":"file1"},{"photo_id":"1326086001","filename":"file0"},{"photo_id":"1326086196","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326086003":["hashtag1","hashtag2"]},{"1326086196":["hashtag1","hashtag2"]},{"1326086020":["hashtag1","hashtag2"]},{"1326086001":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326086003, 1326086196, 1326086020, 1326086001)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.60734558105469 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 23:16:22.406568
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/23/15/image_03012025_23_15_02_349523_0003.jpg', '/home/pi/Desktop/images/03012025/23/16/image_03012025_23_16_02_625594_0000.jpg', '/home/pi/Desktop/images/03012025/23/16/image_03012025_23_16_02_625594_0001.jpg', '/home/pi/Desktop/images/03012025/23/16/image_03012025_23_16_02_625594_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/23/15/image_03012025_23_15_02_349523_0003.jpg
/home/pi/Desktop/images/03012025/23/16/image_03012025_23_16_02_625594_0000.jpg
/home/pi/Desktop/images/03012025/23/16/image_03012025_23_16_02_625594_0001.jpg
/home/pi/Desktop/images/03012025/23/16/image_03012025_23_16_02_625594_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326086318","1326086327","1326086320","1326086334"],"photo_ids_order":["1326086318","1326086320","1326086327","1326086334"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/82d2800dd483ba49bf47784eaecba0d7.jpg","text":"TemporaryFile(/tmp/multipartBody3501479607212211270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735942652917,"filename":"image_03012025_23_15_02_349523_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7984d1dd08a702fe6ba1e7d16c6acc5d.jpg","text":"TemporaryFile(/tmp/multipartBody4531128617002686241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735942652917,"filename":"image_03012025_23_16_02_625594_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/cc06d88f785c066887d4e52dd869187d.jpg","text":"TemporaryFile(/tmp/multipartBody1111067935070957821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735942652917,"filename":"image_03012025_23_16_02_625594_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/87a6cef9d9ff8eb642bf1b4dff5d2bf9.jpg","text":"TemporaryFile(/tmp/multipartBody5011311044667810862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735942652917,"filename":"image_03012025_23_16_02_625594_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326086327","file1":"1326086320","file0":"1326086318","file3":"1326086334"},"map_files_photo_id_array":[{"photo_id":"1326086327","filename":"file2"},{"photo_id":"1326086320","filename":"file1"},{"photo_id":"1326086318","filename":"file0"},{"photo_id":"1326086334","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326086318":["hashtag1","hashtag2"]},{"1326086327":["hashtag1","hashtag2"]},{"1326086320":["hashtag1","hashtag2"]},{"1326086334":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326086318, 1326086327, 1326086320, 1326086334)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.17660140991211 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 23:17:22.629387
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/23/16/image_03012025_23_16_02_625594_0003.jpg', '/home/pi/Desktop/images/03012025/23/17/image_03012025_23_17_02_757716_0000.jpg', '/home/pi/Desktop/images/03012025/23/17/image_03012025_23_17_02_757716_0001.jpg', '/home/pi/Desktop/images/03012025/23/17/image_03012025_23_17_02_757716_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/23/16/image_03012025_23_16_02_625594_0003.jpg
/home/pi/Desktop/images/03012025/23/17/image_03012025_23_17_02_757716_0000.jpg
/home/pi/Desktop/images/03012025/23/17/image_03012025_23_17_02_757716_0001.jpg
/home/pi/Desktop/images/03012025/23/17/image_03012025_23_17_02_757716_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326086984","1326086986","1326086932","1326086982"],"photo_ids_order":["1326086932","1326086982","1326086984","1326086986"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/fc4028201c35b7ffca67860e2542e532.jpg","text":"TemporaryFile(/tmp/multipartBody2725053290042846633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735942713072,"filename":"image_03012025_23_17_02_757716_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9d83ea2851e0ce785411b254173aae8e.jpg","text":"TemporaryFile(/tmp/multipartBody4420031298823123966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735942713072,"filename":"image_03012025_23_17_02_757716_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b8d7b5ed3403ab80558fe732dd1dc85b.jpg","text":"TemporaryFile(/tmp/multipartBody2323038943308662127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735942713072,"filename":"image_03012025_23_16_02_625594_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/107cd84b17d6e0d558a2b094f94ed88b.jpg","text":"TemporaryFile(/tmp/multipartBody3894886807754272785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735942713072,"filename":"image_03012025_23_17_02_757716_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326086984","file1":"1326086982","file0":"1326086932","file3":"1326086986"},"map_files_photo_id_array":[{"photo_id":"1326086984","filename":"file2"},{"photo_id":"1326086982","filename":"file1"},{"photo_id":"1326086932","filename":"file0"},{"photo_id":"1326086986","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326086984":["hashtag1","hashtag2"]},{"1326086986":["hashtag1","hashtag2"]},{"1326086932":["hashtag1","hashtag2"]},{"1326086982":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326086984, 1326086986, 1326086932, 1326086982)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.146456480026245 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 23:18:22.735322
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/23/17/image_03012025_23_17_02_757716_0003.jpg', '/home/pi/Desktop/images/03012025/23/18/image_03012025_23_18_02_910241_0000.jpg', '/home/pi/Desktop/images/03012025/23/18/image_03012025_23_18_02_910241_0001.jpg', '/home/pi/Desktop/images/03012025/23/18/image_03012025_23_18_02_910241_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/23/17/image_03012025_23_17_02_757716_0003.jpg
/home/pi/Desktop/images/03012025/23/18/image_03012025_23_18_02_910241_0000.jpg
/home/pi/Desktop/images/03012025/23/18/image_03012025_23_18_02_910241_0001.jpg
/home/pi/Desktop/images/03012025/23/18/image_03012025_23_18_02_910241_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.024455785751343 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-03 23:18:42.830199
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/23/17/image_03012025_23_17_02_757716_0003.jpg', '/home/pi/Desktop/images/03012025/23/18/image_03012025_23_18_02_910241_0000.jpg', '/home/pi/Desktop/images/03012025/23/18/image_03012025_23_18_02_910241_0001.jpg', '/home/pi/Desktop/images/03012025/23/18/image_03012025_23_18_02_910241_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/23/17/image_03012025_23_17_02_757716_0003.jpg
/home/pi/Desktop/images/03012025/23/18/image_03012025_23_18_02_910241_0000.jpg
/home/pi/Desktop/images/03012025/23/18/image_03012025_23_18_02_910241_0001.jpg
/home/pi/Desktop/images/03012025/23/18/image_03012025_23_18_02_910241_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326087437","1326087391","1326087393","1326087458"],"photo_ids_order":["1326087391","1326087393","1326087437","1326087458"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f96fb519a2322cc8c9da3ba97012b93b.jpg","text":"TemporaryFile(/tmp/multipartBody4517824479821028512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735942793248,"filename":"image_03012025_23_18_02_910241_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e952b08f15b7f9179b3acbcd899410e5.jpg","text":"TemporaryFile(/tmp/multipartBody1485285375393990984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735942793248,"filename":"image_03012025_23_17_02_757716_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3258fb0a1afe311e9f635c91400812c8.jpg","text":"TemporaryFile(/tmp/multipartBody3862560659013147448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735942793248,"filename":"image_03012025_23_18_02_910241_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3dd402d8fdf24a61312a12c9e0808d74.jpg","text":"TemporaryFile(/tmp/multipartBody8406380518336802851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735942793248,"filename":"image_03012025_23_18_02_910241_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326087437","file1":"1326087393","file0":"1326087391","file3":"1326087458"},"map_files_photo_id_array":[{"photo_id":"1326087437","filename":"file2"},{"photo_id":"1326087393","filename":"file1"},{"photo_id":"1326087391","filename":"file0"},{"photo_id":"1326087458","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326087437":["hashtag1","hashtag2"]},{"1326087391":["hashtag1","hashtag2"]},{"1326087393":["hashtag1","hashtag2"]},{"1326087458":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326087437, 1326087391, 1326087393, 1326087458)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.59595775604248 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-03 23:19:31.917536
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/23/18/image_03012025_23_18_02_910241_0003.jpg', '/home/pi/Desktop/images/03012025/23/19/image_03012025_23_19_03_111315_0000.jpg', '/home/pi/Desktop/images/03012025/23/19/image_03012025_23_19_03_111315_0001.jpg', '/home/pi/Desktop/images/03012025/23/19/image_03012025_23_19_03_111315_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/23/18/image_03012025_23_18_02_910241_0003.jpg
/home/pi/Desktop/images/03012025/23/19/image_03012025_23_19_03_111315_0000.jpg
/home/pi/Desktop/images/03012025/23/19/image_03012025_23_19_03_111315_0001.jpg
/home/pi/Desktop/images/03012025/23/19/image_03012025_23_19_03_111315_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326087713","1326087708","1326087773","1326087584"],"photo_ids_order":["1326087584","1326087708","1326087713","1326087773"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/89a5c33f896a853240eca278869c0226.jpg","text":"TemporaryFile(/tmp/multipartBody1159577502205060202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735942842480,"filename":"image_03012025_23_19_03_111315_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/648e4585a07443f933caaa079a5b847c.jpg","text":"TemporaryFile(/tmp/multipartBody3211898257787364941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735942842480,"filename":"image_03012025_23_19_03_111315_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0f3a43c8e769b9de2e9e4cdbea18e1ab.jpg","text":"TemporaryFile(/tmp/multipartBody6500566590263579264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735942842480,"filename":"image_03012025_23_19_03_111315_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/aed3ce5670a07cdb34bd5f021f6773e4.jpg","text":"TemporaryFile(/tmp/multipartBody3008977330205996232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735942842480,"filename":"image_03012025_23_18_02_910241_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326087713","file1":"1326087708","file0":"1326087584","file3":"1326087773"},"map_files_photo_id_array":[{"photo_id":"1326087713","filename":"file2"},{"photo_id":"1326087708","filename":"file1"},{"photo_id":"1326087584","filename":"file0"},{"photo_id":"1326087773","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326087713":["hashtag1","hashtag2"]},{"1326087708":["hashtag1","hashtag2"]},{"1326087773":["hashtag1","hashtag2"]},{"1326087584":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326087713, 1326087708, 1326087773, 1326087584)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.984278202056885 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 23:20:22.163990
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/23/19/image_03012025_23_19_03_111315_0003.jpg', '/home/pi/Desktop/images/03012025/23/20/image_03012025_23_20_02_269251_0000.jpg', '/home/pi/Desktop/images/03012025/23/20/image_03012025_23_20_02_269251_0001.jpg', '/home/pi/Desktop/images/03012025/23/20/image_03012025_23_20_02_269251_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/23/19/image_03012025_23_19_03_111315_0003.jpg
/home/pi/Desktop/images/03012025/23/20/image_03012025_23_20_02_269251_0000.jpg
/home/pi/Desktop/images/03012025/23/20/image_03012025_23_20_02_269251_0001.jpg
/home/pi/Desktop/images/03012025/23/20/image_03012025_23_20_02_269251_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326088126","1326088122","1326088125","1326088103"],"photo_ids_order":["1326088103","1326088122","1326088125","1326088126"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/47464bc990ed4deebed7a2527126a063.jpg","text":"TemporaryFile(/tmp/multipartBody2097284946083419790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735942892572,"filename":"image_03012025_23_20_02_269251_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e17c5fbfec9645374245150829d46226.jpg","text":"TemporaryFile(/tmp/multipartBody1121455869761795692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735942892572,"filename":"image_03012025_23_20_02_269251_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9bb1495ca4eb50d1052dec310dedaae5.jpg","text":"TemporaryFile(/tmp/multipartBody5211076315705938189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735942892572,"filename":"image_03012025_23_20_02_269251_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d61f99ab27c656b54fb6a273e685584d.jpg","text":"TemporaryFile(/tmp/multipartBody6611412740722035454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735942892572,"filename":"image_03012025_23_19_03_111315_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326088125","file1":"1326088122","file0":"1326088103","file3":"1326088126"},"map_files_photo_id_array":[{"photo_id":"1326088125","filename":"file2"},{"photo_id":"1326088122","filename":"file1"},{"photo_id":"1326088103","filename":"file0"},{"photo_id":"1326088126","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326088126":["hashtag1","hashtag2"]},{"1326088122":["hashtag1","hashtag2"]},{"1326088125":["hashtag1","hashtag2"]},{"1326088103":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326088126, 1326088122, 1326088125, 1326088103)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.4988694190979 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-03 23:21:22.297705
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/23/20/image_03012025_23_20_02_269251_0003.jpg', '/home/pi/Desktop/images/03012025/23/21/image_03012025_23_21_02_501309_0000.jpg', '/home/pi/Desktop/images/03012025/23/21/image_03012025_23_21_02_501309_0001.jpg', '/home/pi/Desktop/images/03012025/23/21/image_03012025_23_21_02_501309_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/23/20/image_03012025_23_20_02_269251_0003.jpg
/home/pi/Desktop/images/03012025/23/21/image_03012025_23_21_02_501309_0000.jpg
/home/pi/Desktop/images/03012025/23/21/image_03012025_23_21_02_501309_0001.jpg
/home/pi/Desktop/images/03012025/23/21/image_03012025_23_21_02_501309_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326088197","1326088200","1326088202","1326088195"],"photo_ids_order":["1326088195","1326088197","1326088200","1326088202"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/832a79bb2b315c703abb092399216cce.jpg","text":"TemporaryFile(/tmp/multipartBody7151229408533235813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735942952779,"filename":"image_03012025_23_21_02_501309_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/be31f24953dd09ff18e79766718a4d08.jpg","text":"TemporaryFile(/tmp/multipartBody8994511361263581445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735942952779,"filename":"image_03012025_23_21_02_501309_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/fc871d8832fc0f39149de6534b197e75.jpg","text":"TemporaryFile(/tmp/multipartBody1849210000234849785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735942952779,"filename":"image_03012025_23_21_02_501309_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a7891ce7a81b3a9933e055ab4cacddb1.jpg","text":"TemporaryFile(/tmp/multipartBody2376736267227843140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735942952779,"filename":"image_03012025_23_20_02_269251_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326088200","file1":"1326088197","file0":"1326088195","file3":"1326088202"},"map_files_photo_id_array":[{"photo_id":"1326088200","filename":"file2"},{"photo_id":"1326088197","filename":"file1"},{"photo_id":"1326088195","filename":"file0"},{"photo_id":"1326088202","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326088197":["hashtag1","hashtag2"]},{"1326088200":["hashtag1","hashtag2"]},{"1326088202":["hashtag1","hashtag2"]},{"1326088195":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326088197, 1326088200, 1326088202, 1326088195)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.4763457775116 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 23:22:02.948070
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 23:22:22.445283
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/23/21/image_03012025_23_21_02_501309_0003.jpg', '/home/pi/Desktop/images/03012025/23/22/image_03012025_23_22_02_709290_0000.jpg', '/home/pi/Desktop/images/03012025/23/22/image_03012025_23_22_02_709290_0001.jpg', '/home/pi/Desktop/images/03012025/23/22/image_03012025_23_22_02_709290_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/23/21/image_03012025_23_21_02_501309_0003.jpg
/home/pi/Desktop/images/03012025/23/22/image_03012025_23_22_02_709290_0000.jpg
/home/pi/Desktop/images/03012025/23/22/image_03012025_23_22_02_709290_0001.jpg
/home/pi/Desktop/images/03012025/23/22/image_03012025_23_22_02_709290_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326088875","1326088842","1326088871","1326088922"],"photo_ids_order":["1326088842","1326088871","1326088875","1326088922"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e4b9c3552a9eabe35b01fd560a353145.jpg","text":"TemporaryFile(/tmp/multipartBody3785610038834725263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735943012831,"filename":"image_03012025_23_22_02_709290_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a0e6a292b6e66faf471938fd0d24b5ea.jpg","text":"TemporaryFile(/tmp/multipartBody879943287123365026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735943012831,"filename":"image_03012025_23_21_02_501309_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4cde3f47360f185f5ae4be448292daec.jpg","text":"TemporaryFile(/tmp/multipartBody2251016872273279546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735943012831,"filename":"image_03012025_23_22_02_709290_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8988034b31ab81912ad7f1dc59b553d6.jpg","text":"TemporaryFile(/tmp/multipartBody5115002303953670972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735943012831,"filename":"image_03012025_23_22_02_709290_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326088875","file1":"1326088871","file0":"1326088842","file3":"1326088922"},"map_files_photo_id_array":[{"photo_id":"1326088875","filename":"file2"},{"photo_id":"1326088871","filename":"file1"},{"photo_id":"1326088842","filename":"file0"},{"photo_id":"1326088922","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326088875":["hashtag1","hashtag2"]},{"1326088842":["hashtag1","hashtag2"]},{"1326088871":["hashtag1","hashtag2"]},{"1326088922":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326088875, 1326088842, 1326088871, 1326088922)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.31628966331482 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 23:23:22.580639
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/23/22/image_03012025_23_22_02_709290_0003.jpg', '/home/pi/Desktop/images/03012025/23/23/image_03012025_23_23_02_822470_0000.jpg', '/home/pi/Desktop/images/03012025/23/23/image_03012025_23_23_02_822470_0001.jpg', '/home/pi/Desktop/images/03012025/23/23/image_03012025_23_23_02_822470_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/23/22/image_03012025_23_22_02_709290_0003.jpg
/home/pi/Desktop/images/03012025/23/23/image_03012025_23_23_02_822470_0000.jpg
/home/pi/Desktop/images/03012025/23/23/image_03012025_23_23_02_822470_0001.jpg
/home/pi/Desktop/images/03012025/23/23/image_03012025_23_23_02_822470_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326089310","1326089307","1326089312","1326089308"],"photo_ids_order":["1326089307","1326089308","1326089310","1326089312"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c8a8660cc93fe0e13f731dfb6663bf8d.jpg","text":"TemporaryFile(/tmp/multipartBody2543084104281815916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735943072831,"filename":"image_03012025_23_23_02_822470_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/74b5127db49006bfad52b664ebe61c16.jpg","text":"TemporaryFile(/tmp/multipartBody1180836178551534589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735943072831,"filename":"image_03012025_23_22_02_709290_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7c9c805029317df5f9fd3f1617c2bc32.jpg","text":"TemporaryFile(/tmp/multipartBody8440168668873604157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735943072831,"filename":"image_03012025_23_23_02_822470_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f4867e245a0958c6086a3cfbf1fe5694.jpg","text":"TemporaryFile(/tmp/multipartBody4028896596965864780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735943072831,"filename":"image_03012025_23_23_02_822470_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326089310","file1":"1326089308","file0":"1326089307","file3":"1326089312"},"map_files_photo_id_array":[{"photo_id":"1326089310","filename":"file2"},{"photo_id":"1326089308","filename":"file1"},{"photo_id":"1326089307","filename":"file0"},{"photo_id":"1326089312","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326089310":["hashtag1","hashtag2"]},{"1326089307":["hashtag1","hashtag2"]},{"1326089312":["hashtag1","hashtag2"]},{"1326089308":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326089310, 1326089307, 1326089312, 1326089308)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.736276149749756 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 23:24:21.819639
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/23/23/image_03012025_23_23_02_822470_0003.jpg', '/home/pi/Desktop/images/03012025/23/24/image_03012025_23_24_03_061907_0000.jpg', '/home/pi/Desktop/images/03012025/23/24/image_03012025_23_24_03_061907_0001.jpg', '/home/pi/Desktop/images/03012025/23/24/image_03012025_23_24_03_061907_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/23/23/image_03012025_23_23_02_822470_0003.jpg
/home/pi/Desktop/images/03012025/23/24/image_03012025_23_24_03_061907_0000.jpg
/home/pi/Desktop/images/03012025/23/24/image_03012025_23_24_03_061907_0001.jpg
/home/pi/Desktop/images/03012025/23/24/image_03012025_23_24_03_061907_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.854347944259644 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-03 23:24:41.819569
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/23/23/image_03012025_23_23_02_822470_0003.jpg', '/home/pi/Desktop/images/03012025/23/24/image_03012025_23_24_03_061907_0000.jpg', '/home/pi/Desktop/images/03012025/23/24/image_03012025_23_24_03_061907_0001.jpg', '/home/pi/Desktop/images/03012025/23/24/image_03012025_23_24_03_061907_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/23/23/image_03012025_23_23_02_822470_0003.jpg
/home/pi/Desktop/images/03012025/23/24/image_03012025_23_24_03_061907_0000.jpg
/home/pi/Desktop/images/03012025/23/24/image_03012025_23_24_03_061907_0001.jpg
/home/pi/Desktop/images/03012025/23/24/image_03012025_23_24_03_061907_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":["1326090049","1326089969","1326090080","1326090065"],"photo_ids_order":["1326089969","1326090049","1326090065","1326090080"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/70c97fa7f0206e3d12c1524ef14d5060.jpg","text":"TemporaryFile(/tmp/multipartBody1990555337621303921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735943152070,"filename":"image_03012025_23_24_03_061907_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e800c19a2b5eef8dcc172a7207b10b5a.jpg","text":"TemporaryFile(/tmp/multipartBody3801725183095681241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735943152070,"filename":"image_03012025_23_23_02_822470_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e2d2ee0387ce97ecb1bb4628fb561be2.jpg","text":"TemporaryFile(/tmp/multipartBody1564657810682757493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735943152070,"filename":"image_03012025_23_24_03_061907_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/33e2924ead3d3f54271218ff5d6f6223.jpg","text":"TemporaryFile(/tmp/multipartBody2606821070713800150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735943152070,"filename":"image_03012025_23_24_03_061907_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326090065","file1":"1326090049","file0":"1326089969","file3":"1326090080"},"map_files_photo_id_array":[{"photo_id":"1326090065","filename":"file2"},{"photo_id":"1326090049","filename":"file1"},{"photo_id":"1326089969","filename":"file0"},{"photo_id":"1326090080","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326090049":["hashtag1","hashtag2"]},{"1326089969":["hashtag1","hashtag2"]},{"1326090080":["hashtag1","hashtag2"]},{"1326090065":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326090049, 1326089969, 1326090080, 1326090065)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.71527910232544 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 23:25:22.091694
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/23/24/image_03012025_23_24_03_061907_0003.jpg', '/home/pi/Desktop/images/03012025/23/25/image_03012025_23_25_02_153241_0000.jpg', '/home/pi/Desktop/images/03012025/23/25/image_03012025_23_25_02_153241_0001.jpg', '/home/pi/Desktop/images/03012025/23/25/image_03012025_23_25_02_153241_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/23/24/image_03012025_23_24_03_061907_0003.jpg
/home/pi/Desktop/images/03012025/23/25/image_03012025_23_25_02_153241_0000.jpg
/home/pi/Desktop/images/03012025/23/25/image_03012025_23_25_02_153241_0001.jpg
/home/pi/Desktop/images/03012025/23/25/image_03012025_23_25_02_153241_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326090240","1326090242","1326090499","1326090382"],"photo_ids_order":["1326090240","1326090242","1326090382","1326090499"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d6bb8bb537b1bad32a7ac29076a4fd7e.jpg","text":"TemporaryFile(/tmp/multipartBody8608620691996102480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735943192594,"filename":"image_03012025_23_24_03_061907_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2d7582ae1c2d4a44f0039f764a2ff0b6.jpg","text":"TemporaryFile(/tmp/multipartBody5519407783037534714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735943192594,"filename":"image_03012025_23_25_02_153241_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e75d5621cd2d6d189c174dcddaaec0e6.jpg","text":"TemporaryFile(/tmp/multipartBody8484484674690591396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735943192594,"filename":"image_03012025_23_25_02_153241_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6031b39bd72412eccd6d6084ca788176.jpg","text":"TemporaryFile(/tmp/multipartBody6621177675080136372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735943192594,"filename":"image_03012025_23_25_02_153241_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326090382","file1":"1326090242","file0":"1326090240","file3":"1326090499"},"map_files_photo_id_array":[{"photo_id":"1326090382","filename":"file2"},{"photo_id":"1326090242","filename":"file1"},{"photo_id":"1326090240","filename":"file0"},{"photo_id":"1326090499","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326090240":["hashtag1","hashtag2"]},{"1326090242":["hashtag1","hashtag2"]},{"1326090499":["hashtag1","hashtag2"]},{"1326090382":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326090240, 1326090242, 1326090499, 1326090382)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.043660402297974 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 23:26:02.554610
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 23:26:22.140069
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/23/25/image_03012025_23_25_02_153241_0003.jpg', '/home/pi/Desktop/images/03012025/23/26/image_03012025_23_26_02_453718_0000.jpg', '/home/pi/Desktop/images/03012025/23/26/image_03012025_23_26_02_453718_0001.jpg', '/home/pi/Desktop/images/03012025/23/26/image_03012025_23_26_02_453718_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/23/25/image_03012025_23_25_02_153241_0003.jpg
/home/pi/Desktop/images/03012025/23/26/image_03012025_23_26_02_453718_0000.jpg
/home/pi/Desktop/images/03012025/23/26/image_03012025_23_26_02_453718_0001.jpg
/home/pi/Desktop/images/03012025/23/26/image_03012025_23_26_02_453718_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326090582","1326090585","1326090578","1326090580"],"photo_ids_order":["1326090578","1326090580","1326090582","1326090585"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f26a4bb2ac13bd558aeed8956c3f3df9.jpg","text":"TemporaryFile(/tmp/multipartBody8404974280610740010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735943252445,"filename":"image_03012025_23_26_02_453718_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/55e062ab18f1a4ae48da3352d3f19a2a.jpg","text":"TemporaryFile(/tmp/multipartBody7136729612276665733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735943252445,"filename":"image_03012025_23_26_02_453718_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b33f0448de7f5893a9b65329911b8602.jpg","text":"TemporaryFile(/tmp/multipartBody2041534388178243353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735943252445,"filename":"image_03012025_23_25_02_153241_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9032330c49124404ed87754a57323f6c.jpg","text":"TemporaryFile(/tmp/multipartBody8288529842674817648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735943252445,"filename":"image_03012025_23_26_02_453718_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326090582","file1":"1326090580","file0":"1326090578","file3":"1326090585"},"map_files_photo_id_array":[{"photo_id":"1326090582","filename":"file2"},{"photo_id":"1326090580","filename":"file1"},{"photo_id":"1326090578","filename":"file0"},{"photo_id":"1326090585","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326090582":["hashtag1","hashtag2"]},{"1326090585":["hashtag1","hashtag2"]},{"1326090578":["hashtag1","hashtag2"]},{"1326090580":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326090582, 1326090585, 1326090578, 1326090580)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.736207008361816 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-03 23:27:22.312183
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/23/26/image_03012025_23_26_02_453718_0003.jpg', '/home/pi/Desktop/images/03012025/23/27/image_03012025_23_27_02_482357_0000.jpg', '/home/pi/Desktop/images/03012025/23/27/image_03012025_23_27_02_482357_0001.jpg', '/home/pi/Desktop/images/03012025/23/27/image_03012025_23_27_02_482357_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/23/26/image_03012025_23_26_02_453718_0003.jpg
/home/pi/Desktop/images/03012025/23/27/image_03012025_23_27_02_482357_0000.jpg
/home/pi/Desktop/images/03012025/23/27/image_03012025_23_27_02_482357_0001.jpg
/home/pi/Desktop/images/03012025/23/27/image_03012025_23_27_02_482357_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326090682","1326090627","1326090592","1326090595"],"photo_ids_order":["1326090592","1326090595","1326090627","1326090682"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4ccfac34ac908a8453ff1b331261b130.jpg","text":"TemporaryFile(/tmp/multipartBody4299667091759044097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735943312642,"filename":"image_03012025_23_27_02_482357_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/790bb1d540103785aaf74b6e0c88435b.jpg","text":"TemporaryFile(/tmp/multipartBody1835373925303963444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735943312642,"filename":"image_03012025_23_27_02_482357_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d21205d18fc4eb9889f283851059dd1d.jpg","text":"TemporaryFile(/tmp/multipartBody8988249667162899539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735943312642,"filename":"image_03012025_23_26_02_453718_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b6f5b512c502039a444d40d5bdb4e000.jpg","text":"TemporaryFile(/tmp/multipartBody247123324116796170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735943312642,"filename":"image_03012025_23_27_02_482357_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326090627","file1":"1326090595","file0":"1326090592","file3":"1326090682"},"map_files_photo_id_array":[{"photo_id":"1326090627","filename":"file2"},{"photo_id":"1326090595","filename":"file1"},{"photo_id":"1326090592","filename":"file0"},{"photo_id":"1326090682","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326090682":["hashtag1","hashtag2"]},{"1326090627":["hashtag1","hashtag2"]},{"1326090592":["hashtag1","hashtag2"]},{"1326090595":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326090682, 1326090627, 1326090592, 1326090595)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.45412731170654 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 23:28:22.511215
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/23/27/image_03012025_23_27_02_482357_0003.jpg', '/home/pi/Desktop/images/03012025/23/28/image_03012025_23_28_02_697040_0000.jpg', '/home/pi/Desktop/images/03012025/23/28/image_03012025_23_28_02_697040_0001.jpg', '/home/pi/Desktop/images/03012025/23/28/image_03012025_23_28_02_697040_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/23/27/image_03012025_23_27_02_482357_0003.jpg
/home/pi/Desktop/images/03012025/23/28/image_03012025_23_28_02_697040_0000.jpg
/home/pi/Desktop/images/03012025/23/28/image_03012025_23_28_02_697040_0001.jpg
/home/pi/Desktop/images/03012025/23/28/image_03012025_23_28_02_697040_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326091327","1326091173","1326091175","1326091169"],"photo_ids_order":["1326091169","1326091173","1326091175","1326091327"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5d6158dfb13b0d7661b3d9a7ca60ce5d.jpg","text":"TemporaryFile(/tmp/multipartBody117928030207242551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735943372829,"filename":"image_03012025_23_28_02_697040_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3d7ed669ec7477bfe95c5761e612d205.jpg","text":"TemporaryFile(/tmp/multipartBody8899916509196786119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735943372829,"filename":"image_03012025_23_28_02_697040_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b2fc9acfb5f7b306ddff9be8d8d2aef5.jpg","text":"TemporaryFile(/tmp/multipartBody4849104188927692247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735943372829,"filename":"image_03012025_23_28_02_697040_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1b7492fc1bdd0c26db52f9dc61611d40.jpg","text":"TemporaryFile(/tmp/multipartBody8980152854055360761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735943372829,"filename":"image_03012025_23_27_02_482357_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326091175","file1":"1326091173","file0":"1326091169","file3":"1326091327"},"map_files_photo_id_array":[{"photo_id":"1326091175","filename":"file2"},{"photo_id":"1326091173","filename":"file1"},{"photo_id":"1326091169","filename":"file0"},{"photo_id":"1326091327","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326091327":["hashtag1","hashtag2"]},{"1326091173":["hashtag1","hashtag2"]},{"1326091175":["hashtag1","hashtag2"]},{"1326091169":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326091327, 1326091173, 1326091175, 1326091169)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.18846845626831 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 23:29:22.847164
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/23/28/image_03012025_23_28_02_697040_0003.jpg', '/home/pi/Desktop/images/03012025/23/29/image_03012025_23_29_02_831507_0000.jpg', '/home/pi/Desktop/images/03012025/23/29/image_03012025_23_29_02_831507_0001.jpg', '/home/pi/Desktop/images/03012025/23/29/image_03012025_23_29_02_831507_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/23/28/image_03012025_23_28_02_697040_0003.jpg
/home/pi/Desktop/images/03012025/23/29/image_03012025_23_29_02_831507_0000.jpg
/home/pi/Desktop/images/03012025/23/29/image_03012025_23_29_02_831507_0001.jpg
/home/pi/Desktop/images/03012025/23/29/image_03012025_23_29_02_831507_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326092684","1326093125","1326093040","1326093124"],"photo_ids_order":["1326092684","1326093040","1326093124","1326093125"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e5cc51a353a91902ca8f37c6b812e180.jpg","text":"TemporaryFile(/tmp/multipartBody1695869682860035513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735943433099,"filename":"image_03012025_23_28_02_697040_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4c565b99aaf8f1a73e37b4dacde2abde.jpg","text":"TemporaryFile(/tmp/multipartBody4946781803891979478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735943433099,"filename":"image_03012025_23_29_02_831507_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/948d044c2e7439272cb236030ecd37e7.jpg","text":"TemporaryFile(/tmp/multipartBody6190535930060268441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735943433099,"filename":"image_03012025_23_29_02_831507_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6d3715b9ad653d3ccf320848e1b0354b.jpg","text":"TemporaryFile(/tmp/multipartBody3980033756618398207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735943433099,"filename":"image_03012025_23_29_02_831507_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326093124","file1":"1326093040","file0":"1326092684","file3":"1326093125"},"map_files_photo_id_array":[{"photo_id":"1326093124","filename":"file2"},{"photo_id":"1326093040","filename":"file1"},{"photo_id":"1326092684","filename":"file0"},{"photo_id":"1326093125","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326092684":["hashtag1","hashtag2"]},{"1326093125":["hashtag1","hashtag2"]},{"1326093040":["hashtag1","hashtag2"]},{"1326093124":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326092684, 1326093125, 1326093040, 1326093124)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.80787754058838 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 23:30:21.942508
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/23/29/image_03012025_23_29_02_831507_0003.jpg', '/home/pi/Desktop/images/03012025/23/30/image_03012025_23_30_03_072219_0000.jpg', '/home/pi/Desktop/images/03012025/23/30/image_03012025_23_30_03_072219_0001.jpg', '/home/pi/Desktop/images/03012025/23/30/image_03012025_23_30_03_072219_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/23/29/image_03012025_23_29_02_831507_0003.jpg
/home/pi/Desktop/images/03012025/23/30/image_03012025_23_30_03_072219_0000.jpg
/home/pi/Desktop/images/03012025/23/30/image_03012025_23_30_03_072219_0001.jpg
/home/pi/Desktop/images/03012025/23/30/image_03012025_23_30_03_072219_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.89094090461731 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-03 23:30:42.009772
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/23/29/image_03012025_23_29_02_831507_0003.jpg', '/home/pi/Desktop/images/03012025/23/30/image_03012025_23_30_03_072219_0000.jpg', '/home/pi/Desktop/images/03012025/23/30/image_03012025_23_30_03_072219_0001.jpg', '/home/pi/Desktop/images/03012025/23/30/image_03012025_23_30_03_072219_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/23/29/image_03012025_23_29_02_831507_0003.jpg
/home/pi/Desktop/images/03012025/23/30/image_03012025_23_30_03_072219_0000.jpg
/home/pi/Desktop/images/03012025/23/30/image_03012025_23_30_03_072219_0001.jpg
/home/pi/Desktop/images/03012025/23/30/image_03012025_23_30_03_072219_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":["1326094297","1326094288","1326094300","1326094302"],"photo_ids_order":["1326094288","1326094297","1326094300","1326094302"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/bb46866e13e4d76ef75a2e118145a2f1.jpg","text":"TemporaryFile(/tmp/multipartBody3891163803401270620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735943512325,"filename":"image_03012025_23_30_03_072219_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/844cecd1fa559e99c3b4830d0914a740.jpg","text":"TemporaryFile(/tmp/multipartBody5591883926117223914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735943512325,"filename":"image_03012025_23_29_02_831507_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/568d56f6a66d3fa37fbf06e49698f7a6.jpg","text":"TemporaryFile(/tmp/multipartBody3257373080977231918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735943512325,"filename":"image_03012025_23_30_03_072219_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5250d1dda8de31294af0af3ced68f388.jpg","text":"TemporaryFile(/tmp/multipartBody6170226343467162655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735943512325,"filename":"image_03012025_23_30_03_072219_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326094300","file1":"1326094297","file0":"1326094288","file3":"1326094302"},"map_files_photo_id_array":[{"photo_id":"1326094300","filename":"file2"},{"photo_id":"1326094297","filename":"file1"},{"photo_id":"1326094288","filename":"file0"},{"photo_id":"1326094302","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326094297":["hashtag1","hashtag2"]},{"1326094288":["hashtag1","hashtag2"]},{"1326094300":["hashtag1","hashtag2"]},{"1326094302":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326094297, 1326094288, 1326094300, 1326094302)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.25849747657776 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 23:31:22.086654
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/23/30/image_03012025_23_30_03_072219_0003.jpg', '/home/pi/Desktop/images/03012025/23/31/image_03012025_23_31_02_264228_0000.jpg', '/home/pi/Desktop/images/03012025/23/31/image_03012025_23_31_02_264228_0001.jpg', '/home/pi/Desktop/images/03012025/23/31/image_03012025_23_31_02_264228_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/23/30/image_03012025_23_30_03_072219_0003.jpg
/home/pi/Desktop/images/03012025/23/31/image_03012025_23_31_02_264228_0000.jpg
/home/pi/Desktop/images/03012025/23/31/image_03012025_23_31_02_264228_0001.jpg
/home/pi/Desktop/images/03012025/23/31/image_03012025_23_31_02_264228_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326094358","1326094325","1326094321","1326094324"],"photo_ids_order":["1326094321","1326094324","1326094325","1326094358"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4297cb209136999af5dcdd540cc2c52d.jpg","text":"TemporaryFile(/tmp/multipartBody6082710414467015864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735943552489,"filename":"image_03012025_23_31_02_264228_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/16e8c3d9a161502f8da99edfb5c44c01.jpg","text":"TemporaryFile(/tmp/multipartBody8965085988399305866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735943552489,"filename":"image_03012025_23_31_02_264228_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/0d56eaaf698abac2d43a46c1e265dc9c.jpg","text":"TemporaryFile(/tmp/multipartBody1491242628742155948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735943552489,"filename":"image_03012025_23_30_03_072219_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/07ab49ec523c441594115fb7c3317a7f.jpg","text":"TemporaryFile(/tmp/multipartBody6009657394117979965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735943552489,"filename":"image_03012025_23_31_02_264228_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326094325","file1":"1326094324","file0":"1326094321","file3":"1326094358"},"map_files_photo_id_array":[{"photo_id":"1326094325","filename":"file2"},{"photo_id":"1326094324","filename":"file1"},{"photo_id":"1326094321","filename":"file0"},{"photo_id":"1326094358","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326094358":["hashtag1","hashtag2"]},{"1326094325":["hashtag1","hashtag2"]},{"1326094321":["hashtag1","hashtag2"]},{"1326094324":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326094358, 1326094325, 1326094321, 1326094324)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.32504415512085 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 23:32:02.623045
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 23:32:22.242940
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/23/31/image_03012025_23_31_02_264228_0003.jpg', '/home/pi/Desktop/images/03012025/23/32/image_03012025_23_32_02_447185_0000.jpg', '/home/pi/Desktop/images/03012025/23/32/image_03012025_23_32_02_447185_0001.jpg', '/home/pi/Desktop/images/03012025/23/32/image_03012025_23_32_02_447185_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/23/31/image_03012025_23_31_02_264228_0003.jpg
/home/pi/Desktop/images/03012025/23/32/image_03012025_23_32_02_447185_0000.jpg
/home/pi/Desktop/images/03012025/23/32/image_03012025_23_32_02_447185_0001.jpg
/home/pi/Desktop/images/03012025/23/32/image_03012025_23_32_02_447185_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326094370","1326094366","1326094368","1326094367"],"photo_ids_order":["1326094366","1326094367","1326094368","1326094370"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2f32f62d8559586462ac49ccb3a550d6.jpg","text":"TemporaryFile(/tmp/multipartBody2278271492577979007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735943612570,"filename":"image_03012025_23_32_02_447185_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1ae80ff360df01fa536d180e7a170f9e.jpg","text":"TemporaryFile(/tmp/multipartBody646730196391932970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735943612570,"filename":"image_03012025_23_31_02_264228_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9a6c65fd9faef656af0e0d1059a153d0.jpg","text":"TemporaryFile(/tmp/multipartBody6010535976757744502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735943612570,"filename":"image_03012025_23_32_02_447185_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d115614d13f0db359888f30b55c9b5ea.jpg","text":"TemporaryFile(/tmp/multipartBody2078138868820542965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735943612570,"filename":"image_03012025_23_32_02_447185_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326094368","file1":"1326094367","file0":"1326094366","file3":"1326094370"},"map_files_photo_id_array":[{"photo_id":"1326094368","filename":"file2"},{"photo_id":"1326094367","filename":"file1"},{"photo_id":"1326094366","filename":"file0"},{"photo_id":"1326094370","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326094370":["hashtag1","hashtag2"]},{"1326094366":["hashtag1","hashtag2"]},{"1326094368":["hashtag1","hashtag2"]},{"1326094367":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326094370, 1326094366, 1326094368, 1326094367)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.82703948020935 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 23:33:02.984169
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 23:33:22.410683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/23/32/image_03012025_23_32_02_447185_0003.jpg', '/home/pi/Desktop/images/03012025/23/33/image_03012025_23_33_02_618237_0000.jpg', '/home/pi/Desktop/images/03012025/23/33/image_03012025_23_33_02_618237_0001.jpg', '/home/pi/Desktop/images/03012025/23/33/image_03012025_23_33_02_618237_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/23/32/image_03012025_23_32_02_447185_0003.jpg
/home/pi/Desktop/images/03012025/23/33/image_03012025_23_33_02_618237_0000.jpg
/home/pi/Desktop/images/03012025/23/33/image_03012025_23_33_02_618237_0001.jpg
/home/pi/Desktop/images/03012025/23/33/image_03012025_23_33_02_618237_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326095167","1326095446","1326095289","1326094943"],"photo_ids_order":["1326094943","1326095167","1326095289","1326095446"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/fcd8c8a53565862f0cd352388f94a4b0.jpg","text":"TemporaryFile(/tmp/multipartBody2954806040837072813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735943672787,"filename":"image_03012025_23_33_02_618237_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/bfdfe25b8ef394f40611141c9b59077f.jpg","text":"TemporaryFile(/tmp/multipartBody8841227106595626410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735943672787,"filename":"image_03012025_23_33_02_618237_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/4706c2be0e62fd6bdd50fc5b39a4d3a7.jpg","text":"TemporaryFile(/tmp/multipartBody5624629726112099237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735943672787,"filename":"image_03012025_23_33_02_618237_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/15d721246417f3529a96ec64ca597725.jpg","text":"TemporaryFile(/tmp/multipartBody511966907275881666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735943672787,"filename":"image_03012025_23_32_02_447185_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326095289","file1":"1326095167","file0":"1326094943","file3":"1326095446"},"map_files_photo_id_array":[{"photo_id":"1326095289","filename":"file2"},{"photo_id":"1326095167","filename":"file1"},{"photo_id":"1326094943","filename":"file0"},{"photo_id":"1326095446","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326095167":["hashtag1","hashtag2"]},{"1326095446":["hashtag1","hashtag2"]},{"1326095289":["hashtag1","hashtag2"]},{"1326094943":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326095167, 1326095446, 1326095289, 1326094943)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.14954853057861 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 23:34:22.669084
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/23/33/image_03012025_23_33_02_618237_0003.jpg', '/home/pi/Desktop/images/03012025/23/34/image_03012025_23_34_02_836590_0000.jpg', '/home/pi/Desktop/images/03012025/23/34/image_03012025_23_34_02_836590_0001.jpg', '/home/pi/Desktop/images/03012025/23/34/image_03012025_23_34_02_836590_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/23/33/image_03012025_23_33_02_618237_0003.jpg
/home/pi/Desktop/images/03012025/23/34/image_03012025_23_34_02_836590_0000.jpg
/home/pi/Desktop/images/03012025/23/34/image_03012025_23_34_02_836590_0001.jpg
/home/pi/Desktop/images/03012025/23/34/image_03012025_23_34_02_836590_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326095767","1326095769","1326095907","1326095771"],"photo_ids_order":["1326095767","1326095769","1326095771","1326095907"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/13d9f3cc2cc69cd8082f6acbb19945a4.jpg","text":"TemporaryFile(/tmp/multipartBody2788278391201535142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735943732929,"filename":"image_03012025_23_33_02_618237_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3c4f9295b277211b494cc21f27b27677.jpg","text":"TemporaryFile(/tmp/multipartBody568781722272755754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735943732929,"filename":"image_03012025_23_34_02_836590_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/77c2f7e5dbf5b586c4fd51bf61b4741f.jpg","text":"TemporaryFile(/tmp/multipartBody3004023959967189506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735943732929,"filename":"image_03012025_23_34_02_836590_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/10b075c284cf5d3a1e19a4258ddfd1f5.jpg","text":"TemporaryFile(/tmp/multipartBody8483942389839009922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735943732929,"filename":"image_03012025_23_34_02_836590_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326095771","file1":"1326095769","file0":"1326095767","file3":"1326095907"},"map_files_photo_id_array":[{"photo_id":"1326095771","filename":"file2"},{"photo_id":"1326095769","filename":"file1"},{"photo_id":"1326095767","filename":"file0"},{"photo_id":"1326095907","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326095767":["hashtag1","hashtag2"]},{"1326095769":["hashtag1","hashtag2"]},{"1326095907":["hashtag1","hashtag2"]},{"1326095771":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326095767, 1326095769, 1326095907, 1326095771)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.75632691383362 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 23:35:21.785504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/23/34/image_03012025_23_34_02_836590_0003.jpg', '/home/pi/Desktop/images/03012025/23/35/image_03012025_23_35_03_048424_0000.jpg', '/home/pi/Desktop/images/03012025/23/35/image_03012025_23_35_03_048424_0001.jpg', '/home/pi/Desktop/images/03012025/23/35/image_03012025_23_35_03_048424_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/23/34/image_03012025_23_34_02_836590_0003.jpg
/home/pi/Desktop/images/03012025/23/35/image_03012025_23_35_03_048424_0000.jpg
/home/pi/Desktop/images/03012025/23/35/image_03012025_23_35_03_048424_0001.jpg
/home/pi/Desktop/images/03012025/23/35/image_03012025_23_35_03_048424_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326096655","1326096610","1326096612","1326096656"],"photo_ids_order":["1326096610","1326096612","1326096655","1326096656"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/cc4b3c1e8b88b85ca55077b53246ec04.jpg","text":"TemporaryFile(/tmp/multipartBody2652207018664732464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735943791988,"filename":"image_03012025_23_35_03_048424_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e4650b3060c05ccd9e891e0cae14c70c.jpg","text":"TemporaryFile(/tmp/multipartBody5581675075676328093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735943791988,"filename":"image_03012025_23_34_02_836590_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/31985cc334abdbf4c6ae4f2d50de9568.jpg","text":"TemporaryFile(/tmp/multipartBody2417073000979291510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735943791988,"filename":"image_03012025_23_35_03_048424_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f04b8b4c3f78a8a2a155de694772cc16.jpg","text":"TemporaryFile(/tmp/multipartBody6365511943752370061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735943791988,"filename":"image_03012025_23_35_03_048424_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326096655","file1":"1326096612","file0":"1326096610","file3":"1326096656"},"map_files_photo_id_array":[{"photo_id":"1326096655","filename":"file2"},{"photo_id":"1326096612","filename":"file1"},{"photo_id":"1326096610","filename":"file0"},{"photo_id":"1326096656","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326096655":["hashtag1","hashtag2"]},{"1326096610":["hashtag1","hashtag2"]},{"1326096612":["hashtag1","hashtag2"]},{"1326096656":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326096655, 1326096610, 1326096612, 1326096656)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.16753649711609 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 23:36:22.091077
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/23/35/image_03012025_23_35_03_048424_0003.jpg', '/home/pi/Desktop/images/03012025/23/36/image_03012025_23_36_02_219342_0000.jpg', '/home/pi/Desktop/images/03012025/23/36/image_03012025_23_36_02_219342_0001.jpg', '/home/pi/Desktop/images/03012025/23/36/image_03012025_23_36_02_219342_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/23/35/image_03012025_23_35_03_048424_0003.jpg
/home/pi/Desktop/images/03012025/23/36/image_03012025_23_36_02_219342_0000.jpg
/home/pi/Desktop/images/03012025/23/36/image_03012025_23_36_02_219342_0001.jpg
/home/pi/Desktop/images/03012025/23/36/image_03012025_23_36_02_219342_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.92435884475708 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-03 23:36:42.065966
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/23/35/image_03012025_23_35_03_048424_0003.jpg', '/home/pi/Desktop/images/03012025/23/36/image_03012025_23_36_02_219342_0000.jpg', '/home/pi/Desktop/images/03012025/23/36/image_03012025_23_36_02_219342_0001.jpg', '/home/pi/Desktop/images/03012025/23/36/image_03012025_23_36_02_219342_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/23/35/image_03012025_23_35_03_048424_0003.jpg
/home/pi/Desktop/images/03012025/23/36/image_03012025_23_36_02_219342_0000.jpg
/home/pi/Desktop/images/03012025/23/36/image_03012025_23_36_02_219342_0001.jpg
/home/pi/Desktop/images/03012025/23/36/image_03012025_23_36_02_219342_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326097398","1326097317","1326097288","1326097069"],"photo_ids_order":["1326097069","1326097288","1326097317","1326097398"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e589403160b8056e7401d09d7bf331bf.jpg","text":"TemporaryFile(/tmp/multipartBody2426235208570437704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735943872406,"filename":"image_03012025_23_36_02_219342_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e9f90cf0a835769851ed9a6d9d1034d9.jpg","text":"TemporaryFile(/tmp/multipartBody2157326146578853517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735943872406,"filename":"image_03012025_23_36_02_219342_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a75c7a4d2b3af3b595f3d84477c53c23.jpg","text":"TemporaryFile(/tmp/multipartBody2718108298131600116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735943872406,"filename":"image_03012025_23_36_02_219342_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/100677799315d37cf9cf1ea822094838.jpg","text":"TemporaryFile(/tmp/multipartBody8155978791075696694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735943872406,"filename":"image_03012025_23_35_03_048424_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326097317","file1":"1326097288","file0":"1326097069","file3":"1326097398"},"map_files_photo_id_array":[{"photo_id":"1326097317","filename":"file2"},{"photo_id":"1326097288","filename":"file1"},{"photo_id":"1326097069","filename":"file0"},{"photo_id":"1326097398","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326097398":["hashtag1","hashtag2"]},{"1326097317":["hashtag1","hashtag2"]},{"1326097288":["hashtag1","hashtag2"]},{"1326097069":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326097398, 1326097317, 1326097288, 1326097069)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.43487048149109 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-03 23:37:32.225337
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/23/36/image_03012025_23_36_02_219342_0003.jpg', '/home/pi/Desktop/images/03012025/23/37/image_03012025_23_37_02_470297_0000.jpg', '/home/pi/Desktop/images/03012025/23/37/image_03012025_23_37_02_470297_0001.jpg', '/home/pi/Desktop/images/03012025/23/37/image_03012025_23_37_02_470297_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/23/36/image_03012025_23_36_02_219342_0003.jpg
/home/pi/Desktop/images/03012025/23/37/image_03012025_23_37_02_470297_0000.jpg
/home/pi/Desktop/images/03012025/23/37/image_03012025_23_37_02_470297_0001.jpg
/home/pi/Desktop/images/03012025/23/37/image_03012025_23_37_02_470297_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326097566","1326097568","1326097576","1326097561"],"photo_ids_order":["1326097561","1326097566","1326097568","1326097576"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d4c37344292f7cef0b2ecc2c670fa199.jpg","text":"TemporaryFile(/tmp/multipartBody3545814889460264726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735943922643,"filename":"image_03012025_23_37_02_470297_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7db066a2887a8032acac4eef16cac2d9.jpg","text":"TemporaryFile(/tmp/multipartBody4594681619950050647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735943922643,"filename":"image_03012025_23_37_02_470297_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3c3f903a4cb647c3222587bee24b62d6.jpg","text":"TemporaryFile(/tmp/multipartBody7187582827449287680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735943922643,"filename":"image_03012025_23_37_02_470297_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/cea5e61ec1689ce8c181651d9c6559a0.jpg","text":"TemporaryFile(/tmp/multipartBody2196082555943095843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735943922643,"filename":"image_03012025_23_36_02_219342_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326097568","file1":"1326097566","file0":"1326097561","file3":"1326097576"},"map_files_photo_id_array":[{"photo_id":"1326097568","filename":"file2"},{"photo_id":"1326097566","filename":"file1"},{"photo_id":"1326097561","filename":"file0"},{"photo_id":"1326097576","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326097566":["hashtag1","hashtag2"]},{"1326097568":["hashtag1","hashtag2"]},{"1326097576":["hashtag1","hashtag2"]},{"1326097561":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326097566, 1326097568, 1326097576, 1326097561)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.746963024139404 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 23:38:22.442372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/23/37/image_03012025_23_37_02_470297_0003.jpg', '/home/pi/Desktop/images/03012025/23/38/image_03012025_23_38_02_651529_0000.jpg', '/home/pi/Desktop/images/03012025/23/38/image_03012025_23_38_02_651529_0001.jpg', '/home/pi/Desktop/images/03012025/23/38/image_03012025_23_38_02_651529_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/23/37/image_03012025_23_37_02_470297_0003.jpg
/home/pi/Desktop/images/03012025/23/38/image_03012025_23_38_02_651529_0000.jpg
/home/pi/Desktop/images/03012025/23/38/image_03012025_23_38_02_651529_0001.jpg
/home/pi/Desktop/images/03012025/23/38/image_03012025_23_38_02_651529_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326098124","1326098136","1326098149","1326098196"],"photo_ids_order":["1326098124","1326098136","1326098149","1326098196"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a9b829eaa8dad06452330bae39011fc5.jpg","text":"TemporaryFile(/tmp/multipartBody2594209060540386837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735943972759,"filename":"image_03012025_23_37_02_470297_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1aacc97c258df8affcb9e90711e7b37d.jpg","text":"TemporaryFile(/tmp/multipartBody518932952110941436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735943972759,"filename":"image_03012025_23_38_02_651529_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/96b74556f489c48320990961def2b7c5.jpg","text":"TemporaryFile(/tmp/multipartBody617204024656156470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735943972759,"filename":"image_03012025_23_38_02_651529_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5fbda2cfe00985f732962dba6f9c0e74.jpg","text":"TemporaryFile(/tmp/multipartBody4214677698677013821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735943972759,"filename":"image_03012025_23_38_02_651529_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326098149","file1":"1326098136","file0":"1326098124","file3":"1326098196"},"map_files_photo_id_array":[{"photo_id":"1326098149","filename":"file2"},{"photo_id":"1326098136","filename":"file1"},{"photo_id":"1326098124","filename":"file0"},{"photo_id":"1326098196","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326098124":["hashtag1","hashtag2"]},{"1326098136":["hashtag1","hashtag2"]},{"1326098149":["hashtag1","hashtag2"]},{"1326098196":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326098124, 1326098136, 1326098149, 1326098196)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.251553773880005 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 23:39:22.653198
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/23/38/image_03012025_23_38_02_651529_0003.jpg', '/home/pi/Desktop/images/03012025/23/39/image_03012025_23_39_02_793403_0000.jpg', '/home/pi/Desktop/images/03012025/23/39/image_03012025_23_39_02_793403_0001.jpg', '/home/pi/Desktop/images/03012025/23/39/image_03012025_23_39_02_793403_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/23/38/image_03012025_23_38_02_651529_0003.jpg
/home/pi/Desktop/images/03012025/23/39/image_03012025_23_39_02_793403_0000.jpg
/home/pi/Desktop/images/03012025/23/39/image_03012025_23_39_02_793403_0001.jpg
/home/pi/Desktop/images/03012025/23/39/image_03012025_23_39_02_793403_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326098588","1326098569","1326098583","1326098586"],"photo_ids_order":["1326098569","1326098583","1326098586","1326098588"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e9a19f7bb7c7cf436ed166e4a17c8b06.jpg","text":"TemporaryFile(/tmp/multipartBody2515669427093439399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735944033227,"filename":"image_03012025_23_39_02_793403_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6acbf1bd08805e7fe6d5c5c692840150.jpg","text":"TemporaryFile(/tmp/multipartBody6088791648668557428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735944033227,"filename":"image_03012025_23_38_02_651529_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9461d7139a33308d54d49792b3c82ba4.jpg","text":"TemporaryFile(/tmp/multipartBody2019884258094588880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735944033227,"filename":"image_03012025_23_39_02_793403_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f530ffe3849d9a4d494d0920c96bd4ac.jpg","text":"TemporaryFile(/tmp/multipartBody765400762418847889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735944033227,"filename":"image_03012025_23_39_02_793403_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326098586","file1":"1326098583","file0":"1326098569","file3":"1326098588"},"map_files_photo_id_array":[{"photo_id":"1326098586","filename":"file2"},{"photo_id":"1326098583","filename":"file1"},{"photo_id":"1326098569","filename":"file0"},{"photo_id":"1326098588","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326098588":["hashtag1","hashtag2"]},{"1326098569":["hashtag1","hashtag2"]},{"1326098583":["hashtag1","hashtag2"]},{"1326098586":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326098588, 1326098569, 1326098583, 1326098586)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.08072113990784 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 23:40:21.811539
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/23/39/image_03012025_23_39_02_793403_0003.jpg', '/home/pi/Desktop/images/03012025/23/40/image_03012025_23_40_02_993122_0000.jpg', '/home/pi/Desktop/images/03012025/23/40/image_03012025_23_40_02_993122_0001.jpg', '/home/pi/Desktop/images/03012025/23/40/image_03012025_23_40_02_993122_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/23/39/image_03012025_23_39_02_793403_0003.jpg
/home/pi/Desktop/images/03012025/23/40/image_03012025_23_40_02_993122_0000.jpg
/home/pi/Desktop/images/03012025/23/40/image_03012025_23_40_02_993122_0001.jpg
/home/pi/Desktop/images/03012025/23/40/image_03012025_23_40_02_993122_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326098951","1326098948","1326098927","1326098949"],"photo_ids_order":["1326098927","1326098948","1326098949","1326098951"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9e81d969a19cc202dc33572ff7734deb.jpg","text":"TemporaryFile(/tmp/multipartBody6392379103525718220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735944092301,"filename":"image_03012025_23_40_02_993122_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a50ff8d6e24fc404aed8a71200978a87.jpg","text":"TemporaryFile(/tmp/multipartBody1795435990926407375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735944092301,"filename":"image_03012025_23_40_02_993122_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a8043b23ba42f0d006ca34691d62f3e8.jpg","text":"TemporaryFile(/tmp/multipartBody5321361521734616815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735944092301,"filename":"image_03012025_23_39_02_793403_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/750f6e1b262d22b8796f5681a7035cc5.jpg","text":"TemporaryFile(/tmp/multipartBody3407768805440000481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735944092301,"filename":"image_03012025_23_40_02_993122_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326098949","file1":"1326098948","file0":"1326098927","file3":"1326098951"},"map_files_photo_id_array":[{"photo_id":"1326098949","filename":"file2"},{"photo_id":"1326098948","filename":"file1"},{"photo_id":"1326098927","filename":"file0"},{"photo_id":"1326098951","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326098951":["hashtag1","hashtag2"]},{"1326098948":["hashtag1","hashtag2"]},{"1326098927":["hashtag1","hashtag2"]},{"1326098949":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326098951, 1326098948, 1326098927, 1326098949)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.81969213485718 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 23:41:02.492214
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 23:41:22.033558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/23/40/image_03012025_23_40_02_993122_0003.jpg', '/home/pi/Desktop/images/03012025/23/41/image_03012025_23_41_02_249714_0000.jpg', '/home/pi/Desktop/images/03012025/23/41/image_03012025_23_41_02_249714_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/23/40/image_03012025_23_40_02_993122_0003.jpg
/home/pi/Desktop/images/03012025/23/41/image_03012025_23_41_02_249714_0000.jpg
/home/pi/Desktop/images/03012025/23/41/image_03012025_23_41_02_249714_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":["1326099002","1326099203","1326099201"],"photo_ids_order":["1326099002","1326099201","1326099203"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6a927a58d81489ff08f22213f65a2879.jpg","text":"TemporaryFile(/tmp/multipartBody466777883943146536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735944150030,"filename":"image_03012025_23_40_02_993122_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/fa2a72aa713ac62f9cde38b25a38116a.jpg","text":"TemporaryFile(/tmp/multipartBody7845914363370173870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735944150030,"filename":"image_03012025_23_41_02_249714_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/185371c00a467e7a07457f8c5e805c5d.jpg","text":"TemporaryFile(/tmp/multipartBody8727954078094384871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735944150030,"filename":"image_03012025_23_41_02_249714_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326099203","file1":"1326099201","file0":"1326099002"},"map_files_photo_id_array":[{"photo_id":"1326099203","filename":"file2"},{"photo_id":"1326099201","filename":"file1"},{"photo_id":"1326099002","filename":"file0"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326099002":["hashtag1","hashtag2"]},{"1326099203":["hashtag1","hashtag2"]},{"1326099201":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326099002, 1326099203, 1326099201)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 34.201942443847656 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 23:42:02.577146
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 23:42:22.237981
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/23/41/image_03012025_23_41_02_249714_0002.jpg', '/home/pi/Desktop/images/03012025/23/42/image_03012025_23_42_02_373286_0000.jpg', '/home/pi/Desktop/images/03012025/23/42/image_03012025_23_42_02_373286_0001.jpg', '/home/pi/Desktop/images/03012025/23/42/image_03012025_23_42_02_373286_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/23/41/image_03012025_23_41_02_249714_0002.jpg
/home/pi/Desktop/images/03012025/23/42/image_03012025_23_42_02_373286_0000.jpg
/home/pi/Desktop/images/03012025/23/42/image_03012025_23_42_02_373286_0001.jpg
/home/pi/Desktop/images/03012025/23/42/image_03012025_23_42_02_373286_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.910290479660034 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-03 23:42:42.225438
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/23/41/image_03012025_23_41_02_249714_0002.jpg', '/home/pi/Desktop/images/03012025/23/42/image_03012025_23_42_02_373286_0000.jpg', '/home/pi/Desktop/images/03012025/23/42/image_03012025_23_42_02_373286_0001.jpg', '/home/pi/Desktop/images/03012025/23/42/image_03012025_23_42_02_373286_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/23/41/image_03012025_23_41_02_249714_0002.jpg
/home/pi/Desktop/images/03012025/23/42/image_03012025_23_42_02_373286_0000.jpg
/home/pi/Desktop/images/03012025/23/42/image_03012025_23_42_02_373286_0001.jpg
/home/pi/Desktop/images/03012025/23/42/image_03012025_23_42_02_373286_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":["1326100013","1326100077","1326100053","1326100014"],"photo_ids_order":["1326100013","1326100014","1326100053","1326100077"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/974fdf074b2de2cef449b981a92284f9.jpg","text":"TemporaryFile(/tmp/multipartBody955440210058927374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735944232558,"filename":"image_03012025_23_41_02_249714_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5cad3317ea57f1504b4d225060d78b80.jpg","text":"TemporaryFile(/tmp/multipartBody3635504527505742746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735944232558,"filename":"image_03012025_23_42_02_373286_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/059bc161f8b0e4b24a01301de8e6073e.jpg","text":"TemporaryFile(/tmp/multipartBody7802493928744729361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735944232558,"filename":"image_03012025_23_42_02_373286_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f87dfe9e73dddf0f39b7629917c2b823.jpg","text":"TemporaryFile(/tmp/multipartBody1541805095028016672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735944232558,"filename":"image_03012025_23_42_02_373286_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326100053","file1":"1326100014","file0":"1326100013","file3":"1326100077"},"map_files_photo_id_array":[{"photo_id":"1326100053","filename":"file2"},{"photo_id":"1326100014","filename":"file1"},{"photo_id":"1326100013","filename":"file0"},{"photo_id":"1326100077","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326100013":["hashtag1","hashtag2"]},{"1326100077":["hashtag1","hashtag2"]},{"1326100053":["hashtag1","hashtag2"]},{"1326100014":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326100013, 1326100077, 1326100053, 1326100014)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.58532929420471 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 23:43:22.397644
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/23/42/image_03012025_23_42_02_373286_0003.jpg', '/home/pi/Desktop/images/03012025/23/43/image_03012025_23_43_02_546605_0000.jpg', '/home/pi/Desktop/images/03012025/23/43/image_03012025_23_43_02_546605_0001.jpg', '/home/pi/Desktop/images/03012025/23/43/image_03012025_23_43_02_546605_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/23/42/image_03012025_23_42_02_373286_0003.jpg
/home/pi/Desktop/images/03012025/23/43/image_03012025_23_43_02_546605_0000.jpg
/home/pi/Desktop/images/03012025/23/43/image_03012025_23_43_02_546605_0001.jpg
/home/pi/Desktop/images/03012025/23/43/image_03012025_23_43_02_546605_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326100219","1326100215","1326100451","1326100217"],"photo_ids_order":["1326100215","1326100217","1326100219","1326100451"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2a6b2aca6527d7876352f3d808eaa78a.jpg","text":"TemporaryFile(/tmp/multipartBody5890003860469387333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735944272879,"filename":"image_03012025_23_43_02_546605_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b0e2502f3c405369d051bd97ad053bad.jpg","text":"TemporaryFile(/tmp/multipartBody5350673404631877873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735944272879,"filename":"image_03012025_23_42_02_373286_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/5e981c1680ad9755a314ad025a7b194e.jpg","text":"TemporaryFile(/tmp/multipartBody7867773922495193632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735944272879,"filename":"image_03012025_23_43_02_546605_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d09b404b97116064479fac089f5126ad.jpg","text":"TemporaryFile(/tmp/multipartBody7848065131722286909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735944272879,"filename":"image_03012025_23_43_02_546605_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326100219","file1":"1326100217","file0":"1326100215","file3":"1326100451"},"map_files_photo_id_array":[{"photo_id":"1326100219","filename":"file2"},{"photo_id":"1326100217","filename":"file1"},{"photo_id":"1326100215","filename":"file0"},{"photo_id":"1326100451","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326100219":["hashtag1","hashtag2"]},{"1326100215":["hashtag1","hashtag2"]},{"1326100451":["hashtag1","hashtag2"]},{"1326100217":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326100219, 1326100215, 1326100451, 1326100217)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.61423873901367 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-03 23:44:22.632233
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/23/43/image_03012025_23_43_02_546605_0003.jpg', '/home/pi/Desktop/images/03012025/23/44/image_03012025_23_44_02_757551_0000.jpg', '/home/pi/Desktop/images/03012025/23/44/image_03012025_23_44_02_757551_0001.jpg', '/home/pi/Desktop/images/03012025/23/44/image_03012025_23_44_02_757551_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/23/43/image_03012025_23_43_02_546605_0003.jpg
/home/pi/Desktop/images/03012025/23/44/image_03012025_23_44_02_757551_0000.jpg
/home/pi/Desktop/images/03012025/23/44/image_03012025_23_44_02_757551_0001.jpg
/home/pi/Desktop/images/03012025/23/44/image_03012025_23_44_02_757551_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326100699","1326100693","1326100681","1326100685"],"photo_ids_order":["1326100681","1326100685","1326100693","1326100699"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/31654e95c993a1342426f90cb6bf7354.jpg","text":"TemporaryFile(/tmp/multipartBody3339895298711487968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735944332978,"filename":"image_03012025_23_44_02_757551_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8a0fc3f109dd224166bdccbe809ef33d.jpg","text":"TemporaryFile(/tmp/multipartBody6195451313193350312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735944332978,"filename":"image_03012025_23_44_02_757551_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8b8944134b6ffd492c77eab9585a78f3.jpg","text":"TemporaryFile(/tmp/multipartBody820756659806995508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735944332978,"filename":"image_03012025_23_43_02_546605_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ba2aaf762fabafd65e7e83d557d5d188.jpg","text":"TemporaryFile(/tmp/multipartBody5202223886516994517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735944332978,"filename":"image_03012025_23_44_02_757551_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326100693","file1":"1326100685","file0":"1326100681","file3":"1326100699"},"map_files_photo_id_array":[{"photo_id":"1326100693","filename":"file2"},{"photo_id":"1326100685","filename":"file1"},{"photo_id":"1326100681","filename":"file0"},{"photo_id":"1326100699","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326100699":["hashtag1","hashtag2"]},{"1326100693":["hashtag1","hashtag2"]},{"1326100681":["hashtag1","hashtag2"]},{"1326100685":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326100699, 1326100693, 1326100681, 1326100685)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.69520401954651 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-03 23:45:21.828371
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/23/44/image_03012025_23_44_02_757551_0003.jpg', '/home/pi/Desktop/images/03012025/23/45/image_03012025_23_45_02_933200_0000.jpg', '/home/pi/Desktop/images/03012025/23/45/image_03012025_23_45_02_933200_0001.jpg', '/home/pi/Desktop/images/03012025/23/45/image_03012025_23_45_02_933200_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/23/44/image_03012025_23_44_02_757551_0003.jpg
/home/pi/Desktop/images/03012025/23/45/image_03012025_23_45_02_933200_0000.jpg
/home/pi/Desktop/images/03012025/23/45/image_03012025_23_45_02_933200_0001.jpg
/home/pi/Desktop/images/03012025/23/45/image_03012025_23_45_02_933200_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326101131","1326101140","1326101136","1326101115"],"photo_ids_order":["1326101115","1326101131","1326101136","1326101140"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/fc3ca8b15a9f3ee86b30a3720dfe0552.jpg","text":"TemporaryFile(/tmp/multipartBody4523226993886354271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735944392293,"filename":"image_03012025_23_45_02_933200_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3a92bbf9f7106f769b5ab3f3a54a71a2.jpg","text":"TemporaryFile(/tmp/multipartBody2557261961684266463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735944392293,"filename":"image_03012025_23_45_02_933200_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/66b1eaba65075a7ea047349758bc4e58.jpg","text":"TemporaryFile(/tmp/multipartBody2130626474156575367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735944392293,"filename":"image_03012025_23_45_02_933200_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c18a2e0aeecbf2d57e7d845115bf91a7.jpg","text":"TemporaryFile(/tmp/multipartBody4671300410544643299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735944392293,"filename":"image_03012025_23_44_02_757551_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326101136","file1":"1326101131","file0":"1326101115","file3":"1326101140"},"map_files_photo_id_array":[{"photo_id":"1326101136","filename":"file2"},{"photo_id":"1326101131","filename":"file1"},{"photo_id":"1326101115","filename":"file0"},{"photo_id":"1326101140","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326101131":["hashtag1","hashtag2"]},{"1326101140":["hashtag1","hashtag2"]},{"1326101136":["hashtag1","hashtag2"]},{"1326101115":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326101131, 1326101140, 1326101136, 1326101115)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.434542417526245 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 23:46:22.040542
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/23/45/image_03012025_23_45_02_933200_0003.jpg', '/home/pi/Desktop/images/03012025/23/46/image_03012025_23_46_02_133174_0000.jpg', '/home/pi/Desktop/images/03012025/23/46/image_03012025_23_46_02_133174_0001.jpg', '/home/pi/Desktop/images/03012025/23/46/image_03012025_23_46_02_133174_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/23/45/image_03012025_23_45_02_933200_0003.jpg
/home/pi/Desktop/images/03012025/23/46/image_03012025_23_46_02_133174_0000.jpg
/home/pi/Desktop/images/03012025/23/46/image_03012025_23_46_02_133174_0001.jpg
/home/pi/Desktop/images/03012025/23/46/image_03012025_23_46_02_133174_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326101509","1326101598","1326101568","1326101511"],"photo_ids_order":["1326101509","1326101511","1326101568","1326101598"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/038a25c5816b7340c10f28d39088aed6.jpg","text":"TemporaryFile(/tmp/multipartBody2835218716854470634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735944452372,"filename":"image_03012025_23_45_02_933200_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2056d1c2dbc3d1edf2e942c424a93b26.jpg","text":"TemporaryFile(/tmp/multipartBody7846956485222325494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735944452372,"filename":"image_03012025_23_46_02_133174_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/7f6e3d6604b72f72870f3d36c8184d97.jpg","text":"TemporaryFile(/tmp/multipartBody4430653388997334131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735944452372,"filename":"image_03012025_23_46_02_133174_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/37aea98e10ced4d9f3c002643e4c06d6.jpg","text":"TemporaryFile(/tmp/multipartBody2416735575209898885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735944452372,"filename":"image_03012025_23_46_02_133174_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326101568","file1":"1326101511","file0":"1326101509","file3":"1326101598"},"map_files_photo_id_array":[{"photo_id":"1326101568","filename":"file2"},{"photo_id":"1326101511","filename":"file1"},{"photo_id":"1326101509","filename":"file0"},{"photo_id":"1326101598","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326101509":["hashtag1","hashtag2"]},{"1326101598":["hashtag1","hashtag2"]},{"1326101568":["hashtag1","hashtag2"]},{"1326101511":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326101509, 1326101598, 1326101568, 1326101511)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.33698844909668 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 23:47:22.159093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/23/46/image_03012025_23_46_02_133174_0003.jpg', '/home/pi/Desktop/images/03012025/23/47/image_03012025_23_47_02_385503_0000.jpg', '/home/pi/Desktop/images/03012025/23/47/image_03012025_23_47_02_385503_0001.jpg', '/home/pi/Desktop/images/03012025/23/47/image_03012025_23_47_02_385503_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/23/46/image_03012025_23_46_02_133174_0003.jpg
/home/pi/Desktop/images/03012025/23/47/image_03012025_23_47_02_385503_0000.jpg
/home/pi/Desktop/images/03012025/23/47/image_03012025_23_47_02_385503_0001.jpg
/home/pi/Desktop/images/03012025/23/47/image_03012025_23_47_02_385503_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326102325","1326102072","1326102018","1326102133"],"photo_ids_order":["1326102018","1326102072","1326102133","1326102325"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/2c67206c1e3597943e9da66a012c3b91.jpg","text":"TemporaryFile(/tmp/multipartBody2329778883505391872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735944512536,"filename":"image_03012025_23_47_02_385503_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/22f68839928fb287754e67ee94c8da56.jpg","text":"TemporaryFile(/tmp/multipartBody6653519744984811650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735944512536,"filename":"image_03012025_23_47_02_385503_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d79e98ead5c6e830bdda318ac4ac57fa.jpg","text":"TemporaryFile(/tmp/multipartBody5758705847726938733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735944512536,"filename":"image_03012025_23_46_02_133174_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c78f0a8e44afe5363bf8b502c44247d9.jpg","text":"TemporaryFile(/tmp/multipartBody8170459171797983457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735944512536,"filename":"image_03012025_23_47_02_385503_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326102133","file1":"1326102072","file0":"1326102018","file3":"1326102325"},"map_files_photo_id_array":[{"photo_id":"1326102133","filename":"file2"},{"photo_id":"1326102072","filename":"file1"},{"photo_id":"1326102018","filename":"file0"},{"photo_id":"1326102325","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326102325":["hashtag1","hashtag2"]},{"1326102072":["hashtag1","hashtag2"]},{"1326102018":["hashtag1","hashtag2"]},{"1326102133":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326102325, 1326102072, 1326102018, 1326102133)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.949737787246704 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 23:48:02.707946
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 23:48:22.207201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/23/47/image_03012025_23_47_02_385503_0003.jpg', '/home/pi/Desktop/images/03012025/23/48/image_03012025_23_48_02_508967_0000.jpg', '/home/pi/Desktop/images/03012025/23/48/image_03012025_23_48_02_508967_0001.jpg', '/home/pi/Desktop/images/03012025/23/48/image_03012025_23_48_02_508967_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/23/47/image_03012025_23_47_02_385503_0003.jpg
/home/pi/Desktop/images/03012025/23/48/image_03012025_23_48_02_508967_0000.jpg
/home/pi/Desktop/images/03012025/23/48/image_03012025_23_48_02_508967_0001.jpg
/home/pi/Desktop/images/03012025/23/48/image_03012025_23_48_02_508967_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.98696780204773 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-03 23:48:42.240015
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/23/47/image_03012025_23_47_02_385503_0003.jpg', '/home/pi/Desktop/images/03012025/23/48/image_03012025_23_48_02_508967_0000.jpg', '/home/pi/Desktop/images/03012025/23/48/image_03012025_23_48_02_508967_0001.jpg', '/home/pi/Desktop/images/03012025/23/48/image_03012025_23_48_02_508967_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/23/47/image_03012025_23_47_02_385503_0003.jpg
/home/pi/Desktop/images/03012025/23/48/image_03012025_23_48_02_508967_0000.jpg
/home/pi/Desktop/images/03012025/23/48/image_03012025_23_48_02_508967_0001.jpg
/home/pi/Desktop/images/03012025/23/48/image_03012025_23_48_02_508967_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":["1326103668","1326103577","1326103231","1326103368"],"photo_ids_order":["1326103231","1326103368","1326103577","1326103668"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/168e689f4b0b4a47d8f9b55883ec2faf.jpg","text":"TemporaryFile(/tmp/multipartBody3990144140673588543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735944592615,"filename":"image_03012025_23_48_02_508967_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e284564d84c4d9f2261292edb9ecd77c.jpg","text":"TemporaryFile(/tmp/multipartBody598272704096482607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735944592615,"filename":"image_03012025_23_48_02_508967_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/11300aaaf0104e3d0fb411fd5683a173.jpg","text":"TemporaryFile(/tmp/multipartBody1637750806336348494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735944592615,"filename":"image_03012025_23_47_02_385503_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d67457b8a658e9c4e0d99b8fab522694.jpg","text":"TemporaryFile(/tmp/multipartBody6499845952647379229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735944592615,"filename":"image_03012025_23_48_02_508967_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326103577","file1":"1326103368","file0":"1326103231","file3":"1326103668"},"map_files_photo_id_array":[{"photo_id":"1326103577","filename":"file2"},{"photo_id":"1326103368","filename":"file1"},{"photo_id":"1326103231","filename":"file0"},{"photo_id":"1326103668","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326103668":["hashtag1","hashtag2"]},{"1326103577":["hashtag1","hashtag2"]},{"1326103231":["hashtag1","hashtag2"]},{"1326103368":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326103668, 1326103577, 1326103231, 1326103368)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.58533334732056 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 23:49:22.478602
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/23/48/image_03012025_23_48_02_508967_0003.jpg', '/home/pi/Desktop/images/03012025/23/49/image_03012025_23_49_02_662002_0000.jpg', '/home/pi/Desktop/images/03012025/23/49/image_03012025_23_49_02_662002_0001.jpg', '/home/pi/Desktop/images/03012025/23/49/image_03012025_23_49_02_662002_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/23/48/image_03012025_23_48_02_508967_0003.jpg
/home/pi/Desktop/images/03012025/23/49/image_03012025_23_49_02_662002_0000.jpg
/home/pi/Desktop/images/03012025/23/49/image_03012025_23_49_02_662002_0001.jpg
/home/pi/Desktop/images/03012025/23/49/image_03012025_23_49_02_662002_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.953245878219604 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-03 23:49:42.417545
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/23/48/image_03012025_23_48_02_508967_0003.jpg', '/home/pi/Desktop/images/03012025/23/49/image_03012025_23_49_02_662002_0000.jpg', '/home/pi/Desktop/images/03012025/23/49/image_03012025_23_49_02_662002_0001.jpg', '/home/pi/Desktop/images/03012025/23/49/image_03012025_23_49_02_662002_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/23/48/image_03012025_23_48_02_508967_0003.jpg
/home/pi/Desktop/images/03012025/23/49/image_03012025_23_49_02_662002_0000.jpg
/home/pi/Desktop/images/03012025/23/49/image_03012025_23_49_02_662002_0001.jpg
/home/pi/Desktop/images/03012025/23/49/image_03012025_23_49_02_662002_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326103883","1326103886","1326103882","1326103884"],"photo_ids_order":["1326103882","1326103883","1326103884","1326103886"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1279ee30cf2635970659f017aa0754ab.jpg","text":"TemporaryFile(/tmp/multipartBody5831055995293583535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735944652795,"filename":"image_03012025_23_49_02_662002_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/e9bf09b5c6b46f759e2013cb1d20711b.jpg","text":"TemporaryFile(/tmp/multipartBody2664952279536836650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735944652795,"filename":"image_03012025_23_49_02_662002_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/6251910560e95b55b5adcd3d6d31969f.jpg","text":"TemporaryFile(/tmp/multipartBody520386703626105515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735944652795,"filename":"image_03012025_23_48_02_508967_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8b46b754c18206fe385636216e4236f4.jpg","text":"TemporaryFile(/tmp/multipartBody7369812257477303102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735944652795,"filename":"image_03012025_23_49_02_662002_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326103884","file1":"1326103883","file0":"1326103882","file3":"1326103886"},"map_files_photo_id_array":[{"photo_id":"1326103884","filename":"file2"},{"photo_id":"1326103883","filename":"file1"},{"photo_id":"1326103882","filename":"file0"},{"photo_id":"1326103886","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326103883":["hashtag1","hashtag2"]},{"1326103886":["hashtag1","hashtag2"]},{"1326103882":["hashtag1","hashtag2"]},{"1326103884":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326103883, 1326103886, 1326103882, 1326103884)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.504331827163696 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-03 23:50:32.599799
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/23/49/image_03012025_23_49_02_662002_0003.jpg', '/home/pi/Desktop/images/03012025/23/50/image_03012025_23_50_02_760622_0000.jpg', '/home/pi/Desktop/images/03012025/23/50/image_03012025_23_50_02_760622_0001.jpg', '/home/pi/Desktop/images/03012025/23/50/image_03012025_23_50_02_760622_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/23/49/image_03012025_23_49_02_662002_0003.jpg
/home/pi/Desktop/images/03012025/23/50/image_03012025_23_50_02_760622_0000.jpg
/home/pi/Desktop/images/03012025/23/50/image_03012025_23_50_02_760622_0001.jpg
/home/pi/Desktop/images/03012025/23/50/image_03012025_23_50_02_760622_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326104068","1326104308","1326103906","1326104181"],"photo_ids_order":["1326103906","1326104068","1326104181","1326104308"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a20a39aa518afaa4e4e9f8e12f164ca2.jpg","text":"TemporaryFile(/tmp/multipartBody6487849996090733272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735944702933,"filename":"image_03012025_23_50_02_760622_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/253e8544de5040ccfa84303bc3f6072d.jpg","text":"TemporaryFile(/tmp/multipartBody6869474713530840819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735944702933,"filename":"image_03012025_23_50_02_760622_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/3be1857592853ff91e147e954afb837f.jpg","text":"TemporaryFile(/tmp/multipartBody8247153418621745694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735944702933,"filename":"image_03012025_23_49_02_662002_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/64f9232de6cf52027e95bf2d9ab77864.jpg","text":"TemporaryFile(/tmp/multipartBody504285320937982694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735944702933,"filename":"image_03012025_23_50_02_760622_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326104181","file1":"1326104068","file0":"1326103906","file3":"1326104308"},"map_files_photo_id_array":[{"photo_id":"1326104181","filename":"file2"},{"photo_id":"1326104068","filename":"file1"},{"photo_id":"1326103906","filename":"file0"},{"photo_id":"1326104308","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326104068":["hashtag1","hashtag2"]},{"1326104308":["hashtag1","hashtag2"]},{"1326103906":["hashtag1","hashtag2"]},{"1326104181":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326104068, 1326104308, 1326103906, 1326104181)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.26555323600769 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 23:51:21.868375
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/23/50/image_03012025_23_50_02_760622_0003.jpg', '/home/pi/Desktop/images/03012025/23/51/image_03012025_23_51_02_933568_0000.jpg', '/home/pi/Desktop/images/03012025/23/51/image_03012025_23_51_02_933568_0001.jpg', '/home/pi/Desktop/images/03012025/23/51/image_03012025_23_51_02_933568_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/23/50/image_03012025_23_50_02_760622_0003.jpg
/home/pi/Desktop/images/03012025/23/51/image_03012025_23_51_02_933568_0000.jpg
/home/pi/Desktop/images/03012025/23/51/image_03012025_23_51_02_933568_0001.jpg
/home/pi/Desktop/images/03012025/23/51/image_03012025_23_51_02_933568_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326104435","1326104432","1326104437","1326104439"],"photo_ids_order":["1326104432","1326104435","1326104437","1326104439"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/593f8c1f828bf9a085fd59627b76ff83.jpg","text":"TemporaryFile(/tmp/multipartBody6711028928603741639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735944752160,"filename":"image_03012025_23_51_02_933568_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/08f1f9b5384670bddff87189cfbe3cb6.jpg","text":"TemporaryFile(/tmp/multipartBody6328031531747124626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735944752160,"filename":"image_03012025_23_50_02_760622_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/fa4728b00696c6157ae18244c3cc6bb4.jpg","text":"TemporaryFile(/tmp/multipartBody5320281576588543433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735944752160,"filename":"image_03012025_23_51_02_933568_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/439ff09ed97c477f26de2187246619bb.jpg","text":"TemporaryFile(/tmp/multipartBody2608481441060286555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735944752160,"filename":"image_03012025_23_51_02_933568_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326104437","file1":"1326104435","file0":"1326104432","file3":"1326104439"},"map_files_photo_id_array":[{"photo_id":"1326104437","filename":"file2"},{"photo_id":"1326104435","filename":"file1"},{"photo_id":"1326104432","filename":"file0"},{"photo_id":"1326104439","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326104435":["hashtag1","hashtag2"]},{"1326104432":["hashtag1","hashtag2"]},{"1326104437":["hashtag1","hashtag2"]},{"1326104439":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326104435, 1326104432, 1326104437, 1326104439)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.24750566482544 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 23:52:22.034450
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/23/51/image_03012025_23_51_02_933568_0003.jpg', '/home/pi/Desktop/images/03012025/23/52/image_03012025_23_52_02_183168_0000.jpg', '/home/pi/Desktop/images/03012025/23/52/image_03012025_23_52_02_183168_0001.jpg', '/home/pi/Desktop/images/03012025/23/52/image_03012025_23_52_02_183168_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/23/51/image_03012025_23_51_02_933568_0003.jpg
/home/pi/Desktop/images/03012025/23/52/image_03012025_23_52_02_183168_0000.jpg
/home/pi/Desktop/images/03012025/23/52/image_03012025_23_52_02_183168_0001.jpg
/home/pi/Desktop/images/03012025/23/52/image_03012025_23_52_02_183168_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.82903242111206 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-03 23:52:42.005573
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/23/51/image_03012025_23_51_02_933568_0003.jpg', '/home/pi/Desktop/images/03012025/23/52/image_03012025_23_52_02_183168_0000.jpg', '/home/pi/Desktop/images/03012025/23/52/image_03012025_23_52_02_183168_0001.jpg', '/home/pi/Desktop/images/03012025/23/52/image_03012025_23_52_02_183168_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/23/51/image_03012025_23_51_02_933568_0003.jpg
/home/pi/Desktop/images/03012025/23/52/image_03012025_23_52_02_183168_0000.jpg
/home/pi/Desktop/images/03012025/23/52/image_03012025_23_52_02_183168_0001.jpg
/home/pi/Desktop/images/03012025/23/52/image_03012025_23_52_02_183168_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":["1326105487","1326105424","1326105423","1326105374"],"photo_ids_order":["1326105374","1326105423","1326105424","1326105487"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/22dfe0a322e6d1dc8f1a702bf9afbb08.jpg","text":"TemporaryFile(/tmp/multipartBody7918406000774850866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735944832220,"filename":"image_03012025_23_52_02_183168_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/a64a654075d03e2c58e091b834a728d6.jpg","text":"TemporaryFile(/tmp/multipartBody7826252249301351366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735944832220,"filename":"image_03012025_23_52_02_183168_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/bf944c73258cc310097dfdd13f1dcdaa.jpg","text":"TemporaryFile(/tmp/multipartBody9109161096404662043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735944832220,"filename":"image_03012025_23_52_02_183168_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/1957fa74f9fd91d24338ecc6ce3c471d.jpg","text":"TemporaryFile(/tmp/multipartBody8146453302586449720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735944832220,"filename":"image_03012025_23_51_02_933568_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326105424","file1":"1326105423","file0":"1326105374","file3":"1326105487"},"map_files_photo_id_array":[{"photo_id":"1326105424","filename":"file2"},{"photo_id":"1326105423","filename":"file1"},{"photo_id":"1326105374","filename":"file0"},{"photo_id":"1326105487","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326105487":["hashtag1","hashtag2"]},{"1326105424":["hashtag1","hashtag2"]},{"1326105423":["hashtag1","hashtag2"]},{"1326105374":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326105487, 1326105424, 1326105423, 1326105374)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.85276198387146 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 23:53:22.152034
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/23/52/image_03012025_23_52_02_183168_0003.jpg', '/home/pi/Desktop/images/03012025/23/53/image_03012025_23_53_02_364231_0000.jpg', '/home/pi/Desktop/images/03012025/23/53/image_03012025_23_53_02_364231_0001.jpg', '/home/pi/Desktop/images/03012025/23/53/image_03012025_23_53_02_364231_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/23/52/image_03012025_23_52_02_183168_0003.jpg
/home/pi/Desktop/images/03012025/23/53/image_03012025_23_53_02_364231_0000.jpg
/home/pi/Desktop/images/03012025/23/53/image_03012025_23_53_02_364231_0001.jpg
/home/pi/Desktop/images/03012025/23/53/image_03012025_23_53_02_364231_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326106267","1326106309","1326106407","1326106498"],"photo_ids_order":["1326106267","1326106309","1326106407","1326106498"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9876b003e084434f6efb929c446be8ff.jpg","text":"TemporaryFile(/tmp/multipartBody1643300998716288112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735944872623,"filename":"image_03012025_23_52_02_183168_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/72495f7b6ba1900ad3d92257a550d0fc.jpg","text":"TemporaryFile(/tmp/multipartBody5862259729069214745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735944872623,"filename":"image_03012025_23_53_02_364231_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/392b6b2de11831b55958a0e9848abbf7.jpg","text":"TemporaryFile(/tmp/multipartBody7225489939463013779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735944872623,"filename":"image_03012025_23_53_02_364231_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/eb3d97646d90a2094e136a1929e3e609.jpg","text":"TemporaryFile(/tmp/multipartBody5417126794994101072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735944872623,"filename":"image_03012025_23_53_02_364231_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326106407","file1":"1326106309","file0":"1326106267","file3":"1326106498"},"map_files_photo_id_array":[{"photo_id":"1326106407","filename":"file2"},{"photo_id":"1326106309","filename":"file1"},{"photo_id":"1326106267","filename":"file0"},{"photo_id":"1326106498","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326106267":["hashtag1","hashtag2"]},{"1326106309":["hashtag1","hashtag2"]},{"1326106407":["hashtag1","hashtag2"]},{"1326106498":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326106267, 1326106309, 1326106407, 1326106498)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.05601739883423 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 23:54:22.333294
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/23/53/image_03012025_23_53_02_364231_0003.jpg', '/home/pi/Desktop/images/03012025/23/54/image_03012025_23_54_02_552511_0000.jpg', '/home/pi/Desktop/images/03012025/23/54/image_03012025_23_54_02_552511_0001.jpg', '/home/pi/Desktop/images/03012025/23/54/image_03012025_23_54_02_552511_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/23/53/image_03012025_23_53_02_364231_0003.jpg
/home/pi/Desktop/images/03012025/23/54/image_03012025_23_54_02_552511_0000.jpg
/home/pi/Desktop/images/03012025/23/54/image_03012025_23_54_02_552511_0001.jpg
/home/pi/Desktop/images/03012025/23/54/image_03012025_23_54_02_552511_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326107647","1326107649","1326107594","1326107644"],"photo_ids_order":["1326107594","1326107644","1326107647","1326107649"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d5559cbbf6310ead233d48fed68389e4.jpg","text":"TemporaryFile(/tmp/multipartBody6083937857763979428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735944932741,"filename":"image_03012025_23_54_02_552511_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/64828a0708d57990d2be8210167e76d9.jpg","text":"TemporaryFile(/tmp/multipartBody2428819206945950979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735944932741,"filename":"image_03012025_23_54_02_552511_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/ebab3df8160b545598539044d15cf03f.jpg","text":"TemporaryFile(/tmp/multipartBody438622445237795678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735944932741,"filename":"image_03012025_23_53_02_364231_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c81fb31a4a1cac11bcee8b5c4907fb13.jpg","text":"TemporaryFile(/tmp/multipartBody7393043427429324228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735944932741,"filename":"image_03012025_23_54_02_552511_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326107647","file1":"1326107644","file0":"1326107594","file3":"1326107649"},"map_files_photo_id_array":[{"photo_id":"1326107647","filename":"file2"},{"photo_id":"1326107644","filename":"file1"},{"photo_id":"1326107594","filename":"file0"},{"photo_id":"1326107649","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326107647":["hashtag1","hashtag2"]},{"1326107649":["hashtag1","hashtag2"]},{"1326107594":["hashtag1","hashtag2"]},{"1326107644":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326107647, 1326107649, 1326107594, 1326107644)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.95658493041992 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 23:55:22.510555
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/23/54/image_03012025_23_54_02_552511_0003.jpg', '/home/pi/Desktop/images/03012025/23/55/image_03012025_23_55_02_740432_0000.jpg', '/home/pi/Desktop/images/03012025/23/55/image_03012025_23_55_02_740432_0001.jpg', '/home/pi/Desktop/images/03012025/23/55/image_03012025_23_55_02_740432_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/23/54/image_03012025_23_54_02_552511_0003.jpg
/home/pi/Desktop/images/03012025/23/55/image_03012025_23_55_02_740432_0000.jpg
/home/pi/Desktop/images/03012025/23/55/image_03012025_23_55_02_740432_0001.jpg
/home/pi/Desktop/images/03012025/23/55/image_03012025_23_55_02_740432_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326107787","1326107792","1326107795","1326107788"],"photo_ids_order":["1326107787","1326107788","1326107792","1326107795"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/d4ef0c112f748e82f19fd0eab37e8537.jpg","text":"TemporaryFile(/tmp/multipartBody6508920748361212412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735944992774,"filename":"image_03012025_23_54_02_552511_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/51805fb41b02d217cce6cc6db26b6c6c.jpg","text":"TemporaryFile(/tmp/multipartBody209682104208921097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735944992774,"filename":"image_03012025_23_55_02_740432_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/dedf77ba5ed39032cbfb39b4865be79e.jpg","text":"TemporaryFile(/tmp/multipartBody3654534462403631427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735944992774,"filename":"image_03012025_23_55_02_740432_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/c9f296eefef7b8b688dc23879fb5ce9a.jpg","text":"TemporaryFile(/tmp/multipartBody6926145892368020632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735944992774,"filename":"image_03012025_23_55_02_740432_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326107792","file1":"1326107788","file0":"1326107787","file3":"1326107795"},"map_files_photo_id_array":[{"photo_id":"1326107792","filename":"file2"},{"photo_id":"1326107788","filename":"file1"},{"photo_id":"1326107787","filename":"file0"},{"photo_id":"1326107795","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326107787":["hashtag1","hashtag2"]},{"1326107792":["hashtag1","hashtag2"]},{"1326107795":["hashtag1","hashtag2"]},{"1326107788":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326107787, 1326107792, 1326107795, 1326107788)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.49905967712402 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 23:56:22.770258
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/23/55/image_03012025_23_55_02_740432_0003.jpg', '/home/pi/Desktop/images/03012025/23/56/image_03012025_23_56_02_867647_0000.jpg', '/home/pi/Desktop/images/03012025/23/56/image_03012025_23_56_02_867647_0001.jpg', '/home/pi/Desktop/images/03012025/23/56/image_03012025_23_56_02_867647_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/23/55/image_03012025_23_55_02_740432_0003.jpg
/home/pi/Desktop/images/03012025/23/56/image_03012025_23_56_02_867647_0000.jpg
/home/pi/Desktop/images/03012025/23/56/image_03012025_23_56_02_867647_0001.jpg
/home/pi/Desktop/images/03012025/23/56/image_03012025_23_56_02_867647_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326108601","1326108605","1326108661","1326108526"],"photo_ids_order":["1326108526","1326108601","1326108605","1326108661"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8ceda364dc52d230e64cf6360204944b.jpg","text":"TemporaryFile(/tmp/multipartBody4724904111412391384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735945053113,"filename":"image_03012025_23_56_02_867647_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8d3546d6b98e5c185bec1a0c1188a519.jpg","text":"TemporaryFile(/tmp/multipartBody5237458866990135568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735945053113,"filename":"image_03012025_23_56_02_867647_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/53490b22a8a3738ac48040a6c85359f5.jpg","text":"TemporaryFile(/tmp/multipartBody1187909335474455671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735945053113,"filename":"image_03012025_23_56_02_867647_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8192046d6af133ab35bf11758db0f25e.jpg","text":"TemporaryFile(/tmp/multipartBody6550159007111434849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735945053113,"filename":"image_03012025_23_55_02_740432_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326108605","file1":"1326108601","file0":"1326108526","file3":"1326108661"},"map_files_photo_id_array":[{"photo_id":"1326108605","filename":"file2"},{"photo_id":"1326108601","filename":"file1"},{"photo_id":"1326108526","filename":"file0"},{"photo_id":"1326108661","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326108601":["hashtag1","hashtag2"]},{"1326108605":["hashtag1","hashtag2"]},{"1326108661":["hashtag1","hashtag2"]},{"1326108526":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326108601, 1326108605, 1326108661, 1326108526)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 38.779375314712524 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-03 23:57:21.988396
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/23/56/image_03012025_23_56_02_867647_0003.jpg', '/home/pi/Desktop/images/03012025/23/57/image_03012025_23_57_03_060506_0000.jpg', '/home/pi/Desktop/images/03012025/23/57/image_03012025_23_57_03_060506_0001.jpg', '/home/pi/Desktop/images/03012025/23/57/image_03012025_23_57_03_060506_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/23/56/image_03012025_23_56_02_867647_0003.jpg
/home/pi/Desktop/images/03012025/23/57/image_03012025_23_57_03_060506_0000.jpg
/home/pi/Desktop/images/03012025/23/57/image_03012025_23_57_03_060506_0001.jpg
/home/pi/Desktop/images/03012025/23/57/image_03012025_23_57_03_060506_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326108678","1326109091","1326108815","1326108676"],"photo_ids_order":["1326108676","1326108678","1326108815","1326109091"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/f86501d238d9c2e5a2555127b72c5940.jpg","text":"TemporaryFile(/tmp/multipartBody4411324631565694322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735945112397,"filename":"image_03012025_23_57_03_060506_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/8570a50a7dded75a4a3ee439dc70ab5a.jpg","text":"TemporaryFile(/tmp/multipartBody8175742242104155512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735945112397,"filename":"image_03012025_23_57_03_060506_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/9b0e8a954d0d6332939a4efcaf3dc533.jpg","text":"TemporaryFile(/tmp/multipartBody3231384271773333565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735945112397,"filename":"image_03012025_23_57_03_060506_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/3/b5e0863af0e58c323d9e57d006ad9fc6.jpg","text":"TemporaryFile(/tmp/multipartBody3880673095227662554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735945112397,"filename":"image_03012025_23_56_02_867647_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326108815","file1":"1326108678","file0":"1326108676","file3":"1326109091"},"map_files_photo_id_array":[{"photo_id":"1326108815","filename":"file2"},{"photo_id":"1326108678","filename":"file1"},{"photo_id":"1326108676","filename":"file0"},{"photo_id":"1326109091","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326108678":["hashtag1","hashtag2"]},{"1326109091":["hashtag1","hashtag2"]},{"1326108815":["hashtag1","hashtag2"]},{"1326108676":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326108678, 1326109091, 1326108815, 1326108676)","result":[],"list_datou_current":[]}'
Result OK !
